update builds.

This commit is contained in:
Steven Orvell
2017-04-21 13:20:50 -07:00
parent 60415872fd
commit 2a059a3ade
6 changed files with 322 additions and 322 deletions

View File

@@ -30,26 +30,26 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
'use strict';var hb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new qa;b.rules=[];this.h=t.set(this.g,new t(b));this.i=!1;this.a=this.b=null;ib(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function jb(){}function ba(a){this.cache={};this.f=void 0===a?100:a}function q(){}function t(a,b,c,d,e){this.G=a||null;this.b=b||null;this.sa=c||[];this.N=null;this.W=e||"";this.a=this.C=this.H=null}function r(){}function qa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Nc(a){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;m(this)&&(e=[],L(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?a.c(this):a.j(this);
(function(){function k(){var a=this;this.m={};this.g=document.documentElement;var b=new qa;b.rules=[];this.h=t.set(this.g,new t(b));this.i=!1;this.a=this.b=null;ib(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function jb(){}function ba(a){this.cache={};this.c=void 0===a?100:a}function q(){}function t(a,b,c,d,e){this.G=a||null;this.b=b||null;this.sa=c||[];this.N=null;this.W=e||"";this.a=this.C=this.H=null}function r(){}function qa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Pc(a){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;m(this)&&(e=[],L(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?a.c(this):a.j(this);
return b}})}function c(b,c){u(b,"insertAdjacentElement",function(b,d){var e=m(d);b=c.call(this,b,d);e&&a.a(d);m(b)&&a.b(d);return b})}kb?u(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=kb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(sa&&sa.get)b(Element.prototype,sa);else if(ta&&ta.get)b(HTMLElement.prototype,ta);else{var d=ua.call(document,"div");a.o(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return lb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)va.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)da.call(b,d.childNodes[0])}})})}u(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return mb.call(this,b,c);var d=wa.call(this,b);mb.call(this,b,c);c=wa.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});u(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return nb.call(this,
b,c,d);var e=ea.call(this,b,c);nb.call(this,b,c,d);d=ea.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});u(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ob.call(this,b);var c=wa.call(this,b);ob.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});u(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return pb.call(this,b,c);var d=ea.call(this,b,c);pb.call(this,b,c);var e=ea.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});qb?c(HTMLElement.prototype,qb):rb?c(Element.prototype,rb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");sb(a,Element.prototype,{Ia:Oc,append:Pc});Qc(a,{ab:Rc,$a:Sc,lb:Tc,remove:Uc})}function Qc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.ab.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
c,d,e,b)});qb?c(HTMLElement.prototype,qb):rb?c(Element.prototype,rb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");sb(a,Element.prototype,{Ia:Qc,append:Rc});Sc(a,{ab:Tc,$a:Uc,lb:Vc,remove:Wc})}function Sc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.ab.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.$a.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&m(a)}),g=m(this);b.lb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function Vc(a){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,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function Xc(a){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,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
u(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=tb.call(this,b,d);if(m(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=m(b);d=tb.call(this,b,d);c&&a.a(b);m(this)&&a.b(b);return d});u(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=da.call(this,b);if(m(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=m(b);e=da.call(this,b);c&&a.a(b);m(this)&&
a.b(b);return e});u(Node.prototype,"cloneNode",function(b){b=lb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});u(Node.prototype,"removeChild",function(b){var c=m(b),e=va.call(this,b);c&&a.a(b);return e});u(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ub.call(this,b,d);if(m(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=m(b),f=ub.call(this,b,d),g=m(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});xa&&xa.get?b(Node.prototype,xa):a.o(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;)va.call(this,this.firstChild);da.call(this,document.createTextNode(a))}})})}function Wc(a){u(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ua.call(this,b);a.g(b);return b});
u(Document.prototype,"importNode",function(b,c){b=Xc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(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.f(c);if(d)return new d.constructor}b=Yc.call(this,b,c);a.g(b);return b});sb(a,Document.prototype,{Ia:Zc,append:$c})}function sb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&m(a)});c.Ia.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function ad(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.I(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=ua.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===vb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=vb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=bd.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
a.b(b);return f});xa&&xa.get?b(Node.prototype,xa):a.o(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;)va.call(this,this.firstChild);da.call(this,document.createTextNode(a))}})})}function Yc(a){u(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=ua.call(this,b);a.g(b);return b});
u(Document.prototype,"importNode",function(b,c){b=Zc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(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.f(c);if(d)return new d.constructor}b=$c.call(this,b,c);a.g(b);return b});sb(a,Document.prototype,{Ia:ad,append:bd})}function sb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&m(a)});c.Ia.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function cd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.I(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=ua.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===vb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=vb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=dd.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
[];this.i=new ya(a,document)}function wb(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function ya(a,b){this.b=a;this.a=b;this.K=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.K=new MutationObserver(this.f.bind(this)),this.K.observe(this.a,{childList:!0,subtree:!0}))}function z(){this.m=new Map;this.l=new Map;this.i=[];this.h=!1}function n(a,b){if(a!==xb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
n.prototype;a.i(b);return a}function B(a){this.root=a;this.$="slot"}function Q(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=za(a);a.__shady.lastChild=Aa(a);yb(a);for(var b=a.__shady.childNodes=W(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,zb(d)}}function cd(a){var b=a&&a.K;b&&(b.Z.delete(a.Xa),b.Z.size||(a.Ya.__shady.U=null))}function dd(a,
n.prototype;a.i(b);return a}function B(a){this.root=a;this.$="slot"}function Q(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=za(a);a.__shady.lastChild=Aa(a);yb(a);for(var b=a.__shady.childNodes=W(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,zb(d)}}function ed(a){var b=a&&a.K;b&&(b.Z.delete(a.Xa),b.Z.size||(a.Ya.__shady.U=null))}function fd(a,
b){a.__shady=a.__shady||{};a.__shady.U||(a.__shady.U=new fa);a.__shady.U.Z.add(b);var c=a.__shady.U;return{Xa:b,K:c,Ya:a,takeRecords:function(){return c.takeRecords()}}}function fa(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.Z=new Set}function E(a){return"ShadyRoot"===a.Ua}function R(a){a=a.getRootNode();if(E(a))return a}function Ba(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 Ca(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ba(a,c[d]);return a}function ed(a,b){for(var c in b)a[c]=b[c]}function Ab(a){Da.push(a);Ea.textContent=Bb++}function Cb(a){Fa||(Fa=!0,Ab(ga));X.push(a)}function ga(){Fa=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function fd(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===
e,f)}}function Ca(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ba(a,c[d]);return a}function gd(a,b){for(var c in b)a[c]=b[c]}function Ab(a){Da.push(a);Ea.textContent=Bb++}function Cb(a){Fa||(Fa=!0,Ab(ga));X.push(a)}function ga(){Fa=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function hd(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})}function Db(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Eb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ga(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){var h;
a:{var l;h=g;l=a;var ca=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,m="<"+k,q=h.attributes,n=0;l=q[n];n++)m+=" "+l.name+'="'+l.value.replace(gd,Db)+'"';m+=">";h=hd[k]?m:m+Ga(h,ca)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&id[l.localName]?h:h.replace(jd,Db);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function M(a){A.currentNode=a;return A.parentNode()}function za(a){A.currentNode=
a:{var l;h=g;l=a;var ca=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,m="<"+k,q=h.attributes,n=0;l=q[n];n++)m+=" "+l.name+'="'+l.value.replace(id,Db)+'"';m+=">";h=jd[k]?m:m+Ga(h,ca)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&kd[l.localName]?h:h.replace(ld,Db);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function M(a){A.currentNode=a;return A.parentNode()}function za(a){A.currentNode=
a;return A.firstChild()}function Aa(a){A.currentNode=a;return A.lastChild()}function Fb(a){A.currentNode=a;return A.previousSibling()}function Gb(a){A.currentNode=a;return A.nextSibling()}function W(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Hb(a){x.currentNode=a;return x.parentNode()}function Ib(a){x.currentNode=a;return x.firstChild()}function Jb(a){x.currentNode=a;return x.lastChild()}function Kb(a){x.currentNode=a;return x.previousSibling()}
function Lb(a){x.currentNode=a;return x.nextSibling()}function Mb(a){var b=[];x.currentNode=a;for(a=x.firstChild();a;)b.push(a),a=x.nextSibling();return b}function Nb(a){return Ga(a,function(a){return W(a)})}function Ob(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function I(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 N(a){I(a,Pb);I(a,Ha);I(a,Ia)}function Qb(a,b,c){zb(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=
@@ -61,114 +61,114 @@ a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var l=b,k=c,ra=d,m=l(h
((d=b.__shady&&b.__shady.parentNode)?(Ka(d,null,b),Rb(b)):(b.parentNode&&S.call(b.parentNode,b),Ja(b)));var d=c,e=R(a),f;e&&(b.__noInsertionPoint&&!e.ma&&(e.X=!0),f=Tb(b,a,e))&&(e.X=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(yb(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Qb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=g;b.__shady.childNodes=g}else Qb(b,a,d);var g=f,h=e&&e.A.$||"",l=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=l&&l.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((l=l||b.localName===h)||a.localName===h||g)&&e&&ha(e);(e=Ub(a))&&ha(a.__shady&&a.__shady.root);if(!(e||l&&!f||a.__shady.root||d&&E(d.parentNode)&&d.parentNode.L)){if(c&&(d=R(c))){var k;if(c.localName===d.A.$)a:{d=c.assignedNodes({flatten:!0});e=La(c);f=0;for(g=d.length;f<
g&&(k=d[f]);f++)if(e.aa(c,k))break a;k=void 0}else k=c;c=k}k=E(a)?a.host:a;c?Ma.call(k,b,c):$b.call(k,b)}Ka(a,b);return b}function ac(a,b){if(a.ownerDocument!==document)return Na.call(document,a,b);var c=Na.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=ac(a[b],!0),c.appendChild(d)}return c}function Oa(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 bc(a,b){if(!E)return a;a=Oa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Pa(a){function b(b,d){b=new a(b,d);b.ia=d&&!!d.composed;return b}ed(b,a);b.prototype=a.prototype;return b}function cc(a,b,c){if(c=b.w&&b.w[a.type]&&b.w[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Sa);d++);}function kd(a){var b=a.composedPath(),
c[c.length-1]===document&&c.push(window);return c}function bc(a,b){if(!E)return a;a=Oa(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Pa(a){function b(b,d){b=new a(b,d);b.ia=d&&!!d.composed;return b}gd(b,a);b.prototype=a.prototype;return b}function cc(a,b,c){if(c=b.w&&b.w[a.type]&&b.w[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.Sa);d++);}function md(a){var b=a.composedPath(),
c;Object.defineProperty(a,"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],cc(a,c,"capture"),a.ja)return;Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(cc(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.ja)break}function dc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],l=h.type,k=h.capture,m=h.once,n=h.passive;if(b===h.node&&c===l&&d===
k&&e===m&&f===n)return g}return-1}function ec(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ka||this;if(b.D){if(-1<dc(b.D,g,a,d,e,f))return}else b.D=[];var h=function(d){e&&this.removeEventListener(a,b,c);d.__target||fc(d);var f;g!==this&&(f=Object.getOwnPropertyDescriptor(d,"currentTarget"),Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0}));if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===
d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.D.push({node:this,type:a,capture:d,once:e,passive:f,qb:h});Qa[a]?(this.w=this.w||{},this.w[a]=this.w[a]||{capture:[],bubble:[]},this.w[a][d?"capture":"bubble"].push(h)):gc.call(this,
a,h,c)}}function hc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ka||this,h=void 0;b.D&&(e=dc(b.D,g,a,d,e,f),-1<e&&(h=b.D.splice(e,1)[0].qb,b.D.length||(b.D=void 0)));ic.call(this,a,h||b,c);h&&Qa[a]&&this.w&&this.w[a]&&(a=this.w[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function ld(){for(var a in Qa)window.addEventListener(a,function(a){a.__target||(fc(a),kd(a))},!0)}function fc(a){a.__target=a.target;a.za=a.relatedTarget;
if(C.T){var b=jc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.sb=c;Ba(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ba(a,jc)}function Y(a,b){return{index:a,V:[],Y:b}}function md(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,m=0;m<l-g&&nd(a[--h],c[--k]);)m++;h=m}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<
d;)b.V.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(m=1;m<h;m++)if(a[l+m-1]===c[g+k-1])b[k][m]=b[k-1][m-1];else{var n=b[k-1][m]+1,q=b[k][m-1]+1;b[k][m]=n<q?n:q}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],m=b[l][g-1],n=k<m?k<h?k:h:m<h?m:h,n==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):n==k?(a.push(3),l--,d=k):(a.push(2),g--,d=m)):(a.push(3),
l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.Y++;e++;b.V.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.Y++;e++;break;case 3:b||(b=Y(e,0)),b.V.push(c[f]),f++}b&&l.push(b);return l}function nd(a,b){return a===b}function kc(a){Yb(a);return a.__shady&&a.__shady.assignedSlot||null}function J(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)}}function od(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;J(window.Node.prototype,pd);J(window.Window.prototype,qd);J(window.Text.prototype,rd);J(window.DocumentFragment.prototype,Ra);J(window.Element.prototype,lc);J(window.Document.prototype,mc);window.HTMLSlotElement&&J(window.HTMLSlotElement.prototype,nc);J(a.prototype,sd);C.T&&(N(window.Node.prototype),N(window.Text.prototype),N(window.DocumentFragment.prototype),
N(window.Element.prototype),N(a.prototype),N(window.Document.prototype),window.HTMLSlotElement&&N(window.HTMLSlotElement.prototype))}function oc(a){var b=td.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(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 Sa(a,b){for(;b&&b!==
a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function L(a,b,c){c=c?c:new Set;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)L(d,b,c);d=Sa(a,e);continue}else if("template"===f){d=Sa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)L(e,b,c)}d=d.firstChild?d.firstChild:Sa(a,d)}}function u(a,
b,c){a[b]=c}function Ta(a){a=a.replace(F.cb,"").replace(F.port,"");var b=pc,c=a,d=new qa;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null,e=new qa;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function pc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-
1),c=ud(c),c=c.replace(F.Ha," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.jb)&&(a.type=H.ha,a.keyframesName=a.selector.split(F.Ha).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.va);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)pc(f,b);return a}function ud(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function qc(a,
b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=qc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.Ca,"").replace(F.Ga,""),b=b.replace(F.kb,"").replace(F.pb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function rc(a){a&&(y=y&&!a.nativeCss&&!a.shimcssproperties,v=v&&!a.nativeShadow&&!a.shimshadow)}
function T(a,b){if(!a)return"";"string"===typeof a&&(a=Ta(a));b&&U(a,b);return qc(a,y)}function ia(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ta(a.textContent));return a.__cssRules||null}function sc(a){return!!a.parent&&a.parent.type===H.ha}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(vd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ha?c(a):f===H.va&&(e=!0);if((a=a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,
b,c,d)}}function Ua(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;tc(e,c,d);return e}function tc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);O?a.compareDocumentPosition(O)===Node.DOCUMENT_POSITION_PRECEDING&&(O=a):O=a}function uc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,
c);a=uc(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function ja(a,b){v?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function P(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,W:c}}function vc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(p.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?p.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=P(f).is,g!==f&&(g&&p.a(e,g,!0),p.a(e,f)))}}}}function wd(a){if(a=ka[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||
0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function wc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function xd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,yd.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function ib(a){requestAnimationFrame(function(){xc?xc(a):(Va||(Va=new Promise(function(a){Wa=a}),"complete"===document.readyState?Wa():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&Wa()})),Va.then(function(){a&&a()}))})}(function(a){function b(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 c(a){if(m)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(;!h(b)&&
(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",b),a())};document.addEventListener("readystatechange",b)}}function f(a){e(function(){return d(function(){return a&&a()})})}
function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!m&&null===a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);w&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});
this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}var m="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var q=/(^\/)|(^#)|(^[\w-\d]*:)/,r=/(url\()([^)]*)(\))/g,t=/(@import[\s]+(?!url\())([^;]*)(;)/g,v=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,p={eb:function(a,
b){a.href&&a.setAttribute("href",p.ua(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.ua(a.getAttribute("src"),b));if("style"===a.localName){var c=p.Ka(a.textContent,b,r);a.textContent=p.Ka(c,b,t)}},Ka:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.La(a,b));return c+"'"+a+"'"+e})},ua:function(a,b){return a&&q.test(a)?a:p.La(a,b)},La:function(a,b){if(void 0===p.la){p.la=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.la="http://a/c%20d"===c.href}catch(Wd){}}if(p.la)return(new URL(a,
b)).href;c=p.Wa;c||(c=document.implementation.createHTMLDocument("temp"),p.Wa=c,c.xa=c.createElement("base"),c.head.appendChild(c.xa),c.wa=c.createElement("a"));c.xa.href=b;c.wa.href=a;return c.wa.href||a}},y={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 e=new XMLHttpRequest;e.open("GET",a,y.async);e.onload=function(){var a=e.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||
location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},w=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length;b<c;b++)this.h(a[b])};k.prototype.h=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.g(a))}else this.b++,
this.a[c]="pending",y.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();w&&(a=a.replace(v,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=p.ua(c.getAttribute("href"),
b),c.removeAttribute("href");for(var c=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"]'),d=0,e=0,f=c.length,h;e<f&&(h=c[e]);e++)g(h),p.eb(h,b),h.setAttribute("import-dependency",""),"script"===h.localName&&!h.src&&h.textContent&&(h.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(h.textContent+
("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),h.textContent="",d++);return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.v(function(){c=!0;d()});this.o(function(){b=!0;d()})}};k.prototype.flatten=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length,d;b<c&&(d=a[b]);b++){var e=this.a[d.href];(d.import=e)&&e.nodeType===
Node.DOCUMENT_FRAGMENT_NODE&&(this.a[d.href]=d,d.readyState="loading",d.import=d,this.flatten(e),d.appendChild(e))}};k.prototype.o=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");for(var k=0,l=f.attributes.length;k<l;k++)h.setAttribute(f.attributes[k].name,f.attributes[k].value);n=h;f.parentNode.replaceChild(h,f);g(h,function(){n=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};
k.prototype.v=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d)for(var e=w&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]"),f={},h=0,k=b.length;h<k&&(f.u=b[h]);f={u:f.u},h++){if(g(f.u,function(b){return function(){b.u.removeAttribute("import-dependency");--d||a()}}(f)),e&&f.u.parentNode!==document.head){var l=document.createElement(f.u.localName);l.__appliedElement=f.u;l.setAttribute("type",
"import-placeholder");f.u.parentNode.insertBefore(l,f.u.nextSibling);for(l=c(f.u);l&&c(l);)l=c(l);l.parentNode!==document.head&&(l=null);document.head.insertBefore(f.u,l);f.u.removeAttribute("type")}}else a()};k.prototype.j=function(){for(var a=document.querySelectorAll("link[rel=import]"),b=a.length-1,c;0<=b&&(c=a[b]);b--)this.g(c)};k.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})))};
k.prototype.l=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(m){for(var u=document.querySelectorAll("link[rel=import]"),z=0,B=u.length,A;z<B&&(A=u[z]);z++)A.import&&"loading"===A.import.readyState||(A.__loaded=!0);u=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",u,!0);document.addEventListener("error",u,!0)}else{var x=
Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!x||x.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:x&&x.get?x.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=m;a.whenReady=f;a.importForElement=c})(window.HTMLImports=
window.HTMLImports||{});var C=window.ShadyDOM||{};C.gb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Xa=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.T=!!(Xa&&Xa.configurable&&Xa.get);C.Fa=C.force||!C.gb;var V=Element.prototype,yc=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,Ea=document.createTextNode(""),Bb=0,Da=[];(new MutationObserver(function(){for(;Da.length;)try{Da.shift()()}catch(a){throw Ea.textContent=
Bb++,a;}})).observe(Ea,{characterData:!0});var X=[],Fa;ga.list=X;fa.prototype.nb=function(){var a=this;this.a||(this.a=!0,Ab(function(){a.b()}))};fa.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Z.forEach(function(b){b(a)})}};fa.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[]};var $b=Element.prototype.appendChild,
Ma=Element.prototype.insertBefore,S=Element.prototype.removeChild,zc=Element.prototype.setAttribute,Ac=Element.prototype.removeAttribute,Ya=Element.prototype.cloneNode,Na=Document.prototype.importNode,gc=Element.prototype.addEventListener,ic=Element.prototype.removeEventListener,Za=Element.prototype.dispatchEvent,zd=Object.freeze({appendChild:$b,insertBefore:Ma,removeChild:S,setAttribute:zc,removeAttribute:Ac,cloneNode:Ya,importNode:Na,addEventListener:gc,removeEventListener:ic,dispatchEvent:Za}),
gd=/[&\u00A0"]/g,jd=/[&\u00A0<>]/g,hd=Eb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),id=Eb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),x=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Ad=Object.freeze({parentNode:M,firstChild:za,lastChild:Aa,previousSibling:Fb,nextSibling:Gb,childNodes:W,parentElement:Hb,firstElementChild:Ib,lastElementChild:Jb,
previousElementSibling:Kb,nextElementSibling:Lb,children:Mb,innerHTML:Nb,textContent:Ob}),$a=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),la=document.implementation.createHTMLDocument("inert").createElement("div"),ab=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Pb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==
a?a:Hb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:M(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Gb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Fb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Lb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Kb(this)},configurable:!0}},Ha={childNodes:{get:function(){var a;if(this.__shady&&
void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)this.__shady.childNodes.push(b)}a=this.__shady.childNodes}else a=W(this);a.item=function(b){return a[b]};return a},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:za(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&
this.__shady.lastChild;return void 0!==a?a:Aa(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Ob(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(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 Ib(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 Jb(this)},configurable:!0},children:{get:function(){var a;this.__shady&&void 0!==this.__shady.firstChild?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===
Node.ELEMENT_NODE}):a=Mb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ga(a):Nb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for($a&&$a.set?$a.set.call(la,a):la.innerHTML=a;la.firstChild;)b.appendChild(la.firstChild)},configurable:!0}},Bc={shadowRoot:{get:function(){return this.__shady&&
this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Ia={activeElement:{get:function(){var a;a=ab&&ab.get?ab.get.call(document):C.T?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=R(a);b&&b!==this;)a=b.host,b=R(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},zb=C.T?function(){}:function(a){a.__shady&&
a.__shady.Va||(a.__shady=a.__shady||{},a.__shady.Va=!0,I(a,Pb,!0))},yb=C.T?function(){}:function(a){a.__shady&&a.__shady.Ta||(a.__shady=a.__shady||{},a.__shady.Ta=!0,I(a,Ha,!0),I(a,Bc,!0))},ma=null,Bd={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},jc={get composed(){!1!==this.isTrusted&&void 0===this.ia&&(this.ia=Bd[this.type]);return this.ia||!1},composedPath:function(){this.ya||(this.ya=Oa(this.__target,this.composed));return this.ya},
get target(){return bc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.za)return null;this.Aa||(this.Aa=Oa(this.za,!0));return bc(this.currentTarget,this.Aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ja=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ja=this.Sa=!0}},Qa={focus:!0,blur:!0},Cd=Pa(window.Event),Dd=Pa(window.CustomEvent),Ed=Pa(window.MouseEvent),Fd="function"===typeof Event?Event:function(a,
b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};B.prototype.fb=function(){return this.root.querySelectorAll("slot")};B.prototype.ra=function(a){return a.localName&&"slot"==a.localName};B.prototype.pa=function(){return this.root.qa()?this.g(this.c()):[]};B.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};B.prototype.g=function(a){for(var b=[],c=this.root.na(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,
a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.qa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=M(d))&&S.call(e,d);return b};B.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.Ba(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.oa!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.oa!=a&&(d=!0),this.b(h,a);
if(c){for(h=0;h<c.length;h++)c[h].__shady.oa=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};B.prototype.Ba=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.oa=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};B.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};B.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);
a.__shady.assignedSlot=b};B.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.M=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.ra(d)){var e=d.__shady.M;if(e)for(var f=0;f<e.length;f++)a.__shady.M.push(e[f])}else a.__shady.M.push(b[c])};B.prototype.a=function(a){Za.call(a,new Fd("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};B.prototype.aa=function(a){return!a.__shady.assignedSlot};var xb={};n.prototype=Object.create(DocumentFragment.prototype);n.prototype.i=
function(a){this.Ua="ShadyRoot";Q(a);Q(this);a.shadowRoot=this;this.host=a;this.ma=this.L=!1;this.A=new B(this);this.update()};n.prototype.update=function(){var a=this;this.L||(this.L=!0,Cb(function(){return a.Ja()}))};n.prototype.h=function(){for(var a=this,b=this;b;)b.L&&(a=b),b=b.Za();return a};n.prototype.Za=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.A.ra(d))return a};n.prototype.Ja=function(){this.L&&this.h()._render()};
n.prototype._render=function(){this.ma=this.L=!1;this.X||this.f();this.X=!1;this.pa();this.j()};n.prototype.pa=function(){for(var a=this.A.pa(),b=0;b<a.length;b++)a[b]._render()};n.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.A.Ba(c);a=this.a=this.A.fb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},Q(c),Q(c.parentNode)};n.prototype.j=function(){this.g()};n.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.na(),
b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};n.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.A.ra(d))for(var e=d.__shady.M||(d.__shady.M=[]),f=0;f<e.length;f++){var g=e[f];this.aa(d,g)&&b.push(g)}else b.push(d)}return b};n.prototype.aa=function(a,b){return this.A.aa(a,b)};n.prototype.c=function(a,b){for(var c=W(a),d=md(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=
0,k;h<g.V.length&&(k=g.V[h]);h++)M(k)===a&&S.call(a,k),c.splice(g.index+f,1);f-=g.Y}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.Y;h++)k=b[h],Ma.call(a,k,f),c.splice(h,0,k)};n.prototype.qa=function(){return!(!this.a||!this.a.length)};n.prototype.na=function(){this.a||this.f();return this.a};n.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ka=this;this.host.addEventListener(a,b,c)};n.prototype.removeEventListener=function(a,b,c){"object"!==
typeof c&&(c={capture:!!c});c.ka=this;this.host.removeEventListener(a,b,c)};n.prototype.getElementById=function(a){return this.querySelector("#"+a)};(function(a){I(a,Ha,!0);I(a,Ia,!0)})(n.prototype);var qd={addEventListener:ec,removeEventListener:hc},pd={addEventListener:ec,removeEventListener:hc,appendChild:function(a){return Zb(this,a)},insertBefore:function(a,b){return Zb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+
a);if(!Rb(a)){var b=E(this)?this.host:this,c=M(a);b===c&&S.call(b,a)}Ka(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Ya.call(this,a);else if(b=Ya.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return La(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&
a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof n?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ga();return Za.call(this,a)}},rd={get assignedSlot(){return kc(this)}},Ra={querySelector:function(a){return Wb(this,function(b){return yc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return Wb(this,function(b){return yc.call(b,a)})}},nc={assignedNodes:function(a){if("slot"===this.localName)return Yb(this),
this.__shady?(a&&a.flatten?this.__shady.M:this.__shady.assignedNodes)||[]:[]}},lc=Ca({setAttribute:function(a,b){ma||(ma=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ma&&"class"===a?ma.setElementClass(this,b):(zc.call(this,a,b),Vb(this,a))},removeAttribute:function(a){Ac.call(this,a);Vb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new n(xb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},
get assignedSlot(){return kc(this)}},Ra,nc);Object.defineProperties(lc,Bc);var mc=Ca({importNode:function(a,b){return ac(a,b)},getElementById:function(a){return this.querySelector("#"+a)}},Ra);Object.defineProperties(mc,{_activeElement:Ia.activeElement});var Gd=HTMLElement.prototype.blur,sd=Ca({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?a.blur():Gd.call(this)}});C.Fa&&(window.ShadyDOM={inUse:C.Fa,patch:function(a){return a},isShadyRoot:E,enqueue:Cb,flush:ga,settings:C,filterMutations:fd,
observeChildren:dd,unobserveChildren:cd,nativeMethods:zd,nativeTree:Ad},window.Event=Cd,window.CustomEvent=Dd,window.MouseEvent=Ed,ld(),od(),window.ShadowRoot=n);var td=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));z.prototype.J=function(a,b){this.m.set(a,b);this.l.set(b.constructor,b)};z.prototype.f=function(a){return this.m.get(a)};z.prototype.I=function(a){return this.l.get(a)};z.prototype.o=function(a){this.h=
!0;this.i.push(a)};z.prototype.j=function(a){var b=this;this.h&&L(a,function(a){return b.g(a)})};z.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};z.prototype.b=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.v(c)}};z.prototype.a=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};
z.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];L(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<
d.length;a++)this.v(d[a])};z.prototype.v=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,
d,null,e,null)}m(a)&&this.connectedCallback(a)}}};z.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};z.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};z.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)};ya.prototype.c=function(){this.K&&
this.K.disconnect()};ya.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};wb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!oc(a))throw new SyntaxError("The element name '"+
a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");
f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(ra){return}finally{this.f=!1}this.a.J(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};w.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=
function(a){if(a=this.a.f(a))return a.constructor};w.prototype.whenDefined=function(a){if(!oc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new wb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.define;w.prototype.get=w.prototype.get;
w.prototype.whenDefined=w.prototype.whenDefined;w.prototype.polyfillWrapFlushCallback=w.prototype.l;var ua=window.Document.prototype.createElement,Yc=window.Document.prototype.createElementNS,Xc=window.Document.prototype.importNode,Zc=window.Document.prototype.prepend,$c=window.Document.prototype.append,lb=window.Node.prototype.cloneNode,da=window.Node.prototype.appendChild,tb=window.Node.prototype.insertBefore,va=window.Node.prototype.removeChild,ub=window.Node.prototype.replaceChild,xa=Object.getOwnPropertyDescriptor(window.Node.prototype,
"textContent"),kb=window.Element.prototype.attachShadow,sa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),wa=window.Element.prototype.getAttribute,mb=window.Element.prototype.setAttribute,ob=window.Element.prototype.removeAttribute,ea=window.Element.prototype.getAttributeNS,nb=window.Element.prototype.setAttributeNS,pb=window.Element.prototype.removeAttributeNS,rb=window.Element.prototype.insertAdjacentElement,Oc=window.Element.prototype.prepend,Pc=window.Element.prototype.append,
Rc=window.Element.prototype.before,Sc=window.Element.prototype.after,Tc=window.Element.prototype.replaceWith,Uc=window.Element.prototype.remove,bd=window.HTMLElement,ta=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),qb=window.HTMLElement.prototype.insertAdjacentElement,vb=new function(){},na=window.customElements;if(!na||na.forcePolyfill||"function"!=typeof na.define||"function"!=typeof na.get){var Z=new z;ad(Z);Wc(Z);Vc(Z);Nc(Z);document.__CE_hasRegistry=!0;var Hd=new w(Z);
Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Hd})}var H={STYLE_RULE:1,ha:7,MEDIA_RULE:4,va:1E3},F={cb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ca:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ga:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,kb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,pb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,jb:/^@[^\s]*keyframes/,Ha:/\s+/g},v=!(window.ShadyDOM&&window.ShadyDOM.inUse),y=!navigator.userAgent.match("AppleWebKit/601")&&
window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?rc(window.ShadyCSS):window.WebComponents&&rc(window.WebComponents.flags);var Cc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Dc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Id=/(--[\w-]+)\s*([:,;)]|$)/gi,Jd=/(animation\s*:)|(animation-name\s*:)/,vd=/@media[^(]*(\([^)]*\))/,Kd=/\{[^}]*\}/g,O=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=
function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.v(a,b,c);if(a="template"===a.localName?(a.content||a.tb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.v=function(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(Ld);c?d&&(b=d.replace("style-scope","").replace(b,""),ja(a,b)):ja(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=
function(a,b,c){var d=a.__cssBuild;v||"shady"===d?b=T(b,c):(a=P(a),b=this.P(b,a.is,a.W,c)+"\n\n");return b.trim()};r.prototype.P=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.S(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?Md+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.S=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.B=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=
a.selector.split(Ec);if(!sc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ec)};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Nd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Od,bb+" $1");return a=a.replace(Pd,function(a,g,h){e||(a=d.I(h,g,b,c),e=e||a.stop,g=a.bb,h=a.value);return g+h})};r.prototype.I=function(a,b,c,d){var e=a.indexOf(cb);0<=a.indexOf(bb)?a=this.O(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",
c=!0);var f;c&&(f=!0,c&&(a=a.replace(Qd,function(a,b){return" > "+b})));a=a.replace(Rd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,bb:b,stop:f}};r.prototype.m=function(a,b){a=a.split(Fc);a[0]+=b;return a.join(Fc)};r.prototype.O=function(a,b){var c=a.match(Gc);return(c=c&&c[2].trim()||"")?c[0].match(Hc)?a.replace(Gc,function(a,c,f){return b+f}):c.split(Hc)[0]===b?c:Sd:a.replace(bb,b)};r.prototype.R=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.J)};
r.prototype.o=function(a){a.selector===Td&&(a.selector="html")};r.prototype.J=function(a){return a.match(cb)?this.g(a,Ic):this.m(a.trim(),Ic)};hb.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Nd=/:(nth[-\w]+)\(([^)]+)\)/,Ic=":not(.style-scope)",Ec=",",Pd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Hc=/[[.:#*]/,bb=":host",Td=":root",cb="::slotted",Od=new RegExp("^("+cb+")"),Gc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Qd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,
Rd=/(.*):dir\((?:(ltr|rtl))\)/,Md=".",Fc=":",Ld="class",Sd="should_not_match",p=new r;t.get=function(a){return a?a.__styleInfo:null};t.set=function(a,b){return a.__styleInfo=b};t.prototype.c=function(){return this.G};t.prototype._getStyleRules=t.prototype.c;var Jc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Ud=navigator.userAgent.match("Trident");q.prototype.S=function(a){var b=this,
c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.R(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};q.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.F=c,a.rules=null);b.cssText=this.P(a);a.s=b}};q.prototype.b=function(a,b){var c=a.s;if(c){if(c.F)return Object.assign(b,c.F),!0}else{for(var c=a.parsedCssText,d;a=Cc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};q.prototype.P=function(a){return this.O(a.parsedCssText)};
q.prototype.O=function(a){return a.replace(Kd,"").replace(Cc,"")};q.prototype.R=function(a,b){for(var c;c=Id.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};q.prototype.ea=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};q.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=uc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+
g})}return a&&a.trim()||""};q.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Dc.lastIndex=0;if(e=Dc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};q.prototype.J=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};q.prototype.I=function(a,b){var c=a.cssText,d=a.cssText;
null==a.Ea&&(a.Ea=Jd.test(c));if(a.Ea)if(null==a.ba){a.ba=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ba.push(e))}else{for(e=0;e<a.ba.length;++e)d=b[a.ba[e]],c=d(c);d=c}a.cssText=d};q.prototype.da=function(a,b){var c={},d=this,e=[];U(a,function(a){a.s||d.c(a);var f=a.B||a.parsedSelector;b&&a.s.F&&f&&Jc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{F:c,key:e}};q.prototype.ga=function(a,b,c,d){b.s||this.c(b);if(b.s.F){var e=P(a);a=e.is;var e=e.W,e=a?p.f(a,
e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(v&&!b.B&&(b.B=p.l(b,p.g,p.h(a),e)),c=b.B||e),d({ob:c,ib:h,vb:g})}};q.prototype.ca=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.ga(a,b,f,function(f){Jc.call(a.ub||a,f.ob)&&(f.ib?e.b(b,c):e.b(b,d))})},null,!0);return{mb:d,hb:c}};q.prototype.fa=
function(a,b,c){var d=this,e=P(a),f=p.f(e.is,e.W),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=t.get(a).G,h=this.h(e,c);return p.b(a,e,function(a){d.J(a,b);v||sc(a)||!a.cssText||(d.I(a,h),d.l(a,g,f,c))})};q.prototype.h=function(a,b){a=a.b;var c={};if(!v&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};q.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};q.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,
"g");a.a=a.keyframesName+"-"+b;a.B=a.B||a.selector;a.selector=a.B.replace(a.keyframesName,a.a)};q.prototype.l=function(a,b,c,d){a.B=a.B||a.selector;d="."+d;for(var e=a.B.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};q.prototype.o=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ja(a,e)};q.prototype.v=function(a,b,c,d){b=d?d.textContent||
"":this.fa(a,b,c);var e=t.get(a),f=e.a;f&&!v&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));v?e.a?(e.a.textContent=b,d=e.a):b&&(d=Ua(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Ud&&-1<b.indexOf("@media")&&(d.textContent=b),tc(d,null,e.b)):b&&(d=Ua(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};q.prototype.m=function(a,b){var c=ia(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(F.Ca,
"").replace(F.Ga,""),a.cssText=d.f(c,b))})};hb.Object.defineProperties(q.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var K=new q,db={},oa=window.customElements;if(oa&&!v){var Vd=oa.define;oa.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(O?O.nextSibling:null)||e.firstChild);O=d;db[a]=d;return Vd.call(oa,a,b,c)}}ba.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.F[e]!==
b[e])return!1}return!0};ba.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({F:b,styleElement:c,C:d});e.length>this.f&&e.shift();this.cache[a]=e};ba.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!v){var Kc=new MutationObserver(vc),Lc=function(a){Kc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Lc(document);else{var eb=function(){Lc(document.body)};
window.HTMLImports?window.HTMLImports.whenReady(eb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){eb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else eb()})}jb=function(){vc(Kc.takeRecords())}}var ka={},yd=Promise.resolve(),Va=null,xc=window.HTMLImports&&window.HTMLImports.whenReady||null,Wa,pa=null,aa=null;D.prototype.Da=function(){!this.enqueued&&aa&&(this.enqueued=!0,ib(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||
(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Da())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;pa&&pa(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=
D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return pa},set:function(a){pa=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=a;b&&this.Da()}}});var Mc=new ba;k.prototype.I=function(){jb()};k.prototype.ca=function(a){var b=this.m[a]=(this.m[a]||0)+1;return a+"-"+b};k.prototype.Pa=function(a){return ia(a)};k.prototype.Ra=function(a){return T(a)};
k.prototype.S=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ea=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ka[b]=a;var d=this.ea(a),e=this.S(a);c={is:b,extends:c,rb:d};v||p.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ta(e);f&&y&&
this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];y||(d=K.S(a._styleAst));if(!d.length||y)b=this.da(c,a._styleAst,v?a.content:null,db[b]),a.a=b;a.c=d}};k.prototype.da=function(a,b,c,d){b=p.b(a,b);if(b.length)return Ua(b,a.is,c,d)};k.prototype.ga=function(a){var b=P(a),c=b.is,b=b.W,d=db[c],c=ka[c],e,f;c&&(e=c._styleAst,f=c.c);return t.set(a,new t(e,d,f,0,b))};k.prototype.P=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=
wd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.R=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=function(b){a.v(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=
function(){return null},b)}};k.prototype.c=function(){this.P();this.R()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(y?this.Na(a):(this.o(this.g,this.h),this.J(a)),this.a.enqueued=!1,this.i&&!y&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=P(a).is,d=t.get(a);d||(d=this.ga(a));this.j(a)||(this.i=!0);b&&(d.N=d.N||{},Object.assign(d.N,b));if(y){if(d.N){b=d.N;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=
ka[c])||this.j(a))&&e&&e.a&&!wc(e)){if(wc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=p.b(a,d.G),xd(e);v&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=p.b(a,d.G));d.G=e._styleAst}}else this.o(a,d),d.sa&&d.sa.length&&this.O(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?t.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.O=function(a,b){var c=P(a).is,d=Mc.a(c,b.H,
b.sa),e=d?d.styleElement:null,f=b.C;b.C=d&&d.C||this.ca(c);e=K.v(a,b.H,b.C,e);v||K.o(a,b.C,f);d||Mc.c(c,b.H,e,b.C)};k.prototype.o=function(a,b){var c=this.l(a),d=t.get(c),c=Object.create(d.H||null),e=K.ca(a,b.G);a=K.da(d.G,a).F;Object.assign(c,e.hb,a,e.mb);this.fa(c,b.N);K.ea(c);b.H=c};k.prototype.fa=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&
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])};k.prototype.Na=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Ma(c)}};k.prototype.J=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&K.m(c,this.h.H)}};k.prototype.v=function(a){var b=this,c=ia(a);U(c,function(a){v?p.o(a):p.R(a);y&&(b.c(),
b.b.transformRule(a))});y?a.textContent=T(c):this.h.G.rules.push(c)};k.prototype.Ma=function(a){if(y){var b=ia(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;y||(c=(t.get(a)||t.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Qa=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)for(var d=d.split(/\s/),
e=0;e<d.length;e++)if(d[e]===p.c){c=d[e+1];break}}c&&b.push(p.c,c);y||(c=t.get(a))&&c.C&&b.push(K.g,c.C);ja(a,b.join(" "))};k.prototype.Oa=function(a){return t.get(a)};k.prototype.flush=k.prototype.I;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=
k.prototype.Qa;k.prototype._styleInfoForNode=k.prototype.Oa;k.prototype.transformCustomStyleForDocument=k.prototype.v;k.prototype.getStyleAst=k.prototype.Pa;k.prototype.styleAstToString=k.prototype.Ra;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return v}},nativeCss:{get:function(){return y}}});var G=new k,fb,gb;window.ShadyCSS&&(fb=window.ShadyCSS.ApplyShim,gb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,
b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:y,nativeShadow:v};fb&&(window.ShadyCSS.ApplyShim=fb);gb&&(window.ShadyCSS.CustomStyleInterface=gb);(function(){var a=window.customElements,b=window.HTMLImports;if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=
c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var b=document.querySelector("head");
b.insertBefore(a,b.firstChild)})()})();
d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.D.push({node:this,type:a,capture:d,once:e,passive:f,qb:h});Qa[a]?(this.w=this.w||{},this.w[a]=this.w[a]||{capture:[],bubble:[]},this.w[a][d?"capture":"bubble"].push(h)):(this instanceof
Window?gc:hc).call(this,a,h,c)}}function ic(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ka||this,h=void 0;b.D&&(e=dc(b.D,g,a,d,e,f),-1<e&&(h=b.D.splice(e,1)[0].qb,b.D.length||(b.D=void 0)));(this instanceof Window?jc:kc).call(this,a,h||b,c);h&&Qa[a]&&this.w&&this.w[a]&&(a=this.w[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function nd(){for(var a in Qa)window.addEventListener(a,function(a){a.__target||(fc(a),md(a))},
!0)}function fc(a){a.__target=a.target;a.za=a.relatedTarget;if(C.T){var b=lc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.sb=c;Ba(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ba(a,lc)}function Y(a,b){return{index:a,V:[],Y:b}}function od(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,m=0;m<l-g&&pd(a[--h],c[--k]);)m++;h=m}e+=g;
f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<d;)b.V.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(m=1;m<h;m++)if(a[l+m-1]===c[g+k-1])b[k][m]=b[k-1][m-1];else{var n=b[k-1][m]+1,q=b[k][m-1]+1;b[k][m]=n<q?n:q}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],m=b[l][g-1],n=k<m?k<h?k:h:m<h?m:h,n==h?(h==d?a.push(0):(a.push(1),
d=h),l--,g--):n==k?(a.push(3),l--,d=k):(a.push(2),g--,d=m)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.Y++;e++;b.V.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.Y++;e++;break;case 3:b||(b=Y(e,0)),b.V.push(c[f]),f++}b&&l.push(b);return l}function pd(a,b){return a===b}function mc(a){Yb(a);return a.__shady&&a.__shady.assignedSlot||null}function J(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)}}function qd(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;J(window.Node.prototype,rd);J(window.Window.prototype,sd);J(window.Text.prototype,td);J(window.DocumentFragment.prototype,Ra);J(window.Element.prototype,nc);J(window.Document.prototype,oc);window.HTMLSlotElement&&J(window.HTMLSlotElement.prototype,pc);J(a.prototype,ud);C.T&&(N(window.Node.prototype),
N(window.Text.prototype),N(window.DocumentFragment.prototype),N(window.Element.prototype),N(a.prototype),N(window.Document.prototype),window.HTMLSlotElement&&N(window.HTMLSlotElement.prototype))}function qc(a){var b=vd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(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 Sa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function L(a,b,c){c=c?c:new Set;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)L(d,b,c);d=Sa(a,e);continue}else if("template"===f){d=Sa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)L(e,
b,c)}d=d.firstChild?d.firstChild:Sa(a,d)}}function u(a,b,c){a[b]=c}function Ta(a){a=a.replace(F.cb,"").replace(F.port,"");var b=rc,c=a,d=new qa;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null,e=new qa;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function rc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=
b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=wd(c),c=c.replace(F.Ha," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.jb)&&(a.type=H.ha,a.keyframesName=a.selector.split(F.Ha).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.va);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)rc(f,b);return a}function wd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=
c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function sc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=sc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.Ca,"").replace(F.Ga,""),b=b.replace(F.kb,"").replace(F.pb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function tc(a){a&&(y=y&&!a.nativeCss&&
!a.shimcssproperties,v=v&&!a.nativeShadow&&!a.shimshadow)}function T(a,b){if(!a)return"";"string"===typeof a&&(a=Ta(a));b&&U(a,b);return sc(a,y)}function ia(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ta(a.textContent));return a.__cssRules||null}function uc(a){return!!a.parent&&a.parent.type===H.ha}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(xd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ha?c(a):f===H.va&&(e=!0);if((a=
a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,b,c,d)}}function Ua(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;vc(e,c,d);return e}function vc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);O?a.compareDocumentPosition(O)===Node.DOCUMENT_POSITION_PRECEDING&&(O=a):O=a}function wc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===
a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=wc(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function ja(a,b){v?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function P(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,W:c}}function xc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(p.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?p.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=P(f).is,g!==f&&(g&&p.a(e,g,!0),p.a(e,f)))}}}}function yd(a){if(a=
ka[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function yc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function zd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Ad.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function ib(a){requestAnimationFrame(function(){zc?zc(a):(Va||(Va=new Promise(function(a){Wa=
a}),"complete"===document.readyState?Wa():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Wa()})),Va.then(function(){a&&a()}))})}(function(a){function b(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 c(a){if(m)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(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",b),a())};document.addEventListener("readystatechange",
b)}}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!m&&null===a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);w&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&
"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.l(b)});this.f.observe(document.head,{childList:!0,subtree:!0});this.c(document)}var m="import"in document.createElement("link"),n=null;!1==="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return n||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var q=/(^\/)|(^#)|(^[\w-\d]*:)/,r=/(url\()([^)]*)(\))/g,
t=/(@import[\s]+(?!url\())([^;]*)(;)/g,v=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,p={eb:function(a,b){a.href&&a.setAttribute("href",p.ua(a.getAttribute("href"),b));a.src&&a.setAttribute("src",p.ua(a.getAttribute("src"),b));if("style"===a.localName){var c=p.Ka(a.textContent,b,r);a.textContent=p.Ka(c,b,t)}},Ka:function(a,b,c){return a.replace(c,function(a,c,d,e){a=d.replace(/["']/g,"");b&&(a=p.La(a,b));return c+"'"+a+"'"+e})},ua:function(a,b){return a&&q.test(a)?a:p.La(a,b)},La:function(a,
b){if(void 0===p.la){p.la=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";p.la="http://a/c%20d"===c.href}catch(Yd){}}if(p.la)return(new URL(a,b)).href;c=p.Wa;c||(c=document.implementation.createHTMLDocument("temp"),p.Wa=c,c.xa=c.createElement("base"),c.head.appendChild(c.xa),c.wa=c.createElement("a"));c.xa.href=b;c.wa.href=a;return c.wa.href||a}},y={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 e=new XMLHttpRequest;e.open("GET",a,y.async);e.onload=function(){var a=e.getResponseHeader("Location");a&&!a.indexOf("/")&&(a=(location.origin||location.protocol+"//"+location.host)+a);var d=e.response||e.responseText;304===e.status||!e.status||200<=e.status&&300>e.status?b(d,a):c(d)};e.send()}else c("error: href must be specified")}},w=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);k.prototype.c=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=
0,c=a.length;b<c;b++)this.h(a[b])};k.prototype.h=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.g(a))}else this.b++,this.a[c]="pending",y.load(c,function(a,d){a=b.m(a,d||c);b.a[c]=a;b.b--;b.c(a);b.i()},function(){b.a[c]=null;b.b--;b.i()})};k.prototype.m=function(a,b){if(!a)return document.createDocumentFragment();w&&(a=a.replace(v,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=p.ua(c.getAttribute("href"),b),c.removeAttribute("href");for(var c=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"]'),d=0,e=0,f=c.length,h;e<f&&
(h=c[e]);e++)g(h),p.eb(h,b),h.setAttribute("import-dependency",""),"script"===h.localName&&!h.src&&h.textContent&&(h.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(h.textContent+("\n//# sourceURL="+b+(d?"-"+d:"")+".js\n"))),h.textContent="",d++);return a};k.prototype.i=function(){var a=this;if(!this.b){this.f.disconnect();this.flatten(document);var b=!1,c=!1,d=function(){c&&b&&(a.c(document),a.b||(a.f.observe(document.head,{childList:!0,subtree:!0}),a.j()))};this.v(function(){c=
!0;d()});this.o(function(){b=!0;d()})}};k.prototype.flatten=function(a){a=a.querySelectorAll("link[rel=import]");for(var b=0,c=a.length,d;b<c&&(d=a[b]);b++){var e=this.a[d.href];(d.import=e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(this.a[d.href]=d,d.readyState="loading",d.import=d,this.flatten(e),d.appendChild(e))}};k.prototype.o=function(a){function b(e){if(e<d){var f=c[e],h=document.createElement("script");f.removeAttribute("import-dependency");for(var k=0,l=f.attributes.length;k<l;k++)h.setAttribute(f.attributes[k].name,
f.attributes[k].value);n=h;f.parentNode.replaceChild(h,f);g(h,function(){n=null;b(e+1)})}else a()}var c=document.querySelectorAll("script[import-dependency]"),d=c.length;b(0)};k.prototype.v=function(a){var b=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),d=b.length;if(d)for(var e=w&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]"),f={},h=0,k=b.length;h<k&&(f.u=b[h]);f={u:f.u},h++){if(g(f.u,function(b){return function(){b.u.removeAttribute("import-dependency");
--d||a()}}(f)),e&&f.u.parentNode!==document.head){var l=document.createElement(f.u.localName);l.__appliedElement=f.u;l.setAttribute("type","import-placeholder");f.u.parentNode.insertBefore(l,f.u.nextSibling);for(l=c(f.u);l&&c(l);)l=c(l);l.parentNode!==document.head&&(l=null);document.head.insertBefore(f.u,l);f.u.removeAttribute("type")}}else a()};k.prototype.j=function(){for(var a=document.querySelectorAll("link[rel=import]"),b=a.length-1,c;0<=b&&(c=a[b]);b--)this.g(c)};k.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})))};k.prototype.l=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(m){for(var u=document.querySelectorAll("link[rel=import]"),z=0,B=u.length,A;z<B&&(A=u[z]);z++)A.import&&"loading"===A.import.readyState||(A.__loaded=
!0);u=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",u,!0);document.addEventListener("error",u,!0)}else{var x=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!x||x.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:x&&x.get?x.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",
{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=m;a.whenReady=f;a.importForElement=c})(window.HTMLImports=window.HTMLImports||{});var C=window.ShadyDOM||{};C.gb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Xa=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.T=!!(Xa&&Xa.configurable&&Xa.get);C.Fa=C.force||!C.gb;var V=Element.prototype,Ac=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,
Ea=document.createTextNode(""),Bb=0,Da=[];(new MutationObserver(function(){for(;Da.length;)try{Da.shift()()}catch(a){throw Ea.textContent=Bb++,a;}})).observe(Ea,{characterData:!0});var X=[],Fa;ga.list=X;fa.prototype.nb=function(){var a=this;this.a||(this.a=!0,Ab(function(){a.b()}))};fa.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Z.forEach(function(b){b(a)})}};fa.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[]};var $b=Element.prototype.appendChild,Ma=Element.prototype.insertBefore,S=Element.prototype.removeChild,Bc=Element.prototype.setAttribute,Cc=Element.prototype.removeAttribute,Ya=Element.prototype.cloneNode,Na=Document.prototype.importNode,hc=Element.prototype.addEventListener,kc=Element.prototype.removeEventListener,gc=Window.prototype.addEventListener,jc=Window.prototype.removeEventListener,Za=Element.prototype.dispatchEvent,
Bd=Object.freeze({appendChild:$b,insertBefore:Ma,removeChild:S,setAttribute:Bc,removeAttribute:Cc,cloneNode:Ya,importNode:Na,addEventListener:hc,removeEventListener:kc,wb:gc,xb:jc,dispatchEvent:Za}),id=/[&\u00A0"]/g,ld=/[&\u00A0<>]/g,jd=Eb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),kd=Eb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),x=document.createTreeWalker(document,
NodeFilter.SHOW_ELEMENT,null,!1),Cd=Object.freeze({parentNode:M,firstChild:za,lastChild:Aa,previousSibling:Fb,nextSibling:Gb,childNodes:W,parentElement:Hb,firstElementChild:Ib,lastElementChild:Jb,previousElementSibling:Kb,nextElementSibling:Lb,children:Mb,innerHTML:Nb,textContent:Ob}),$a=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),la=document.implementation.createHTMLDocument("inert").createElement("div"),ab=Object.getOwnPropertyDescriptor(Document.prototype,
"activeElement"),Pb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:Hb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:M(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Gb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;
return void 0!==a?a:Fb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Lb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&
a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Kb(this)},configurable:!0}},Ha={childNodes:{get:function(){var a;if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)this.__shady.childNodes.push(b)}a=this.__shady.childNodes}else a=W(this);a.item=function(b){return a[b]};return a},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=
this.__shady&&this.__shady.firstChild;return void 0!==a?a:za(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Aa(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Ob(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);
this.appendChild(document.createTextNode(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 Ib(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 Jb(this)},configurable:!0},children:{get:function(){var a;
this.__shady&&void 0!==this.__shady.firstChild?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Mb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ga(a):Nb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for($a&&$a.set?$a.set.call(la,
a):la.innerHTML=a;la.firstChild;)b.appendChild(la.firstChild)},configurable:!0}},Dc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Ia={activeElement:{get:function(){var a;a=ab&&ab.get?ab.get.call(document):C.T?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=R(a);b&&b!==this;)a=b.host,b=R(a);a=this===document?
b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},zb=C.T?function(){}:function(a){a.__shady&&a.__shady.Va||(a.__shady=a.__shady||{},a.__shady.Va=!0,I(a,Pb,!0))},yb=C.T?function(){}:function(a){a.__shady&&a.__shady.Ta||(a.__shady=a.__shady||{},a.__shady.Ta=!0,I(a,Ha,!0),I(a,Dc,!0))},ma=null,Dd={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},lc={get composed(){!1!==this.isTrusted&&void 0===this.ia&&(this.ia=
Dd[this.type]);return this.ia||!1},composedPath:function(){this.ya||(this.ya=Oa(this.__target,this.composed));return this.ya},get target(){return bc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.za)return null;this.Aa||(this.Aa=Oa(this.za,!0));return bc(this.currentTarget,this.Aa)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ja=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ja=this.Sa=!0}},Qa=
{focus:!0,blur:!0},Ed=Pa(window.Event),Fd=Pa(window.CustomEvent),Gd=Pa(window.MouseEvent),Hd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};B.prototype.fb=function(){return this.root.querySelectorAll("slot")};B.prototype.ra=function(a){return a.localName&&"slot"==a.localName};B.prototype.pa=function(){return this.root.qa()?this.g(this.c()):[]};B.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=
c.nextSibling)a[b++]=c;return a};B.prototype.g=function(a){for(var b=[],c=this.root.na(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.qa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=M(d))&&S.call(e,d);return b};B.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.Ba(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.oa!=
a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.oa!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.oa=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};B.prototype.Ba=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.oa=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};B.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?
b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};B.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};B.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.M=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.ra(d)){var e=d.__shady.M;if(e)for(var f=0;f<e.length;f++)a.__shady.M.push(e[f])}else a.__shady.M.push(b[c])};B.prototype.a=function(a){Za.call(a,new Hd("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};
B.prototype.aa=function(a){return!a.__shady.assignedSlot};var xb={};n.prototype=Object.create(DocumentFragment.prototype);n.prototype.i=function(a){this.Ua="ShadyRoot";Q(a);Q(this);a.shadowRoot=this;this.host=a;this.ma=this.L=!1;this.A=new B(this);this.update()};n.prototype.update=function(){var a=this;this.L||(this.L=!0,Cb(function(){return a.Ja()}))};n.prototype.h=function(){for(var a=this,b=this;b;)b.L&&(a=b),b=b.Za();return a};n.prototype.Za=function(){var a=this.host.getRootNode();if(E(a))for(var b=
this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.A.ra(d))return a};n.prototype.Ja=function(){this.L&&this.h()._render()};n.prototype._render=function(){this.ma=this.L=!1;this.X||this.f();this.X=!1;this.pa();this.j()};n.prototype.pa=function(){for(var a=this.A.pa(),b=0;b<a.length;b++)a[b]._render()};n.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.A.Ba(c);a=this.a=this.A.fb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},Q(c),
Q(c.parentNode)};n.prototype.j=function(){this.g()};n.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.na(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};n.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.A.ra(d))for(var e=d.__shady.M||(d.__shady.M=[]),f=0;f<e.length;f++){var g=e[f];this.aa(d,g)&&b.push(g)}else b.push(d)}return b};n.prototype.aa=function(a,
b){return this.A.aa(a,b)};n.prototype.c=function(a,b){for(var c=W(a),d=od(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.V.length&&(k=g.V[h]);h++)M(k)===a&&S.call(a,k),c.splice(g.index+f,1);f-=g.Y}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.Y;h++)k=b[h],Ma.call(a,k,f),c.splice(h,0,k)};n.prototype.qa=function(){return!(!this.a||!this.a.length)};n.prototype.na=function(){this.a||this.f();return this.a};n.prototype.addEventListener=function(a,
b,c){"object"!==typeof c&&(c={capture:!!c});c.ka=this;this.host.addEventListener(a,b,c)};n.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ka=this;this.host.removeEventListener(a,b,c)};n.prototype.getElementById=function(a){return this.querySelector("#"+a)};(function(a){I(a,Ha,!0);I(a,Ia,!0)})(n.prototype);var sd={addEventListener:ec,removeEventListener:ic},rd={addEventListener:ec,removeEventListener:ic,appendChild:function(a){return Zb(this,a)},insertBefore:function(a,
b){return Zb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);if(!Rb(a)){var b=E(this)?this.host:this,c=M(a);b===c&&S.call(b,a)}Ka(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Ya.call(this,a);else if(b=Ya.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},
getRootNode:function(){return La(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof n?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){ga();return Za.call(this,a)}},td={get assignedSlot(){return mc(this)}},Ra={querySelector:function(a){return Wb(this,function(b){return Ac.call(b,a)},function(a){return!!a})[0]||
null},querySelectorAll:function(a){return Wb(this,function(b){return Ac.call(b,a)})}},pc={assignedNodes:function(a){if("slot"===this.localName)return Yb(this),this.__shady?(a&&a.flatten?this.__shady.M:this.__shady.assignedNodes)||[]:[]}},nc=Ca({setAttribute:function(a,b){ma||(ma=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ma&&"class"===a?ma.setElementClass(this,b):(Bc.call(this,a,b),Vb(this,a))},removeAttribute:function(a){Cc.call(this,a);Vb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";
if(!a)throw"Not enough arguments.";return new n(xb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return mc(this)}},Ra,pc);Object.defineProperties(nc,Dc);var oc=Ca({importNode:function(a,b){return ac(a,b)},getElementById:function(a){return this.querySelector("#"+a)}},Ra);Object.defineProperties(oc,{_activeElement:Ia.activeElement});var Id=HTMLElement.prototype.blur,ud=Ca({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?
a.blur():Id.call(this)}});C.Fa&&(window.ShadyDOM={inUse:C.Fa,patch:function(a){return a},isShadyRoot:E,enqueue:Cb,flush:ga,settings:C,filterMutations:hd,observeChildren:fd,unobserveChildren:ed,nativeMethods:Bd,nativeTree:Cd},window.Event=Ed,window.CustomEvent=Fd,window.MouseEvent=Gd,nd(),qd(),window.ShadowRoot=n);var vd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));z.prototype.J=function(a,b){this.m.set(a,b);
this.l.set(b.constructor,b)};z.prototype.f=function(a){return this.m.get(a)};z.prototype.I=function(a){return this.l.get(a)};z.prototype.o=function(a){this.h=!0;this.i.push(a)};z.prototype.j=function(a){var b=this;this.h&&L(a,function(a){return b.g(a)})};z.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};z.prototype.b=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):
this.v(c)}};z.prototype.a=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};z.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];L(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=
!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.v(d[a])};z.prototype.v=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=
1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}m(a)&&this.connectedCallback(a)}}};z.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};z.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};z.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)};ya.prototype.c=function(){this.K&&this.K.disconnect()};ya.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};wb.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.define=
function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!qc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(ra){return}finally{this.f=!1}this.a.J(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=
!0,this.g(function(){return c.j()}))};w.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};w.prototype.whenDefined=function(a){if(!qc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new wb;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.l=
function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.define;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.whenDefined;w.prototype.polyfillWrapFlushCallback=w.prototype.l;var ua=window.Document.prototype.createElement,$c=window.Document.prototype.createElementNS,Zc=window.Document.prototype.importNode,ad=window.Document.prototype.prepend,bd=window.Document.prototype.append,lb=window.Node.prototype.cloneNode,
da=window.Node.prototype.appendChild,tb=window.Node.prototype.insertBefore,va=window.Node.prototype.removeChild,ub=window.Node.prototype.replaceChild,xa=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),kb=window.Element.prototype.attachShadow,sa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),wa=window.Element.prototype.getAttribute,mb=window.Element.prototype.setAttribute,ob=window.Element.prototype.removeAttribute,ea=window.Element.prototype.getAttributeNS,
nb=window.Element.prototype.setAttributeNS,pb=window.Element.prototype.removeAttributeNS,rb=window.Element.prototype.insertAdjacentElement,Qc=window.Element.prototype.prepend,Rc=window.Element.prototype.append,Tc=window.Element.prototype.before,Uc=window.Element.prototype.after,Vc=window.Element.prototype.replaceWith,Wc=window.Element.prototype.remove,dd=window.HTMLElement,ta=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),qb=window.HTMLElement.prototype.insertAdjacentElement,
vb=new function(){},na=window.customElements;if(!na||na.forcePolyfill||"function"!=typeof na.define||"function"!=typeof na.get){var Z=new z;cd(Z);Yc(Z);Xc(Z);Pc(Z);document.__CE_hasRegistry=!0;var Jd=new w(Z);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Jd})}var H={STYLE_RULE:1,ha:7,MEDIA_RULE:4,va:1E3},F={cb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ca:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ga:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,
kb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,pb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,jb:/^@[^\s]*keyframes/,Ha:/\s+/g},v=!(window.ShadyDOM&&window.ShadyDOM.inUse),y=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?tc(window.ShadyCSS):window.WebComponents&&tc(window.WebComponents.flags);var Ec=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Fc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,
Kd=/(--[\w-]+)\s*([:,;)]|$)/gi,Ld=/(animation\s*:)|(animation-name\s*:)/,xd=/@media[^(]*(\([^)]*\))/,Md=/\{[^}]*\}/g,O=null;r.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};r.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.v(a,b,c);if(a="template"===a.localName?(a.content||a.tb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};r.prototype.v=function(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(Nd);c?d&&(b=d.replace("style-scope","").replace(b,""),ja(a,b)):ja(a,(d?d+" ":"")+"style-scope "+b)}};r.prototype.b=function(a,b,c){var d=a.__cssBuild;v||"shady"===d?b=T(b,c):(a=P(a),b=this.P(b,a.is,a.W,c)+"\n\n");return b.trim()};r.prototype.P=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.S(a,b,e),a.c=!0);d&&d(a,b,e)})};r.prototype.h=function(a){return a?
Od+a:""};r.prototype.f=function(a,b){return b?"[is="+a+"]":a};r.prototype.S=function(a,b,c){this.j(a,this.g,b,c)};r.prototype.j=function(a,b,c,d){a.selector=a.B=this.l(a,b,c,d)};r.prototype.l=function(a,b,c,d){var e=a.selector.split(Gc);if(!uc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Gc)};r.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Pd,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Qd,bb+" $1");return a=a.replace(Rd,
function(a,g,h){e||(a=d.I(h,g,b,c),e=e||a.stop,g=a.bb,h=a.value);return g+h})};r.prototype.I=function(a,b,c,d){var e=a.indexOf(cb);0<=a.indexOf(bb)?a=this.O(a,d):0!==e&&(a=c?this.m(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(Sd,function(a,b){return" > "+b})));a=a.replace(Td,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,bb:b,stop:f}};r.prototype.m=function(a,b){a=a.split(Hc);a[0]+=b;return a.join(Hc)};r.prototype.O=function(a,b){var c=a.match(Ic);
return(c=c&&c[2].trim()||"")?c[0].match(Jc)?a.replace(Ic,function(a,c,f){return b+f}):c.split(Jc)[0]===b?c:Ud:a.replace(bb,b)};r.prototype.R=function(a){a.selector=a.parsedSelector;this.o(a);this.j(a,this.J)};r.prototype.o=function(a){a.selector===Vd&&(a.selector="html")};r.prototype.J=function(a){return a.match(cb)?this.g(a,Kc):this.m(a.trim(),Kc)};hb.Object.defineProperties(r.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Pd=/:(nth[-\w]+)\(([^)]+)\)/,Kc=":not(.style-scope)",
Gc=",",Rd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Jc=/[[.:#*]/,bb=":host",Vd=":root",cb="::slotted",Qd=new RegExp("^("+cb+")"),Ic=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Sd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Td=/(.*):dir\((?:(ltr|rtl))\)/,Od=".",Hc=":",Nd="class",Ud="should_not_match",p=new r;t.get=function(a){return a?a.__styleInfo:null};t.set=function(a,b){return a.__styleInfo=b};t.prototype.c=function(){return this.G};t.prototype._getStyleRules=t.prototype.c;var Lc=function(a){return a.matches||
a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Wd=navigator.userAgent.match("Trident");q.prototype.S=function(a){var b=this,c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.R(a.s.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};q.prototype.c=function(a){if(!a.s){var b={},c={};this.b(a,c)&&(b.F=c,a.rules=null);b.cssText=this.P(a);a.s=b}};q.prototype.b=function(a,b){var c=a.s;if(c){if(c.F)return Object.assign(b,
c.F),!0}else{for(var c=a.parsedCssText,d;a=Ec.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};q.prototype.P=function(a){return this.O(a.parsedCssText)};q.prototype.O=function(a){return a.replace(Md,"").replace(Ec,"")};q.prototype.R=function(a,b){for(var c;c=Kd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};q.prototype.ea=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};q.prototype.a=function(a,b){if(a)if(0<=
a.indexOf(";"))a=this.f(a,b);else{var c=this;a=wc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};q.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Fc.lastIndex=0;if(e=Fc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?
d.slice(0,-1):d||""}return a.join(";")};q.prototype.J=function(a,b){var c="";a.s||this.c(a);a.s.cssText&&(c=this.f(a.s.cssText,b));a.cssText=c};q.prototype.I=function(a,b){var c=a.cssText,d=a.cssText;null==a.Ea&&(a.Ea=Ld.test(c));if(a.Ea)if(null==a.ba){a.ba=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ba.push(e))}else{for(e=0;e<a.ba.length;++e)d=b[a.ba[e]],c=d(c);d=c}a.cssText=d};q.prototype.da=function(a,b){var c={},d=this,e=[];U(a,function(a){a.s||d.c(a);var f=a.B||a.parsedSelector;b&&a.s.F&&f&&
Lc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{F:c,key:e}};q.prototype.ga=function(a,b,c,d){b.s||this.c(b);if(b.s.F){var e=P(a);a=e.is;var e=e.W,e=a?p.f(a,e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(v&&!b.B&&(b.B=p.l(b,p.g,p.h(a),e)),c=b.B||e),d({ob:c,ib:h,vb:g})}};
q.prototype.ca=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.ga(a,b,f,function(f){Lc.call(a.ub||a,f.ob)&&(f.ib?e.b(b,c):e.b(b,d))})},null,!0);return{mb:d,hb:c}};q.prototype.fa=function(a,b,c){var d=this,e=P(a),f=p.f(e.is,e.W),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=t.get(a).G,h=this.h(e,c);return p.b(a,e,function(a){d.J(a,b);v||uc(a)||!a.cssText||(d.I(a,h),d.l(a,g,f,c))})};q.prototype.h=function(a,b){a=a.b;var c={};if(!v&&a)for(var d=
0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};q.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};q.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.B=a.B||a.selector;a.selector=a.B.replace(a.keyframesName,a.a)};q.prototype.l=function(a,b,c,d){a.B=a.B||a.selector;d="."+d;for(var e=a.B.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};q.prototype.o=
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ja(a,e)};q.prototype.v=function(a,b,c,d){b=d?d.textContent||"":this.fa(a,b,c);var e=t.get(a),f=e.a;f&&!v&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));v?e.a?(e.a.textContent=b,d=e.a):b&&(d=Ua(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Wd&&-1<b.indexOf("@media")&&(d.textContent=b),vc(d,null,e.b)):b&&(d=Ua(b,c,null,
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};q.prototype.m=function(a,b){var c=ia(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.s&&a.s.cssText&&(c=c.replace(F.Ca,"").replace(F.Ga,""),a.cssText=d.f(c,b))})};hb.Object.defineProperties(q.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var K=new q,db={},oa=window.customElements;if(oa&&!v){var Xd=oa.define;oa.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
a+" "),e=document.head;e.insertBefore(d,(O?O.nextSibling:null)||e.firstChild);O=d;db[a]=d;return Xd.call(oa,a,b,c)}}ba.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.F[e]!==b[e])return!1}return!0};ba.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({F:b,styleElement:c,C:d});e.length>this.c&&e.shift();this.cache[a]=e};ba.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!v){var Mc=new MutationObserver(xc),
Nc=function(a){Mc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Nc(document);else{var eb=function(){Nc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(eb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){eb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else eb()})}jb=function(){xc(Mc.takeRecords())}}var ka={},Ad=Promise.resolve(),
Va=null,zc=window.HTMLImports&&window.HTMLImports.whenReady||null,Wa,pa=null,aa=null;D.prototype.Da=function(){!this.enqueued&&aa&&(this.enqueued=!0,ib(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Da())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);
if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;pa&&pa(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return pa},set:function(a){pa=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=
a;b&&this.Da()}}});var Oc=new ba;k.prototype.I=function(){jb()};k.prototype.ca=function(a){var b=this.m[a]=(this.m[a]||0)+1;return a+"-"+b};k.prototype.Pa=function(a){return ia(a)};k.prototype.Ra=function(a){return T(a)};k.prototype.S=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ea=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||
"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ka[b]=a;var d=this.ea(a),e=this.S(a);c={is:b,extends:c,rb:d};v||p.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ta(e);f&&y&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];y||(d=K.S(a._styleAst));if(!d.length||y)b=this.da(c,a._styleAst,v?a.content:null,db[b]),a.a=b;a.c=d}};k.prototype.da=function(a,b,c,d){b=p.b(a,b);if(b.length)return Ua(b,a.is,c,d)};k.prototype.ga=function(a){var b=P(a),c=b.is,b=b.W,
d=db[c],c=ka[c],e,f;c&&(e=c._styleAst,f=c.c);return t.set(a,new t(e,d,f,0,b))};k.prototype.P=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=yd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.R=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=
function(b){a.v(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.P();this.R()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(y?this.Na(a):(this.o(this.g,this.h),this.J(a)),this.a.enqueued=!1,this.i&&!y&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=
P(a).is,d=t.get(a);d||(d=this.ga(a));this.j(a)||(this.i=!0);b&&(d.N=d.N||{},Object.assign(d.N,b));if(y){if(d.N){b=d.N;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ka[c])||this.j(a))&&e&&e.a&&!yc(e)){if(yc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=p.b(a,d.G),zd(e);v&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=p.b(a,d.G));d.G=e._styleAst}}else this.o(a,d),d.sa&&d.sa.length&&
this.O(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?t.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.O=function(a,b){var c=P(a).is,d=Oc.fetch(c,b.H,b.sa),e=d?d.styleElement:null,f=b.C;b.C=d&&d.C||this.ca(c);e=K.v(a,b.H,b.C,e);v||K.o(a,b.C,f);d||Oc.b(c,b.H,e,b.C)};k.prototype.o=function(a,b){var c=this.l(a),d=t.get(c),c=Object.create(d.H||null),e=K.ca(a,b.G);a=K.da(d.G,a).F;Object.assign(c,e.hb,a,e.mb);this.fa(c,b.N);K.ea(c);b.H=c};k.prototype.fa=
function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&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])};k.prototype.Na=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Ma(c)}};
k.prototype.J=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&K.m(c,this.h.H)}};k.prototype.v=function(a){var b=this,c=ia(a);U(c,function(a){v?p.o(a):p.R(a);y&&(b.c(),b.b.transformRule(a))});y?a.textContent=T(c):this.h.G.rules.push(c)};k.prototype.Ma=function(a){if(y){var b=ia(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;y||(c=(t.get(a)||t.get(this.l(a))).H[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
c.trim():""};k.prototype.Qa=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)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===p.c){c=d[e+1];break}}c&&b.push(p.c,c);y||(c=t.get(a))&&c.C&&b.push(K.g,c.C);ja(a,b.join(" "))};k.prototype.Oa=function(a){return t.get(a)};k.prototype.flush=k.prototype.I;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Qa;k.prototype._styleInfoForNode=k.prototype.Oa;k.prototype.transformCustomStyleForDocument=k.prototype.v;k.prototype.getStyleAst=k.prototype.Pa;k.prototype.styleAstToString=k.prototype.Ra;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return v}},nativeCss:{get:function(){return y}}});
var G=new k,fb,gb;window.ShadyCSS&&(fb=window.ShadyCSS.ApplyShim,gb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:y,nativeShadow:v};fb&&(window.ShadyCSS.ApplyShim=fb);gb&&(window.ShadyCSS.CustomStyleInterface=
gb);(function(){var a=window.customElements,b=window.HTMLImports;if(a&&a.polyfillWrapFlushCallback){var c,d=function(){if(c){var a=c;c=null;a();return!0}},e=b.whenReady;a.polyfillWrapFlushCallback(function(a){c=a;e(d)});b.whenReady=function(a){e(function(){d()?b.whenReady(a):a()})}}b.whenReady(function(){requestAnimationFrame(function(){document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})})();(function(){var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";
var b=document.querySelector("head");b.insertBefore(a,b.firstChild)})()})();
}).call(self)
//# sourceMappingURL=webcomponents-hi-sd-ce.js.map

File diff suppressed because one or more lines are too long

View File

@@ -30,26 +30,26 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
'use strict';var ob="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.s={};this.g=document.documentElement;var b=new xa;b.rules=[];this.h=v.set(this.g,new v(b));this.i=!1;this.a=this.b=null;pb(function(){a.c()})}function L(){this.customStyles=[];this.enqueued=!1}function qb(){}function ja(a){this.cache={};this.f=void 0===a?100:a}function n(){}function v(a,b,c,d,e){this.I=a||null;this.b=b||null;this.Ba=c||[];this.S=null;this.aa=e||"";this.a=this.F=this.K=null}function w(){}function xa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Xc(a){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;m(this)&&(e=[],Q(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?a.c(this):a.j(this);
(function(){function k(){var a=this;this.s={};this.g=document.documentElement;var b=new xa;b.rules=[];this.h=v.set(this.g,new v(b));this.i=!1;this.a=this.b=null;pb(function(){a.c()})}function L(){this.customStyles=[];this.enqueued=!1}function qb(){}function ja(a){this.cache={};this.c=void 0===a?100:a}function n(){}function v(a,b,c,d,e){this.I=a||null;this.b=b||null;this.Ba=c||[];this.S=null;this.aa=e||"";this.a=this.F=this.K=null}function w(){}function xa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Zc(a){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;m(this)&&(e=[],Q(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?a.c(this):a.j(this);
return b}})}function c(b,c){z(b,"insertAdjacentElement",function(b,d){var e=m(d);b=c.call(this,b,d);e&&a.a(d);m(b)&&a.b(d);return b})}rb?z(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=rb.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(ya&&ya.get)b(Element.prototype,ya);else if(za&&za.get)b(HTMLElement.prototype,za);else{var d=Aa.call(document,"div");a.u(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return sb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)Ba.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ka.call(b,d.childNodes[0])}})})}z(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return tb.call(this,b,c);var d=Ca.call(this,b);tb.call(this,b,c);c=Ca.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});z(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return ub.call(this,
b,c,d);var e=la.call(this,b,c);ub.call(this,b,c,d);d=la.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});z(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return vb.call(this,b);var c=Ca.call(this,b);vb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});z(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return wb.call(this,b,c);var d=la.call(this,b,c);wb.call(this,b,c);var e=la.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});xb?c(HTMLElement.prototype,xb):yb?c(Element.prototype,yb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");zb(a,Element.prototype,{Sa:Yc,append:Zc});$c(a,{pb:ad,ob:bd,zb:cd,remove:dd})}function $c(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.pb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
c,d,e,b)});xb?c(HTMLElement.prototype,xb):yb?c(Element.prototype,yb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");zb(a,Element.prototype,{Sa:$c,append:ad});bd(a,{pb:cd,ob:dd,zb:ed,remove:fd})}function bd(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.pb.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});b.ob.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&m(a)}),g=m(this);b.zb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function ed(a){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,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=m(this);b.remove.call(this);c&&a.a(this)}}function gd(a){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,h=e.length;if(0<h&&m(this))for(var c=Array(h),l=0;l<h;l++)c[l]=e[l]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
z(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=Ab.call(this,b,d);if(m(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=m(b);d=Ab.call(this,b,d);c&&a.a(b);m(this)&&a.b(b);return d});z(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ka.call(this,b);if(m(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=m(b);e=ka.call(this,b);c&&a.a(b);m(this)&&
a.b(b);return e});z(Node.prototype,"cloneNode",function(b){b=sb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});z(Node.prototype,"removeChild",function(b){var c=m(b),e=Ba.call(this,b);c&&a.a(b);return e});z(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=Bb.call(this,b,d);if(m(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=m(b),f=Bb.call(this,b,d),g=m(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});Da&&Da.get?b(Node.prototype,Da):a.u(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;)Ba.call(this,this.firstChild);ka.call(this,document.createTextNode(a))}})})}function fd(a){z(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=Aa.call(this,b);a.g(b);return b});
z(Document.prototype,"importNode",function(b,c){b=gd.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});z(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=hd.call(this,b,c);a.g(b);return b});zb(a,Document.prototype,{Sa:id,append:jd})}function zb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&m(a)});c.Sa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function kd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.L(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=Aa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===Cb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=Cb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=ld.prototype;return b}()}function r(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
a.b(b);return f});Da&&Da.get?b(Node.prototype,Da):a.u(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;)Ba.call(this,this.firstChild);ka.call(this,document.createTextNode(a))}})})}function hd(a){z(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=Aa.call(this,b);a.g(b);return b});
z(Document.prototype,"importNode",function(b,c){b=id.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});z(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=jd.call(this,b,c);a.g(b);return b});zb(a,Document.prototype,{Sa:kd,append:ld})}function zb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&m(a)});c.Sa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&m(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(m(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function md(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.L(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=Aa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===Cb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=Cb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=nd.prototype;return b}()}function r(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
[];this.i=new Ea(a,document)}function Db(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function Ea(a,b){this.b=a;this.a=b;this.N=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.N=new MutationObserver(this.f.bind(this)),this.N.observe(this.a,{childList:!0,subtree:!0}))}function u(){this.s=new Map;this.o=new Map;this.i=[];this.h=!1}function q(a,b){if(a!==Eb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
q.prototype;a.i(b);return a}function H(a){this.root=a;this.fa="slot"}function V(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Fa(a);a.__shady.lastChild=Ga(a);Fb(a);for(var b=a.__shady.childNodes=da(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,Gb(d)}}function md(a){var b=a&&a.N;b&&(b.ea.delete(a.hb),b.ea.size||(a.mb.__shady.Z=null))}function nd(a,
q.prototype;a.i(b);return a}function H(a){this.root=a;this.fa="slot"}function V(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=Fa(a);a.__shady.lastChild=Ga(a);Fb(a);for(var b=a.__shady.childNodes=da(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,Gb(d)}}function od(a){var b=a&&a.N;b&&(b.ea.delete(a.hb),b.ea.size||(a.mb.__shady.Z=null))}function pd(a,
b){a.__shady=a.__shady||{};a.__shady.Z||(a.__shady.Z=new ma);a.__shady.Z.ea.add(b);var c=a.__shady.Z;return{hb:b,N:c,mb:a,takeRecords:function(){return c.takeRecords()}}}function ma(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.ea=new Set}function A(a){return"ShadyRoot"===a.eb}function W(a){a=a.getRootNode();if(A(a))return a}function Ha(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 Ia(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ha(a,c[d]);return a}function od(a,b){for(var c in b)a[c]=b[c]}function Hb(a){Ja.push(a);Ka.textContent=Ib++}function Jb(a){La||(La=!0,Hb(na));ea.push(a)}function na(){La=!1;for(var a=!!ea.length;ea.length;)ea.shift()();return a}function pd(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===
e,f)}}function Ia(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)Ha(a,c[d]);return a}function qd(a,b){for(var c in b)a[c]=b[c]}function Hb(a){Ja.push(a);Ka.textContent=Ib++}function Jb(a){La||(La=!0,Hb(na));ea.push(a)}function na(){La=!1;for(var a=!!ea.length;ea.length;)ea.shift()();return a}function rd(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})}function Kb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Lb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ma(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){var h;
a:{var l;h=g;l=a;var D=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,G="<"+k,m=h.attributes,n=0;l=m[n];n++)G+=" "+l.name+'="'+l.value.replace(qd,Kb)+'"';G+=">";h=rd[k]?G:G+Ma(h,D)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&sd[l.localName]?h:h.replace(td,Kb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function R(a){x.currentNode=a;return x.parentNode()}function Fa(a){x.currentNode=
a:{var l;h=g;l=a;var D=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,G="<"+k,m=h.attributes,n=0;l=m[n];n++)G+=" "+l.name+'="'+l.value.replace(sd,Kb)+'"';G+=">";h=td[k]?G:G+Ma(h,D)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&ud[l.localName]?h:h.replace(vd,Kb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function R(a){x.currentNode=a;return x.parentNode()}function Fa(a){x.currentNode=
a;return x.firstChild()}function Ga(a){x.currentNode=a;return x.lastChild()}function Mb(a){x.currentNode=a;return x.previousSibling()}function Nb(a){x.currentNode=a;return x.nextSibling()}function da(a){var b=[];x.currentNode=a;for(a=x.firstChild();a;)b.push(a),a=x.nextSibling();return b}function Ob(a){E.currentNode=a;return E.parentNode()}function Pb(a){E.currentNode=a;return E.firstChild()}function Qb(a){E.currentNode=a;return E.lastChild()}function Rb(a){E.currentNode=a;return E.previousSibling()}
function Sb(a){E.currentNode=a;return E.nextSibling()}function Tb(a){var b=[];E.currentNode=a;for(a=E.firstChild();a;)b.push(a),a=E.nextSibling();return b}function Ub(a){return Ma(a,function(a){return da(a)})}function Vb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function M(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 S(a){M(a,Wb);M(a,Na);M(a,Oa)}function Xb(a,b,c){Gb(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=
@@ -61,45 +61,45 @@ a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var l=b,D=c,k=d,G=l(h)
((d=b.__shady&&b.__shady.parentNode)?(Qa(d,null,b),Yb(b)):(b.parentNode&&X.call(b.parentNode,b),Pa(b)));var d=c,e=W(a),f;e&&(b.__noInsertionPoint&&!e.sa&&(e.ca=!0),f=$b(b,a,e))&&(e.ca=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(Fb(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Xb(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=g;b.__shady.childNodes=g}else Xb(b,a,d);var g=f,h=e&&e.C.fa||"",l=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=l&&l.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((l=l||b.localName===h)||a.localName===h||g)&&e&&oa(e);(e=ac(a))&&oa(a.__shady&&a.__shady.root);if(!(e||l&&!f||a.__shady.root||d&&A(d.parentNode)&&d.parentNode.O)){if(c&&(d=W(c))){var D;if(c.localName===d.C.fa)a:{d=c.assignedNodes({flatten:!0});e=Ra(c);f=0;for(g=d.length;f<
g&&(D=d[f]);f++)if(e.ga(c,D))break a;D=void 0}else D=c;c=D}D=A(a)?a.host:a;c?Sa.call(D,b,c):gc.call(D,b)}Qa(a,b);return b}function hc(a,b){if(a.ownerDocument!==document)return Ta.call(document,a,b);var c=Ta.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=hc(a[b],!0),c.appendChild(d)}return c}function Ua(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 ic(a,b){if(!A)return a;a=Ua(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!A(f)||-1<g)return d}function Va(a){function b(b,d){b=new a(b,d);b.oa=d&&!!d.composed;return b}od(b,a);b.prototype=a.prototype;return b}function jc(a,b,c){if(c=b.B&&b.B[a.type]&&b.B[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.bb);d++);}function ud(a){var b=a.composedPath(),
c[c.length-1]===document&&c.push(window);return c}function ic(a,b){if(!A)return a;a=Ua(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!A(f)||-1<g)return d}function Va(a){function b(b,d){b=new a(b,d);b.oa=d&&!!d.composed;return b}qd(b,a);b.prototype=a.prototype;return b}function jc(a,b,c){if(c=b.B&&b.B[a.type]&&b.B[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.bb);d++);}function wd(a){var b=a.composedPath(),
c;Object.defineProperty(a,"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],jc(a,c,"capture"),a.pa)return;Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(jc(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.pa)break}function kc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],l=h.type,D=h.capture,k=h.once,G=h.passive;if(b===h.node&&c===l&&d===
D&&e===k&&f===G)return g}return-1}function lc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.qa||this;if(b.G){if(-1<kc(b.G,g,a,d,e,f))return}else b.G=[];var h=function(d){e&&this.removeEventListener(a,b,c);d.__target||mc(d);var f;g!==this&&(f=Object.getOwnPropertyDescriptor(d,"currentTarget"),Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0}));if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===
d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.G.push({node:this,type:a,capture:d,once:e,passive:f,Eb:h});Wa[a]?(this.B=this.B||{},this.B[a]=this.B[a]||{capture:[],bubble:[]},this.B[a][d?"capture":"bubble"].push(h)):nc.call(this,
a,h,c)}}function oc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.qa||this,h=void 0;b.G&&(e=kc(b.G,g,a,d,e,f),-1<e&&(h=b.G.splice(e,1)[0].Eb,b.G.length||(b.G=void 0)));pc.call(this,a,h||b,c);h&&Wa[a]&&this.B&&this.B[a]&&(a=this.B[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function vd(){for(var a in Wa)window.addEventListener(a,function(a){a.__target||(mc(a),ud(a))},!0)}function mc(a){a.__target=a.target;a.Ia=a.relatedTarget;
if(C.Y){var b=qc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.Gb=c;Ha(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ha(a,qc)}function fa(a,b){return{index:a,$:[],da:b}}function wd(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,B=0;B<l-g&&xd(a[--h],c[--k]);)B++;h=B}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=fa(e,
0);f<d;)b.$.push(c[f++]);return[b]}if(f==d)return[fa(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(B=1;B<h;B++)if(a[l+B-1]===c[g+k-1])b[k][B]=b[k-1][B-1];else{var G=b[k-1][B]+1,m=b[k][B-1]+1;b[k][B]=G<m?G:m}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],B=b[l][g-1],G=k<B?k<h?k:h:B<h?B:h,G==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):G==k?(a.push(3),l--,d=k):(a.push(2),g--,d=
B)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=fa(e,0));b.da++;e++;b.$.push(c[f]);f++;break;case 2:b||(b=fa(e,0));b.da++;e++;break;case 3:b||(b=fa(e,0)),b.$.push(c[f]),f++}b&&l.push(b);return l}function xd(a,b){return a===b}function rc(a){ec(a);return a.__shady&&a.__shady.assignedSlot||null}function J(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)}}function yd(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;J(window.Node.prototype,zd);J(window.Window.prototype,Ad);J(window.Text.prototype,Bd);J(window.DocumentFragment.prototype,Xa);J(window.Element.prototype,sc);J(window.Document.prototype,tc);window.HTMLSlotElement&&J(window.HTMLSlotElement.prototype,uc);J(a.prototype,Cd);C.Y&&(S(window.Node.prototype),S(window.Text.prototype),S(window.DocumentFragment.prototype),
S(window.Element.prototype),S(a.prototype),S(window.Document.prototype),window.HTMLSlotElement&&S(window.HTMLSlotElement.prototype))}function vc(a){var b=Dd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(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 Ya(a,b){for(;b&&b!==
a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function Q(a,b,c){c=c?c:new Set;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)Q(d,b,c);d=Ya(a,e);continue}else if("template"===f){d=Ya(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)Q(e,b,c)}d=d.firstChild?d.firstChild:Ya(a,d)}}function z(a,
b,c){a[b]=c}function Za(a){a=a.replace(N.rb,"").replace(N.port,"");var b=wc,c=a,d=new xa;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,l=h.rules[h.rules.length-1]||null,e=new xa;e.start=f+1;e.parent=h;e.previous=l;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function wc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-
1),c=Ed(c),c=c.replace(N.Ra," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(N.xb)&&(a.type=I.na,a.keyframesName=a.selector.split(N.Ra).pop()):a.type=I.MEDIA_RULE:a.type=c.indexOf("--")?I.STYLE_RULE:I.Ea);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)wc(f,b);return a}function Ed(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function xc(a,
b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=xc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(N.Ma,"").replace(N.Qa,""),b=b.replace(N.yb,"").replace(N.Db,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function yc(a){a&&(y=y&&!a.nativeCss&&!a.shimcssproperties,p=p&&!a.nativeShadow&&!a.shimshadow)}
function Y(a,b){if(!a)return"";"string"===typeof a&&(a=Za(a));b&&Z(a,b);return xc(a,y)}function pa(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Za(a.textContent));return a.__cssRules||null}function zc(a){return!!a.parent&&a.parent.type===I.na}function Z(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===I.MEDIA_RULE){var g=a.selector.match(Fd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===I.STYLE_RULE?b(a):c&&f===I.na?c(a):f===I.Ea&&(e=!0);if((a=a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)Z(h,
b,c,d)}}function $a(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Ac(e,c,d);return e}function Ac(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);T?a.compareDocumentPosition(T)===Node.DOCUMENT_POSITION_PRECEDING&&(T=a):T=a}function Bc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,
c);a=Bc(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function qa(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,aa:c}}function Cc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(t.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?t.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=U(f).is,g!==f&&(g&&t.a(e,g,!0),t.a(e,f)))}}}}function Gd(a){if(a=ra[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||
0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Dc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Hd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Id.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function pb(a){requestAnimationFrame(function(){Ec?Ec(a):(ab||(ab=new Promise(function(a){bb=a}),"complete"===document.readyState?bb():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&bb()})),ab.then(function(){a&&a()}))})}(function(){if(!function(){var a=document.createEvent("Event");a.initEvent("foo",!0,!0);a.preventDefault();return a.defaultPrevented}()){var a=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(a.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var b=/Trident/.test(navigator.userAgent);if(!window.CustomEvent||b&&"function"!==
typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;if(!window.Event||b&&"function"!==typeof window.Event){var c=window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};if(c)for(var d in c)window.Event[d]=c[d];window.Event.prototype=c.prototype}if(!window.MouseEvent||
b&&"function"!==typeof window.MouseEvent){b=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(b)for(d in b)window.MouseEvent[d]=b[d];window.MouseEvent.prototype=b.prototype}Array.from||(Array.from=function(a){return[].slice.call(a)});Object.assign||(Object.assign=
function(a,b){for(var c=[].slice.call(arguments,1),d=0,e;d<c.length;d++)if(e=c[d])for(var f=a,k=e,m=Object.getOwnPropertyNames(k),n=0;n<m.length;n++)e=m[n],f[e]=k[e];return a})})(window.WebComponents);(function(){function a(){}var b="undefined"===typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var a=Document.prototype.importNode;Document.prototype.importNode=function(){var b=a.apply(this,arguments);if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var c=this.createDocumentFragment();
c.appendChild(b);return c}return b}}();var c=Node.prototype.cloneNode,d=Document.prototype.createElement,e=Document.prototype.importNode,f=function(){if(!b){var a=document.createElement("template"),c=document.createElement("template");c.content.appendChild(document.createElement("div"));a.content.appendChild(c);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();
if(b){var g=function(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case "\u00a0":return"&nbsp;"}},h=function(b){Object.defineProperty(b,"innerHTML",{get:function(){for(var a="",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(q,g);return a},set:function(b){l.body.innerHTML=b;for(a.b(l);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;l.body.firstChild;)this.content.appendChild(l.body.firstChild)},configurable:!0})},
l=document.implementation.createHTMLDocument("template"),k=!0,B=document.createElement("style");B.textContent="template{display:none;}";var m=document.head;m.insertBefore(B,m.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var n=!document.createElement("div").hasOwnProperty("innerHTML");a.P=function(b){if(!b.content){b.content=l.createDocumentFragment();for(var c;c=b.firstChild;)b.content.appendChild(c);if(n)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.a(this,
b)},k)try{h(b)}catch(ke){k=!1}a.b(b.content)}};h(a.prototype);a.b=function(b){b=b.querySelectorAll("template");for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)a.P(e)};document.addEventListener("DOMContentLoaded",function(){a.b(document)});Document.prototype.createElement=function(){var b=d.apply(this,arguments);"template"===b.localName&&a.P(b);return b};var q=/[&\u00A0<>]/g}if(b||f)a.a=function(a,b){var d=c.call(a,!1);this.P&&this.P(d);b&&(d.content.appendChild(c.call(a.content,!0)),this.ya(d.content,
a.content));return d},a.prototype.cloneNode=function(b){return a.a(this,b)},a.ya=function(a,b){if(b.querySelectorAll){b=b.querySelectorAll("template");a=a.querySelectorAll("template");for(var c=0,d=a.length,e,f;c<d;c++)f=b[c],e=a[c],this.P&&this.P(f),e.parentNode.replaceChild(f.cloneNode(!0),e)}},Node.prototype.cloneNode=function(b){var d;if(this instanceof DocumentFragment)if(b)d=this.ownerDocument.importNode(this,!0);else return this.ownerDocument.createDocumentFragment();else d=c.call(this,b);
b&&a.ya(d,this);return d},Document.prototype.importNode=function(b,c){if("template"===b.localName)return a.a(b,c);var d=e.call(this,b,c);c&&a.ya(d,b);return d},f&&(window.HTMLTemplateElement.prototype.cloneNode=function(b){return a.a(this,b)});b&&(window.HTMLTemplateElement=a)})();!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.Jb?define(b):a.ES6Promise=b()}(window,function(){function a(a,b){A[aa]=a;A[aa+1]=b;aa+=2;2===aa&&(E?
E(g):N())}function b(){return function(){return process.Mb(g)}}function c(){return"undefined"!=typeof x?function(){x(g)}:f()}function d(){var a=0,b=new L(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function e(){var a=new MessageChannel;return a.port1.onmessage=g,function(){return a.port2.postMessage(0)}}function f(){var a=setTimeout;return function(){return a(g,1)}}function g(){for(var a=0;a<aa;a+=2)(0,A[a])(A[a+1]),A[a]=void 0,A[a+1]=void 0;
aa=0}function h(){try{var a=require("vertx");return x=a.Ob||a.Nb,c()}catch(Fc){return f()}}function l(b,c){var d=arguments,e=this,f=new this.constructor(m);void 0===f[K]&&Gc(f);var g=e.m;return g?!function(){var b=d[g-1];a(function(){return ga(g,f,b,e.l)})}():z(e,f,b,c),f}function k(a){if(a&&"object"==typeof a&&a.constructor===this)return a;var b=new this(m);return t(b,a),b}function m(){}function n(a){try{return a.then}catch(Fc){return P.error=Fc,P}}function q(a,b,c,d){try{a.call(b,c,d)}catch(Ld){return Ld}}
function w(b,c,d){a(function(a){var b=!1,e=q(d,c,function(d){b||(b=!0,c!==d?t(a,d):r(a,d))},function(c){b||(b=!0,O(a,c))});!b&&e&&(b=!0,O(a,e))},b)}function v(a,b){b.m===M?r(a,b.l):b.m===J?O(a,b.l):z(b,void 0,function(b){return t(a,b)},function(b){return O(a,b)})}function p(a,b,c){b.constructor===a.constructor&&c===l&&b.constructor.resolve===k?v(a,b):c===P?(O(a,P.error),P.error=null):void 0===c?r(a,b):"function"==typeof c?w(a,b,c):r(a,b)}function t(a,b){a===b?O(a,new TypeError("You cannot resolve a promise with itself")):
d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.G.push({node:this,type:a,capture:d,once:e,passive:f,Eb:h});Wa[a]?(this.B=this.B||{},this.B[a]=this.B[a]||{capture:[],bubble:[]},this.B[a][d?"capture":"bubble"].push(h)):(this instanceof
Window?nc:oc).call(this,a,h,c)}}function pc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.qa||this,h=void 0;b.G&&(e=kc(b.G,g,a,d,e,f),-1<e&&(h=b.G.splice(e,1)[0].Eb,b.G.length||(b.G=void 0)));(this instanceof Window?qc:rc).call(this,a,h||b,c);h&&Wa[a]&&this.B&&this.B[a]&&(a=this.B[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function xd(){for(var a in Wa)window.addEventListener(a,function(a){a.__target||(mc(a),wd(a))},
!0)}function mc(a){a.__target=a.target;a.Ia=a.relatedTarget;if(C.Y){var b=sc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.Gb=c;Ha(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else Ha(a,sc)}function fa(a,b){return{index:a,$:[],da:b}}function yd(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,B=0;B<l-g&&zd(a[--h],c[--k]);)B++;h=B}e+=
g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=fa(e,0);f<d;)b.$.push(c[f++]);return[b]}if(f==d)return[fa(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(B=1;B<h;B++)if(a[l+B-1]===c[g+k-1])b[k][B]=b[k-1][B-1];else{var G=b[k-1][B]+1,m=b[k][B-1]+1;b[k][B]=G<m?G:m}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)l?g?(h=b[l-1][g-1],k=b[l-1][g],B=b[l][g-1],G=k<B?k<h?k:h:B<h?B:h,G==h?(h==d?a.push(0):(a.push(1),
d=h),l--,g--):G==k?(a.push(3),l--,d=k):(a.push(2),g--,d=B)):(a.push(3),l--):(a.push(2),g--);a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=fa(e,0));b.da++;e++;b.$.push(c[f]);f++;break;case 2:b||(b=fa(e,0));b.da++;e++;break;case 3:b||(b=fa(e,0)),b.$.push(c[f]),f++}b&&l.push(b);return l}function zd(a,b){return a===b}function tc(a){ec(a);return a.__shady&&a.__shady.assignedSlot||null}function J(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)}}function Ad(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;J(window.Node.prototype,Bd);J(window.Window.prototype,Cd);J(window.Text.prototype,Dd);J(window.DocumentFragment.prototype,Xa);J(window.Element.prototype,uc);J(window.Document.prototype,vc);window.HTMLSlotElement&&J(window.HTMLSlotElement.prototype,wc);J(a.prototype,Ed);C.Y&&(S(window.Node.prototype),
S(window.Text.prototype),S(window.DocumentFragment.prototype),S(window.Element.prototype),S(a.prototype),S(window.Document.prototype),window.HTMLSlotElement&&S(window.HTMLSlotElement.prototype))}function xc(a){var b=Fd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function m(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 Ya(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function Q(a,b,c){c=c?c:new Set;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)Q(d,b,c);d=Ya(a,e);continue}else if("template"===f){d=Ya(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)Q(e,
b,c)}d=d.firstChild?d.firstChild:Ya(a,d)}}function z(a,b,c){a[b]=c}function Za(a){a=a.replace(N.rb,"").replace(N.port,"");var b=yc,c=a,d=new xa;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,l=h.rules[h.rules.length-1]||null,e=new xa;e.start=f+1;e.parent=h;e.previous=l;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function yc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=
b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=Gd(c),c=c.replace(N.Ra," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(N.xb)&&(a.type=I.na,a.keyframesName=a.selector.split(N.Ra).pop()):a.type=I.MEDIA_RULE:a.type=c.indexOf("--")?I.STYLE_RULE:I.Ea);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)yc(f,b);return a}function Gd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=
c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function zc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=zc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(N.Ma,"").replace(N.Qa,""),b=b.replace(N.yb,"").replace(N.Db,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function Ac(a){a&&(y=y&&!a.nativeCss&&
!a.shimcssproperties,p=p&&!a.nativeShadow&&!a.shimshadow)}function Y(a,b){if(!a)return"";"string"===typeof a&&(a=Za(a));b&&Z(a,b);return zc(a,y)}function pa(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Za(a.textContent));return a.__cssRules||null}function Bc(a){return!!a.parent&&a.parent.type===I.na}function Z(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===I.MEDIA_RULE){var g=a.selector.match(Hd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===I.STYLE_RULE?b(a):c&&f===I.na?c(a):f===I.Ea&&(e=!0);if((a=
a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)Z(h,b,c,d)}}function $a(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Cc(e,c,d);return e}function Cc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);T?a.compareDocumentPosition(T)===Node.DOCUMENT_POSITION_PRECEDING&&(T=a):T=a}function Dc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===
a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=Dc(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function qa(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,aa:c}}function Ec(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(t.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?t.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=U(f).is,g!==f&&(g&&t.a(e,g,!0),t.a(e,f)))}}}}function Id(a){if(a=
ra[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Fc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Jd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,Kd.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function pb(a){requestAnimationFrame(function(){Gc?Gc(a):(ab||(ab=new Promise(function(a){bb=
a}),"complete"===document.readyState?bb():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&bb()})),ab.then(function(){a&&a()}))})}(function(){if(!function(){var a=document.createEvent("Event");a.initEvent("foo",!0,!0);a.preventDefault();return a.defaultPrevented}()){var a=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(a.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var b=
/Trident/.test(navigator.userAgent);if(!window.CustomEvent||b&&"function"!==typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;if(!window.Event||b&&"function"!==typeof window.Event){var c=window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};
if(c)for(var d in c)window.Event[d]=c[d];window.Event.prototype=c.prototype}if(!window.MouseEvent||b&&"function"!==typeof window.MouseEvent){b=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(b)for(d in b)window.MouseEvent[d]=b[d];window.MouseEvent.prototype=b.prototype}Array.from||
(Array.from=function(a){return[].slice.call(a)});Object.assign||(Object.assign=function(a,b){for(var c=[].slice.call(arguments,1),d=0,e;d<c.length;d++)if(e=c[d])for(var f=a,k=e,m=Object.getOwnPropertyNames(k),n=0;n<m.length;n++)e=m[n],f[e]=k[e];return a})})(window.WebComponents);(function(){function a(){}var b="undefined"===typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var a=Document.prototype.importNode;Document.prototype.importNode=function(){var b=a.apply(this,arguments);
if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var c=this.createDocumentFragment();c.appendChild(b);return c}return b}}();var c=Node.prototype.cloneNode,d=Document.prototype.createElement,e=Document.prototype.importNode,f=function(){if(!b){var a=document.createElement("template"),c=document.createElement("template");c.content.appendChild(document.createElement("div"));a.content.appendChild(c);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||
!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();if(b){var g=function(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case "\u00a0":return"&nbsp;"}},h=function(b){Object.defineProperty(b,"innerHTML",{get:function(){for(var a="",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(q,g);return a},set:function(b){l.body.innerHTML=b;for(a.b(l);this.content.firstChild;)this.content.removeChild(this.content.firstChild);
for(;l.body.firstChild;)this.content.appendChild(l.body.firstChild)},configurable:!0})},l=document.implementation.createHTMLDocument("template"),k=!0,B=document.createElement("style");B.textContent="template{display:none;}";var m=document.head;m.insertBefore(B,m.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var n=!document.createElement("div").hasOwnProperty("innerHTML");a.P=function(b){if(!b.content){b.content=l.createDocumentFragment();for(var c;c=b.firstChild;)b.content.appendChild(c);
if(n)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.a(this,b)},k)try{h(b)}catch(me){k=!1}a.b(b.content)}};h(a.prototype);a.b=function(b){b=b.querySelectorAll("template");for(var c=0,d=b.length,e;c<d&&(e=b[c]);c++)a.P(e)};document.addEventListener("DOMContentLoaded",function(){a.b(document)});Document.prototype.createElement=function(){var b=d.apply(this,arguments);"template"===b.localName&&a.P(b);return b};var q=/[&\u00A0<>]/g}if(b||f)a.a=function(a,b){var d=c.call(a,!1);this.P&&
this.P(d);b&&(d.content.appendChild(c.call(a.content,!0)),this.ya(d.content,a.content));return d},a.prototype.cloneNode=function(b){return a.a(this,b)},a.ya=function(a,b){if(b.querySelectorAll){b=b.querySelectorAll("template");a=a.querySelectorAll("template");for(var c=0,d=a.length,e,f;c<d;c++)f=b[c],e=a[c],this.P&&this.P(f),e.parentNode.replaceChild(f.cloneNode(!0),e)}},Node.prototype.cloneNode=function(b){var d;if(this instanceof DocumentFragment)if(b)d=this.ownerDocument.importNode(this,!0);else return this.ownerDocument.createDocumentFragment();
else d=c.call(this,b);b&&a.ya(d,this);return d},Document.prototype.importNode=function(b,c){if("template"===b.localName)return a.a(b,c);var d=e.call(this,b,c);c&&a.ya(d,b);return d},f&&(window.HTMLTemplateElement.prototype.cloneNode=function(b){return a.a(this,b)});b&&(window.HTMLTemplateElement=a)})();!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.Jb?define(b):a.ES6Promise=b()}(window,function(){function a(a,b){A[aa]=a;A[aa+
1]=b;aa+=2;2===aa&&(E?E(g):N())}function b(){return function(){return process.Mb(g)}}function c(){return"undefined"!=typeof x?function(){x(g)}:f()}function d(){var a=0,b=new L(g),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function e(){var a=new MessageChannel;return a.port1.onmessage=g,function(){return a.port2.postMessage(0)}}function f(){var a=setTimeout;return function(){return a(g,1)}}function g(){for(var a=0;a<aa;a+=2)(0,A[a])(A[a+1]),A[a]=
void 0,A[a+1]=void 0;aa=0}function h(){try{var a=require("vertx");return x=a.Ob||a.Nb,c()}catch(Hc){return f()}}function l(b,c){var d=arguments,e=this,f=new this.constructor(m);void 0===f[K]&&Ic(f);var g=e.m;return g?!function(){var b=d[g-1];a(function(){return ga(g,f,b,e.l)})}():z(e,f,b,c),f}function k(a){if(a&&"object"==typeof a&&a.constructor===this)return a;var b=new this(m);return t(b,a),b}function m(){}function n(a){try{return a.then}catch(Hc){return P.error=Hc,P}}function q(a,b,c,d){try{a.call(b,
c,d)}catch(Nd){return Nd}}function w(b,c,d){a(function(a){var b=!1,e=q(d,c,function(d){b||(b=!0,c!==d?t(a,d):r(a,d))},function(c){b||(b=!0,O(a,c))});!b&&e&&(b=!0,O(a,e))},b)}function v(a,b){b.m===M?r(a,b.l):b.m===J?O(a,b.l):z(b,void 0,function(b){return t(a,b)},function(b){return O(a,b)})}function p(a,b,c){b.constructor===a.constructor&&c===l&&b.constructor.resolve===k?v(a,b):c===P?(O(a,P.error),P.error=null):void 0===c?r(a,b):"function"==typeof c?w(a,b,c):r(a,b)}function t(a,b){a===b?O(a,new TypeError("You cannot resolve a promise with itself")):
"function"==typeof b||"object"==typeof b&&null!==b?p(a,b,n(b)):r(a,b)}function y(a){a.Ka&&a.Ka(a.l);u(a)}function r(b,c){b.m===I&&(b.l=c,b.m=M,0!==b.X.length&&a(u,b))}function O(b,c){b.m===I&&(b.m=J,b.l=c,a(y,b))}function z(b,c,d,e){var f=b.X,g=f.length;b.Ka=null;f[g]=c;f[g+M]=d;f[g+J]=e;0===g&&b.m&&a(u,b)}function u(a){var b=a.X,c=a.m;if(0!==b.length){for(var d,e,f=a.l,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?ga(c,d,e,f):e(f);a.X.length=0}}function H(){this.error=null}function ga(a,b,c,d){var e="function"==
typeof c,f=void 0,g=void 0,h=void 0,ga=void 0;if(e){var k;try{k=c(d)}catch(Md){k=(Q.error=Md,Q)}if(f=k,f===Q?(ga=!0,g=f.error,f.error=null):h=!0,b===f)return void O(b,new TypeError("A promises callback cannot return that same promise."))}else f=d,h=!0;b.m!==I||(e&&h?t(b,f):ga?O(b,g):a===M?r(b,f):a===J&&O(b,f))}function Nd(a,b){try{b(function(b){t(a,b)},function(b){O(a,b)})}catch(Jd){O(a,Jd)}}function Gc(a){a[K]=R++;a.m=void 0;a.l=void 0;a.X=[]}function ba(a,b){this.lb=a;this.J=new a(m);this.J[K]||
Gc(this.J);Hc(b)?(this.kb=b,this.length=b.length,this.ba=b.length,this.l=Array(this.length),0===this.length?r(this.J,this.l):(this.length=this.length||0,this.jb(),0===this.ba&&r(this.J,this.l))):O(this.J,Error("Array Methods must be provided an Array"))}function F(a){this[K]=R++;this.l=this.m=void 0;this.X=[];if(m!==a){if("function"!=typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof F)Nd(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
}}var cb=void 0,Hc=cb=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},aa=0,x=void 0,E=void 0,C=(cb="undefined"!=typeof window?window:void 0)||{},L=C.MutationObserver||C.WebKitMutationObserver,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,A=Array(1E3),N=void 0,N="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?b():L?d():C?e():cb||
typeof c,f=void 0,g=void 0,h=void 0,ga=void 0;if(e){var k;try{k=c(d)}catch(Od){k=(Q.error=Od,Q)}if(f=k,f===Q?(ga=!0,g=f.error,f.error=null):h=!0,b===f)return void O(b,new TypeError("A promises callback cannot return that same promise."))}else f=d,h=!0;b.m!==I||(e&&h?t(b,f):ga?O(b,g):a===M?r(b,f):a===J&&O(b,f))}function Pd(a,b){try{b(function(b){t(a,b)},function(b){O(a,b)})}catch(Ld){O(a,Ld)}}function Ic(a){a[K]=R++;a.m=void 0;a.l=void 0;a.X=[]}function ba(a,b){this.lb=a;this.J=new a(m);this.J[K]||
Ic(this.J);Jc(b)?(this.kb=b,this.length=b.length,this.ba=b.length,this.l=Array(this.length),0===this.length?r(this.J,this.l):(this.length=this.length||0,this.jb(),0===this.ba&&r(this.J,this.l))):O(this.J,Error("Array Methods must be provided an Array"))}function F(a){this[K]=R++;this.l=this.m=void 0;this.X=[];if(m!==a){if("function"!=typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof F)Pd(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
}}var cb=void 0,Jc=cb=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},aa=0,x=void 0,E=void 0,C=(cb="undefined"!=typeof window?window:void 0)||{},L=C.MutationObserver||C.WebKitMutationObserver,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,A=Array(1E3),N=void 0,N="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?b():L?d():C?e():cb||
"function"!=typeof require?f():h(),K=Math.random().toString(36).substring(16),I=void 0,M=1,J=2,P=new H,Q=new H,R=0;return ba.prototype.jb=function(){for(var a=this.length,b=this.kb,c=0;this.m===I&&c<a;c++)this.ib(b[c],c)},ba.prototype.ib=function(a,b){var c=this.lb,d=c.resolve;d===k?(d=n(a),d===l&&a.m!==I?this.va(a.m,b,a.l):"function"!=typeof d?(this.ba--,this.l[b]=a):c===F?(c=new c(m),p(c,a,d),this.wa(c,b)):this.wa(new c(function(b){return b(a)}),b)):this.wa(d(a),b)},ba.prototype.va=function(a,b,
c){var d=this.J;d.m===I&&(this.ba--,a===J?O(d,c):this.l[b]=c);0===this.ba&&r(d,this.l)},ba.prototype.wa=function(a,b){var c=this;z(a,void 0,function(a){return c.va(M,b,a)},function(a){return c.va(J,b,a)})},F.g=function(a){return(new ba(this,a)).J},F.h=function(a){var b=this;return new b(Hc(a)?function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}:function(a,b){return b(new TypeError("You must pass an array to race."))})},F.resolve=k,F.i=function(a){var b=new this(m);return O(b,a),
b},F.f=function(a){E=a},F.c=function(b){a=b},F.b=a,F.prototype={constructor:F,then:l,"catch":function(a){return this.then(null,a)}},F.a=function(){var a=void 0;if("undefined"!=typeof global)a=global;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(Kd){throw Error("polyfill failed because global object is unavailable in this environment");}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(Kd){}if("[object Promise]"===c&&!b.Kb)return}a.Promise=
c){var d=this.J;d.m===I&&(this.ba--,a===J?O(d,c):this.l[b]=c);0===this.ba&&r(d,this.l)},ba.prototype.wa=function(a,b){var c=this;z(a,void 0,function(a){return c.va(M,b,a)},function(a){return c.va(J,b,a)})},F.g=function(a){return(new ba(this,a)).J},F.h=function(a){var b=this;return new b(Jc(a)?function(c,d){for(var e=a.length,f=0;f<e;f++)b.resolve(a[f]).then(c,d)}:function(a,b){return b(new TypeError("You must pass an array to race."))})},F.resolve=k,F.i=function(a){var b=new this(m);return O(b,a),
b},F.f=function(a){E=a},F.c=function(b){a=b},F.b=a,F.prototype={constructor:F,then:l,"catch":function(a){return this.then(null,a)}},F.a=function(){var a=void 0;if("undefined"!=typeof global)a=global;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(Md){throw Error("polyfill failed because global object is unavailable in this environment");}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(Md){}if("[object Promise]"===c&&!b.Kb)return}a.Promise=
F},F.Promise=F,F.a(),F});(function(a){function b(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 c(a){if(m)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(;!h(b)&&(b=b.parentNode););a.__importDoc=b}return b}function d(a){var b=
document.querySelectorAll("link[rel=import]:not(import-dependency)"),c=b.length;if(c)for(var d=0,e=b.length,f;d<e&&(f=b[d]);d++)g(f,function(){--c||a()});else a()}function e(a){if("loading"!==document.readyState)a();else{var b=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",b),a())};document.addEventListener("readystatechange",b)}}function f(a){e(function(){return d(function(){return a&&a()})})}function g(a,b){if(a.__loaded)b&&b();else if(h(a)&&!m&&null===
a.import||a.import&&"complete"===a.import.readyState)a.__loaded=!0,b&&b();else if("script"!==a.localName||a.src){var c=function(d){a.removeEventListener(d.type,c);a.__loaded=!0;b&&b()};a.addEventListener("load",c);z&&"style"===a.localName||a.addEventListener("error",c)}else a.__loaded=!0,b&&b()}function h(a){return a.nodeType===Node.ELEMENT_NODE&&"link"===a.localName&&"import"===a.rel}function k(){var a=this;this.a={};this.b=0;this.f=new MutationObserver(function(b){return a.o(b)});this.f.observe(document.head,
@@ -116,73 +116,73 @@ k.prototype.A=function(a){var b=document.querySelectorAll("style[import-dependen
k.prototype.o=function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.addedNodes)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];e&&e.nodeType===Node.ELEMENT_NODE&&(h(e)?this.h(e):this.c(e))}}};if(m){for(var u=document.querySelectorAll("link[rel=import]"),A=0,C=u.length,y;A<C&&(y=u[A]);A++)y.import&&"loading"===y.import.readyState||(y.__loaded=!0);u=function(a){a=a.target;h(a)&&(a.__loaded=!0)};document.addEventListener("load",u,!0);document.addEventListener("error",u,!0)}else{var x=
Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!x||x.configurable?Node:Element).prototype,"baseURI",{get:function(){var a=h(this)?this:c(this);return a?a.href:x&&x.get?x.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0});e(function(){return new k})}f(function(){return document.dispatchEvent(b("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))});a.useNative=m;a.whenReady=f;a.importForElement=c})(window.HTMLImports=
window.HTMLImports||{});(function(){window.WebComponents=window.WebComponents||{flags:{}};var a=document.querySelector('script[src*="webcomponents-lite.js"]'),b=/wc-(.+)/,c={};if(!c.noOpts){location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var d;a[0]&&(d=a[0].match(b))&&(c[d[1]]=a[1]||!0)});if(a)for(var d=0,e;e=a.attributes[d];d++)"src"!==e.name&&(c[e.name]=e.value||!0);c.log&&c.log.split?(a=c.log.split(","),c.log={},a.forEach(function(a){c.log[a]=!0})):c.log={}}window.WebComponents.flags=
c;if(a=c.shadydom)window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=a;(a=c.register||c.ce)&&window.customElements&&(window.customElements.forcePolyfill=a)})();var C=window.ShadyDOM||{};C.ub=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var db=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.Y=!!(db&&db.configurable&&db.get);C.Pa=C.force||!C.ub;var ca=Element.prototype,Ic=ca.matches||ca.matchesSelector||ca.mozMatchesSelector||ca.msMatchesSelector||ca.oMatchesSelector||
c;if(a=c.shadydom)window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=a;(a=c.register||c.ce)&&window.customElements&&(window.customElements.forcePolyfill=a)})();var C=window.ShadyDOM||{};C.ub=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var db=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.Y=!!(db&&db.configurable&&db.get);C.Pa=C.force||!C.ub;var ca=Element.prototype,Kc=ca.matches||ca.matchesSelector||ca.mozMatchesSelector||ca.msMatchesSelector||ca.oMatchesSelector||
ca.webkitMatchesSelector,Ka=document.createTextNode(""),Ib=0,Ja=[];(new MutationObserver(function(){for(;Ja.length;)try{Ja.shift()()}catch(a){throw Ka.textContent=Ib++,a;}})).observe(Ka,{characterData:!0});var ea=[],La;na.list=ea;ma.prototype.Bb=function(){var a=this;this.a||(this.a=!0,Hb(function(){a.b()}))};ma.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.ea.forEach(function(b){b(a)})}};ma.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[]};var gc=Element.prototype.appendChild,Sa=Element.prototype.insertBefore,X=Element.prototype.removeChild,Jc=Element.prototype.setAttribute,Kc=Element.prototype.removeAttribute,eb=Element.prototype.cloneNode,Ta=Document.prototype.importNode,nc=Element.prototype.addEventListener,pc=Element.prototype.removeEventListener,fb=Element.prototype.dispatchEvent,Od=Object.freeze({appendChild:gc,
insertBefore:Sa,removeChild:X,setAttribute:Jc,removeAttribute:Kc,cloneNode:eb,importNode:Ta,addEventListener:nc,removeEventListener:pc,dispatchEvent:fb}),qd=/[&\u00A0"]/g,td=/[&\u00A0<>]/g,rd=Lb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),sd=Lb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),x=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),E=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,
!1),Pd=Object.freeze({parentNode:R,firstChild:Fa,lastChild:Ga,previousSibling:Mb,nextSibling:Nb,childNodes:da,parentElement:Ob,firstElementChild:Pb,lastElementChild:Qb,previousElementSibling:Rb,nextElementSibling:Sb,children:Tb,innerHTML:Ub,textContent:Vb}),gb=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),sa=document.implementation.createHTMLDocument("inert").createElement("div"),hb=Object.getOwnPropertyDescriptor(Document.prototype,
"activeElement"),Wb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:Ob(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:R(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Nb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;
return void 0!==a?a:Mb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Sb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&
a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Rb(this)},configurable:!0}},Na={childNodes:{get:function(){var a;if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)this.__shady.childNodes.push(b)}a=this.__shady.childNodes}else a=da(this);a.item=function(b){return a[b]};return a},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=
this.__shady&&this.__shady.firstChild;return void 0!==a?a:Fa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ga(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Vb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);
this.appendChild(document.createTextNode(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 Pb(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 Qb(this)},configurable:!0},children:{get:function(){var a;
this.__shady&&void 0!==this.__shady.firstChild?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Tb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ma(a):Ub(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(gb&&gb.set?gb.set.call(sa,
a):sa.innerHTML=a;sa.firstChild;)b.appendChild(sa.firstChild)},configurable:!0}},Lc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Oa={activeElement:{get:function(){var a;a=hb&&hb.get?hb.get.call(document):C.Y?void 0:document.activeElement;if(a&&a.nodeType){var b=!!A(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=W(a);b&&b!==this;)a=b.host,b=W(a);a=this===document?
b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Gb=C.Y?function(){}:function(a){a.__shady&&a.__shady.fb||(a.__shady=a.__shady||{},a.__shady.fb=!0,M(a,Wb,!0))},Fb=C.Y?function(){}:function(a){a.__shady&&a.__shady.cb||(a.__shady=a.__shady||{},a.__shady.cb=!0,M(a,Na,!0),M(a,Lc,!0))},ta=null,Qd={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},qc={get composed(){!1!==this.isTrusted&&void 0===this.oa&&(this.oa=
Qd[this.type]);return this.oa||!1},composedPath:function(){this.Ha||(this.Ha=Ua(this.__target,this.composed));return this.Ha},get target(){return ic(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.Ia)return null;this.Ja||(this.Ja=Ua(this.Ia,!0));return ic(this.currentTarget,this.Ja)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.pa=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.pa=this.bb=!0}},Wa=
{focus:!0,blur:!0},Rd=Va(window.Event),Sd=Va(window.CustomEvent),Td=Va(window.MouseEvent),Ud="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};H.prototype.tb=function(){return this.root.querySelectorAll("slot")};H.prototype.Aa=function(a){return a.localName&&"slot"==a.localName};H.prototype.xa=function(){return this.root.za()?this.g(this.c()):[]};H.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=
c.nextSibling)a[b++]=c;return a};H.prototype.g=function(a){for(var b=[],c=this.root.ta(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.za()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=R(d))&&X.call(e,d);return b};H.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.La(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ua!=
a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ua!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.ua=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};H.prototype.La=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ua=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};H.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?
b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};H.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};H.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.R=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.Aa(d)){var e=d.__shady.R;if(e)for(var f=0;f<e.length;f++)a.__shady.R.push(e[f])}else a.__shady.R.push(b[c])};H.prototype.a=function(a){fb.call(a,new Ud("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};
H.prototype.ga=function(a){return!a.__shady.assignedSlot};var Eb={};q.prototype=Object.create(DocumentFragment.prototype);q.prototype.i=function(a){this.eb="ShadyRoot";V(a);V(this);a.shadowRoot=this;this.host=a;this.sa=this.O=!1;this.C=new H(this);this.update()};q.prototype.update=function(){var a=this;this.O||(this.O=!0,Jb(function(){return a.Ta()}))};q.prototype.h=function(){for(var a=this,b=this;b;)b.O&&(a=b),b=b.nb();return a};q.prototype.nb=function(){var a=this.host.getRootNode();if(A(a))for(var b=
this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.C.Aa(d))return a};q.prototype.Ta=function(){this.O&&this.h()._render()};q.prototype._render=function(){this.sa=this.O=!1;this.ca||this.f();this.ca=!1;this.xa();this.j()};q.prototype.xa=function(){for(var a=this.C.xa(),b=0;b<a.length;b++)a[b]._render()};q.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.C.La(c);a=this.a=this.C.tb();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},
V(c),V(c.parentNode)};q.prototype.j=function(){this.g()};q.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.ta(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};q.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.C.Aa(d))for(var e=d.__shady.R||(d.__shady.R=[]),f=0;f<e.length;f++){var g=e[f];this.ga(d,g)&&b.push(g)}else b.push(d)}return b};q.prototype.ga=
function(a,b){return this.C.ga(a,b)};q.prototype.c=function(a,b){for(var c=da(a),d=wd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.$.length&&(k=g.$[h]);h++)R(k)===a&&X.call(a,k),c.splice(g.index+f,1);f-=g.da}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.da;h++)k=b[h],Sa.call(a,k,f),c.splice(h,0,k)};q.prototype.za=function(){return!(!this.a||!this.a.length)};q.prototype.ta=function(){this.a||this.f();return this.a};q.prototype.addEventListener=
function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.qa=this;this.host.addEventListener(a,b,c)};q.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.qa=this;this.host.removeEventListener(a,b,c)};q.prototype.getElementById=function(a){return this.querySelector("#"+a)};(function(a){M(a,Na,!0);M(a,Oa,!0)})(q.prototype);var Ad={addEventListener:lc,removeEventListener:oc},zd={addEventListener:lc,removeEventListener:oc,appendChild:function(a){return fc(this,a)},insertBefore:function(a,
[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};var gc=Element.prototype.appendChild,Sa=Element.prototype.insertBefore,X=Element.prototype.removeChild,Lc=Element.prototype.setAttribute,Mc=Element.prototype.removeAttribute,eb=Element.prototype.cloneNode,Ta=Document.prototype.importNode,oc=Element.prototype.addEventListener,rc=Element.prototype.removeEventListener,nc=Window.prototype.addEventListener,qc=Window.prototype.removeEventListener,
fb=Element.prototype.dispatchEvent,Qd=Object.freeze({appendChild:gc,insertBefore:Sa,removeChild:X,setAttribute:Lc,removeAttribute:Mc,cloneNode:eb,importNode:Ta,addEventListener:oc,removeEventListener:rc,Pb:nc,Qb:qc,dispatchEvent:fb}),sd=/[&\u00A0"]/g,vd=/[&\u00A0<>]/g,td=Lb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),ud=Lb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),x=document.createTreeWalker(document,NodeFilter.SHOW_ALL,
null,!1),E=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Rd=Object.freeze({parentNode:R,firstChild:Fa,lastChild:Ga,previousSibling:Mb,nextSibling:Nb,childNodes:da,parentElement:Ob,firstElementChild:Pb,lastElementChild:Qb,previousElementSibling:Rb,nextElementSibling:Sb,children:Tb,innerHTML:Ub,textContent:Vb}),gb=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),sa=document.implementation.createHTMLDocument("inert").createElement("div"),
hb=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Wb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:Ob(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:R(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Nb(this)},configurable:!0},previousSibling:{get:function(){var a=
this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Mb(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Sb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=
this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Rb(this)},configurable:!0}},Na={childNodes:{get:function(){var a;if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)this.__shady.childNodes.push(b)}a=this.__shady.childNodes}else a=da(this);a.item=function(b){return a[b]};return a},configurable:!0},childElementCount:{get:function(){return this.children.length},
configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:Fa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:Ga(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Vb(this)},set:function(a){if(this.nodeType!==
Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(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 Pb(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 Qb(this)},configurable:!0},children:{get:function(){var a;this.__shady&&void 0!==this.__shady.firstChild?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Tb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ma(a):Ub(a)},set:function(a){for(var b="template"===this.localName?
this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(gb&&gb.set?gb.set.call(sa,a):sa.innerHTML=a;sa.firstChild;)b.appendChild(sa.firstChild)},configurable:!0}},Nc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Oa={activeElement:{get:function(){var a;a=hb&&hb.get?hb.get.call(document):C.Y?void 0:document.activeElement;if(a&&a.nodeType){var b=!!A(this);if(this===document||b&&this.host!==
a&&this.host.contains(a)){for(b=W(a);b&&b!==this;)a=b.host,b=W(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Gb=C.Y?function(){}:function(a){a.__shady&&a.__shady.fb||(a.__shady=a.__shady||{},a.__shady.fb=!0,M(a,Wb,!0))},Fb=C.Y?function(){}:function(a){a.__shady&&a.__shady.cb||(a.__shady=a.__shady||{},a.__shady.cb=!0,M(a,Na,!0),M(a,Nc,!0))},ta=null,Sd={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},sc={get composed(){!1!==this.isTrusted&&void 0===this.oa&&(this.oa=Sd[this.type]);return this.oa||!1},composedPath:function(){this.Ha||(this.Ha=Ua(this.__target,this.composed));return this.Ha},get target(){return ic(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.Ia)return null;this.Ja||(this.Ja=Ua(this.Ia,!0));return ic(this.currentTarget,this.Ja)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.pa=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);
this.pa=this.bb=!0}},Wa={focus:!0,blur:!0},Td=Va(window.Event),Ud=Va(window.CustomEvent),Vd=Va(window.MouseEvent),Wd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};H.prototype.tb=function(){return this.root.querySelectorAll("slot")};H.prototype.Aa=function(a){return a.localName&&"slot"==a.localName};H.prototype.xa=function(){return this.root.za()?this.g(this.c()):[]};H.prototype.c=function(){for(var a=[],
b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};H.prototype.g=function(a){for(var b=[],c=this.root.ta(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.za()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=R(d))&&X.call(e,d);return b};H.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.La(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<
g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ua!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ua!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.ua=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};H.prototype.La=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ua=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};H.prototype.h=
function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};H.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};H.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.R=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.Aa(d)){var e=d.__shady.R;if(e)for(var f=0;f<e.length;f++)a.__shady.R.push(e[f])}else a.__shady.R.push(b[c])};H.prototype.a=function(a){fb.call(a,new Wd("slotchange"));a.__shady.assignedSlot&&
this.a(a.__shady.assignedSlot)};H.prototype.ga=function(a){return!a.__shady.assignedSlot};var Eb={};q.prototype=Object.create(DocumentFragment.prototype);q.prototype.i=function(a){this.eb="ShadyRoot";V(a);V(this);a.shadowRoot=this;this.host=a;this.sa=this.O=!1;this.C=new H(this);this.update()};q.prototype.update=function(){var a=this;this.O||(this.O=!0,Jb(function(){return a.Ta()}))};q.prototype.h=function(){for(var a=this,b=this;b;)b.O&&(a=b),b=b.nb();return a};q.prototype.nb=function(){var a=this.host.getRootNode();
if(A(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.C.Aa(d))return a};q.prototype.Ta=function(){this.O&&this.h()._render()};q.prototype._render=function(){this.sa=this.O=!1;this.ca||this.f();this.ca=!1;this.xa();this.j()};q.prototype.xa=function(){for(var a=this.C.xa(),b=0;b<a.length;b++)a[b]._render()};q.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.C.La(c);a=this.a=this.C.tb();for(b=0;b<a.length;b++)c=a[b],c.__shady=
c.__shady||{},V(c),V(c.parentNode)};q.prototype.j=function(){this.g()};q.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.ta(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};q.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.C.Aa(d))for(var e=d.__shady.R||(d.__shady.R=[]),f=0;f<e.length;f++){var g=e[f];this.ga(d,g)&&b.push(g)}else b.push(d)}return b};
q.prototype.ga=function(a,b){return this.C.ga(a,b)};q.prototype.c=function(a,b){for(var c=da(a),d=yd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.$.length&&(k=g.$[h]);h++)R(k)===a&&X.call(a,k),c.splice(g.index+f,1);f-=g.da}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.da;h++)k=b[h],Sa.call(a,k,f),c.splice(h,0,k)};q.prototype.za=function(){return!(!this.a||!this.a.length)};q.prototype.ta=function(){this.a||this.f();return this.a};q.prototype.addEventListener=
function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.qa=this;this.host.addEventListener(a,b,c)};q.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.qa=this;this.host.removeEventListener(a,b,c)};q.prototype.getElementById=function(a){return this.querySelector("#"+a)};(function(a){M(a,Na,!0);M(a,Oa,!0)})(q.prototype);var Cd={addEventListener:lc,removeEventListener:pc},Bd={addEventListener:lc,removeEventListener:pc,appendChild:function(a){return fc(this,a)},insertBefore:function(a,
b){return fc(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);if(!Yb(a)){var b=A(this)?this.host:this,c=R(a);b===c&&X.call(b,a)}Qa(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=eb.call(this,a);else if(b=eb.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},
getRootNode:function(){return Ra(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof q?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){na();return fb.call(this,a)}},Bd={get assignedSlot(){return rc(this)}},Xa={querySelector:function(a){return cc(this,function(b){return Ic.call(b,a)},function(a){return!!a})[0]||
null},querySelectorAll:function(a){return cc(this,function(b){return Ic.call(b,a)})}},uc={assignedNodes:function(a){if("slot"===this.localName)return ec(this),this.__shady?(a&&a.flatten?this.__shady.R:this.__shady.assignedNodes)||[]:[]}},sc=Ia({setAttribute:function(a,b){ta||(ta=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ta&&"class"===a?ta.setElementClass(this,b):(Jc.call(this,a,b),bc(this,a))},removeAttribute:function(a){Kc.call(this,a);bc(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";
if(!a)throw"Not enough arguments.";return new q(Eb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return rc(this)}},Xa,uc);Object.defineProperties(sc,Lc);var tc=Ia({importNode:function(a,b){return hc(a,b)},getElementById:function(a){return this.querySelector("#"+a)}},Xa);Object.defineProperties(tc,{_activeElement:Oa.activeElement});var Vd=HTMLElement.prototype.blur,Cd=Ia({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?
a.blur():Vd.call(this)}});C.Pa&&(window.ShadyDOM={inUse:C.Pa,patch:function(a){return a},isShadyRoot:A,enqueue:Jb,flush:na,settings:C,filterMutations:pd,observeChildren:nd,unobserveChildren:md,nativeMethods:Od,nativeTree:Pd},window.Event=Rd,window.CustomEvent=Sd,window.MouseEvent=Td,vd(),yd(),window.ShadowRoot=q);var Dd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));u.prototype.M=function(a,b){this.s.set(a,b);
getRootNode:function(){return Ra(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof q?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){na();return fb.call(this,a)}},Dd={get assignedSlot(){return tc(this)}},Xa={querySelector:function(a){return cc(this,function(b){return Kc.call(b,a)},function(a){return!!a})[0]||
null},querySelectorAll:function(a){return cc(this,function(b){return Kc.call(b,a)})}},wc={assignedNodes:function(a){if("slot"===this.localName)return ec(this),this.__shady?(a&&a.flatten?this.__shady.R:this.__shady.assignedNodes)||[]:[]}},uc=Ia({setAttribute:function(a,b){ta||(ta=window.ShadyCSS&&window.ShadyCSS.ScopingShim);ta&&"class"===a?ta.setElementClass(this,b):(Lc.call(this,a,b),bc(this,a))},removeAttribute:function(a){Mc.call(this,a);bc(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";
if(!a)throw"Not enough arguments.";return new q(Eb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return tc(this)}},Xa,wc);Object.defineProperties(uc,Nc);var vc=Ia({importNode:function(a,b){return hc(a,b)},getElementById:function(a){return this.querySelector("#"+a)}},Xa);Object.defineProperties(vc,{_activeElement:Oa.activeElement});var Xd=HTMLElement.prototype.blur,Ed=Ia({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?
a.blur():Xd.call(this)}});C.Pa&&(window.ShadyDOM={inUse:C.Pa,patch:function(a){return a},isShadyRoot:A,enqueue:Jb,flush:na,settings:C,filterMutations:rd,observeChildren:pd,unobserveChildren:od,nativeMethods:Qd,nativeTree:Rd},window.Event=Td,window.CustomEvent=Ud,window.MouseEvent=Vd,xd(),Ad(),window.ShadowRoot=q);var Fd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));u.prototype.M=function(a,b){this.s.set(a,b);
this.o.set(b.constructor,b)};u.prototype.f=function(a){return this.s.get(a)};u.prototype.L=function(a){return this.o.get(a)};u.prototype.u=function(a){this.h=!0;this.i.push(a)};u.prototype.j=function(a){var b=this;this.h&&Q(a,function(a){return b.g(a)})};u.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};u.prototype.b=function(a){var b=[];Q(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):
this.A(c)}};u.prototype.a=function(a){var b=[];Q(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};u.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];Q(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=
!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.A(d[a])};u.prototype.A=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=
1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}m(a)&&this.connectedCallback(a)}}};u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};u.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)};Ea.prototype.c=function(){this.N&&this.N.disconnect()};Ea.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};Db.prototype.resolve=function(a){if(this.a)throw Error("Already resolved.");this.a=a;this.b&&this.b(a)};r.prototype.define=function(a,
b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!vc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},
b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!xc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=m[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},
m=b.prototype;if(!(m instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(B){return}finally{this.f=!1}this.a.M(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};
r.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.resolve(void 0)}};r.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};r.prototype.whenDefined=function(a){if(!vc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.c;b=new Db;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.resolve(void 0);return b.c};r.prototype.o=function(a){this.i.c();
var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=r;r.prototype.define=r.prototype.define;r.prototype.get=r.prototype.get;r.prototype.whenDefined=r.prototype.whenDefined;r.prototype.polyfillWrapFlushCallback=r.prototype.o;var Aa=window.Document.prototype.createElement,hd=window.Document.prototype.createElementNS,gd=window.Document.prototype.importNode,id=window.Document.prototype.prepend,jd=window.Document.prototype.append,sb=window.Node.prototype.cloneNode,
r.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.resolve(void 0)}};r.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};r.prototype.whenDefined=function(a){if(!xc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.c;b=new Db;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.resolve(void 0);return b.c};r.prototype.o=function(a){this.i.c();
var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=r;r.prototype.define=r.prototype.define;r.prototype.get=r.prototype.get;r.prototype.whenDefined=r.prototype.whenDefined;r.prototype.polyfillWrapFlushCallback=r.prototype.o;var Aa=window.Document.prototype.createElement,jd=window.Document.prototype.createElementNS,id=window.Document.prototype.importNode,kd=window.Document.prototype.prepend,ld=window.Document.prototype.append,sb=window.Node.prototype.cloneNode,
ka=window.Node.prototype.appendChild,Ab=window.Node.prototype.insertBefore,Ba=window.Node.prototype.removeChild,Bb=window.Node.prototype.replaceChild,Da=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),rb=window.Element.prototype.attachShadow,ya=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Ca=window.Element.prototype.getAttribute,tb=window.Element.prototype.setAttribute,vb=window.Element.prototype.removeAttribute,la=window.Element.prototype.getAttributeNS,
ub=window.Element.prototype.setAttributeNS,wb=window.Element.prototype.removeAttributeNS,yb=window.Element.prototype.insertAdjacentElement,Yc=window.Element.prototype.prepend,Zc=window.Element.prototype.append,ad=window.Element.prototype.before,bd=window.Element.prototype.after,cd=window.Element.prototype.replaceWith,dd=window.Element.prototype.remove,ld=window.HTMLElement,za=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),xb=window.HTMLElement.prototype.insertAdjacentElement,
Cb=new function(){},ua=window.customElements;if(!ua||ua.forcePolyfill||"function"!=typeof ua.define||"function"!=typeof ua.get){var ha=new u;kd(ha);fd(ha);ed(ha);Xc(ha);document.__CE_hasRegistry=!0;var Wd=new r(ha);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Wd})}var I={STYLE_RULE:1,na:7,MEDIA_RULE:4,Ea:1E3},N={rb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ma:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Qa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,
yb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Db:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,xb:/^@[^\s]*keyframes/,Ra:/\s+/g},p=!(window.ShadyDOM&&window.ShadyDOM.inUse),y=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?yc(window.ShadyCSS):window.WebComponents&&yc(window.WebComponents.flags);var Mc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Nc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,
Xd=/(--[\w-]+)\s*([:,;)]|$)/gi,Yd=/(animation\s*:)|(animation-name\s*:)/,Fd=/@media[^(]*(\([^)]*\))/,Zd=/\{[^}]*\}/g,T=null;w.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};w.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.Hb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};w.prototype.A=function(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($d);c?d&&(b=d.replace("style-scope","").replace(b,""),qa(a,b)):qa(a,(d?d+" ":"")+"style-scope "+b)}};w.prototype.b=function(a,b,c){var d=a.__cssBuild;p||"shady"===d?b=Y(b,c):(a=U(a),b=this.U(b,a.is,a.aa,c)+"\n\n");return b.trim()};w.prototype.U=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return Y(a,function(a){a.c||(f.W(a,b,e),a.c=!0);d&&d(a,b,e)})};w.prototype.h=
function(a){return a?ae+a:""};w.prototype.f=function(a,b){return b?"[is="+a+"]":a};w.prototype.W=function(a,b,c){this.j(a,this.g,b,c)};w.prototype.j=function(a,b,c,d){a.selector=a.D=this.o(a,b,c,d)};w.prototype.o=function(a,b,c,d){var e=a.selector.split(Oc);if(!zc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Oc)};w.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(be,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(ce,ib+
" $1");return a=a.replace(de,function(a,g,h){e||(a=d.L(h,g,b,c),e=e||a.stop,g=a.qb,h=a.value);return g+h})};w.prototype.L=function(a,b,c,d){var e=a.indexOf(jb);0<=a.indexOf(ib)?a=this.T(a,d):0!==e&&(a=c?this.s(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(ee,function(a,b){return" > "+b})));a=a.replace(fe,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,qb:b,stop:f}};w.prototype.s=function(a,b){a=a.split(Pc);a[0]+=b;return a.join(Pc)};w.prototype.T=function(a,
b){var c=a.match(Qc);return(c=c&&c[2].trim()||"")?c[0].match(Rc)?a.replace(Qc,function(a,c,f){return b+f}):c.split(Rc)[0]===b?c:ge:a.replace(ib,b)};w.prototype.V=function(a){a.selector=a.parsedSelector;this.u(a);this.j(a,this.M)};w.prototype.u=function(a){a.selector===he&&(a.selector="html")};w.prototype.M=function(a){return a.match(jb)?this.g(a,Sc):this.s(a.trim(),Sc)};ob.Object.defineProperties(w.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var be=/:(nth[-\w]+)\(([^)]+)\)/,
Sc=":not(.style-scope)",Oc=",",de=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Rc=/[[.:#*]/,ib=":host",he=":root",jb="::slotted",ce=new RegExp("^("+jb+")"),Qc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ee=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,fe=/(.*):dir\((?:(ltr|rtl))\)/,ae=".",Pc=":",$d="class",ge="should_not_match",t=new w;v.get=function(a){return a?a.__styleInfo:null};v.set=function(a,b){return a.__styleInfo=b};v.prototype.c=function(){return this.I};v.prototype._getStyleRules=v.prototype.c;
var Tc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),ie=navigator.userAgent.match("Trident");n.prototype.W=function(a){var b=this,c={},d=[],e=0;Z(a,function(a){b.c(a);a.index=e++;b.V(a.v.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.v){var b={},c={};this.b(a,c)&&(b.H=c,a.rules=null);b.cssText=this.U(a);a.v=b}};n.prototype.b=
function(a,b){var c=a.v;if(c){if(c.H)return Object.assign(b,c.H),!0}else{for(var c=a.parsedCssText,d;a=Mc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.U=function(a){return this.T(a.parsedCssText)};n.prototype.T=function(a){return a.replace(Zd,"").replace(Mc,"")};n.prototype.V=function(a,b){for(var c;c=Xd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.ka=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=
b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=Bc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};n.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Nc.lastIndex=0;if(e=Nc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||
f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};n.prototype.M=function(a,b){var c="";a.v||this.c(a);a.v.cssText&&(c=this.f(a.v.cssText,b));a.cssText=c};n.prototype.L=function(a,b){var c=a.cssText,d=a.cssText;null==a.Oa&&(a.Oa=Yd.test(c));if(a.Oa)if(null==a.ha){a.ha=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ha.push(e))}else{for(e=0;e<a.ha.length;++e)d=b[a.ha[e]],c=d(c);d=c}a.cssText=d};n.prototype.ja=function(a,b){var c={},d=this,e=[];Z(a,
function(a){a.v||d.c(a);var f=a.D||a.parsedSelector;b&&a.v.H&&f&&Tc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{H:c,key:e}};n.prototype.ma=function(a,b,c,d){b.v||this.c(b);if(b.v.H){var e=U(a);a=e.is;var e=e.aa,e=a?t.f(a,e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=
e,h&&(p&&!b.D&&(b.D=t.o(b,t.g,t.h(a),e)),c=b.D||e),d({Cb:c,wb:h,Lb:g})}};n.prototype.ia=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;Z(b,function(b){e.ma(a,b,f,function(f){Tc.call(a.Ib||a,f.Cb)&&(f.wb?e.b(b,c):e.b(b,d))})},null,!0);return{Ab:d,vb:c}};n.prototype.la=function(a,b,c){var d=this,e=U(a),f=t.f(e.is,e.aa),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=v.get(a).I,h=this.h(e,c);return t.b(a,e,function(a){d.M(a,b);p||zc(a)||!a.cssText||(d.L(a,
ub=window.Element.prototype.setAttributeNS,wb=window.Element.prototype.removeAttributeNS,yb=window.Element.prototype.insertAdjacentElement,$c=window.Element.prototype.prepend,ad=window.Element.prototype.append,cd=window.Element.prototype.before,dd=window.Element.prototype.after,ed=window.Element.prototype.replaceWith,fd=window.Element.prototype.remove,nd=window.HTMLElement,za=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),xb=window.HTMLElement.prototype.insertAdjacentElement,
Cb=new function(){},ua=window.customElements;if(!ua||ua.forcePolyfill||"function"!=typeof ua.define||"function"!=typeof ua.get){var ha=new u;md(ha);hd(ha);gd(ha);Zc(ha);document.__CE_hasRegistry=!0;var Yd=new r(ha);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Yd})}var I={STYLE_RULE:1,na:7,MEDIA_RULE:4,Ea:1E3},N={rb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ma:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Qa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,
yb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Db:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,xb:/^@[^\s]*keyframes/,Ra:/\s+/g},p=!(window.ShadyDOM&&window.ShadyDOM.inUse),y=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?Ac(window.ShadyCSS):window.WebComponents&&Ac(window.WebComponents.flags);var Oc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Pc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,
Zd=/(--[\w-]+)\s*([:,;)]|$)/gi,$d=/(animation\s*:)|(animation-name\s*:)/,Hd=/@media[^(]*(\([^)]*\))/,ae=/\{[^}]*\}/g,T=null;w.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};w.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.Hb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};w.prototype.A=function(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(be);c?d&&(b=d.replace("style-scope","").replace(b,""),qa(a,b)):qa(a,(d?d+" ":"")+"style-scope "+b)}};w.prototype.b=function(a,b,c){var d=a.__cssBuild;p||"shady"===d?b=Y(b,c):(a=U(a),b=this.U(b,a.is,a.aa,c)+"\n\n");return b.trim()};w.prototype.U=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return Y(a,function(a){a.c||(f.W(a,b,e),a.c=!0);d&&d(a,b,e)})};w.prototype.h=
function(a){return a?ce+a:""};w.prototype.f=function(a,b){return b?"[is="+a+"]":a};w.prototype.W=function(a,b,c){this.j(a,this.g,b,c)};w.prototype.j=function(a,b,c,d){a.selector=a.D=this.o(a,b,c,d)};w.prototype.o=function(a,b,c,d){var e=a.selector.split(Qc);if(!Bc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Qc)};w.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(de,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(ee,ib+
" $1");return a=a.replace(fe,function(a,g,h){e||(a=d.L(h,g,b,c),e=e||a.stop,g=a.qb,h=a.value);return g+h})};w.prototype.L=function(a,b,c,d){var e=a.indexOf(jb);0<=a.indexOf(ib)?a=this.T(a,d):0!==e&&(a=c?this.s(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(ge,function(a,b){return" > "+b})));a=a.replace(he,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,qb:b,stop:f}};w.prototype.s=function(a,b){a=a.split(Rc);a[0]+=b;return a.join(Rc)};w.prototype.T=function(a,
b){var c=a.match(Sc);return(c=c&&c[2].trim()||"")?c[0].match(Tc)?a.replace(Sc,function(a,c,f){return b+f}):c.split(Tc)[0]===b?c:ie:a.replace(ib,b)};w.prototype.V=function(a){a.selector=a.parsedSelector;this.u(a);this.j(a,this.M)};w.prototype.u=function(a){a.selector===je&&(a.selector="html")};w.prototype.M=function(a){return a.match(jb)?this.g(a,Uc):this.s(a.trim(),Uc)};ob.Object.defineProperties(w.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var de=/:(nth[-\w]+)\(([^)]+)\)/,
Uc=":not(.style-scope)",Qc=",",fe=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Tc=/[[.:#*]/,ib=":host",je=":root",jb="::slotted",ee=new RegExp("^("+jb+")"),Sc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ge=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,he=/(.*):dir\((?:(ltr|rtl))\)/,ce=".",Rc=":",be="class",ie="should_not_match",t=new w;v.get=function(a){return a?a.__styleInfo:null};v.set=function(a,b){return a.__styleInfo=b};v.prototype.c=function(){return this.I};v.prototype._getStyleRules=v.prototype.c;
var Vc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),ke=navigator.userAgent.match("Trident");n.prototype.W=function(a){var b=this,c={},d=[],e=0;Z(a,function(a){b.c(a);a.index=e++;b.V(a.v.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};n.prototype.c=function(a){if(!a.v){var b={},c={};this.b(a,c)&&(b.H=c,a.rules=null);b.cssText=this.U(a);a.v=b}};n.prototype.b=
function(a,b){var c=a.v;if(c){if(c.H)return Object.assign(b,c.H),!0}else{for(var c=a.parsedCssText,d;a=Oc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};n.prototype.U=function(a){return this.T(a.parsedCssText)};n.prototype.T=function(a){return a.replace(ae,"").replace(Oc,"")};n.prototype.V=function(a,b){for(var c;c=Zd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};n.prototype.ka=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=
b[c],a[d]=this.a(a[d],a)};n.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=Dc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};n.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Pc.lastIndex=0;if(e=Pc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||
f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};n.prototype.M=function(a,b){var c="";a.v||this.c(a);a.v.cssText&&(c=this.f(a.v.cssText,b));a.cssText=c};n.prototype.L=function(a,b){var c=a.cssText,d=a.cssText;null==a.Oa&&(a.Oa=$d.test(c));if(a.Oa)if(null==a.ha){a.ha=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.ha.push(e))}else{for(e=0;e<a.ha.length;++e)d=b[a.ha[e]],c=d(c);d=c}a.cssText=d};n.prototype.ja=function(a,b){var c={},d=this,e=[];Z(a,
function(a){a.v||d.c(a);var f=a.D||a.parsedSelector;b&&a.v.H&&f&&Vc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{H:c,key:e}};n.prototype.ma=function(a,b,c,d){b.v||this.c(b);if(b.v.H){var e=U(a);a=e.is;var e=e.aa,e=a?t.f(a,e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=
e,h&&(p&&!b.D&&(b.D=t.o(b,t.g,t.h(a),e)),c=b.D||e),d({Cb:c,wb:h,Lb:g})}};n.prototype.ia=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;Z(b,function(b){e.ma(a,b,f,function(f){Vc.call(a.Ib||a,f.Cb)&&(f.wb?e.b(b,c):e.b(b,d))})},null,!0);return{Ab:d,vb:c}};n.prototype.la=function(a,b,c){var d=this,e=U(a),f=t.f(e.is,e.aa),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=v.get(a).I,h=this.h(e,c);return t.b(a,e,function(a){d.M(a,b);p||Bc(a)||!a.cssText||(d.L(a,
h),d.o(a,g,f,c))})};n.prototype.h=function(a,b){a=a.b;var c={};if(!p&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};n.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};n.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.D=a.D||a.selector;a.selector=a.D.replace(a.keyframesName,a.a)};n.prototype.o=function(a,b,c,d){a.D=a.D||a.selector;d="."+d;for(var e=a.D.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=
h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.u=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&qa(a,e)};n.prototype.A=function(a,b,c,d){b=d?d.textContent||"":this.la(a,b,c);var e=v.get(a),f=e.a;f&&!p&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));p?e.a?(e.a.textContent=b,d=e.a):b&&(d=$a(b,c,a.shadowRoot,e.b)):d?d.parentNode||(ie&&-1<b.indexOf("@media")&&
(d.textContent=b),Ac(d,null,e.b)):b&&(d=$a(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.s=function(a,b){var c=pa(a),d=this;a.textContent=Y(c,function(a){var c=a.cssText=a.parsedCssText;a.v&&a.v.cssText&&(c=c.replace(N.Ma,"").replace(N.Qa,""),a.cssText=d.f(c,b))})};ob.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var P=new n,kb={},va=window.customElements;if(va&&!p){var je=va.define;va.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;kb[a]=d;return je.call(va,a,b,c)}}ja.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.H[e]!==b[e])return!1}return!0};ja.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({H:b,styleElement:c,F:d});e.length>this.f&&e.shift();this.cache[a]=e};ja.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=
a[d];if(this.b(e,b,c))return e}};if(!p){var Uc=new MutationObserver(Cc),Vc=function(a){Uc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Vc(document);else{var lb=function(){Vc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(lb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){lb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else lb()})}qb=
function(){Cc(Uc.takeRecords())}}var ra={},Id=Promise.resolve(),ab=null,Ec=window.HTMLImports&&window.HTMLImports.whenReady||null,bb,wa=null,ia=null;L.prototype.Na=function(){!this.enqueued&&ia&&(this.enqueued=!0,pb(ia))};L.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Na())};L.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};L.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=
a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;wa&&wa(d);c.__shadyCSSCachedStyle=d}}}return a};L.prototype.addCustomStyle=L.prototype.b;L.prototype.getStyleForCustomStyle=L.prototype.a;L.prototype.processStyles=L.prototype.c;Object.defineProperties(L.prototype,{transformCallback:{get:function(){return wa},set:function(a){wa=a}},validateCallback:{get:function(){return ia},
set:function(a){var b=!1;ia||(b=!0);ia=a;b&&this.Na()}}});var Wc=new ja;k.prototype.L=function(){qb()};k.prototype.ia=function(a){var b=this.s[a]=(this.s[a]||0)+1;return a+"-"+b};k.prototype.Za=function(a){return pa(a)};k.prototype.ab=function(a){return Y(a)};k.prototype.W=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ka=function(a){return(a=a.content.querySelector("style"))?
h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};n.prototype.u=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&qa(a,e)};n.prototype.A=function(a,b,c,d){b=d?d.textContent||"":this.la(a,b,c);var e=v.get(a),f=e.a;f&&!p&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));p?e.a?(e.a.textContent=b,d=e.a):b&&(d=$a(b,c,a.shadowRoot,e.b)):d?d.parentNode||(ke&&-1<b.indexOf("@media")&&
(d.textContent=b),Cc(d,null,e.b)):b&&(d=$a(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};n.prototype.s=function(a,b){var c=pa(a),d=this;a.textContent=Y(c,function(a){var c=a.cssText=a.parsedCssText;a.v&&a.v.cssText&&(c=c.replace(N.Ma,"").replace(N.Qa,""),a.cssText=d.f(c,b))})};ob.Object.defineProperties(n.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var P=new n,kb={},va=window.customElements;if(va&&!p){var le=va.define;va.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;kb[a]=d;return le.call(va,a,b,c)}}ja.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.H[e]!==b[e])return!1}return!0};ja.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({H:b,styleElement:c,F:d});e.length>this.c&&e.shift();this.cache[a]=e};ja.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=
d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!p){var Wc=new MutationObserver(Ec),Xc=function(a){Wc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Xc(document);else{var lb=function(){Xc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(lb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){lb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
a)}else lb()})}qb=function(){Ec(Wc.takeRecords())}}var ra={},Kd=Promise.resolve(),ab=null,Gc=window.HTMLImports&&window.HTMLImports.whenReady||null,bb,wa=null,ia=null;L.prototype.Na=function(){!this.enqueued&&ia&&(this.enqueued=!0,pb(ia))};L.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.Na())};L.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};L.prototype.c=function(){for(var a=this.customStyles,
b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;wa&&wa(d);c.__shadyCSSCachedStyle=d}}}return a};L.prototype.addCustomStyle=L.prototype.b;L.prototype.getStyleForCustomStyle=L.prototype.a;L.prototype.processStyles=L.prototype.c;Object.defineProperties(L.prototype,{transformCallback:{get:function(){return wa},set:function(a){wa=a}},validateCallback:{get:function(){return ia},
set:function(a){var b=!1;ia||(b=!0);ia=a;b&&this.Na()}}});var Yc=new ja;k.prototype.L=function(){qb()};k.prototype.ia=function(a){var b=this.s[a]=(this.s[a]||0)+1;return a+"-"+b};k.prototype.Za=function(a){return pa(a)};k.prototype.ab=function(a){return Y(a)};k.prototype.W=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.ka=function(a){return(a=a.content.querySelector("style"))?
a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ra[b]=a;var d=this.ka(a),e=this.W(a);c={is:b,extends:c,Fb:d};p||t.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Za(e);f&&y&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];y||(d=P.W(a._styleAst));if(!d.length||y)b=this.ja(c,a._styleAst,p?a.content:null,kb[b]),a.a=b;a.c=d}};k.prototype.ja=function(a,b,c,d){b=t.b(a,b);if(b.length)return $a(b,a.is,c,d)};k.prototype.ma=function(a){var b=
U(a),c=b.is,b=b.aa,d=kb[c],c=ra[c],e,f;c&&(e=c._styleAst,f=c.c);return v.set(a,new v(e,d,f,0,b))};k.prototype.U=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=Gd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.V=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,
U(a),c=b.is,b=b.aa,d=kb[c],c=ra[c],e,f;c&&(e=c._styleAst,f=c.c);return v.set(a,new v(e,d,f,0,b))};k.prototype.U=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=Id;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.V=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,
this.a.transformCallback=function(b){a.A(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.U();this.V()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(y?this.Xa(a):(this.u(this.g,this.h),this.M(a)),this.a.enqueued=!1,this.i&&!y&&this.styleDocument())};k.prototype.styleElement=
function(a,b){var c=U(a).is,d=v.get(a);d||(d=this.ma(a));this.j(a)||(this.i=!0);b&&(d.S=d.S||{},Object.assign(d.S,b));if(y){if(d.S){b=d.S;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ra[c])||this.j(a))&&e&&e.a&&!Dc(e)){if(Dc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=t.b(a,d.I),Hd(e);p&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=t.b(a,d.I));d.I=e._styleAst}}else this.u(a,
d),d.Ba&&d.Ba.length&&this.T(a,d)};k.prototype.o=function(a){return(a=a.getRootNode().host)?v.get(a)?a:this.o(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.T=function(a,b){var c=U(a).is,d=Wc.a(c,b.K,b.Ba),e=d?d.styleElement:null,f=b.F;b.F=d&&d.F||this.ia(c);e=P.A(a,b.K,b.F,e);p||P.u(a,b.F,f);d||Wc.c(c,b.K,e,b.F)};k.prototype.u=function(a,b){var c=this.o(a),d=v.get(c),c=Object.create(d.K||null),e=P.ia(a,b.I);a=P.ja(d.I,a).H;Object.assign(c,e.vb,a,e.Ab);this.la(c,b.S);P.ka(c);
function(a,b){var c=U(a).is,d=v.get(a);d||(d=this.ma(a));this.j(a)||(this.i=!0);b&&(d.S=d.S||{},Object.assign(d.S,b));if(y){if(d.S){b=d.S;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ra[c])||this.j(a))&&e&&e.a&&!Fc(e)){if(Fc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=t.b(a,d.I),Jd(e);p&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=t.b(a,d.I));d.I=e._styleAst}}else this.u(a,
d),d.Ba&&d.Ba.length&&this.T(a,d)};k.prototype.o=function(a){return(a=a.getRootNode().host)?v.get(a)?a:this.o(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.T=function(a,b){var c=U(a).is,d=Yc.fetch(c,b.K,b.Ba),e=d?d.styleElement:null,f=b.F;b.F=d&&d.F||this.ia(c);e=P.A(a,b.K,b.F,e);p||P.u(a,b.F,f);d||Yc.b(c,b.K,e,b.F)};k.prototype.u=function(a,b){var c=this.o(a),d=v.get(c),c=Object.create(d.K||null),e=P.ia(a,b.I);a=P.ja(d.I,a).H;Object.assign(c,e.vb,a,e.Ab);this.la(c,b.S);P.ka(c);
b.K=c};k.prototype.la=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&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])};k.prototype.Xa=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);
c&&this.Wa(c)}};k.prototype.M=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&P.s(c,this.h.K)}};k.prototype.A=function(a){var b=this,c=pa(a);Z(c,function(a){p?t.u(a):t.V(a);y&&(b.c(),b.b.transformRule(a))});y?a.textContent=Y(c):this.h.I.rules.push(c)};k.prototype.Wa=function(a){if(y){var b=pa(a);this.c();this.b.transformRules(b);a.textContent=Y(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;y||(c=(v.get(a)||v.get(this.o(a))).K[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
c.trim():""};k.prototype.$a=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)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===t.c){c=d[e+1];break}}c&&b.push(t.c,c);y||(c=v.get(a))&&c.F&&b.push(P.g,c.F);qa(a,b.join(" "))};k.prototype.Ya=function(a){return v.get(a)};k.prototype.flush=k.prototype.L;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=

File diff suppressed because one or more lines are too long

View File

@@ -23,26 +23,26 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
'use strict';var fb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
(function(){function k(){var a=this;this.u={};this.g=document.documentElement;var b=new pa;b.rules=[];this.h=r.set(this.g,new r(b));this.i=!1;this.a=this.b=null;gb(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function hb(){}function ba(a){this.cache={};this.f=void 0===a?100:a}function p(){}function r(a,b,c,d,e){this.F=a||null;this.b=b||null;this.qa=c||[];this.M=null;this.U=e||"";this.a=this.B=this.G=null}function q(){}function pa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Lc(a){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;l(this)&&(e=[],L(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?a.c(this):a.j(this);
(function(){function k(){var a=this;this.u={};this.g=document.documentElement;var b=new pa;b.rules=[];this.h=r.set(this.g,new r(b));this.i=!1;this.a=this.b=null;gb(function(){a.c()})}function D(){this.customStyles=[];this.enqueued=!1}function hb(){}function ba(a){this.cache={};this.c=void 0===a?100:a}function p(){}function r(a,b,c,d,e){this.F=a||null;this.b=b||null;this.qa=c||[];this.M=null;this.U=e||"";this.a=this.B=this.G=null}function q(){}function pa(){this.end=this.start=0;this.rules=this.parent=
this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}function Nc(a){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;l(this)&&(e=[],L(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?a.c(this):a.j(this);
return b}})}function c(b,c){x(b,"insertAdjacentElement",function(b,d){var e=l(d);b=c.call(this,b,d);e&&a.a(d);l(b)&&a.b(d);return b})}ib?x(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=ib.call(this,a)}):console.warn("Custom Elements: `Element#attachShadow` was not patched.");if(qa&&qa.get)b(Element.prototype,qa);else if(ra&&ra.get)b(HTMLElement.prototype,ra);else{var d=sa.call(document,"div");a.v(function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return jb.call(this,
!0).innerHTML},set:function(a){var b="template"===this.localName?this.content:this;for(d.innerHTML=a;0<b.childNodes.length;)ta.call(b,b.childNodes[0]);for(;0<d.childNodes.length;)ca.call(b,d.childNodes[0])}})})}x(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return kb.call(this,b,c);var d=ua.call(this,b);kb.call(this,b,c);c=ua.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});x(Element.prototype,"setAttributeNS",function(b,c,d){if(1!==this.__CE_state)return lb.call(this,
b,c,d);var e=da.call(this,b,c);lb.call(this,b,c,d);d=da.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});x(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return mb.call(this,b);var c=ua.call(this,b);mb.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});x(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return nb.call(this,b,c);var d=da.call(this,b,c);nb.call(this,b,c);var e=da.call(this,b,c);d!==e&&a.attributeChangedCallback(this,
c,d,e,b)});ob?c(HTMLElement.prototype,ob):pb?c(Element.prototype,pb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");qb(a,Element.prototype,{Da:Nc,append:Oc});Pc(a,{Ta:Qc,Sa:Rc,bb:Sc,remove:Tc})}function Pc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Ta.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],
c,d,e,b)});ob?c(HTMLElement.prototype,ob):pb?c(Element.prototype,pb):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");qb(a,Element.prototype,{Da:Pc,append:Qc});Rc(a,{Ta:Sc,Sa:Tc,bb:Uc,remove:Vc})}function Rc(a,b){var c=Element.prototype;c.before=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Ta.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],
g instanceof Element&&a.b(g)};c.after=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});b.Sa.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.replaceWith=function(c){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];var f=d.filter(function(a){return a instanceof Node&&l(a)}),g=l(this);b.bb.apply(this,d);for(var h=0;h<f.length;h++)a.a(f[h]);
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=l(this);b.remove.call(this);c&&a.a(this)}}function Uc(a){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,h=e.length;if(0<h&&l(this))for(var c=Array(h),m=0;m<h;m++)c[m]=e[m]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
if(g)for(a.a(this),f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};c.remove=function(){var c=l(this);b.remove.call(this);c&&a.a(this)}}function Wc(a){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,h=e.length;if(0<h&&l(this))for(var c=Array(h),m=0;m<h;m++)c[m]=e[m]}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)a.a(c[b])}}})}
x(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=rb.call(this,b,d);if(l(this))for(d=0;d<c.length;d++)a.b(c[d]);return b}c=l(b);d=rb.call(this,b,d);c&&a.a(b);l(this)&&a.b(b);return d});x(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=ca.call(this,b);if(l(this))for(var e=0;e<c.length;e++)a.b(c[e]);return b}c=l(b);e=ca.call(this,b);c&&a.a(b);l(this)&&
a.b(b);return e});x(Node.prototype,"cloneNode",function(b){b=jb.call(this,b);this.ownerDocument.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Node.prototype,"removeChild",function(b){var c=l(b),e=ta.call(this,b);c&&a.a(b);return e});x(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Array.prototype.slice.apply(b.childNodes);b=sb.call(this,b,d);if(l(this))for(a.a(d),d=0;d<c.length;d++)a.b(c[d]);return b}var c=l(b),f=sb.call(this,b,d),g=l(this);g&&a.a(d);c&&a.a(b);g&&
a.b(b);return f});va&&va.get?b(Node.prototype,va):a.v(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;)ta.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function Vc(a){x(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=sa.call(this,b);a.g(b);return b});
x(Document.prototype,"importNode",function(b,c){b=Wc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Xc.call(this,b,c);a.g(b);return b});qb(a,Document.prototype,{Da:Yc,append:Zc})}function qb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&l(a)});c.Da.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function $c(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.H(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=sa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===tb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=tb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=ad.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
a.b(b);return f});va&&va.get?b(Node.prototype,va):a.v(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;)ta.call(this,this.firstChild);ca.call(this,document.createTextNode(a))}})})}function Xc(a){x(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var c=a.f(b);if(c)return new c.constructor}b=sa.call(this,b);a.g(b);return b});
x(Document.prototype,"importNode",function(b,c){b=Yc.call(this,b,c);this.__CE_hasRegistry?a.c(b):a.j(b);return b});x(Document.prototype,"createElementNS",function(b,c){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var d=a.f(c);if(d)return new d.constructor}b=Zc.call(this,b,c);a.g(b);return b});qb(a,Document.prototype,{Da:$c,append:ad})}function qb(a,b,c){b.prepend=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof
Node&&l(a)});c.Da.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)};b.append=function(b){for(var d=[],f=0;f<arguments.length;++f)d[f-0]=arguments[f];f=d.filter(function(a){return a instanceof Node&&l(a)});c.append.apply(this,d);for(var g=0;g<f.length;g++)a.a(f[g]);if(l(this))for(f=0;f<d.length;f++)g=d[f],g instanceof Element&&a.b(g)}}function bd(a){window.HTMLElement=function(){function b(){var b=this.constructor,d=a.H(b);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");
var e=d.constructionStack;if(!e.length)return e=sa.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,a.g(e),e;var d=e.length-1,f=e[d];if(f===tb)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");e[d]=tb;Object.setPrototypeOf(f,b.prototype);a.g(f);return f}b.prototype=cd.prototype;return b}()}function w(a){this.f=!1;this.a=a;this.h=new Map;this.g=function(a){return a()};this.b=!1;this.c=
[];this.i=new wa(a,document)}function ub(){var a=this;this.b=this.a=void 0;this.f=new Promise(function(b){a.b=b;a.a&&b(a.a)})}function wa(a,b){this.b=a;this.a=b;this.J=void 0;this.b.c(this.a);"loading"===this.a.readyState&&(this.J=new MutationObserver(this.f.bind(this)),this.J.observe(this.a,{childList:!0,subtree:!0}))}function y(){this.u=new Map;this.l=new Map;this.i=[];this.h=!1}function n(a,b){if(a!==vb)throw new TypeError("Illegal constructor");a=document.createDocumentFragment();a.__proto__=
n.prototype;a.i(b);return a}function z(a){this.root=a;this.Z="slot"}function Q(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=xa(a);a.__shady.lastChild=ya(a);wb(a);for(var b=a.__shady.childNodes=W(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,xb(d)}}function bd(a){var b=a&&a.J;b&&(b.Y.delete(a.Pa),b.Y.size||(a.Qa.__shady.S=null))}function cd(a,
n.prototype;a.i(b);return a}function z(a){this.root=a;this.Z="slot"}function Q(a){if(!a.__shady||void 0===a.__shady.firstChild){a.__shady=a.__shady||{};a.__shady.firstChild=xa(a);a.__shady.lastChild=ya(a);wb(a);for(var b=a.__shady.childNodes=W(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,xb(d)}}function dd(a){var b=a&&a.J;b&&(b.Y.delete(a.Pa),b.Y.size||(a.Qa.__shady.S=null))}function ed(a,
b){a.__shady=a.__shady||{};a.__shady.S||(a.__shady.S=new ea);a.__shady.S.Y.add(b);var c=a.__shady.S;return{Pa:b,J:c,Qa:a,takeRecords:function(){return c.takeRecords()}}}function ea(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.Y=new Set}function E(a){return"ShadyRoot"===a.Na}function R(a){a=a.getRootNode();if(E(a))return a}function za(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 Aa(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)za(a,c[d]);return a}function dd(a,b){for(var c in b)a[c]=b[c]}function yb(a){Ba.push(a);Ca.textContent=zb++}function Ab(a){Da||(Da=!0,yb(fa));X.push(a)}function fa(){Da=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function ed(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===
e,f)}}function Aa(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(d=0;d<c.length;d++)za(a,c[d]);return a}function fd(a,b){for(var c in b)a[c]=b[c]}function yb(a){Ba.push(a);Ca.textContent=zb++}function Ab(a){Da||(Da=!0,yb(fa));X.push(a)}function fa(){Da=!1;for(var a=!!X.length;X.length;)X.shift()();return a}function gd(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})}function Bb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Cb(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}function Ea(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g;e<f&&(g=d[e]);e++){var h;
a:{var m;h=g;m=a;var Mc=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,l="<"+k,p=h.attributes,n=0;m=p[n];n++)l+=" "+m.name+'="'+m.value.replace(fd,Bb)+'"';l+=">";h=gd[k]?l:l+Ea(h,Mc)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&hd[m.localName]?h:h.replace(id,Bb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function M(a){A.currentNode=a;return A.parentNode()}function xa(a){A.currentNode=
a:{var m;h=g;m=a;var Oc=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var k=h.localName,l="<"+k,p=h.attributes,n=0;m=p[n];n++)l+=" "+m.name+'="'+m.value.replace(hd,Bb)+'"';l+=">";h=id[k]?l:l+Ea(h,Oc)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=m&&jd[m.localName]?h:h.replace(kd,Bb);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),Error("not implemented");}}c+=h}return c}function M(a){A.currentNode=a;return A.parentNode()}function xa(a){A.currentNode=
a;return A.firstChild()}function ya(a){A.currentNode=a;return A.lastChild()}function Db(a){A.currentNode=a;return A.previousSibling()}function Eb(a){A.currentNode=a;return A.nextSibling()}function W(a){var b=[];A.currentNode=a;for(a=A.firstChild();a;)b.push(a),a=A.nextSibling();return b}function Fb(a){B.currentNode=a;return B.parentNode()}function Gb(a){B.currentNode=a;return B.firstChild()}function Hb(a){B.currentNode=a;return B.lastChild()}function Ib(a){B.currentNode=a;return B.previousSibling()}
function Jb(a){B.currentNode=a;return B.nextSibling()}function Kb(a){var b=[];B.currentNode=a;for(a=B.firstChild();a;)b.push(a),a=B.nextSibling();return b}function Lb(a){return Ea(a,function(a){return W(a)})}function Mb(a){if(a.nodeType!==Node.ELEMENT_NODE)return a.nodeValue;a=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,null,!1);for(var b="",c;c=a.nextNode();)b+=c.nodeValue;return b}function I(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 N(a){I(a,Nb);I(a,Fa);I(a,Ga)}function Ob(a,b,c){xb(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=
@@ -54,98 +54,98 @@ a[e]);e++){var h;if(h=g.nodeType===Node.ELEMENT_NODE){h=g;var m=b,k=c,l=d,n=m(h)
((d=b.__shady&&b.__shady.parentNode)?(Ia(d,null,b),Pb(b)):(b.parentNode&&S.call(b.parentNode,b),Ha(b)));var d=c,e=R(a),f;e&&(b.__noInsertionPoint&&!e.ka&&(e.W=!0),f=Rb(b,a,e))&&(e.W=!1);if(a.__shady&&void 0!==a.__shady.firstChild)if(wb(a),a.__shady=a.__shady||{},void 0!==a.__shady.firstChild&&(a.__shady.childNodes=null),b.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var g=b.childNodes,h=0;h<g.length;h++)Ob(g[h],a,d);b.__shady=b.__shady||{};g=void 0!==b.__shady.firstChild?null:void 0;b.__shady.firstChild=
b.__shady.lastChild=g;b.__shady.childNodes=g}else Ob(b,a,d);var g=f,h=e&&e.s.Z||"",m=b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!b.__noInsertionPoint&&h&&b.querySelector(h);f=m&&m.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;((m=m||b.localName===h)||a.localName===h||g)&&e&&ga(e);(e=Sb(a))&&ga(a.__shady&&a.__shady.root);if(!(e||m&&!f||a.__shady.root||d&&E(d.parentNode)&&d.parentNode.K)){if(c&&(d=R(c))){var k;if(c.localName===d.s.Z)a:{d=c.assignedNodes({flatten:!0});e=Ja(c);f=0;for(g=d.length;f<
g&&(k=d[f]);f++)if(e.$(c,k))break a;k=void 0}else k=c;c=k}k=E(a)?a.host:a;c?Ka.call(k,b,c):Yb.call(k,b)}Ia(a,b);return b}function Zb(a,b){if(a.ownerDocument!==document)return La.call(document,a,b);var c=La.call(document,a,!1);if(b){a=a.childNodes;b=0;for(var d;b<a.length;b++)d=Zb(a[b],!0),c.appendChild(d)}return c}function Ma(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 $b(a,b){if(!E)return a;a=Ma(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Na(a){function b(b,d){b=new a(b,d);b.ha=d&&!!d.composed;return b}dd(b,a);b.prototype=a.prototype;return b}function ac(a,b,c){if(c=b.o&&b.o[a.type]&&b.o[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.La);d++);}function jd(a){var b=a.composedPath(),
c[c.length-1]===document&&c.push(window);return c}function $b(a,b){if(!E)return a;a=Ma(a,!0);for(var c=0,d,e,f,g;c<b.length;c++)if(d=b[c],f=d===window?window:d.getRootNode(),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}function Na(a){function b(b,d){b=new a(b,d);b.ha=d&&!!d.composed;return b}fd(b,a);b.prototype=a.prototype;return b}function ac(a,b,c){if(c=b.o&&b.o[a.type]&&b.o[a.type][c])for(var d=0,e;(e=c[d])&&a.target!==a.relatedTarget&&(e.call(b,a),!a.La);d++);}function ld(a){var b=a.composedPath(),
c;Object.defineProperty(a,"currentTarget",{get:function(){return c},configurable:!0});for(var d=b.length-1;0<=d;d--)if(c=b[d],ac(a,c,"capture"),a.ia)return;Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});for(var e,d=0;d<b.length;d++)if(c=b[d],!d||c.shadowRoot&&c.shadowRoot===e)if(ac(a,c,"bubble"),c!==window&&(e=c.getRootNode()),a.ia)break}function bc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],m=h.type,k=h.capture,l=h.once,n=h.passive;if(b===h.node&&c===m&&d===
k&&e===l&&f===n)return g}return-1}function cc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ja||this;if(b.C){if(-1<bc(b.C,g,a,d,e,f))return}else b.C=[];var h=function(d){e&&this.removeEventListener(a,b,c);d.__target||dc(d);var f;g!==this&&(f=Object.getOwnPropertyDescriptor(d,"currentTarget"),Object.defineProperty(d,"currentTarget",{get:function(){return g},configurable:!0}));if(d.composed||-1<d.composedPath().indexOf(g))if(d.target===
d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.C.push({node:this,type:a,capture:d,once:e,passive:f,hb:h});Oa[a]?(this.o=this.o||{},this.o[a]=this.o[a]||{capture:[],bubble:[]},this.o[a][d?"capture":"bubble"].push(h)):ec.call(this,
a,h,c)}}function fc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ja||this,h=void 0;b.C&&(e=bc(b.C,g,a,d,e,f),-1<e&&(h=b.C.splice(e,1)[0].hb,b.C.length||(b.C=void 0)));gc.call(this,a,h||b,c);h&&Oa[a]&&this.o&&this.o[a]&&(a=this.o[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function kd(){for(var a in Oa)window.addEventListener(a,function(a){a.__target||(dc(a),jd(a))},!0)}function dc(a){a.__target=a.target;a.ua=a.relatedTarget;
if(C.R){var b=hc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.jb=c;za(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else za(a,hc)}function Y(a,b){return{index:a,T:[],X:b}}function ld(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,l=0;l<m-g&&md(a[--h],c[--k]);)l++;h=l}e+=g;f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<
d;)b.T.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),
m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.X++;e++;b.T.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.X++;e++;break;case 3:b||(b=Y(e,0)),b.T.push(c[f]),f++}b&&m.push(b);return m}function md(a,b){return a===b}function ic(a){Wb(a);return a.__shady&&a.__shady.assignedSlot||null}function J(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)}}function nd(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;J(window.Node.prototype,od);J(window.Window.prototype,pd);J(window.Text.prototype,qd);J(window.DocumentFragment.prototype,Pa);J(window.Element.prototype,jc);J(window.Document.prototype,kc);window.HTMLSlotElement&&J(window.HTMLSlotElement.prototype,lc);J(a.prototype,rd);C.R&&(N(window.Node.prototype),N(window.Text.prototype),N(window.DocumentFragment.prototype),
N(window.Element.prototype),N(a.prototype),N(window.Document.prototype),window.HTMLSlotElement&&N(window.HTMLSlotElement.prototype))}function mc(a){var b=sd.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function l(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 Qa(a,b){for(;b&&b!==
a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function L(a,b,c){c=c?c:new Set;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)L(d,b,c);d=Qa(a,e);continue}else if("template"===f){d=Qa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)L(e,b,c)}d=d.firstChild?d.firstChild:Qa(a,d)}}function x(a,
b,c){a[b]=c}function Ra(a){a=a.replace(F.Va,"").replace(F.port,"");var b=nc,c=a,d=new pa;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null,e=new pa;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function nc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-
1),c=td(c),c=c.replace(F.Ca," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.$a)&&(a.type=H.ga,a.keyframesName=a.selector.split(F.Ca).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.sa);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)nc(f,b);return a}function td(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function oc(a,
b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=oc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.xa,"").replace(F.Ba,""),b=b.replace(F.ab,"").replace(F.gb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function pc(a){a&&(v=v&&!a.nativeCss&&!a.shimcssproperties,t=t&&!a.nativeShadow&&!a.shimshadow)}
function T(a,b){if(!a)return"";"string"===typeof a&&(a=Ra(a));b&&U(a,b);return oc(a,v)}function ha(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ra(a.textContent));return a.__cssRules||null}function qc(a){return!!a.parent&&a.parent.type===H.ga}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(ud);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ga?c(a):f===H.sa&&(e=!0);if((a=a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,
b,c,d)}}function Sa(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;rc(e,c,d);return e}function rc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);O?a.compareDocumentPosition(O)===Node.DOCUMENT_POSITION_PRECEDING&&(O=a):O=a}function sc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,
c);a=sc(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function ia(a,b){t?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function P(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,U:c}}function tc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=P(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function vd(a){if(a=ja[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||
0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function uc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function wd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,xd.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function gb(a){requestAnimationFrame(function(){vc?vc(a):(Ta||(Ta=new Promise(function(a){Ua=a}),"complete"===document.readyState?Ua():document.addEventListener("readystatechange",
function(){"complete"===document.readyState&&Ua()})),Ta.then(function(){a&&a()}))})}var C=window.ShadyDOM||{};C.Xa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Va=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.R=!!(Va&&Va.configurable&&Va.get);C.Aa=C.force||!C.Xa;var V=Element.prototype,wc=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector,Ca=document.createTextNode(""),zb=0,Ba=[];(new MutationObserver(function(){for(;Ba.length;)try{Ba.shift()()}catch(a){throw Ca.textContent=
zb++,a;}})).observe(Ca,{characterData:!0});var X=[],Da;fa.list=X;ea.prototype.eb=function(){var a=this;this.a||(this.a=!0,yb(function(){a.b()}))};ea.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Y.forEach(function(b){b(a)})}};ea.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[]};var Yb=Element.prototype.appendChild,
Ka=Element.prototype.insertBefore,S=Element.prototype.removeChild,xc=Element.prototype.setAttribute,yc=Element.prototype.removeAttribute,Wa=Element.prototype.cloneNode,La=Document.prototype.importNode,ec=Element.prototype.addEventListener,gc=Element.prototype.removeEventListener,Xa=Element.prototype.dispatchEvent,yd=Object.freeze({appendChild:Yb,insertBefore:Ka,removeChild:S,setAttribute:xc,removeAttribute:yc,cloneNode:Wa,importNode:La,addEventListener:ec,removeEventListener:gc,dispatchEvent:Xa}),
fd=/[&\u00A0"]/g,id=/[&\u00A0<>]/g,gd=Cb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),hd=Cb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),zd=Object.freeze({parentNode:M,firstChild:xa,lastChild:ya,previousSibling:Db,nextSibling:Eb,childNodes:W,parentElement:Fb,firstElementChild:Gb,lastElementChild:Hb,
previousElementSibling:Ib,nextElementSibling:Jb,children:Kb,innerHTML:Lb,textContent:Mb}),Ya=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ka=document.implementation.createHTMLDocument("inert").createElement("div"),Za=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Nb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==
a?a:Fb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:M(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Eb(this)},configurable:!0},previousSibling:{get:function(){var a=this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Db(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",
a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Jb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ib(this)},configurable:!0}},Fa={childNodes:{get:function(){var a;if(this.__shady&&
void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)this.__shady.childNodes.push(b)}a=this.__shady.childNodes}else a=W(this);a.item=function(b){return a[b]};return a},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:xa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&
this.__shady.lastChild;return void 0!==a?a:ya(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Mb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(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 Gb(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 Hb(this)},configurable:!0},children:{get:function(){var a;this.__shady&&void 0!==this.__shady.firstChild?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===
Node.ELEMENT_NODE}):a=Kb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ea(a):Lb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Ya&&Ya.set?Ya.set.call(ka,a):ka.innerHTML=a;ka.firstChild;)b.appendChild(ka.firstChild)},configurable:!0}},zc={shadowRoot:{get:function(){return this.__shady&&
this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Ga={activeElement:{get:function(){var a;a=Za&&Za.get?Za.get.call(document):C.R?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=R(a);b&&b!==this;)a=b.host,b=R(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},xb=C.R?function(){}:function(a){a.__shady&&
a.__shady.Oa||(a.__shady=a.__shady||{},a.__shady.Oa=!0,I(a,Nb,!0))},wb=C.R?function(){}:function(a){a.__shady&&a.__shady.Ma||(a.__shady=a.__shady||{},a.__shady.Ma=!0,I(a,Fa,!0),I(a,zc,!0))},la=null,Ad={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},hc={get composed(){!1!==this.isTrusted&&void 0===this.ha&&(this.ha=Ad[this.type]);return this.ha||!1},composedPath:function(){this.ta||(this.ta=Ma(this.__target,this.composed));return this.ta},
get target(){return $b(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.ua)return null;this.va||(this.va=Ma(this.ua,!0));return $b(this.currentTarget,this.va)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ia=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ia=this.La=!0}},Oa={focus:!0,blur:!0},Bd=Na(window.Event),Cd=Na(window.CustomEvent),Dd=Na(window.MouseEvent),Ed="function"===typeof Event?Event:function(a,
b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};z.prototype.Wa=function(){return this.root.querySelectorAll("slot")};z.prototype.pa=function(a){return a.localName&&"slot"==a.localName};z.prototype.na=function(){return this.root.oa()?this.g(this.c()):[]};z.prototype.c=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};z.prototype.g=function(a){for(var b=[],c=this.root.la(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,
a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.oa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=M(d))&&S.call(e,d);return b};z.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.wa(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ma!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ma!=a&&(d=!0),this.b(h,a);
if(c){for(h=0;h<c.length;h++)c[h].__shady.ma=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};z.prototype.wa=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ma=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};z.prototype.h=function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};z.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);
a.__shady.assignedSlot=b};z.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.L=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.pa(d)){var e=d.__shady.L;if(e)for(var f=0;f<e.length;f++)a.__shady.L.push(e[f])}else a.__shady.L.push(b[c])};z.prototype.a=function(a){Xa.call(a,new Ed("slotchange"));a.__shady.assignedSlot&&this.a(a.__shady.assignedSlot)};z.prototype.$=function(a){return!a.__shady.assignedSlot};var vb={};n.prototype=Object.create(DocumentFragment.prototype);n.prototype.i=
function(a){this.Na="ShadyRoot";Q(a);Q(this);a.shadowRoot=this;this.host=a;this.ka=this.K=!1;this.s=new z(this);this.update()};n.prototype.update=function(){var a=this;this.K||(this.K=!0,Ab(function(){return a.Ea()}))};n.prototype.h=function(){for(var a=this,b=this;b;)b.K&&(a=b),b=b.Ra();return a};n.prototype.Ra=function(){var a=this.host.getRootNode();if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.s.pa(d))return a};n.prototype.Ea=function(){this.K&&this.h()._render()};
n.prototype._render=function(){this.ka=this.K=!1;this.W||this.f();this.W=!1;this.na();this.j()};n.prototype.na=function(){for(var a=this.s.na(),b=0;b<a.length;b++)a[b]._render()};n.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.s.wa(c);a=this.a=this.s.Wa();for(b=0;b<a.length;b++)c=a[b],c.__shady=c.__shady||{},Q(c),Q(c.parentNode)};n.prototype.j=function(){this.g()};n.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.la(),
b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};n.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.s.pa(d))for(var e=d.__shady.L||(d.__shady.L=[]),f=0;f<e.length;f++){var g=e[f];this.$(d,g)&&b.push(g)}else b.push(d)}return b};n.prototype.$=function(a,b){return this.s.$(a,b)};n.prototype.c=function(a,b){for(var c=W(a),d=ld(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=
0,k;h<g.T.length&&(k=g.T[h]);h++)M(k)===a&&S.call(a,k),c.splice(g.index+f,1);f-=g.X}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.X;h++)k=b[h],Ka.call(a,k,f),c.splice(h,0,k)};n.prototype.oa=function(){return!(!this.a||!this.a.length)};n.prototype.la=function(){this.a||this.f();return this.a};n.prototype.addEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ja=this;this.host.addEventListener(a,b,c)};n.prototype.removeEventListener=function(a,b,c){"object"!==
typeof c&&(c={capture:!!c});c.ja=this;this.host.removeEventListener(a,b,c)};n.prototype.getElementById=function(a){return this.querySelector("#"+a)};(function(a){I(a,Fa,!0);I(a,Ga,!0)})(n.prototype);var pd={addEventListener:cc,removeEventListener:fc},od={addEventListener:cc,removeEventListener:fc,appendChild:function(a){return Xb(this,a)},insertBefore:function(a,b){return Xb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+
a);if(!Pb(a)){var b=E(this)?this.host:this,c=M(a);b===c&&S.call(b,a)}Ia(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Wa.call(this,a);else if(b=Wa.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},getRootNode:function(){return Ja(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&
a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof n?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){fa();return Xa.call(this,a)}},qd={get assignedSlot(){return ic(this)}},Pa={querySelector:function(a){return Ub(this,function(b){return wc.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a){return Ub(this,function(b){return wc.call(b,a)})}},lc={assignedNodes:function(a){if("slot"===this.localName)return Wb(this),
this.__shady?(a&&a.flatten?this.__shady.L:this.__shady.assignedNodes)||[]:[]}},jc=Aa({setAttribute:function(a,b){la||(la=window.ShadyCSS&&window.ShadyCSS.ScopingShim);la&&"class"===a?la.setElementClass(this,b):(xc.call(this,a,b),Tb(this,a))},removeAttribute:function(a){yc.call(this,a);Tb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";if(!a)throw"Not enough arguments.";return new n(vb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},
get assignedSlot(){return ic(this)}},Pa,lc);Object.defineProperties(jc,zc);var kc=Aa({importNode:function(a,b){return Zb(a,b)},getElementById:function(a){return this.querySelector("#"+a)}},Pa);Object.defineProperties(kc,{_activeElement:Ga.activeElement});var Fd=HTMLElement.prototype.blur,rd=Aa({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?a.blur():Fd.call(this)}});C.Aa&&(window.ShadyDOM={inUse:C.Aa,patch:function(a){return a},isShadyRoot:E,enqueue:Ab,flush:fa,settings:C,filterMutations:ed,
observeChildren:cd,unobserveChildren:bd,nativeMethods:yd,nativeTree:zd},window.Event=Bd,window.CustomEvent=Cd,window.MouseEvent=Dd,kd(),nd(),window.ShadowRoot=n);var sd=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));y.prototype.I=function(a,b){this.u.set(a,b);this.l.set(b.constructor,b)};y.prototype.f=function(a){return this.u.get(a)};y.prototype.H=function(a){return this.l.get(a)};y.prototype.v=function(a){this.h=
!0;this.i.push(a)};y.prototype.j=function(a){var b=this;this.h&&L(a,function(a){return b.g(a)})};y.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};y.prototype.b=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):this.A(c)}};y.prototype.a=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};
y.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];L(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<
d.length;a++)this.A(d[a])};y.prototype.A=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,
d,null,e,null)}l(a)&&this.connectedCallback(a)}}};y.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};y.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};y.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)};wa.prototype.c=function(){this.J&&
this.J.disconnect()};wa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};ub.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!mc(a))throw new SyntaxError("The element name '"+
a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=l[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");return b},l=b.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");
f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(Vd){return}finally{this.f=!1}this.a.I(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=!0,this.g(function(){return c.j()}))};w.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=
function(a){if(a=this.a.f(a))return a.constructor};w.prototype.whenDefined=function(a){if(!mc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new ub;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.l=function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.define;w.prototype.get=w.prototype.get;
w.prototype.whenDefined=w.prototype.whenDefined;w.prototype.polyfillWrapFlushCallback=w.prototype.l;var sa=window.Document.prototype.createElement,Xc=window.Document.prototype.createElementNS,Wc=window.Document.prototype.importNode,Yc=window.Document.prototype.prepend,Zc=window.Document.prototype.append,jb=window.Node.prototype.cloneNode,ca=window.Node.prototype.appendChild,rb=window.Node.prototype.insertBefore,ta=window.Node.prototype.removeChild,sb=window.Node.prototype.replaceChild,va=Object.getOwnPropertyDescriptor(window.Node.prototype,
"textContent"),ib=window.Element.prototype.attachShadow,qa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),ua=window.Element.prototype.getAttribute,kb=window.Element.prototype.setAttribute,mb=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,lb=window.Element.prototype.setAttributeNS,nb=window.Element.prototype.removeAttributeNS,pb=window.Element.prototype.insertAdjacentElement,Nc=window.Element.prototype.prepend,Oc=window.Element.prototype.append,
Qc=window.Element.prototype.before,Rc=window.Element.prototype.after,Sc=window.Element.prototype.replaceWith,Tc=window.Element.prototype.remove,ad=window.HTMLElement,ra=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ob=window.HTMLElement.prototype.insertAdjacentElement,tb=new function(){},ma=window.customElements;if(!ma||ma.forcePolyfill||"function"!=typeof ma.define||"function"!=typeof ma.get){var Z=new y;$c(Z);Vc(Z);Uc(Z);Lc(Z);document.__CE_hasRegistry=!0;var Gd=new w(Z);
Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Gd})}var H={STYLE_RULE:1,ga:7,MEDIA_RULE:4,sa:1E3},F={Va:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,xa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ba:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,ab:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,gb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,$a:/^@[^\s]*keyframes/,Ca:/\s+/g},t=!(window.ShadyDOM&&window.ShadyDOM.inUse),v=!navigator.userAgent.match("AppleWebKit/601")&&
window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?pc(window.ShadyCSS):window.WebComponents&&pc(window.WebComponents.flags);var Ac=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Bc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Hd=/(--[\w-]+)\s*([:,;)]|$)/gi,Id=/(animation\s*:)|(animation-name\s*:)/,ud=/@media[^(]*(\([^)]*\))/,Jd=/\{[^}]*\}/g,O=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=
function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.kb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.A=function(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(Kd);c?d&&(b=d.replace("style-scope","").replace(b,""),ia(a,b)):ia(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=
function(a,b,c){var d=a.__cssBuild;t||"shady"===d?b=T(b,c):(a=P(a),b=this.N(b,a.is,a.U,c)+"\n\n");return b.trim()};q.prototype.N=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.P(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?Ld+a:""};q.prototype.f=function(a,b){return b?"[is="+a+"]":a};q.prototype.P=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.w=this.l(a,b,c,d)};q.prototype.l=function(a,b,c,d){var e=
a.selector.split(Cc);if(!qc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Cc)};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Md,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Nd,$a+" $1");return a=a.replace(Od,function(a,g,h){e||(a=d.H(h,g,b,c),e=e||a.stop,g=a.Ua,h=a.value);return g+h})};q.prototype.H=function(a,b,c,d){var e=a.indexOf(ab);0<=a.indexOf($a)?a=this.V(a,d):0!==e&&(a=c?this.u(a,c):a);c=!1;0<=e&&(b="",
c=!0);var f;c&&(f=!0,c&&(a=a.replace(Pd,function(a,b){return" > "+b})));a=a.replace(Qd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Ua:b,stop:f}};q.prototype.u=function(a,b){a=a.split(Dc);a[0]+=b;return a.join(Dc)};q.prototype.V=function(a,b){var c=a.match(Ec);return(c=c&&c[2].trim()||"")?c[0].match(Fc)?a.replace(Ec,function(a,c,f){return b+f}):c.split(Fc)[0]===b?c:Rd:a.replace($a,b)};q.prototype.O=function(a){a.selector=a.parsedSelector;this.v(a);this.j(a,this.I)};
q.prototype.v=function(a){a.selector===Sd&&(a.selector="html")};q.prototype.I=function(a){return a.match(ab)?this.g(a,Gc):this.u(a.trim(),Gc)};fb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Md=/:(nth[-\w]+)\(([^)]+)\)/,Gc=":not(.style-scope)",Cc=",",Od=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Fc=/[[.:#*]/,$a=":host",Sd=":root",ab="::slotted",Nd=new RegExp("^("+ab+")"),Ec=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Pd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,
Qd=/(.*):dir\((?:(ltr|rtl))\)/,Ld=".",Dc=":",Kd="class",Rd="should_not_match",u=new q;r.get=function(a){return a?a.__styleInfo:null};r.set=function(a,b){return a.__styleInfo=b};r.prototype.c=function(){return this.F};r.prototype._getStyleRules=r.prototype.c;var Hc=function(a){return a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Td=navigator.userAgent.match("Trident");p.prototype.P=function(a){var b=this,
c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.O(a.m.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.m){var b={},c={};this.b(a,c)&&(b.D=c,a.rules=null);b.cssText=this.N(a);a.m=b}};p.prototype.b=function(a,b){var c=a.m;if(c){if(c.D)return Object.assign(b,c.D),!0}else{for(var c=a.parsedCssText,d;a=Ac.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.N=function(a){return this.V(a.parsedCssText)};
p.prototype.V=function(a){return a.replace(Jd,"").replace(Ac,"")};p.prototype.O=function(a,b){for(var c;c=Hd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.da=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=a.indexOf(";"))a=this.f(a,b);else{var c=this;a=sc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+
g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Bc.lastIndex=0;if(e=Bc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?d.slice(0,-1):d||""}return a.join(";")};p.prototype.I=function(a,b){var c="";a.m||this.c(a);a.m.cssText&&(c=this.f(a.m.cssText,b));a.cssText=c};p.prototype.H=function(a,b){var c=a.cssText,d=a.cssText;
null==a.za&&(a.za=Id.test(c));if(a.za)if(null==a.aa){a.aa=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.aa.push(e))}else{for(e=0;e<a.aa.length;++e)d=b[a.aa[e]],c=d(c);d=c}a.cssText=d};p.prototype.ca=function(a,b){var c={},d=this,e=[];U(a,function(a){a.m||d.c(a);var f=a.w||a.parsedSelector;b&&a.m.D&&f&&Hc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{D:c,key:e}};p.prototype.fa=function(a,b,c,d){b.m||this.c(b);if(b.m.D){var e=P(a);a=e.is;var e=e.U,e=a?u.f(a,
e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(t&&!b.w&&(b.w=u.l(b,u.g,u.h(a),e)),c=b.w||e),d({fb:c,Za:h,mb:g})}};p.prototype.ba=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.fa(a,b,f,function(f){Hc.call(a.lb||a,f.fb)&&(f.Za?e.b(b,c):e.b(b,d))})},null,!0);return{cb:d,Ya:c}};p.prototype.ea=
function(a,b,c){var d=this,e=P(a),f=u.f(e.is,e.U),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=r.get(a).F,h=this.h(e,c);return u.b(a,e,function(a){d.I(a,b);t||qc(a)||!a.cssText||(d.H(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!t&&a)for(var d=0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,
"g");a.a=a.keyframesName+"-"+b;a.w=a.w||a.selector;a.selector=a.w.replace(a.keyframesName,a.a)};p.prototype.l=function(a,b,c,d){a.w=a.w||a.selector;d="."+d;for(var e=a.w.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.v=function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ia(a,e)};p.prototype.A=function(a,b,c,d){b=d?d.textContent||
"":this.ea(a,b,c);var e=r.get(a),f=e.a;f&&!t&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));t?e.a?(e.a.textContent=b,d=e.a):b&&(d=Sa(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Td&&-1<b.indexOf("@media")&&(d.textContent=b),rc(d,null,e.b)):b&&(d=Sa(b,c,null,e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.u=function(a,b){var c=ha(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.m&&a.m.cssText&&(c=c.replace(F.xa,
"").replace(F.Ba,""),a.cssText=d.f(c,b))})};fb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var K=new p,bb={},na=window.customElements;if(na&&!t){var Ud=na.define;na.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+a+" "),e=document.head;e.insertBefore(d,(O?O.nextSibling:null)||e.firstChild);O=d;bb[a]=d;return Ud.call(na,a,b,c)}}ba.prototype.b=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.D[e]!==
b[e])return!1}return!0};ba.prototype.c=function(a,b,c,d){var e=this.cache[a]||[];e.push({D:b,styleElement:c,B:d});e.length>this.f&&e.shift();this.cache[a]=e};ba.prototype.a=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.b(e,b,c))return e}};if(!t){var Ic=new MutationObserver(tc),Jc=function(a){Ic.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Jc(document);else{var cb=function(){Jc(document.body)};
window.HTMLImports?window.HTMLImports.whenReady(cb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){cb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else cb()})}hb=function(){tc(Ic.takeRecords())}}var ja={},xd=Promise.resolve(),Ta=null,vc=window.HTMLImports&&window.HTMLImports.whenReady||null,Ua,oa=null,aa=null;D.prototype.ya=function(){!this.enqueued&&aa&&(this.enqueued=!0,gb(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||
(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.ya())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;oa&&oa(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=
D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return oa},set:function(a){oa=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=a;b&&this.ya()}}});var Kc=new ba;k.prototype.H=function(){hb()};k.prototype.ba=function(a){var b=this.u[a]=(this.u[a]||0)+1;return a+"-"+b};k.prototype.Ia=function(a){return ha(a)};k.prototype.Ka=function(a){return T(a)};
k.prototype.P=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.da=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ja[b]=a;var d=this.da(a),e=this.P(a);c={is:b,extends:c,ib:d};t||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ra(e);f&&v&&
this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];v||(d=K.P(a._styleAst));if(!d.length||v)b=this.ca(c,a._styleAst,t?a.content:null,bb[b]),a.a=b;a.c=d}};k.prototype.ca=function(a,b,c,d){b=u.b(a,b);if(b.length)return Sa(b,a.is,c,d)};k.prototype.fa=function(a){var b=P(a),c=b.is,b=b.U,d=bb[c],c=ja[c],e,f;c&&(e=c._styleAst,f=c.c);return r.set(a,new r(e,d,f,0,b))};k.prototype.N=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=
vd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.O=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=function(b){a.A(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=
function(){return null},b)}};k.prototype.c=function(){this.N();this.O()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(v?this.Ga(a):(this.v(this.g,this.h),this.I(a)),this.a.enqueued=!1,this.i&&!v&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=P(a).is,d=r.get(a);d||(d=this.fa(a));this.j(a)||(this.i=!0);b&&(d.M=d.M||{},Object.assign(d.M,b));if(v){if(d.M){b=d.M;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=
ja[c])||this.j(a))&&e&&e.a&&!uc(e)){if(uc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.F),wd(e);t&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.F));d.F=e._styleAst}}else this.v(a,d),d.qa&&d.qa.length&&this.V(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?r.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.V=function(a,b){var c=P(a).is,d=Kc.a(c,b.G,
b.qa),e=d?d.styleElement:null,f=b.B;b.B=d&&d.B||this.ba(c);e=K.A(a,b.G,b.B,e);t||K.v(a,b.B,f);d||Kc.c(c,b.G,e,b.B)};k.prototype.v=function(a,b){var c=this.l(a),d=r.get(c),c=Object.create(d.G||null),e=K.ba(a,b.F);a=K.ca(d.F,a).D;Object.assign(c,e.Ya,a,e.cb);this.ea(c,b.M);K.da(c);b.G=c};k.prototype.ea=function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&
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])};k.prototype.Ga=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Fa(c)}};k.prototype.I=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&K.u(c,this.h.G)}};k.prototype.A=function(a){var b=this,c=ha(a);U(c,function(a){t?u.v(a):u.O(a);v&&(b.c(),
b.b.transformRule(a))});v?a.textContent=T(c):this.h.F.rules.push(c)};k.prototype.Fa=function(a){if(v){var b=ha(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;v||(c=(r.get(a)||r.get(this.l(a))).G[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};k.prototype.Ja=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)for(var d=d.split(/\s/),
e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);v||(c=r.get(a))&&c.B&&b.push(K.g,c.B);ia(a,b.join(" "))};k.prototype.Ha=function(a){return r.get(a)};k.prototype.flush=k.prototype.H;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=
k.prototype.Ja;k.prototype._styleInfoForNode=k.prototype.Ha;k.prototype.transformCustomStyleForDocument=k.prototype.A;k.prototype.getStyleAst=k.prototype.Ia;k.prototype.styleAstToString=k.prototype.Ka;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return t}},nativeCss:{get:function(){return v}}});var G=new k,db,eb;window.ShadyCSS&&(db=window.ShadyCSS.ApplyShim,eb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,
b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:v,nativeShadow:t};db&&(window.ShadyCSS.ApplyShim=db);eb&&(window.ShadyCSS.CustomStyleInterface=eb);(function(){function a(){requestAnimationFrame(function(){window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}
function b(){a();c.removeEventListener("readystatechange",b)}var c=window.document;"loading"!==c.readyState?a():c.addEventListener("readystatechange",b)})()})();
d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===g){var h="object"===typeof b&&b.handleEvent?b.handleEvent(d):b.call(g,d);g!==this&&(f?(Object.defineProperty(d,"currentTarget",f),f=null):delete d.currentTarget);return h}};b.C.push({node:this,type:a,capture:d,once:e,passive:f,hb:h});Oa[a]?(this.o=this.o||{},this.o[a]=this.o[a]||{capture:[],bubble:[]},this.o[a][d?"capture":"bubble"].push(h)):(this instanceof
Window?ec:fc).call(this,a,h,c)}}function gc(a,b,c){if(b){var d,e,f;"object"===typeof c?(d=!!c.capture,e=!!c.once,f=!!c.passive):(d=!!c,f=e=!1);var g=c&&c.ja||this,h=void 0;b.C&&(e=bc(b.C,g,a,d,e,f),-1<e&&(h=b.C.splice(e,1)[0].hb,b.C.length||(b.C=void 0)));(this instanceof Window?hc:ic).call(this,a,h||b,c);h&&Oa[a]&&this.o&&this.o[a]&&(a=this.o[a][d?"capture":"bubble"],h=a.indexOf(h),-1<h&&a.splice(h,1))}}function md(){for(var a in Oa)window.addEventListener(a,function(a){a.__target||(dc(a),ld(a))},
!0)}function dc(a){a.__target=a.target;a.ua=a.relatedTarget;if(C.R){var b=jc,c=Object.getPrototypeOf(a);if(!c.hasOwnProperty("__patchProto")){var d=Object.create(c);d.jb=c;za(d,b);c.__patchProto=d}a.__proto__=c.__patchProto}else za(a,jc)}function Y(a,b){return{index:a,T:[],X:b}}function nd(a,b,c,d){var e=0,f=0,g=0,h=0,m=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<m;g++)if(a[g]!==c[g])break a;g=m}if(b==a.length&&d==c.length){for(var h=a.length,k=c.length,l=0;l<m-g&&od(a[--h],c[--k]);)l++;h=l}e+=g;
f+=g;b-=h;d-=h;if(!(b-e||d-f))return[];if(e==b){for(b=Y(e,0);f<d;)b.T.push(c[f++]);return[b]}if(f==d)return[Y(e,b-e)];m=e;g=f;d=d-g+1;h=b-m+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(l=1;l<h;l++)if(a[m+l-1]===c[g+k-1])b[k][l]=b[k-1][l-1];else{var n=b[k-1][l]+1,p=b[k][l-1]+1;b[k][l]=n<p?n:p}m=b.length-1;g=b[0].length-1;d=b[m][g];for(a=[];0<m||0<g;)m?g?(h=b[m-1][g-1],k=b[m-1][g],l=b[m][g-1],n=k<l?k<h?k:h:l<h?l:h,n==h?(h==d?a.push(0):(a.push(1),
d=h),m--,g--):n==k?(a.push(3),m--,d=k):(a.push(2),g--,d=l)):(a.push(3),m--):(a.push(2),g--);a.reverse();b=void 0;m=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(m.push(b),b=void 0);e++;f++;break;case 1:b||(b=Y(e,0));b.X++;e++;b.T.push(c[f]);f++;break;case 2:b||(b=Y(e,0));b.X++;e++;break;case 3:b||(b=Y(e,0)),b.T.push(c[f]),f++}b&&m.push(b);return m}function od(a,b){return a===b}function kc(a){Wb(a);return a.__shady&&a.__shady.assignedSlot||null}function J(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)}}function pd(){var a=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;J(window.Node.prototype,qd);J(window.Window.prototype,rd);J(window.Text.prototype,sd);J(window.DocumentFragment.prototype,Pa);J(window.Element.prototype,lc);J(window.Document.prototype,mc);window.HTMLSlotElement&&J(window.HTMLSlotElement.prototype,nc);J(a.prototype,td);C.R&&(N(window.Node.prototype),
N(window.Text.prototype),N(window.DocumentFragment.prototype),N(window.Element.prototype),N(a.prototype),N(window.Document.prototype),window.HTMLSlotElement&&N(window.HTMLSlotElement.prototype))}function oc(a){var b=ud.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}function l(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 Qa(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}function L(a,b,c){c=c?c:new Set;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)L(d,b,c);d=Qa(a,e);continue}else if("template"===f){d=Qa(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)L(e,
b,c)}d=d.firstChild?d.firstChild:Qa(a,d)}}function x(a,b,c){a[b]=c}function Ra(a){a=a.replace(F.Va,"").replace(F.port,"");var b=pc,c=a,d=new pa;d.start=0;d.end=c.length;for(var e=d,f=0,g=c.length;f<g;f++)if("{"===c[f]){e.rules||(e.rules=[]);var h=e,k=h.rules[h.rules.length-1]||null,e=new pa;e.start=f+1;e.parent=h;e.previous=k;h.rules.push(e)}else"}"===c[f]&&(e.end=f+1,e=e.parent||d);return b(d,a)}function pc(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&((c=
b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=vd(c),c=c.replace(F.Ca," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=!c.indexOf("@"),a.atRule)?c.indexOf("@media")?c.match(F.$a)&&(a.type=H.ga,a.keyframesName=a.selector.split(F.Ca).pop()):a.type=H.MEDIA_RULE:a.type=c.indexOf("--")?H.STYLE_RULE:H.sa);if(c=a.rules)for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)pc(f,b);return a}function vd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(a,c){a=
c;for(c=6-a.length;c--;)a="0"+a;return"\\"+a})}function qc(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h;f<g&&(h=e[f]);f++)d=qc(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(F.xa,"").replace(F.Ba,""),b=b.replace(F.ab,"").replace(F.gb,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}function rc(a){a&&(v=v&&!a.nativeCss&&
!a.shimcssproperties,t=t&&!a.nativeShadow&&!a.shimshadow)}function T(a,b){if(!a)return"";"string"===typeof a&&(a=Ra(a));b&&U(a,b);return qc(a,v)}function ha(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Ra(a.textContent));return a.__cssRules||null}function sc(a){return!!a.parent&&a.parent.type===H.ga}function U(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===H.MEDIA_RULE){var g=a.selector.match(wd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===H.STYLE_RULE?b(a):c&&f===H.ga?c(a):f===H.sa&&(e=!0);if((a=
a.rules)&&!e)for(var e=0,f=a.length,h;e<f&&(h=a[e]);e++)U(h,b,c,d)}}function Sa(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;tc(e,c,d);return e}function tc(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);O?a.compareDocumentPosition(O)===Node.DOCUMENT_POSITION_PRECEDING&&(O=a):O=a}function uc(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d;a:{var e=0;d=c+3;for(var f=a.length;d<f;d++)if("("===a[d])e++;else if(")"===
a[d]&&!--e)break a;d=-1}e=a.substring(c+4,d);c=a.substring(0,c);a=uc(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function ia(a,b){t?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}function P(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,U:c}}function vc(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(),g;g=e;var h=[];g.classList?h=Array.from(g.classList):g instanceof window.SVGElement&&g.hasAttribute("class")&&(h=g.getAttribute("class").split(/\s+/));g=h;h=g.indexOf(u.c);(g=-1<h?g[h+1]:"")&&f===e.ownerDocument?u.a(e,g,!0):f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(f=f.host)&&(f=P(f).is,g!==f&&(g&&u.a(e,g,!0),u.a(e,f)))}}}}function xd(a){if(a=
ja[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function wc(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function yd(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a.b||(a.b=!0,zd.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a.b=!1}))}function gb(a){requestAnimationFrame(function(){xc?xc(a):(Ta||(Ta=new Promise(function(a){Ua=
a}),"complete"===document.readyState?Ua():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Ua()})),Ta.then(function(){a&&a()}))})}var C=window.ShadyDOM||{};C.Xa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Va=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");C.R=!!(Va&&Va.configurable&&Va.get);C.Aa=C.force||!C.Xa;var V=Element.prototype,yc=V.matches||V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||
V.webkitMatchesSelector,Ca=document.createTextNode(""),zb=0,Ba=[];(new MutationObserver(function(){for(;Ba.length;)try{Ba.shift()()}catch(a){throw Ca.textContent=zb++,a;}})).observe(Ca,{characterData:!0});var X=[],Da;fa.list=X;ea.prototype.eb=function(){var a=this;this.a||(this.a=!0,yb(function(){a.b()}))};ea.prototype.b=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.Y.forEach(function(b){b(a)})}};ea.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[]};var Yb=Element.prototype.appendChild,Ka=Element.prototype.insertBefore,S=Element.prototype.removeChild,zc=Element.prototype.setAttribute,Ac=Element.prototype.removeAttribute,Wa=Element.prototype.cloneNode,La=Document.prototype.importNode,fc=Element.prototype.addEventListener,ic=Element.prototype.removeEventListener,ec=Window.prototype.addEventListener,hc=Window.prototype.removeEventListener,
Xa=Element.prototype.dispatchEvent,Ad=Object.freeze({appendChild:Yb,insertBefore:Ka,removeChild:S,setAttribute:zc,removeAttribute:Ac,cloneNode:Wa,importNode:La,addEventListener:fc,removeEventListener:ic,nb:ec,ob:hc,dispatchEvent:Xa}),hd=/[&\u00A0"]/g,kd=/[&\u00A0<>]/g,id=Cb("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),jd=Cb("style script xmp iframe noembed noframes plaintext noscript".split(" ")),A=document.createTreeWalker(document,NodeFilter.SHOW_ALL,
null,!1),B=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Bd=Object.freeze({parentNode:M,firstChild:xa,lastChild:ya,previousSibling:Db,nextSibling:Eb,childNodes:W,parentElement:Fb,firstElementChild:Gb,lastElementChild:Hb,previousElementSibling:Ib,nextElementSibling:Jb,children:Kb,innerHTML:Lb,textContent:Mb}),Ya=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),ka=document.implementation.createHTMLDocument("inert").createElement("div"),
Za=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),Nb={parentElement:{get:function(){var a=this.__shady&&this.__shady.parentNode;a&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:Fb(this)},configurable:!0},parentNode:{get:function(){var a=this.__shady&&this.__shady.parentNode;return void 0!==a?a:M(this)},configurable:!0},nextSibling:{get:function(){var a=this.__shady&&this.__shady.nextSibling;return void 0!==a?a:Eb(this)},configurable:!0},previousSibling:{get:function(){var a=
this.__shady&&this.__shady.previousSibling;return void 0!==a?a:Db(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var a=this.nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Jb(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var a=
this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ib(this)},configurable:!0}},Fa={childNodes:{get:function(){var a;if(this.__shady&&void 0!==this.__shady.firstChild){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var b=this.firstChild;b;b=b.nextSibling)this.__shady.childNodes.push(b)}a=this.__shady.childNodes}else a=W(this);a.item=function(b){return a[b]};return a},configurable:!0},childElementCount:{get:function(){return this.children.length},
configurable:!0},firstChild:{get:function(){var a=this.__shady&&this.__shady.firstChild;return void 0!==a?a:xa(this)},configurable:!0},lastChild:{get:function(){var a=this.__shady&&this.__shady.lastChild;return void 0!==a?a:ya(this)},configurable:!0},textContent:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){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 Mb(this)},set:function(a){if(this.nodeType!==
Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);this.appendChild(document.createTextNode(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 Gb(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 Hb(this)},configurable:!0},children:{get:function(){var a;this.__shady&&void 0!==this.__shady.firstChild?a=Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):a=Kb(this);a.item=function(b){return a[b]};return a},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return this.__shady&&void 0!==this.__shady.firstChild?Ea(a):Lb(a)},set:function(a){for(var b="template"===this.localName?
this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(Ya&&Ya.set?Ya.set.call(ka,a):ka.innerHTML=a;ka.firstChild;)b.appendChild(ka.firstChild)},configurable:!0}},Bc={shadowRoot:{get:function(){return this.__shady&&this.__shady.root||null},set:function(a){this.__shady=this.__shady||{};this.__shady.root=a},configurable:!0}},Ga={activeElement:{get:function(){var a;a=Za&&Za.get?Za.get.call(document):C.R?void 0:document.activeElement;if(a&&a.nodeType){var b=!!E(this);if(this===document||b&&this.host!==
a&&this.host.contains(a)){for(b=R(a);b&&b!==this;)a=b.host,b=R(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},xb=C.R?function(){}:function(a){a.__shady&&a.__shady.Oa||(a.__shady=a.__shady||{},a.__shady.Oa=!0,I(a,Nb,!0))},wb=C.R?function(){}:function(a){a.__shady&&a.__shady.Ma||(a.__shady=a.__shady||{},a.__shady.Ma=!0,I(a,Fa,!0),I(a,Bc,!0))},la=null,Cd={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},jc={get composed(){!1!==this.isTrusted&&void 0===this.ha&&(this.ha=Cd[this.type]);return this.ha||!1},composedPath:function(){this.ta||(this.ta=Ma(this.__target,this.composed));return this.ta},get target(){return $b(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.ua)return null;this.va||(this.va=Ma(this.ua,!0));return $b(this.currentTarget,this.va)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ia=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);
this.ia=this.La=!0}},Oa={focus:!0,blur:!0},Dd=Na(window.Event),Ed=Na(window.CustomEvent),Fd=Na(window.MouseEvent),Gd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};z.prototype.Wa=function(){return this.root.querySelectorAll("slot")};z.prototype.pa=function(a){return a.localName&&"slot"==a.localName};z.prototype.na=function(){return this.root.oa()?this.g(this.c()):[]};z.prototype.c=function(){for(var a=[],
b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};z.prototype.g=function(a){for(var b=[],c=this.root.la(),d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.f(f,a);var g=f.parentNode;(g=g&&g.__shady&&g.__shady.root)&&g.oa()&&b.push(g)}for(c=0;c<a.length;c++)if(d=a[c])d.__shady=d.__shady||{},d.__shady.assignedSlot=void 0,(e=M(d))&&S.call(e,d);return b};z.prototype.f=function(a,b){var c=a.__shady.assignedNodes;c&&this.wa(a,!0);a.__shady.assignedNodes=[];for(var d=!1,e=!1,f=0,g=b.length,h;f<
g;f++)(h=b[f])&&this.h(h,a)&&(h.__shady.ma!=a&&(d=!0),this.b(h,a),b[f]=void 0,e=!0);if(!e)for(b=a.childNodes,e=0;e<b.length;e++)h=b[e],h.__shady.ma!=a&&(d=!0),this.b(h,a);if(c){for(h=0;h<c.length;h++)c[h].__shady.ma=null;a.__shady.assignedNodes.length<c.length&&(d=!0)}this.i(a);d&&this.a(a)};z.prototype.wa=function(a,b){var c=a.__shady.assignedNodes;if(c)for(var d=0;d<c.length;d++){var e=c[d];b&&(e.__shady.ma=e.__shady.assignedSlot);e.__shady.assignedSlot===a&&(e.__shady.assignedSlot=null)}};z.prototype.h=
function(a,b){b=(b=b.getAttribute("name"))?b.trim():"";a=(a=a.getAttribute&&a.getAttribute("slot"))?a.trim():"";return a==b};z.prototype.b=function(a,b){b.__shady.assignedNodes.push(a);a.__shady.assignedSlot=b};z.prototype.i=function(a){var b=a.__shady.assignedNodes;a.__shady.L=[];for(var c=0,d;c<b.length&&(d=b[c]);c++)if(this.pa(d)){var e=d.__shady.L;if(e)for(var f=0;f<e.length;f++)a.__shady.L.push(e[f])}else a.__shady.L.push(b[c])};z.prototype.a=function(a){Xa.call(a,new Gd("slotchange"));a.__shady.assignedSlot&&
this.a(a.__shady.assignedSlot)};z.prototype.$=function(a){return!a.__shady.assignedSlot};var vb={};n.prototype=Object.create(DocumentFragment.prototype);n.prototype.i=function(a){this.Na="ShadyRoot";Q(a);Q(this);a.shadowRoot=this;this.host=a;this.ka=this.K=!1;this.s=new z(this);this.update()};n.prototype.update=function(){var a=this;this.K||(this.K=!0,Ab(function(){return a.Ea()}))};n.prototype.h=function(){for(var a=this,b=this;b;)b.K&&(a=b),b=b.Ra();return a};n.prototype.Ra=function(){var a=this.host.getRootNode();
if(E(a))for(var b=this.host.childNodes,c=0,d;c<b.length;c++)if(d=b[c],this.s.pa(d))return a};n.prototype.Ea=function(){this.K&&this.h()._render()};n.prototype._render=function(){this.ka=this.K=!1;this.W||this.f();this.W=!1;this.na();this.j()};n.prototype.na=function(){for(var a=this.s.na(),b=0;b<a.length;b++)a[b]._render()};n.prototype.f=function(){var a=this.a;if(a)for(var b=0,c;b<a.length;b++)c=a[b],c.getRootNode()!==this&&this.s.wa(c);a=this.a=this.s.Wa();for(b=0;b<a.length;b++)c=a[b],c.__shady=
c.__shady||{},Q(c),Q(c.parentNode)};n.prototype.j=function(){this.g()};n.prototype.g=function(){this.c(this.host,this.b(this.host));for(var a=this.la(),b=0,c=a.length,d,e;b<c&&(d=a[b]);b++)e=d.parentNode,e!==this.host&&e!==this&&this.c(e,this.b(e))};n.prototype.b=function(a){var b=[];a=(a.__shady&&a.__shady.root||a).childNodes;for(var c=0;c<a.length;c++){var d=a[c];if(this.s.pa(d))for(var e=d.__shady.L||(d.__shady.L=[]),f=0;f<e.length;f++){var g=e[f];this.$(d,g)&&b.push(g)}else b.push(d)}return b};
n.prototype.$=function(a,b){return this.s.$(a,b)};n.prototype.c=function(a,b){for(var c=W(a),d=nd(b,b.length,c,c.length),e=0,f=0,g;e<d.length&&(g=d[e]);e++){for(var h=0,k;h<g.T.length&&(k=g.T[h]);h++)M(k)===a&&S.call(a,k),c.splice(g.index+f,1);f-=g.X}for(e=0;e<d.length&&(g=d[e]);e++)for(f=c[g.index],h=g.index;h<g.index+g.X;h++)k=b[h],Ka.call(a,k,f),c.splice(h,0,k)};n.prototype.oa=function(){return!(!this.a||!this.a.length)};n.prototype.la=function(){this.a||this.f();return this.a};n.prototype.addEventListener=
function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ja=this;this.host.addEventListener(a,b,c)};n.prototype.removeEventListener=function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.ja=this;this.host.removeEventListener(a,b,c)};n.prototype.getElementById=function(a){return this.querySelector("#"+a)};(function(a){I(a,Fa,!0);I(a,Ga,!0)})(n.prototype);var rd={addEventListener:cc,removeEventListener:gc},qd={addEventListener:cc,removeEventListener:gc,appendChild:function(a){return Xb(this,a)},insertBefore:function(a,
b){return Xb(this,a,b)},removeChild:function(a){if(a.parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);if(!Pb(a)){var b=E(this)?this.host:this,c=M(a);b===c&&S.call(b,a)}Ia(this,null,a);return a},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return a},cloneNode:function(a){var b;if("template"==this.localName)b=Wa.call(this,a);else if(b=Wa.call(this,!1),a){a=this.childNodes;for(var c=0,d;c<a.length;c++)d=a[c].cloneNode(!0),b.appendChild(d)}return b},
getRootNode:function(){return Ja(this)},get isConnected(){var a=this.ownerDocument;if(a&&a.contains&&a.contains(this)||(a=a.documentElement)&&a.contains&&a.contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.parentNode||(a instanceof n?a.host:void 0);return!!(a&&a instanceof Document)},dispatchEvent:function(a){fa();return Xa.call(this,a)}},sd={get assignedSlot(){return kc(this)}},Pa={querySelector:function(a){return Ub(this,function(b){return yc.call(b,a)},function(a){return!!a})[0]||
null},querySelectorAll:function(a){return Ub(this,function(b){return yc.call(b,a)})}},nc={assignedNodes:function(a){if("slot"===this.localName)return Wb(this),this.__shady?(a&&a.flatten?this.__shady.L:this.__shady.assignedNodes)||[]:[]}},lc=Aa({setAttribute:function(a,b){la||(la=window.ShadyCSS&&window.ShadyCSS.ScopingShim);la&&"class"===a?la.setElementClass(this,b):(zc.call(this,a,b),Tb(this,a))},removeAttribute:function(a){Ac.call(this,a);Tb(this,a)},attachShadow:function(a){if(!this)throw"Must provide a host.";
if(!a)throw"Not enough arguments.";return new n(vb,this)},get slot(){return this.getAttribute("slot")},set slot(a){this.setAttribute("slot",a)},get assignedSlot(){return kc(this)}},Pa,nc);Object.defineProperties(lc,Bc);var mc=Aa({importNode:function(a,b){return Zb(a,b)},getElementById:function(a){return this.querySelector("#"+a)}},Pa);Object.defineProperties(mc,{_activeElement:Ga.activeElement});var Hd=HTMLElement.prototype.blur,td=Aa({blur:function(){var a=this.shadowRoot;(a=a&&a.activeElement)?
a.blur():Hd.call(this)}});C.Aa&&(window.ShadyDOM={inUse:C.Aa,patch:function(a){return a},isShadyRoot:E,enqueue:Ab,flush:fa,settings:C,filterMutations:gd,observeChildren:ed,unobserveChildren:dd,nativeMethods:Ad,nativeTree:Bd},window.Event=Dd,window.CustomEvent=Ed,window.MouseEvent=Fd,md(),pd(),window.ShadowRoot=n);var ud=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));y.prototype.I=function(a,b){this.u.set(a,b);
this.l.set(b.constructor,b)};y.prototype.f=function(a){return this.u.get(a)};y.prototype.H=function(a){return this.l.get(a)};y.prototype.v=function(a){this.h=!0;this.i.push(a)};y.prototype.j=function(a){var b=this;this.h&&L(a,function(a){return b.g(a)})};y.prototype.g=function(a){if(this.h&&!a.__CE_patched){a.__CE_patched=!0;for(var b=0;b<this.i.length;b++)this.i[b](a)}};y.prototype.b=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state?this.connectedCallback(c):
this.A(c)}};y.prototype.a=function(a){var b=[];L(a,function(a){return b.push(a)});for(a=0;a<b.length;a++){var c=b[a];1===c.__CE_state&&this.disconnectedCallback(c)}};y.prototype.c=function(a,b){b=b?b:new Set;var c=this,d=[];L(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var e=a.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):a.addEventListener("load",function(){var d=a.import;d.__CE_documentLoadHandled||(d.__CE_documentLoadHandled=
!0,d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0,b.delete(d),c.c(d,b))})}else d.push(a)},b);if(this.h)for(a=0;a<d.length;a++)this.g(d[a]);for(a=0;a<d.length;a++)this.A(d[a])};y.prototype.A=function(a){if(void 0===a.__CE_state){var b=this.f(a.localName);if(b){b.constructionStack.push(a);var c=b.constructor;try{try{if(new c!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{b.constructionStack.pop()}}catch(f){throw a.__CE_state=2,f;}a.__CE_state=
1;a.__CE_definition=b;if(b.attributeChangedCallback)for(b=b.observedAttributes,c=0;c<b.length;c++){var d=b[c],e=a.getAttribute(d);null!==e&&this.attributeChangedCallback(a,d,null,e,null)}l(a)&&this.connectedCallback(a)}}};y.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a)};y.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a)};y.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)};wa.prototype.c=function(){this.J&&this.J.disconnect()};wa.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||this.c();for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)this.b.c(c[d])};ub.prototype.c=function(){if(this.a)throw Error("Already resolved.");this.a=void 0;this.b&&this.b(void 0)};w.prototype.define=
function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!oc(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.f(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.f)throw Error("A custom element is already being defined.");this.f=!0;var d,e,f,g,h;try{var k=function(a){var b=l[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},l=b.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=k("connectedCallback");e=k("disconnectedCallback");f=k("adoptedCallback");g=k("attributeChangedCallback");h=b.observedAttributes||[]}catch(Xd){return}finally{this.f=!1}this.a.I(a,{localName:a,constructor:b,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:g,observedAttributes:h,constructionStack:[]});this.c.push(a);this.b||(this.b=
!0,this.g(function(){return c.j()}))};w.prototype.j=function(){if(!1!==this.b)for(this.b=!1,this.a.c(document);0<this.c.length;){var a=this.c.shift();(a=this.h.get(a))&&a.c()}};w.prototype.get=function(a){if(a=this.a.f(a))return a.constructor};w.prototype.whenDefined=function(a){if(!oc(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.h.get(a);if(b)return b.f;b=new ub;this.h.set(a,b);this.a.f(a)&&-1===this.c.indexOf(a)&&b.c();return b.f};w.prototype.l=
function(a){this.i.c();var b=this.g;this.g=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.define;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.whenDefined;w.prototype.polyfillWrapFlushCallback=w.prototype.l;var sa=window.Document.prototype.createElement,Zc=window.Document.prototype.createElementNS,Yc=window.Document.prototype.importNode,$c=window.Document.prototype.prepend,ad=window.Document.prototype.append,jb=window.Node.prototype.cloneNode,
ca=window.Node.prototype.appendChild,rb=window.Node.prototype.insertBefore,ta=window.Node.prototype.removeChild,sb=window.Node.prototype.replaceChild,va=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ib=window.Element.prototype.attachShadow,qa=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),ua=window.Element.prototype.getAttribute,kb=window.Element.prototype.setAttribute,mb=window.Element.prototype.removeAttribute,da=window.Element.prototype.getAttributeNS,
lb=window.Element.prototype.setAttributeNS,nb=window.Element.prototype.removeAttributeNS,pb=window.Element.prototype.insertAdjacentElement,Pc=window.Element.prototype.prepend,Qc=window.Element.prototype.append,Sc=window.Element.prototype.before,Tc=window.Element.prototype.after,Uc=window.Element.prototype.replaceWith,Vc=window.Element.prototype.remove,cd=window.HTMLElement,ra=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ob=window.HTMLElement.prototype.insertAdjacentElement,
tb=new function(){},ma=window.customElements;if(!ma||ma.forcePolyfill||"function"!=typeof ma.define||"function"!=typeof ma.get){var Z=new y;bd(Z);Xc(Z);Wc(Z);Nc(Z);document.__CE_hasRegistry=!0;var Id=new w(Z);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Id})}var H={STYLE_RULE:1,ga:7,MEDIA_RULE:4,sa:1E3},F={Va:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,xa:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Ba:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,
ab:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,gb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,$a:/^@[^\s]*keyframes/,Ca:/\s+/g},t=!(window.ShadyDOM&&window.ShadyDOM.inUse),v=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)");window.ShadyCSS?rc(window.ShadyCSS):window.WebComponents&&rc(window.WebComponents.flags);var Cc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,Dc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,
Jd=/(--[\w-]+)\s*([:,;)]|$)/gi,Kd=/(animation\s*:)|(animation-name\s*:)/,wd=/@media[^(]*(\([^)]*\))/,Ld=/\{[^}]*\}/g,O=null;q.prototype.a=function(a,b,c){a.__styleScoped?a.__styleScoped=null:this.i(a,b||"",c)};q.prototype.i=function(a,b,c){a.nodeType===Node.ELEMENT_NODE&&this.A(a,b,c);if(a="template"===a.localName?(a.content||a.kb).childNodes:a.children||a.childNodes)for(var d=0;d<a.length;d++)this.i(a[d],b,c)};q.prototype.A=function(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(Md);c?d&&(b=d.replace("style-scope","").replace(b,""),ia(a,b)):ia(a,(d?d+" ":"")+"style-scope "+b)}};q.prototype.b=function(a,b,c){var d=a.__cssBuild;t||"shady"===d?b=T(b,c):(a=P(a),b=this.N(b,a.is,a.U,c)+"\n\n");return b.trim()};q.prototype.N=function(a,b,c,d){var e=this.f(b,c);b=this.h(b);var f=this;return T(a,function(a){a.c||(f.P(a,b,e),a.c=!0);d&&d(a,b,e)})};q.prototype.h=function(a){return a?
Nd+a:""};q.prototype.f=function(a,b){return b?"[is="+a+"]":a};q.prototype.P=function(a,b,c){this.j(a,this.g,b,c)};q.prototype.j=function(a,b,c,d){a.selector=a.w=this.l(a,b,c,d)};q.prototype.l=function(a,b,c,d){var e=a.selector.split(Ec);if(!sc(a)){a=0;for(var f=e.length,g;a<f&&(g=e[a]);a++)e[a]=b.call(this,g,c,d)}return e.join(Ec)};q.prototype.g=function(a,b,c){var d=this,e=!1;a=a.trim();a=a.replace(Od,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"});a=a.replace(Pd,$a+" $1");return a=a.replace(Qd,
function(a,g,h){e||(a=d.H(h,g,b,c),e=e||a.stop,g=a.Ua,h=a.value);return g+h})};q.prototype.H=function(a,b,c,d){var e=a.indexOf(ab);0<=a.indexOf($a)?a=this.V(a,d):0!==e&&(a=c?this.u(a,c):a);c=!1;0<=e&&(b="",c=!0);var f;c&&(f=!0,c&&(a=a.replace(Rd,function(a,b){return" > "+b})));a=a.replace(Sd,function(a,b,c){return'[dir="'+c+'"] '+b+", "+b+'[dir="'+c+'"]'});return{value:a,Ua:b,stop:f}};q.prototype.u=function(a,b){a=a.split(Fc);a[0]+=b;return a.join(Fc)};q.prototype.V=function(a,b){var c=a.match(Gc);
return(c=c&&c[2].trim()||"")?c[0].match(Hc)?a.replace(Gc,function(a,c,f){return b+f}):c.split(Hc)[0]===b?c:Td:a.replace($a,b)};q.prototype.O=function(a){a.selector=a.parsedSelector;this.v(a);this.j(a,this.I)};q.prototype.v=function(a){a.selector===Ud&&(a.selector="html")};q.prototype.I=function(a){return a.match(ab)?this.g(a,Ic):this.u(a.trim(),Ic)};fb.Object.defineProperties(q.prototype,{c:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Od=/:(nth[-\w]+)\(([^)]+)\)/,Ic=":not(.style-scope)",
Ec=",",Qd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,Hc=/[[.:#*]/,$a=":host",Ud=":root",ab="::slotted",Pd=new RegExp("^("+ab+")"),Gc=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Rd=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Sd=/(.*):dir\((?:(ltr|rtl))\)/,Nd=".",Fc=":",Md="class",Td="should_not_match",u=new q;r.get=function(a){return a?a.__styleInfo:null};r.set=function(a,b){return a.__styleInfo=b};r.prototype.c=function(){return this.F};r.prototype._getStyleRules=r.prototype.c;var Jc=function(a){return a.matches||
a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}(window.Element.prototype),Vd=navigator.userAgent.match("Trident");p.prototype.P=function(a){var b=this,c={},d=[],e=0;U(a,function(a){b.c(a);a.index=e++;b.O(a.m.cssText,c)},function(a){d.push(a)});a.b=d;a=[];for(var f in c)a.push(f);return a};p.prototype.c=function(a){if(!a.m){var b={},c={};this.b(a,c)&&(b.D=c,a.rules=null);b.cssText=this.N(a);a.m=b}};p.prototype.b=function(a,b){var c=a.m;if(c){if(c.D)return Object.assign(b,
c.D),!0}else{for(var c=a.parsedCssText,d;a=Cc.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}};p.prototype.N=function(a){return this.V(a.parsedCssText)};p.prototype.V=function(a){return a.replace(Ld,"").replace(Cc,"")};p.prototype.O=function(a,b){for(var c;c=Jd.exec(a);){var d=c[1];":"!==c[2]&&(b[d]=!0)}};p.prototype.da=function(a){for(var b=Object.getOwnPropertyNames(a),c=0,d;c<b.length;c++)d=b[c],a[d]=this.a(a[d],a)};p.prototype.a=function(a,b){if(a)if(0<=
a.indexOf(";"))a=this.f(a,b);else{var c=this;a=uc(a,function(a,e,f,g){if(!e)return a+g;(e=c.a(b[e],b))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=c.a(b[f]||f,b)||f;return a+(e||"")+g})}return a&&a.trim()||""};p.prototype.f=function(a,b){a=a.split(";");for(var c=0,d,e;c<a.length;c++)if(d=a[c]){Dc.lastIndex=0;if(e=Dc.exec(d))d=this.a(b[e[1]],b);else if(e=d.indexOf(":"),-1!==e){var f=d.substring(e),f=f.trim(),f=this.a(f,b)||f;d=d.substring(0,e)+f}a[c]=d&&d.lastIndexOf(";")===d.length-1?
d.slice(0,-1):d||""}return a.join(";")};p.prototype.I=function(a,b){var c="";a.m||this.c(a);a.m.cssText&&(c=this.f(a.m.cssText,b));a.cssText=c};p.prototype.H=function(a,b){var c=a.cssText,d=a.cssText;null==a.za&&(a.za=Kd.test(c));if(a.za)if(null==a.aa){a.aa=[];for(var e in b)d=b[e],d=d(c),c!==d&&(c=d,a.aa.push(e))}else{for(e=0;e<a.aa.length;++e)d=b[a.aa[e]],c=d(c);d=c}a.cssText=d};p.prototype.ca=function(a,b){var c={},d=this,e=[];U(a,function(a){a.m||d.c(a);var f=a.w||a.parsedSelector;b&&a.m.D&&f&&
Jc.call(b,f)&&(d.b(a,c),a=a.index,f=parseInt(a/32,10),e[f]=(e[f]||0)|1<<a%32)},null,!0);return{D:c,key:e}};p.prototype.fa=function(a,b,c,d){b.m||this.c(b);if(b.m.D){var e=P(a);a=e.is;var e=e.U,e=a?u.f(a,e):"html",f=b.parsedSelector,g=":host > *"===f||"html"===f,h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));"shadow"===c&&(g=":host > *"===f||"html"===f,h=h&&!g);if(g||h)c=e,h&&(t&&!b.w&&(b.w=u.l(b,u.g,u.h(a),e)),c=b.w||e),d({fb:c,Za:h,mb:g})}};
p.prototype.ba=function(a,b){var c={},d={},e=this,f=b&&b.__cssBuild;U(b,function(b){e.fa(a,b,f,function(f){Jc.call(a.lb||a,f.fb)&&(f.Za?e.b(b,c):e.b(b,d))})},null,!0);return{cb:d,Ya:c}};p.prototype.ea=function(a,b,c){var d=this,e=P(a),f=u.f(e.is,e.U),g=new RegExp("(?:^|[^.#[:])"+(a.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),e=r.get(a).F,h=this.h(e,c);return u.b(a,e,function(a){d.I(a,b);t||sc(a)||!a.cssText||(d.H(a,h),d.l(a,g,f,c))})};p.prototype.h=function(a,b){a=a.b;var c={};if(!t&&a)for(var d=
0,e=a[d];d<a.length;e=a[++d])this.j(e,b),c[e.keyframesName]=this.i(e);return c};p.prototype.i=function(a){return function(b){return b.replace(a.f,a.a)}};p.prototype.j=function(a,b){a.f=new RegExp(a.keyframesName,"g");a.a=a.keyframesName+"-"+b;a.w=a.w||a.selector;a.selector=a.w.replace(a.keyframesName,a.a)};p.prototype.l=function(a,b,c,d){a.w=a.w||a.selector;d="."+d;for(var e=a.w.split(","),f=0,g=e.length,h;f<g&&(h=e[f]);f++)e[f]=h.match(b)?h.replace(c,d):d+" "+h;a.selector=e.join(",")};p.prototype.v=
function(a,b,c){var d=a.getAttribute("class")||"",e=d;c&&(e=d.replace(new RegExp("\\s*x-scope\\s*"+c+"\\s*","g")," "));e+=(e?" ":"")+"x-scope "+b;d!==e&&ia(a,e)};p.prototype.A=function(a,b,c,d){b=d?d.textContent||"":this.ea(a,b,c);var e=r.get(a),f=e.a;f&&!t&&f!==d&&(f._useCount--,0>=f._useCount&&f.parentNode&&f.parentNode.removeChild(f));t?e.a?(e.a.textContent=b,d=e.a):b&&(d=Sa(b,c,a.shadowRoot,e.b)):d?d.parentNode||(Vd&&-1<b.indexOf("@media")&&(d.textContent=b),tc(d,null,e.b)):b&&(d=Sa(b,c,null,
e.b));d&&(d._useCount=d._useCount||0,e.a!=d&&d._useCount++,e.a=d);return d};p.prototype.u=function(a,b){var c=ha(a),d=this;a.textContent=T(c,function(a){var c=a.cssText=a.parsedCssText;a.m&&a.m.cssText&&(c=c.replace(F.xa,"").replace(F.Ba,""),a.cssText=d.f(c,b))})};fb.Object.defineProperties(p.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var K=new p,bb={},na=window.customElements;if(na&&!t){var Wd=na.define;na.define=function(a,b,c){var d=document.createComment(" Shady DOM styles for "+
a+" "),e=document.head;e.insertBefore(d,(O?O.nextSibling:null)||e.firstChild);O=d;bb[a]=d;return Wd.call(na,a,b,c)}}ba.prototype.a=function(a,b,c){for(var d=0;d<c.length;d++){var e=c[d];if(a.D[e]!==b[e])return!1}return!0};ba.prototype.b=function(a,b,c,d){var e=this.cache[a]||[];e.push({D:b,styleElement:c,B:d});e.length>this.c&&e.shift();this.cache[a]=e};ba.prototype.fetch=function(a,b,c){if(a=this.cache[a])for(var d=a.length-1;0<=d;d--){var e=a[d];if(this.a(e,b,c))return e}};if(!t){var Kc=new MutationObserver(vc),
Lc=function(a){Kc.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Lc(document);else{var cb=function(){Lc(document.body)};window.HTMLImports?window.HTMLImports.whenReady(cb):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){cb();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",a)}else cb()})}hb=function(){vc(Kc.takeRecords())}}var ja={},zd=Promise.resolve(),
Ta=null,xc=window.HTMLImports&&window.HTMLImports.whenReady||null,Ua,oa=null,aa=null;D.prototype.ya=function(){!this.enqueued&&aa&&(this.enqueued=!0,gb(aa))};D.prototype.b=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),this.ya())};D.prototype.a=function(a){return a.__shadyCSSCachedStyle?a.__shadyCSSCachedStyle:a.getStyle?a.getStyle():a};D.prototype.c=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.a(c);
if(d){var e=d.__appliedElement;if(e)for(var f=0;f<d.attributes.length;f++){var g=d.attributes[f];e.setAttribute(g.name,g.value)}d=e||d;oa&&oa(d);c.__shadyCSSCachedStyle=d}}}return a};D.prototype.addCustomStyle=D.prototype.b;D.prototype.getStyleForCustomStyle=D.prototype.a;D.prototype.processStyles=D.prototype.c;Object.defineProperties(D.prototype,{transformCallback:{get:function(){return oa},set:function(a){oa=a}},validateCallback:{get:function(){return aa},set:function(a){var b=!1;aa||(b=!0);aa=
a;b&&this.ya()}}});var Mc=new ba;k.prototype.H=function(){hb()};k.prototype.ba=function(a){var b=this.u[a]=(this.u[a]||0)+1;return a+"-"+b};k.prototype.Ia=function(a){return ha(a)};k.prototype.Ka=function(a){return T(a)};k.prototype.P=function(a){a=a.content.querySelectorAll("style");for(var b=[],c=0;c<a.length;c++){var d=a[c];b.push(d.textContent);d.parentNode.removeChild(d)}return b.join("").trim()};k.prototype.da=function(a){return(a=a.content.querySelector("style"))?a.getAttribute("css-build")||
"":""};k.prototype.prepareTemplate=function(a,b,c){if(!a.f){a.f=!0;a.name=b;a.extends=c;ja[b]=a;var d=this.da(a),e=this.P(a);c={is:b,extends:c,ib:d};t||u.a(a.content,b);this.c();var f=this.b.detectMixin(e),e=Ra(e);f&&v&&this.b.transformRules(e,b);a._styleAst=e;a.g=d;d=[];v||(d=K.P(a._styleAst));if(!d.length||v)b=this.ca(c,a._styleAst,t?a.content:null,bb[b]),a.a=b;a.c=d}};k.prototype.ca=function(a,b,c,d){b=u.b(a,b);if(b.length)return Sa(b,a.is,c,d)};k.prototype.fa=function(a){var b=P(a),c=b.is,b=b.U,
d=bb[c],c=ja[c],e,f;c&&(e=c._styleAst,f=c.c);return r.set(a,new r(e,d,f,0,b))};k.prototype.N=function(){if(!this.b)if(window.ShadyCSS&&window.ShadyCSS.ApplyShim)this.b=window.ShadyCSS.ApplyShim,this.b.invalidCallback=xd;else{var a={};this.b=(a.detectMixin=function(){return!1},a.transformRule=function(){},a.transformRules=function(){},a)}};k.prototype.O=function(){var a=this;if(!this.a)if(window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)this.a=window.ShadyCSS.CustomStyleInterface,this.a.transformCallback=
function(b){a.A(b)},this.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.i)&&a.f()})};else{var b={};this.a=(b.processStyles=function(){},b.enqueued=!1,b.getStyleForCustomStyle=function(){return null},b)}};k.prototype.c=function(){this.N();this.O()};k.prototype.f=function(){this.c();var a=this.a.processStyles();this.a.enqueued&&(v?this.Ga(a):(this.v(this.g,this.h),this.I(a)),this.a.enqueued=!1,this.i&&!v&&this.styleDocument())};k.prototype.styleElement=function(a,b){var c=
P(a).is,d=r.get(a);d||(d=this.fa(a));this.j(a)||(this.i=!0);b&&(d.M=d.M||{},Object.assign(d.M,b));if(v){if(d.M){b=d.M;for(var e in b)null===e?a.style.removeProperty(e):a.style.setProperty(e,b[e])}if(((e=ja[c])||this.j(a))&&e&&e.a&&!wc(e)){if(wc(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)this.c(),this.b.transformRules(e._styleAst,c),e.a.textContent=u.b(a,d.F),yd(e);t&&(c=a.shadowRoot)&&(c.querySelector("style").textContent=u.b(a,d.F));d.F=e._styleAst}}else this.v(a,d),d.qa&&d.qa.length&&
this.V(a,d)};k.prototype.l=function(a){return(a=a.getRootNode().host)?r.get(a)?a:this.l(a):this.g};k.prototype.j=function(a){return a===this.g};k.prototype.V=function(a,b){var c=P(a).is,d=Mc.fetch(c,b.G,b.qa),e=d?d.styleElement:null,f=b.B;b.B=d&&d.B||this.ba(c);e=K.A(a,b.G,b.B,e);t||K.v(a,b.B,f);d||Mc.b(c,b.G,e,b.B)};k.prototype.v=function(a,b){var c=this.l(a),d=r.get(c),c=Object.create(d.G||null),e=K.ba(a,b.F);a=K.ca(d.F,a).D;Object.assign(c,e.Ya,a,e.cb);this.ea(c,b.M);K.da(c);b.G=c};k.prototype.ea=
function(a,b){for(var c in b){var d=b[c];if(d||0===d)a[c]=d}};k.prototype.styleDocument=function(a){this.styleSubtree(this.g,a)};k.prototype.styleSubtree=function(a,b){var c=a.shadowRoot;(c||this.j(a))&&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])};k.prototype.Ga=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&this.Fa(c)}};
k.prototype.I=function(a){for(var b=0;b<a.length;b++){var c=this.a.getStyleForCustomStyle(a[b]);c&&K.u(c,this.h.G)}};k.prototype.A=function(a){var b=this,c=ha(a);U(c,function(a){t?u.v(a):u.O(a);v&&(b.c(),b.b.transformRule(a))});v?a.textContent=T(c):this.h.F.rules.push(c)};k.prototype.Fa=function(a){if(v){var b=ha(a);this.c();this.b.transformRules(b);a.textContent=T(b)}};k.prototype.getComputedStyleValue=function(a,b){var c;v||(c=(r.get(a)||r.get(this.l(a))).G[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?
c.trim():""};k.prototype.Ja=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)for(var d=d.split(/\s/),e=0;e<d.length;e++)if(d[e]===u.c){c=d[e+1];break}}c&&b.push(u.c,c);v||(c=r.get(a))&&c.B&&b.push(K.g,c.B);ia(a,b.join(" "))};k.prototype.Ha=function(a){return r.get(a)};k.prototype.flush=k.prototype.H;k.prototype.prepareTemplate=k.prototype.prepareTemplate;k.prototype.styleElement=k.prototype.styleElement;k.prototype.styleDocument=
k.prototype.styleDocument;k.prototype.styleSubtree=k.prototype.styleSubtree;k.prototype.getComputedStyleValue=k.prototype.getComputedStyleValue;k.prototype.setElementClass=k.prototype.Ja;k.prototype._styleInfoForNode=k.prototype.Ha;k.prototype.transformCustomStyleForDocument=k.prototype.A;k.prototype.getStyleAst=k.prototype.Ia;k.prototype.styleAstToString=k.prototype.Ka;k.prototype.flushCustomStyles=k.prototype.f;Object.defineProperties(k.prototype,{nativeShadow:{get:function(){return t}},nativeCss:{get:function(){return v}}});
var G=new k,db,eb;window.ShadyCSS&&(db=window.ShadyCSS.ApplyShim,eb=window.ShadyCSS.CustomStyleInterface);window.ShadyCSS={ScopingShim:G,prepareTemplate:function(a,b,c){G.f();G.prepareTemplate(a,b,c)},styleSubtree:function(a,b){G.f();G.styleSubtree(a,b)},styleElement:function(a){G.f();G.styleElement(a)},styleDocument:function(a){G.f();G.styleDocument(a)},getComputedStyleValue:function(a,b){return G.getComputedStyleValue(a,b)},nativeCss:v,nativeShadow:t};db&&(window.ShadyCSS.ApplyShim=db);eb&&(window.ShadyCSS.CustomStyleInterface=
eb);(function(){function a(){requestAnimationFrame(function(){window.document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}function b(){a();c.removeEventListener("readystatechange",b)}var c=window.document;"loading"!==c.readyState?a():c.addEventListener("readystatechange",b)})()})();
}).call(self)
//# sourceMappingURL=webcomponents-sd-ce.js.map

File diff suppressed because one or more lines are too long