/**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
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
*/
(function(){/*

 Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
 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 q,r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,da="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};function ea(){ea=function(){};r.Symbol||(r.Symbol=ha)}var ha=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
function ia(){ea();var a=r.Symbol.iterator;a||(a=r.Symbol.iterator=r.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&da(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ja(this)}});ia=function(){}}function ja(a){var b=0;return ka(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function ka(a){ia();a={next:a};a[r.Symbol.iterator]=function(){return this};return a}function la(a){ia();var b=a[Symbol.iterator];return b?b.call(a):ja(a)}
function ma(a){if(!(a instanceof Array)){a=la(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}var oa;if("function"==typeof Object.setPrototypeOf)oa=Object.setPrototypeOf;else{var pa;a:{var qa={Ga:!0},ra={};try{ra.__proto__=qa;pa=ra.Ga;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var sa=oa;function ta(){this.f=!1;this.b=null;this.U=void 0;this.a=1;this.F=0;this.c=null}
function ua(a){if(a.f)throw new TypeError("Generator is already running");a.f=!0}ta.prototype.B=function(a){this.U=a};function va(a,b){a.c={Ja:b,Na:!0};a.a=a.F}ta.prototype.return=function(a){this.c={return:a};this.a=this.F};function wa(a,b){a.a=3;return{value:b}}function xa(a){this.a=new ta;this.b=a}function ya(a,b){ua(a.a);var c=a.a.b;if(c)return za(a,"return"in c?c["return"]:function(a){return{value:a,done:!0}},b,a.a.return);a.a.return(b);return Aa(a)}
function za(a,b,c,d){try{var e=b.call(a.a.b,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.a.f=!1,e;var f=e.value}catch(g){return a.a.b=null,va(a.a,g),Aa(a)}a.a.b=null;d.call(a.a,f);return Aa(a)}function Aa(a){for(;a.a.a;)try{var b=a.b(a.a);if(b)return a.a.f=!1,{value:b.value,done:!1}}catch(c){a.a.U=void 0,va(a.a,c)}a.a.f=!1;if(a.a.c){b=a.a.c;a.a.c=null;if(b.Na)throw b.Ja;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function Ba(a){this.next=function(b){ua(a.a);a.a.b?b=za(a,a.a.b.next,b,a.a.B):(a.a.B(b),b=Aa(a));return b};this.throw=function(b){ua(a.a);a.a.b?b=za(a,a.a.b["throw"],b,a.a.B):(va(a.a,b),b=Aa(a));return b};this.return=function(b){return ya(a,b)};ia();this[Symbol.iterator]=function(){return this}}function Da(a,b){b=new Ba(new xa(b));sa&&sa(b,a.prototype);return b}Array.from||(Array.from=function(a){return[].slice.call(a)});
Object.assign||(Object.assign=function(a){for(var b=[].slice.call(arguments,1),c=0,d;c<b.length;c++)if(d=b[c])for(var e=a,f=d,g=Object.getOwnPropertyNames(f),h=0;h<g.length;h++)d=g[h],e[d]=f[d];return 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.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.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.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(var e in b)window.MouseEvent[e]=b[e];window.MouseEvent.prototype=b.prototype}})();(function(){function a(){}function b(a,b){if(!a.childNodes.length)return[];switch(a.nodeType){case Node.DOCUMENT_NODE:return fa.call(a,b);case Node.DOCUMENT_FRAGMENT_NODE:return aa.call(a,b);default:return v.call(a,b)}}var c="undefined"===typeof HTMLTemplateElement,d=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),e=!1;/Trident/.test(navigator.userAgent)&&function(){function a(a,b){if(a instanceof DocumentFragment)for(var d;d=a.firstChild;)c.call(this,d,b);else c.call(this,
a,b);return a}e=!0;var b=Node.prototype.cloneNode;Node.prototype.cloneNode=function(a){a=b.call(this,a);this instanceof DocumentFragment&&(a.__proto__=DocumentFragment.prototype);return a};DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll;DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector;Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},
configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var c=Node.prototype.insertBefore;Node.prototype.insertBefore=a;var d=Node.prototype.appendChild;Node.prototype.appendChild=function(b){b instanceof DocumentFragment?a.call(this,b,null):d.call(this,b);return b};var f=Node.prototype.removeChild,g=Node.prototype.replaceChild;Node.prototype.replaceChild=function(b,c){b instanceof DocumentFragment?(a.call(this,b,c),f.call(this,c)):g.call(this,b,c);return c};Document.prototype.createDocumentFragment=
function(){var a=this.createElement("df");a.__proto__=DocumentFragment.prototype;return a};var h=Document.prototype.importNode;Document.prototype.importNode=function(a,b){b=h.call(this,a,b||!1);a instanceof DocumentFragment&&(b.__proto__=DocumentFragment.prototype);return b}}();var f=Node.prototype.cloneNode,g=Document.prototype.createElement,h=Document.prototype.importNode,k=Node.prototype.removeChild,l=Node.prototype.appendChild,n=Node.prototype.replaceChild,x=DOMParser.prototype.parseFromString,
S=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(a){this.innerHTML=a}},F=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},v=Element.prototype.querySelectorAll,fa=Document.prototype.querySelectorAll,aa=DocumentFragment.prototype.querySelectorAll,T=function(){if(!c){var a=document.createElement("template"),b=document.createElement("template");b.content.appendChild(document.createElement("div"));
a.content.appendChild(b);a=a.cloneNode(!0);return 0===a.content.childNodes.length||0===a.content.firstChild.content.childNodes.length||d}}();if(c){var A=document.implementation.createHTMLDocument("template"),W=!0,p=document.createElement("style");p.textContent="template{display:none;}";var Ca=document.head;Ca.insertBefore(p,Ca.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var Cb=!document.createElement("div").hasOwnProperty("innerHTML");a.S=function(b){if(!b.content&&b.namespaceURI===
document.documentElement.namespaceURI){b.content=A.createDocumentFragment();for(var c;c=b.firstChild;)l.call(b.content,c);if(Cb)b.__proto__=a.prototype;else if(b.cloneNode=function(b){return a.b(this,b)},W)try{m(b),y(b)}catch(Gf){W=!1}a.a(b.content)}};var Db={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},m=function(b){Object.defineProperty(b,"innerHTML",{get:function(){return w(this)},set:function(b){var c=Db[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(b)||
["",""])[1].toLowerCase()];if(c)for(var d=0;d<c.length;d++)b="<"+c[d]+">"+b+"</"+c[d]+">";A.body.innerHTML=b;for(a.a(A);this.content.firstChild;)k.call(this.content,this.content.firstChild);b=A.body;if(c)for(d=0;d<c.length;d++)b=b.lastChild;for(;b.firstChild;)l.call(this.content,b.firstChild)},configurable:!0})},y=function(a){Object.defineProperty(a,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(a){if(this.parentNode){A.body.innerHTML=a;for(a=this.ownerDocument.createDocumentFragment();A.body.firstChild;)l.call(a,
A.body.firstChild);n.call(this.parentNode,a,this)}else throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");},configurable:!0})};m(a.prototype);y(a.prototype);a.a=function(c){c=b(c,"template");for(var d=0,e=c.length,f;d<e&&(f=c[d]);d++)a.S(f)};document.addEventListener("DOMContentLoaded",function(){a.a(document)});Document.prototype.createElement=function(){var b=g.apply(this,arguments);"template"===b.localName&&a.S(b);return b};DOMParser.prototype.parseFromString=
function(){var b=x.apply(this,arguments);a.a(b);return b};Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return w(this)},set:function(b){S.set.call(this,b);a.a(this)},configurable:!0,enumerable:!0});var na=/[&\u00A0"]/g,Eb=/[&\u00A0<>]/g,Na=function(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}};p=function(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b};var C=p("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),
Fb=p("style script xmp iframe noembed noframes plaintext noscript".split(" ")),w=function(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):F.get.call(a),e=0,f=d.length,g;e<f&&(g=d[e]);e++){a:{var h=g;var k=a;var l=b;switch(h.nodeType){case Node.ELEMENT_NODE:for(var n=h.localName,m="<"+n,v=h.attributes,cd=0;k=v[cd];cd++)m+=" "+k.name+'="'+k.value.replace(na,Na)+'"';m+=">";h=C[n]?m:m+w(h,l)+"</"+n+">";break a;case Node.TEXT_NODE:h=h.data;h=k&&Fb[k.localName]?h:h.replace(Eb,Na);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}}if(c||T){a.b=function(a,b){var c=f.call(a,!1);this.S&&this.S(c);b&&(l.call(c.content,f.call(a.content,!0)),ba(c.content,a.content));return c};var ba=function(c,d){if(d.querySelectorAll&&(d=b(d,"template"),0!==d.length)){c=b(c,"template");for(var e=0,f=c.length,g,h;e<f;e++)h=d[e],g=c[e],a&&a.S&&a.S(h),n.call(g.parentNode,ca.call(h,!0),g)}},ca=Node.prototype.cloneNode=
function(b){if(!e&&d&&this instanceof DocumentFragment)if(b)var c=Gb.call(this.ownerDocument,this,!0);else return this.ownerDocument.createDocumentFragment();else this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?c=a.b(this,b):c=f.call(this,b);b&&ba(c,this);return c},Gb=Document.prototype.importNode=function(c,d){d=d||!1;if("template"===c.localName)return a.b(c,d);var e=h.call(this,c,d);if(d){ba(e,c);c=b(e,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');
for(var f,k=0;k<c.length;k++){f=c[k];d=g.call(document,"script");d.textContent=f.textContent;for(var l=f.attributes,m=0,v;m<l.length;m++)v=l[m],d.setAttribute(v.name,v.value);n.call(f.parentNode,d,f)}}return e}}c&&(window.HTMLTemplateElement=a)})();var Ea=setTimeout;function Fa(){}function Ga(a,b){return function(){a.apply(b,arguments)}}function t(a){if(!(this instanceof t))throw new TypeError("Promises must be constructed via new");if("function"!==typeof a)throw new TypeError("not a function");this.I=0;this.oa=!1;this.v=void 0;this.V=[];Ha(a,this)}
function Ia(a,b){for(;3===a.I;)a=a.v;0===a.I?a.V.push(b):(a.oa=!0,Ja(function(){var c=1===a.I?b.Pa:b.Qa;if(null===c)(1===a.I?Ka:La)(b.ma,a.v);else{try{var d=c(a.v)}catch(e){La(b.ma,e);return}Ka(b.ma,d)}}))}function Ka(a,b){try{if(b===a)throw new TypeError("A promise cannot be resolved with itself.");if(b&&("object"===typeof b||"function"===typeof b)){var c=b.then;if(b instanceof t){a.I=3;a.v=b;Ma(a);return}if("function"===typeof c){Ha(Ga(c,b),a);return}}a.I=1;a.v=b;Ma(a)}catch(d){La(a,d)}}
function La(a,b){a.I=2;a.v=b;Ma(a)}function Ma(a){2===a.I&&0===a.V.length&&Ja(function(){a.oa||"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",a.v)});for(var b=0,c=a.V.length;b<c;b++)Ia(a,a.V[b]);a.V=null}function Oa(a,b,c){this.Pa="function"===typeof a?a:null;this.Qa="function"===typeof b?b:null;this.ma=c}function Ha(a,b){var c=!1;try{a(function(a){c||(c=!0,Ka(b,a))},function(a){c||(c=!0,La(b,a))})}catch(d){c||(c=!0,La(b,d))}}
t.prototype["catch"]=function(a){return this.then(null,a)};t.prototype.then=function(a,b){var c=new this.constructor(Fa);Ia(this,new Oa(a,b,c));return c};t.prototype["finally"]=function(a){var b=this.constructor;return this.then(function(c){return b.resolve(a()).then(function(){return c})},function(c){return b.resolve(a()).then(function(){return b.reject(c)})})};
function Pa(a){return new t(function(b,c){function d(a,g){try{if(g&&("object"===typeof g||"function"===typeof g)){var h=g.then;if("function"===typeof h){h.call(g,function(b){d(a,b)},c);return}}e[a]=g;0===--f&&b(e)}catch(n){c(n)}}if(!a||"undefined"===typeof a.length)throw new TypeError("Promise.all accepts an array");var e=Array.prototype.slice.call(a);if(0===e.length)return b([]);for(var f=e.length,g=0;g<e.length;g++)d(g,e[g])})}
function Qa(a){return a&&"object"===typeof a&&a.constructor===t?a:new t(function(b){b(a)})}function Ra(a){return new t(function(b,c){c(a)})}function Sa(a){return new t(function(b,c){for(var d=0,e=a.length;d<e;d++)a[d].then(b,c)})}var Ja="function"===typeof setImmediate&&function(a){setImmediate(a)}||function(a){Ea(a,0)};/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
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
*/
if(!window.Promise){window.Promise=t;t.prototype.then=t.prototype.then;t.all=Pa;t.race=Sa;t.resolve=Qa;t.reject=Ra;var Ta=document.createTextNode(""),Ua=[];(new MutationObserver(function(){for(var a=Ua.length,b=0;b<a;b++)Ua[b]();Ua.splice(0,a)})).observe(Ta,{characterData:!0});Ja=function(a){Ua.push(a);Ta.textContent=0<Ta.textContent.length?"":"a"}};(function(a,b,c){function d(a){return v(a).filter(a===A?e(a):l).map(g)}function e(a){return function(b){return W.call(a,T)&&W.call(a[T],"@@"+b)}}function f(a,b,c){var d=""+b;if(l(d)){b=bd;if(c.enumerable){var e=na(c);e.enumerable=!1}else e=c;b(a,d,e);F(a,d,!!c.enumerable)}else C(a,b,c);return a}function g(a){return ca[a]}function h(b){var c={enumerable:!1,configurable:!0,get:x,set:function(a){bd(this,b,{enumerable:!1,configurable:!0,writable:!0,value:a});F(this,b,!0)}};try{C(A,b,c)}catch(dd){A[b]=
c.value}return Na(ca[b]=C(a(b),"constructor",Gb))}function k(a){var b=""+a;return l(b)?W.call(this,b)&&this[T]["@@"+b]:p.call(this,a)}function l(a){return a!=T&&W.call(ca,a)}function n(a){return a!=T&&!W.call(ca,a)}function x(){}function S(a,b){var c=na(a);v(b).forEach(function(a){k.call(b,a)&&f(c,a,b[a])});return c}function F(a,b,c){if(!W.call(a,T))try{C(a,T,{enumerable:!1,configurable:!1,writable:!1,value:{}})}catch(Dh){a[T]={}}a[T]["@@"+b]=c}function v(a){if("[object Window]"===Ca.call(a))try{return m(a)}catch(Gf){return Cb.call([],
Db)}return m(a)}var fa=0,aa=""+Math.random(),T="__\u0001symbol@@"+aa,A=a.prototype,W=A.hasOwnProperty,p=A.propertyIsEnumerable,Ca=A.toString,Cb=Array.prototype.concat,Db="object"===typeof window?a.getOwnPropertyNames(window):[],m=a.getOwnPropertyNames,y=a.getOwnPropertyDescriptor,na=a.create,Eb=a.keys,Na=a.freeze||a,C=a.defineProperty,Fb=a.defineProperties,w=y(a,"getOwnPropertyNames"),ba=function dd(a){if(this instanceof dd)throw new TypeError("Symbol is not a constructor");return h("__\u0001symbol:".concat(a||
"",aa,++fa))},ca=na(null),Gb={value:ba};w.value=f;C(a,"defineProperty",w);w.value=d;C(a,b,w);w.value=function(a){return v(a).filter(n)};C(a,"getOwnPropertyNames",w);w.value=function(a,b){var c=d(b);c.length?Eb(b).concat(c).forEach(function(c){k.call(b,c)&&f(a,c,b[c])}):Fb(a,b);return a};C(a,"defineProperties",w);w.value=k;C(A,"propertyIsEnumerable",w);w.value=ba;C(c,"Symbol",w);w.value=function(a){a="__\u0001symbol:".concat("__\u0001symbol:",a,aa);return a in A?ca[a]:h(a)};C(ba,"for",w);w.value=function(a){if(n(a))throw new TypeError(a+
" is not a symbol");return W.call(ca,a)?a.slice(20,-aa.length):void 0};C(ba,"keyFor",w);w.value=function(a,b){var c=y(a,b);c&&l(b)&&(c.enumerable=k.call(a,b));return c};C(a,"getOwnPropertyDescriptor",w);w.value=function(a,b){return 1===arguments.length||"undefined"===typeof b?na(a):S(a,b)};C(a,"create",w);w.value=function(){var a=Ca.call(this);return"[object String]"===a&&l(this)?"[object Symbol]":a};C(A,"toString",w);var bd=function(a,b,c){var d=y(A,b);delete A[b];C(a,b,c);a!==A&&C(A,b,d)}})(Object,
"getOwnPropertySymbols",this);Object.defineProperty(Symbol,"iterator",{value:Symbol("iterator")});/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
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
*/
var Va=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":Va.call(this)};Object.keys=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return(b=Object.getOwnPropertyDescriptor(a,b))&&b.enumerable})};var Wa=window.Symbol.iterator;
String.prototype[Wa]&&String.prototype.codePointAt||(String.prototype[Wa]=function Xa(){var b,c=this;return Da(Xa,function(d){1==d.a&&(b=0);if(3!=d.a)return b<c.length?d=wa(d,c[b]):(d.a=0,d=void 0),d;b++;d.a=2})});Set.prototype[Wa]||(Set.prototype[Wa]=function Ya(){var b,c=this,d;return Da(Ya,function(e){1==e.a&&(b=[],c.forEach(function(c){b.push(c)}),d=0);if(3!=e.a)return d<b.length?e=wa(e,b[d]):(e.a=0,e=void 0),e;d++;e.a=2})});
Map.prototype[Wa]||(Map.prototype[Wa]=function Za(){var b,c=this,d;return Da(Za,function(e){1==e.a&&(b=[],c.forEach(function(c,d){b.push([d,c])}),d=0);if(3!=e.a)return d<b.length?e=wa(e,b[d]):(e.a=0,e=void 0),e;d++;e.a=2})});/*

 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
 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
*/
window.WebComponents=window.WebComponents||{flags:{}};var $a=document.querySelector('script[src*="webcomponents-bundle"]'),ab=/wc-(.+)/,u={};if(!u.noOpts){location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var b;a[0]&&(b=a[0].match(ab))&&(u[b[1]]=a[1]||!0)});if($a)for(var bb=0,cb=void 0;cb=$a.attributes[bb];bb++)"src"!==cb.name&&(u[cb.name]=cb.value||!0);if(u.log&&u.log.split){var db=u.log.split(",");u.log={};db.forEach(function(a){u.log[a]=!0})}else u.log={}}
window.WebComponents.flags=u;var eb=u.shadydom;eb&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=eb);var fb=u.register||u.ce;fb&&window.customElements&&(window.customElements.forcePolyfill=fb);/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
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
*/
function gb(){}gb.prototype.toJSON=function(){return{}};function z(a){a.__shady||(a.__shady=new gb);return a.__shady}function B(a){return a&&a.__shady};var D=window.ShadyDOM||{};D.La=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var hb=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");D.D=!!(hb&&hb.configurable&&hb.get);D.ka=D.force||!D.La;D.M=D.noPatch||!1;D.va=D.preferPerformance;var ib=navigator.userAgent.match("Trident");D.ya=ib;function jb(a){return(a=B(a))&&void 0!==a.firstChild}function E(a){return"ShadyRoot"===a.Da}function kb(a){return(a=(a=B(a))&&a.root)&&lb(a)}
var mb=Element.prototype,nb=mb.matches||mb.matchesSelector||mb.mozMatchesSelector||mb.msMatchesSelector||mb.oMatchesSelector||mb.webkitMatchesSelector,ob=document.createTextNode(""),pb=0,qb=[];(new MutationObserver(function(){for(;qb.length;)try{qb.shift()()}catch(a){throw ob.textContent=pb++,a;}})).observe(ob,{characterData:!0});function rb(a){qb.push(a);ob.textContent=pb++}var sb=!!document.contains;function tb(a,b){for(;b;){if(b==a)return!0;b=b.__shady_parentNode}return!1}
function ub(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(b){return a[b]};a.namedItem=function(b){if("length"!==b&&isNaN(b)&&a[b])return a[b];for(var c=la(a),d=c.next();!d.done;d=c.next())if(d=d.value,(d.getAttribute("id")||d.getAttribute("name"))==b)return d;return null};return a}function vb(a){var b=[];for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)b.push(a);return b}
function wb(a){var b=[];for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)b.push(a);return b}function G(a,b,c,d){c=void 0===c?"":c;for(var e in b){var f=b[e];if(!(d&&0<=d.indexOf(e))){f.configurable=!0;var g=c+e;if(f.value)a[g]=f.value;else try{Object.defineProperty(a,g,f)}catch(h){}}}}function H(a){var b={};Object.getOwnPropertyNames(a).forEach(function(c){b[c]=Object.getOwnPropertyDescriptor(a,c)});return b};var xb=[],yb;function zb(a){yb||(yb=!0,rb(Ab));xb.push(a)}function Ab(){yb=!1;for(var a=!!xb.length;xb.length;)xb.shift()();return a}Ab.list=xb;function Bb(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.ba=new Set}function Hb(a){a.a||(a.a=!0,rb(function(){a.flush()}))}Bb.prototype.flush=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.ba.forEach(function(b){b(a)})}};Bb.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};
function Ib(a,b){var c=z(a);c.W||(c.W=new Bb);c.W.ba.add(b);var d=c.W;return{Ca:b,P:d,Ea:a,takeRecords:function(){return d.takeRecords()}}}function Jb(a){var b=a&&a.P;b&&(b.ba.delete(a.Ca),b.ba.size||(z(a.Ea).W=null))}
function Kb(a,b){var c=b.getRootNode();return a.map(function(a){var b=c===a.target.getRootNode();if(b&&a.addedNodes){if(b=Array.from(a.addedNodes).filter(function(a){return c===a.getRootNode()}),b.length)return a=Object.create(a),Object.defineProperty(a,"addedNodes",{value:b,configurable:!0}),a}else if(b)return a}).filter(function(a){return a})};var Lb=/[&\u00A0"]/g,Mb=/[&\u00A0<>]/g;function Nb(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Ob(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var Pb=Ob("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Qb=Ob("style script xmp iframe noembed noframes plaintext noscript".split(" "));
function Rb(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g=void 0;e<f&&(g=d[e]);e++){a:{var h=g;var k=a,l=b;switch(h.nodeType){case Node.ELEMENT_NODE:k=h.localName;for(var n="<"+k,x=h.attributes,S=0,F;F=x[S];S++)n+=" "+F.name+'="'+F.value.replace(Lb,Nb)+'"';n+=">";h=Pb[k]?n:n+Rb(h,l)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=k&&Qb[k.localName]?h:h.replace(Mb,Nb);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};var Sb=D.D,Tb={querySelector:function(a){return this.__shady_native_querySelector(a)},querySelectorAll:function(a){return this.__shady_native_querySelectorAll(a)}},Ub={};function Vb(a){Ub[a]=function(b){return b["__shady_native_"+a]}}function Wb(a,b){G(a,b,"__shady_native_");for(var c in b)Vb(c)}function I(a,b){b=void 0===b?[]:b;for(var c=0;c<b.length;c++){var d=b[c],e=Object.getOwnPropertyDescriptor(a,d);e&&(Object.defineProperty(a,"__shady_native_"+d,e),e.value?Tb[d]||(Tb[d]=e.value):Vb(d))}}
var J=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),K=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Xb=document.implementation.createHTMLDocument("inert");function Yb(a){for(var b;b=a.__shady_native_firstChild;)a.__shady_native_removeChild(b)}var Zb=["firstElementChild","lastElementChild","children","childElementCount"],$b=["querySelector","querySelectorAll"];
function ac(){var a=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?I(window.EventTarget.prototype,a):(I(Node.prototype,a),I(Window.prototype,a));Sb?I(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Wb(Node.prototype,{parentNode:{get:function(){J.currentNode=this;return J.parentNode()}},firstChild:{get:function(){J.currentNode=this;return J.firstChild()}},lastChild:{get:function(){J.currentNode=
this;return J.lastChild()}},previousSibling:{get:function(){J.currentNode=this;return J.previousSibling()}},nextSibling:{get:function(){J.currentNode=this;return J.nextSibling()}},childNodes:{get:function(){var a=[];J.currentNode=this;for(var c=J.firstChild();c;)a.push(c),c=J.nextSibling();return a}},parentElement:{get:function(){K.currentNode=this;return K.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var a=document.createTreeWalker(this,
NodeFilter.SHOW_TEXT,null,!1),c="",d;d=a.nextNode();)c+=d.nodeValue;return c;default:return this.nodeValue}},set:function(a){if("undefined"===typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Yb(this);(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(a),void 0);break;default:this.nodeValue=a}}}});I(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" "));
I(HTMLElement.prototype,["parentElement","contains"]);a={firstElementChild:{get:function(){K.currentNode=this;return K.firstChild()}},lastElementChild:{get:function(){K.currentNode=this;return K.lastChild()}},children:{get:function(){var a=[];K.currentNode=this;for(var c=K.firstChild();c;)a.push(c),c=K.nextSibling();return ub(a)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};Sb?(I(Element.prototype,Zb),I(Element.prototype,["previousElementSibling","nextElementSibling",
"innerHTML","className"]),I(HTMLElement.prototype,["children","innerHTML","className"])):(Wb(Element.prototype,a),Wb(Element.prototype,{previousElementSibling:{get:function(){K.currentNode=this;return K.previousSibling()}},nextElementSibling:{get:function(){K.currentNode=this;return K.nextSibling()}},innerHTML:{get:function(){return Rb(this,vb)},set:function(a){var b="template"===this.localName?this.content:this;Yb(b);var d=this.localName||"div";d=this.namespaceURI&&this.namespaceURI!==Xb.namespaceURI?
Xb.createElementNS(this.namespaceURI,d):Xb.createElement(d);d.innerHTML=a;for(a="template"===this.localName?d.content:d;d=a.__shady_native_firstChild;)b.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(a){this.setAttribute("class",a)}}}));I(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" "));I(Element.prototype,$b);I(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
I(window.HTMLTemplateElement.prototype,["innerHTML"]);Sb?I(DocumentFragment.prototype,Zb):Wb(DocumentFragment.prototype,a);I(DocumentFragment.prototype,$b);Sb?(I(Document.prototype,Zb),I(Document.prototype,["activeElement"])):Wb(Document.prototype,a);I(Document.prototype,["importNode","getElementById"]);I(Document.prototype,$b)};var bc=H({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),cc=H({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=
a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){return this.__shady_innerHTML=a}}),dc=H({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},
set className(a){return this.__shady_className=a}});function ec(a){for(var b in a){var c=a[b];c&&(c.enumerable=!1)}}ec(bc);ec(cc);ec(dc);var fc=D.D||D.M,gc=fc?function(){}:function(a){var b=z(a);b.Aa||(b.Aa=!0,G(a,dc))},hc=fc?function(){}:function(a){var b=z(a);b.za||(b.za=!0,G(a,bc),window.customElements&&!D.M||G(a,cc))};var ic="__eventWrappers"+Date.now(),jc=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),kc=function(){function a(){}var b=!1,c={get capture(){b=!0;return!1}};window.addEventListener("test",a,c);window.removeEventListener("test",a,c);return b}();function lc(a){if(a&&"object"===typeof a){var b=!!a.capture;var c=!!a.once;var d=!!a.passive;var e=a.O}else b=!!a,d=c=!1;return{wa:e,capture:b,once:c,passive:d,ua:kc?a:b}}
var mc={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},nc={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function oc(a){return a instanceof Node?a.__shady_getRootNode():a}
function pc(a,b){var c=[],d=a;for(a=oc(a);d;)c.push(d),d.__shady_assignedSlot?d=d.__shady_assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d=d.host:d=d.__shady_parentNode;c[c.length-1]===document&&c.push(window);return c}function qc(a){a.__composedPath||(a.__composedPath=pc(a.target,!0));return a.__composedPath}function rc(a,b){if(!E)return a;a=pc(a,!0);for(var c=0,d,e=void 0,f,g=void 0;c<b.length;c++)if(d=b[c],f=oc(d),f!==e&&(g=a.indexOf(f),e=f),!E(f)||-1<g)return d}
function sc(a){function b(b,d){b=new a(b,d);b.__composed=d&&!!d.composed;return b}b.__proto__=a;b.prototype=a.prototype;return b}var tc={focus:!0,blur:!0};function uc(a){return a.__target!==a.target||a.__relatedTarget!==a.relatedTarget}function vc(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!uc(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.__immediatePropagationStopped);d++);}
function wc(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];vc(a,d,"capture");if(a.ga)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=B(d);f=f&&f.root;if(0===c||f&&f===e)if(vc(a,d,"bubble"),d!==window&&(e=d.__shady_getRootNode()),a.ga)break}}
function xc(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],k=h.type,l=h.capture,n=h.once,x=h.passive;if(b===h.node&&c===k&&d===l&&e===n&&f===x)return g}return-1}function yc(a){Ab();return this.__shady_native_dispatchEvent(a)}
function zc(a,b,c){var d=lc(c),e=d.capture,f=d.once,g=d.passive,h=d.wa;d=d.ua;if(b){var k=typeof b;if("function"===k||"object"===k)if("object"!==k||b.handleEvent&&"function"===typeof b.handleEvent){if(nc[a])return this.__shady_native_addEventListener(a,b,d);var l=h||this;if(h=b[ic]){if(-1<xc(h,l,a,e,f,g))return}else b[ic]=[];h=function(d){f&&this.__shady_removeEventListener(a,b,c);d.__target||Ac(d);if(l!==this){var e=Object.getOwnPropertyDescriptor(d,"currentTarget");Object.defineProperty(d,"currentTarget",
{get:function(){return l},configurable:!0})}d.__previousCurrentTarget=d.currentTarget;if(!E(l)&&"slot"!==l.localName||-1!=d.composedPath().indexOf(l))if(d.composed||-1<d.composedPath().indexOf(l))if(uc(d)&&d.target===d.relatedTarget)d.eventPhase===Event.BUBBLING_PHASE&&d.stopImmediatePropagation();else if(d.eventPhase===Event.CAPTURING_PHASE||d.bubbles||d.target===l||l instanceof Window){var g="function"===k?b.call(l,d):b.handleEvent&&b.handleEvent(d);l!==this&&(e?(Object.defineProperty(d,"currentTarget",
e),e=null):delete d.currentTarget);return g}};b[ic].push({node:l,type:a,capture:e,once:f,passive:g,$a:h});tc[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][e?"capture":"bubble"].push(h)):this.__shady_native_addEventListener(a,h,d)}}}
function Bc(a,b,c){if(b){var d=lc(c);c=d.capture;var e=d.once,f=d.passive,g=d.wa;d=d.ua;if(nc[a])return this.__shady_native_removeEventListener(a,b,d);var h=g||this;g=void 0;var k=null;try{k=b[ic]}catch(l){}k&&(e=xc(k,h,a,c,e,f),-1<e&&(g=k.splice(e,1)[0].$a,k.length||(b[ic]=void 0)));this.__shady_native_removeEventListener(a,g||b,d);g&&tc[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][c?"capture":"bubble"],b=a.indexOf(g),-1<b&&a.splice(b,1))}}
function Cc(){for(var a in tc)window.__shady_native_addEventListener(a,function(a){a.__target||(Ac(a),wc(a))},!0)}
var Dc=H({get composed(){void 0===this.__composed&&(jc?this.__composed="focusin"===this.type||"focusout"===this.type||jc(this):!1!==this.isTrusted&&(this.__composed=mc[this.type]));return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=pc(this.__target,this.composed));return this.__composedPath},get target(){return rc(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||
(this.__relatedTargetComposedPath=pc(this.__relatedTarget,!0));return rc(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ga=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ga=this.__immediatePropagationStopped=!0}});
function Ac(a){a.__target=a.target;a.__relatedTarget=a.relatedTarget;if(D.D){var b=Object.getPrototypeOf(a);if(!Object.hasOwnProperty(b,"__shady_patchedProto")){var c=Object.create(b);c.__shady_sourceProto=b;G(c,Dc);b.__shady_patchedProto=c}a.__proto__=b.__shady_patchedProto}else G(a,Dc)}var Ec=sc(Event),Fc=sc(CustomEvent),Gc=sc(MouseEvent);
function Hc(){if(!jc&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var a=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(a)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}}var Ic=Object.getOwnPropertyNames(Document.prototype).filter(function(a){return"on"===a.substring(0,2)});function Jc(a,b){return{index:a,X:[],aa:b}}
function Kc(a,b,c,d){var e=0,f=0,g=0,h=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<k;g++)if(a[g]!==c[g])break a;g=k}if(b==a.length&&d==c.length){h=a.length;for(var l=c.length,n=0;n<k-g&&Lc(a[--h],c[--l]);)n++;h=n}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=Jc(e,0);f<d;)b.X.push(c[f++]);return[b]}if(f==d)return[Jc(e,b-e)];k=e;g=f;d=d-g+1;h=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(h),b[l][0]=l;for(l=0;l<h;l++)b[0][l]=l;for(l=1;l<d;l++)for(n=1;n<h;n++)if(a[k+n-1]===c[g+l-1])b[l][n]=
b[l-1][n-1];else{var x=b[l-1][n]+1,S=b[l][n-1]+1;b[l][n]=x<S?x:S}k=b.length-1;g=b[0].length-1;d=b[k][g];for(a=[];0<k||0<g;)0==k?(a.push(2),g--):0==g?(a.push(3),k--):(h=b[k-1][g-1],l=b[k-1][g],n=b[k][g-1],x=l<n?l<h?l:h:n<h?n:h,x==h?(h==d?a.push(0):(a.push(1),d=h),k--,g--):x==l?(a.push(3),k--,d=l):(a.push(2),g--,d=n));a.reverse();b=void 0;k=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=Jc(e,0));b.aa++;e++;b.X.push(c[f]);f++;break;case 2:b||(b=Jc(e,
0));b.aa++;e++;break;case 3:b||(b=Jc(e,0)),b.X.push(c[f]),f++}b&&k.push(b);return k}function Lc(a,b){return a===b};function Mc(a,b,c,d){gc(a);d=d||null;var e=z(a),f=d?z(d):null;e.previousSibling=d?f.previousSibling:b.__shady_lastChild;if(f=B(e.previousSibling))f.nextSibling=a;if(f=B(e.nextSibling=d))f.previousSibling=a;e.parentNode=b;d?d===c.firstChild&&(c.firstChild=a):(c.lastChild=a,c.firstChild||(c.firstChild=a));c.childNodes=null}
function Nc(a,b,c){hc(b);var d=z(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)Mc(a,b,d,c);else Mc(a,b,d,c)}
function Oc(a,b){var c=z(a);b=z(b);a===b.firstChild&&(b.firstChild=c.nextSibling);a===b.lastChild&&(b.lastChild=c.previousSibling);a=c.previousSibling;var d=c.nextSibling;a&&(z(a).nextSibling=d);d&&(z(d).previousSibling=a);c.parentNode=c.previousSibling=c.nextSibling=void 0;void 0!==b.childNodes&&(b.childNodes=null)}
function Pc(a,b){var c=z(a);if(b||void 0===c.firstChild){c.childNodes=null;var d=c.firstChild=a.__shady_native_firstChild;c.lastChild=a.__shady_native_lastChild;hc(a);c=d;for(d=void 0;c;c=c.__shady_native_nextSibling){var e=z(c);e.parentNode=b||a;e.nextSibling=c.__shady_native_nextSibling;e.previousSibling=d||null;d=c;gc(c)}}};var Qc=null;function Rc(){Qc||(Qc=window.ShadyCSS&&window.ShadyCSS.ScopingShim);return Qc||null}function Sc(a,b,c){var d=Rc();return d&&"class"===b?(d.setElementClass(a,c),!0):!1}function Tc(a,b){var c=Rc();c&&c.unscopeNode(a,b)}function Uc(a,b){var c=Rc();if(!c)return!0;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){c=!0;for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)c=c&&Uc(a,b);return c}return a.nodeType!==Node.ELEMENT_NODE?!0:c.currentScopeForNode(a)===b}
function Vc(a){if(a.nodeType!==Node.ELEMENT_NODE)return"";var b=Rc();return b?b.currentScopeForNode(a):""}function Wc(a,b){if(a)for(a.nodeType===Node.ELEMENT_NODE&&b(a),a=a.__shady_firstChild;a;a=a.__shady_nextSibling)a.nodeType===Node.ELEMENT_NODE&&Wc(a,b)};var Xc=window.document,Yc=D.va,Zc=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),$c=Zc&&Zc.get;function ad(a){for(var b;b=a.__shady_firstChild;)a.__shady_removeChild(b)}function ed(a){var b=B(a);if(b&&void 0!==b.da)for(b=a.__shady_firstChild;b;b=b.__shady_nextSibling)ed(b);if(a=B(a))a.da=void 0}function fd(a){var b=a;a&&"slot"===a.localName&&(b=(b=(b=B(a))&&b.T)&&b.length?b[0]:fd(a.__shady_nextSibling));return b}
function gd(a,b,c){if(a=(a=B(a))&&a.W)b&&(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?a.addedNodes.push.apply(a.addedNodes,ma(b.childNodes)):a.addedNodes.push(b)),c&&a.removedNodes.push(c),Hb(a)}
var ld=H({get parentNode(){var a=B(this);a=a&&a.parentNode;return void 0!==a?a:this.__shady_native_parentNode},get firstChild(){var a=B(this);a=a&&a.firstChild;return void 0!==a?a:this.__shady_native_firstChild},get lastChild(){var a=B(this);a=a&&a.lastChild;return void 0!==a?a:this.__shady_native_lastChild},get nextSibling(){var a=B(this);a=a&&a.nextSibling;return void 0!==a?a:this.__shady_native_nextSibling},get previousSibling(){var a=B(this);a=a&&a.previousSibling;return void 0!==a?a:this.__shady_native_previousSibling},
get childNodes(){if(jb(this)){var a=B(this);if(!a.childNodes){a.childNodes=[];for(var b=this.__shady_firstChild;b;b=b.__shady_nextSibling)a.childNodes.push(b)}var c=a.childNodes}else c=this.__shady_native_childNodes;c.item=function(a){return c[a]};return c},get parentElement(){var a=B(this);(a=a&&a.parentNode)&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:this.__shady_native_parentElement},get isConnected(){if($c&&$c.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;
var a=this.ownerDocument;if(sb){if(a.__shady_native_contains(this))return!0}else if(a.documentElement&&a.documentElement.__shady_native_contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.__shady_parentNode||(E(a)?a.host:void 0);return!!(a&&a instanceof Document)},get textContent(){if(jb(this)){for(var a=[],b=this.__shady_firstChild;b;b=b.__shady_nextSibling)b.nodeType!==Node.COMMENT_NODE&&a.push(b.__shady_textContent);return a.join("")}return this.__shady_native_textContent},set textContent(a){if("undefined"===
typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!jb(this)&&D.D){var b=this.__shady_firstChild;(b!=this.__shady_lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&ad(this);this.__shady_native_textContent=a}else ad(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(a));break;default:this.nodeValue=a}},insertBefore:function(a,b){if(this.ownerDocument!==Xc&&a.ownerDocument!==Xc)return this.__shady_native_insertBefore(a,
b),a;if(a===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(b){var c=B(b);c=c&&c.parentNode;if(void 0!==c&&c!==this||void 0===c&&b.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.");}if(b===a)return a;gd(this,a);var d=[],e=(c=hd(this))?c.host.localName:Vc(this),f=a.__shady_parentNode;if(f){var g=Vc(a);var h=!!c||!hd(a)||
Yc&&void 0!==this.__noInsertionPoint;f.__shady_removeChild(a,h)}f=!0;var k=(!Yc||void 0===a.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!Uc(a,e),l=c&&!a.__noInsertionPoint&&(!Yc||a.nodeType===Node.DOCUMENT_FRAGMENT_NODE);if(l||k)k&&(g=g||Vc(a)),Wc(a,function(a){l&&"slot"===a.localName&&d.push(a);if(k){var b=g;Rc()&&(b&&Tc(a,b),(b=Rc())&&b.scopeNode(a,e))}});d.length&&(id(c),c.c.push.apply(c.c,ma(d)),jd(c));jb(this)&&(Nc(a,this,b),c=B(this),kb(this)?(jd(c.root),f=!1):c.root&&(f=!1));f?(c=
E(this)?this.host:this,b?(b=fd(b),c.__shady_native_insertBefore(a,b)):c.__shady_native_appendChild(a)):a.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(a);return a},appendChild:function(a){if(this!=a||!E(a))return this.__shady_insertBefore(a)},removeChild:function(a,b){b=void 0===b?!1:b;if(this.ownerDocument!==Xc)return this.__shady_native_removeChild(a);if(a.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);gd(this,null,a);var c=hd(a),
d=c&&kd(c,a),e=B(this);if(jb(this)&&(Oc(a,this),kb(this))){jd(e.root);var f=!0}if(Rc()&&!b&&c&&a.nodeType!==Node.TEXT_NODE){var g=Vc(a);Wc(a,function(a){Tc(a,g)})}ed(a);c&&((b=this&&"slot"===this.localName)&&(f=!0),(d||b)&&jd(c));f||(f=E(this)?this.host:this,(!e.root&&"slot"!==a.localName||f===a.__shady_native_parentNode)&&f.__shady_native_removeChild(a));return a},replaceChild:function(a,b){this.__shady_insertBefore(a,b);this.__shady_removeChild(b);return a},cloneNode:function(a){if("template"==
this.localName)return this.__shady_native_cloneNode(a);var b=this.__shady_native_cloneNode(!1);if(a&&b.nodeType!==Node.ATTRIBUTE_NODE){a=this.__shady_firstChild;for(var c;a;a=a.__shady_nextSibling)c=a.__shady_cloneNode(!0),b.__shady_appendChild(c)}return b},getRootNode:function(a){if(this&&this.nodeType){var b=z(this),c=b.da;void 0===c&&(E(this)?(c=this,b.da=c):(c=(c=this.__shady_parentNode)?c.__shady_getRootNode(a):this,document.documentElement.__shady_native_contains(this)&&(b.da=c)));return c}},
contains:function(a){return tb(this,a)}});function md(a,b,c){var d=[];nd(a,b,c,d);return d}function nd(a,b,c,d){for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling){var e;if(e=a.nodeType===Node.ELEMENT_NODE){e=a;var f=b,g=c,h=d,k=f(e);k&&h.push(e);g&&g(k)?e=k:(nd(e,f,g,h),e=void 0)}if(e)break}}
var od=H({get firstElementChild(){var a=B(this);if(a&&void 0!==a.firstChild){for(a=this.__shady_firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_firstElementChild},get lastElementChild(){var a=B(this);if(a&&void 0!==a.lastChild){for(a=this.__shady_lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_lastElementChild},get children(){return jb(this)?ub(Array.prototype.filter.call(wb(this),
function(a){return a.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var a=this.__shady_children;return a?a.length:0}}),pd=H({querySelector:function(a){return md(this,function(b){return nb.call(b,a)},function(a){return!!a})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(this.__shady_native_querySelectorAll(a));var c=this.__shady_getRootNode();return ub(b.filter(function(a){return a.__shady_getRootNode()==c}))}return ub(md(this,function(b){return nb.call(b,
a)}))}}),qd=D.va&&!D.M?Object.assign({},od):od;Object.assign(od,pd);var rd=H({getElementById:function(a){return""===a?null:md(this,function(b){return b.id==a},function(a){return!!a})[0]||null}});var sd=H({get activeElement(){var a=D.D?document.__shady_native_activeElement:document.activeElement;if(!a||!a.nodeType)return null;var b=!!E(this);if(!(this===document||b&&this.host!==a&&this.host.__shady_native_contains(a)))return null;for(b=hd(a);b&&b!==this;)a=b.host,b=hd(a);return this===document?b?null:a:b===this?a:null}});var td=document.implementation.createHTMLDocument("inert"),ud=H({get innerHTML(){return jb(this)?Rb("template"===this.localName?this.content:this,wb):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{ad(this);var b=this.localName||"div";b=this.namespaceURI&&this.namespaceURI!==td.namespaceURI?td.createElementNS(this.namespaceURI,b):td.createElement(b);for(D.D?b.__shady_native_innerHTML=a:b.innerHTML=a;a=b.__shady_firstChild;)this.__shady_insertBefore(a)}}});var vd=H({addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.O=c.O||this;this.host.__shady_addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.O=c.O||this;this.host.__shady_removeEventListener(a,b,c)}});function wd(a,b){G(a,vd,b);G(a,sd,b);G(a,ud,b);G(a,od,b);D.M&&!b?(G(a,ld,b),G(a,rd,b)):D.D||(G(a,dc),G(a,bc),G(a,cc))};var xd={},yd=D.deferConnectionCallbacks&&"loading"===document.readyState,zd;function Ad(a){var b=[];do b.unshift(a);while(a=a.__shady_parentNode);return b}function Bd(a,b,c){if(a!==xd)throw new TypeError("Illegal constructor");this.a=null;Cd(this,b,c)}
function Cd(a,b,c){a.Da="ShadyRoot";a.host=b;a.mode=c&&c.mode;Pc(a.host);b=z(a.host);b.root=a;b.Sa="closed"!==a.mode?a:null;b=z(a);b.firstChild=b.lastChild=b.parentNode=b.nextSibling=b.previousSibling=null;if(D.preferPerformance)for(;b=a.host.__shady_native_firstChild;)a.host.__shady_native_removeChild(b);else jd(a)}function jd(a){a.R||(a.R=!0,zb(function(){return Dd(a)}))}
function Dd(a){var b;if(b=a.R){for(var c;a;)a:{a.R&&(c=a),b=a;a=b.host.__shady_getRootNode();if(E(a)&&(b=B(b.host))&&0<b.Z)break a;a=void 0}b=c}(c=b)&&c._renderSelf()}
Bd.prototype._renderSelf=function(){var a=yd;yd=!0;this.R=!1;if(this.a){Ed(this);for(var b=0,c;b<this.a.length;b++){c=this.a[b];var d=B(c),e=d.assignedNodes;d.assignedNodes=[];d.T=[];if(d.qa=e)for(d=0;d<e.length;d++){var f=B(e[d]);f.ha=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)Fd(this,b);for(b=0;b<this.a.length;b++){c=this.a[b];e=B(c);if(!e.assignedNodes.length)for(d=c.__shady_firstChild;d;d=d.__shady_nextSibling)Fd(this,
d,c);(d=(d=B(c.__shady_parentNode))&&d.root)&&(lb(d)||d.R)&&d._renderSelf();Gd(this,e.T,e.assignedNodes);if(d=e.qa){for(f=0;f<d.length;f++)B(d[f]).ha=null;e.qa=null;d.length>e.assignedNodes.length&&(e.ja=!0)}e.ja&&(e.ja=!1,Hd(this,c))}c=this.a;b=[];for(e=0;e<c.length;e++)d=c[e].__shady_parentNode,(f=B(d))&&f.root||!(0>b.indexOf(d))||b.push(d);for(c=0;c<b.length;c++){f=b[c];e=f===this?this.host:f;d=[];for(f=f.__shady_firstChild;f;f=f.__shady_nextSibling)if("slot"==f.localName)for(var g=B(f).T,h=0;h<
g.length;h++)d.push(g[h]);else d.push(f);f=vb(e);g=Kc(d,d.length,f,f.length);for(var k=h=0,l=void 0;h<g.length&&(l=g[h]);h++){for(var n=0,x=void 0;n<l.X.length&&(x=l.X[n]);n++)x.__shady_native_parentNode===e&&e.__shady_native_removeChild(x),f.splice(l.index+k,1);k-=l.aa}k=0;for(l=void 0;k<g.length&&(l=g[k]);k++)for(h=f[l.index],n=l.index;n<l.index+l.aa;n++)x=d[n],e.__shady_native_insertBefore(x,h),f.splice(n,0,x)}}if(!D.preferPerformance&&!this.pa)for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)c=
B(b),b.__shady_native_parentNode!==this.host||"slot"!==b.localName&&c.assignedSlot||this.host.__shady_native_removeChild(b);this.pa=!0;yd=a;zd&&zd()};function Fd(a,b,c){var d=z(b),e=d.ha;d.ha=null;c||(c=(a=a.b[b.__shady_slot||"__catchall"])&&a[0]);c?(z(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(z(d.assignedSlot).ja=!0)}
function Gd(a,b,c){for(var d=0,e=void 0;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=B(e).assignedNodes;f&&f.length&&Gd(a,b,f)}else b.push(c[d])}function Hd(a,b){b.__shady_native_dispatchEvent(new Event("slotchange"));b=B(b);b.assignedSlot&&Hd(a,b.assignedSlot)}function id(a){a.c=a.c||[];a.a=a.a||[];a.b=a.b||{}}
function Ed(a){if(a.c&&a.c.length){for(var b=a.c,c,d=0;d<b.length;d++){var e=b[d];Pc(e);var f=e.__shady_parentNode;Pc(f);f=B(f);f.Z=(f.Z||0)+1;f=Id(e);a.b[f]?(c=c||{},c[f]=!0,a.b[f].push(e)):a.b[f]=[e];a.a.push(e)}if(c)for(var g in c)a.b[g]=Jd(a.b[g]);a.c=[]}}function Id(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Ba=b}
function Jd(a){return a.sort(function(a,c){a=Ad(a);for(var b=Ad(c),e=0;e<a.length;e++){c=a[e];var f=b[e];if(c!==f)return a=wb(c.__shady_parentNode),a.indexOf(c)-a.indexOf(f)}})}
function kd(a,b){if(a.a){Ed(a);var c=a.b,d;for(d in c)for(var e=c[d],f=0;f<e.length;f++){var g=e[f];if(tb(b,g)){e.splice(f,1);var h=a.a.indexOf(g);0<=h&&(a.a.splice(h,1),(h=B(g.__shady_parentNode))&&h.Z&&h.Z--);f--;g=B(g);if(h=g.T)for(var k=0;k<h.length;k++){var l=h[k],n=l.__shady_native_parentNode;n&&n.__shady_native_removeChild(l)}g.T=[];g.assignedNodes=[];h=!0}}return h}}function lb(a){Ed(a);return!(!a.a||!a.a.length)}
(function(a){a.__proto__=DocumentFragment.prototype;wd(a,"__shady_");wd(a);Object.defineProperties(a,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}});["localName","namespaceURI","prefix"].forEach(function(b){Object.defineProperty(a,b,{value:void 0,configurable:!0})});["ownerDocument","baseURI","isConnected"].forEach(function(b){Object.defineProperty(a,b,{get:function(){return this.host[b]},
configurable:!0})})})(Bd.prototype);
if(window.customElements&&D.ka&&!D.preferPerformance){var Kd=new Map;zd=function(){var a=[];Kd.forEach(function(b,c){a.push([c,b])});Kd.clear();for(var b=0;b<a.length;b++){var c=a[b][0];a[b][1]?c.__shadydom_connectedCallback():c.__shadydom_disconnectedCallback()}};yd&&document.addEventListener("readystatechange",function(){yd=!1;zd()},{once:!0});var Ld=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.__shadydom_connectedCallback=function(){yd?Kd.set(this,
!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.__shadydom_disconnectedCallback=function(){yd?this.isConnected||Kd.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},Md=window.customElements.define,define=function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;Md.call(window.customElements,a,Ld(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d};window.customElements.define=define;Object.defineProperty(window.CustomElementRegistry.prototype,
"define",{value:define,configurable:!0})}function hd(a){a=a.__shady_getRootNode();if(E(a))return a};function Nd(a){this.node=a}q=Nd.prototype;q.addEventListener=function(a,b,c){return this.node.__shady_addEventListener(a,b,c)};q.removeEventListener=function(a,b,c){return this.node.__shady_removeEventListener(a,b,c)};q.appendChild=function(a){return this.node.__shady_appendChild(a)};q.insertBefore=function(a,b){return this.node.__shady_insertBefore(a,b)};q.removeChild=function(a){return this.node.__shady_removeChild(a)};q.replaceChild=function(a,b){return this.node.__shady_replaceChild(a,b)};
q.cloneNode=function(a){return this.node.__shady_cloneNode(a)};q.getRootNode=function(a){return this.node.__shady_getRootNode(a)};q.contains=function(a){return this.node.__shady_contains(a)};q.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};q.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};q.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};q.hasAttribute=function(a){return this.node.__shady_native_hasAttribute(a)};q.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};
q.attachShadow=function(a){return this.node.__shady_attachShadow(a)};q.focus=function(){this.node.__shady_native_focus()};q.blur=function(){this.node.__shady_blur()};q.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};q.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};q.querySelector=function(a){return this.node.__shady_querySelector(a)};
q.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};q.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};
r.Object.defineProperties(Nd.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(E(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(E(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,
enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,
get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},
children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,
enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(a){this.node.__shady_innerHTML=a}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(a){this.node.__shady_textContent=a}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(a){this.node.__shady_slot=a}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(a){return this.node.__shady_className=
a}}});Ic.forEach(function(a){Object.defineProperty(Nd.prototype,a,{get:function(){return this.node["__shady_"+a]},set:function(b){this.node["__shady_"+a]=b},configurable:!0})});var Od=new WeakMap;function Pd(a){if(E(a)||a instanceof Nd)return a;var b=Od.get(a);b||(b=new Nd(a),Od.set(a,b));return b};var Qd=H({dispatchEvent:yc,addEventListener:zc,removeEventListener:Bc});var Rd=H({get assignedSlot(){var a=this.__shady_parentNode;(a=a&&a.__shady_shadowRoot)&&Dd(a);return(a=B(this))&&a.assignedSlot||null}});var Sd=window.document;function Td(a,b){if("slot"===b)a=a.__shady_parentNode,kb(a)&&jd(B(a).root);else if("slot"===a.localName&&"name"===b&&(b=hd(a))){if(b.a){Ed(b);var c=a.Ba,d=Id(a);if(d!==c){c=b.b[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.b[d]||(b.b[d]=[]);c.push(a);1<c.length&&(b.b[d]=Jd(c))}}jd(b)}}
var Ud=H({get previousElementSibling(){var a=B(this);if(a&&void 0!==a.previousSibling){for(a=this.__shady_previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_previousElementSibling},get nextElementSibling(){var a=B(this);if(a&&void 0!==a.nextSibling){for(a=this.__shady_nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},
set slot(a){this.__shady_setAttribute("slot",a)},get shadowRoot(){var a=B(this);return a&&a.Sa||null},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(a,b){this.ownerDocument!==Sd?this.__shady_native_setAttribute(a,b):Sc(this,a,b)||(this.__shady_native_setAttribute(a,b),Td(this,a))},removeAttribute:function(a){this.ownerDocument!==Sd?this.__shady_native_removeAttribute(a):Sc(this,a,"")?""===this.getAttribute(a)&&this.__shady_native_removeAttribute(a):
(this.__shady_native_removeAttribute(a),Td(this,a))},attachShadow:function(a){if(!this)throw Error("Must provide a host.");if(!a)throw Error("Not enough arguments.");if(a.shadyUpgradeFragment&&!D.ya){var b=a.shadyUpgradeFragment;b.__proto__=ShadowRoot.prototype;Cd(b,this,a);Pc(b,b);a=b.__noInsertionPoint?null:b.querySelectorAll("slot");b.__noInsertionPoint=void 0;if(a&&a.length){var c=b;id(c);c.c.push.apply(c.c,ma(a));jd(b)}b.host.__shady_native_appendChild(b)}else b=new Bd(xd,this,a);return b}});var Vd=H({blur:function(){var a=B(this);(a=(a=a&&a.root)&&a.activeElement)?a.__shady_blur():this.__shady_native_blur()}});Ic.forEach(function(a){Vd[a]={set:function(b){var c=z(this),d=a.substring(2);c.N||(c.N={});c.N[a]&&this.removeEventListener(d,c.N[a]);this.__shady_addEventListener(d,b);c.N[a]=b},get:function(){var b=B(this);return b&&b.N&&b.N[a]},configurable:!0}});var Wd=H({assignedNodes:function(a){if("slot"===this.localName){var b=this.__shady_getRootNode();b&&E(b)&&Dd(b);return(b=B(this))?(a&&a.flatten?b.T:b.assignedNodes)||[]:[]}},addEventListener:function(a,b,c){if("slot"!==this.localName||"slotchange"===a)zc.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.O=this;d.__shady_addEventListener(a,b,c)}},removeEventListener:function(a,
b,c){if("slot"!==this.localName||"slotchange"===a)Bc.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.O=this;d.__shady_removeEventListener(a,b,c)}}});var Xd=window.document,Yd=H({importNode:function(a,b){if(a.ownerDocument!==Xd||"template"===a.localName)return this.__shady_native_importNode(a,b);var c=this.__shady_native_importNode(a,!1);if(b)for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)b=this.__shady_importNode(a,!0),c.__shady_appendChild(b);return c}});var Zd=H({dispatchEvent:yc,addEventListener:zc.bind(window),removeEventListener:Bc.bind(window)});var $d={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&($d.parentElement=ld.parentElement);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&($d.contains=ld.contains);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&($d.children=od.children);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&($d.innerHTML=ud.innerHTML);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&($d.className=Ud.className);
var ae={EventTarget:[Qd],Node:[ld,window.EventTarget?null:Qd],Text:[Rd],Element:[Ud,od,Rd,!D.D||"innerHTML"in Element.prototype?ud:null,window.HTMLSlotElement?null:Wd],HTMLElement:[Vd,$d],HTMLSlotElement:[Wd],DocumentFragment:[qd,rd],Document:[Yd,qd,rd,sd],Window:[Zd]},be=D.D?null:["innerHTML","textContent"];function ce(a){var b=a?null:be,c={},d;for(d in ae)c.ea=window[d]&&window[d].prototype,ae[d].forEach(function(c){return function(d){return c.ea&&d&&G(c.ea,d,a,b)}}(c)),c={ea:c.ea}};if(D.ka){var ShadyDOM={inUse:D.ka,patch:function(a){hc(a);gc(a);return a},isShadyRoot:E,enqueue:zb,flush:Ab,flushInitial:function(a){!a.pa&&a.R&&Dd(a)},settings:D,filterMutations:Kb,observeChildren:Ib,unobserveChildren:Jb,deferConnectionCallbacks:D.deferConnectionCallbacks,preferPerformance:D.preferPerformance,handlesDynamicScoping:!0,wrap:D.M?Pd:function(a){return a},Wrapper:Nd,composedPath:qc,noPatch:D.M,nativeMethods:Tb,nativeTree:Ub};window.ShadyDOM=ShadyDOM;ac();ce("__shady_");Object.defineProperty(document,
"_activeElement",sd.activeElement);G(Window.prototype,Zd,"__shady_");D.M||(ce(),Hc());Cc();window.Event=Ec;window.CustomEvent=Fc;window.MouseEvent=Gc;window.ShadowRoot=Bd};var de=window.Document.prototype.createElement,ee=window.Document.prototype.createElementNS,fe=window.Document.prototype.importNode,ge=window.Document.prototype.prepend,he=window.Document.prototype.append,ie=window.DocumentFragment.prototype.prepend,je=window.DocumentFragment.prototype.append,ke=window.Node.prototype.cloneNode,le=window.Node.prototype.appendChild,me=window.Node.prototype.insertBefore,ne=window.Node.prototype.removeChild,oe=window.Node.prototype.replaceChild,pe=Object.getOwnPropertyDescriptor(window.Node.prototype,
"textContent"),qe=window.Element.prototype.attachShadow,re=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),se=window.Element.prototype.getAttribute,te=window.Element.prototype.setAttribute,ue=window.Element.prototype.removeAttribute,ve=window.Element.prototype.getAttributeNS,we=window.Element.prototype.setAttributeNS,xe=window.Element.prototype.removeAttributeNS,ye=window.Element.prototype.insertAdjacentElement,ze=window.Element.prototype.insertAdjacentHTML,Ae=window.Element.prototype.prepend,
Be=window.Element.prototype.append,Ce=window.Element.prototype.before,De=window.Element.prototype.after,Ee=window.Element.prototype.replaceWith,Fe=window.Element.prototype.remove,Ge=window.HTMLElement,He=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ie=window.HTMLElement.prototype.insertAdjacentElement,Je=window.HTMLElement.prototype.insertAdjacentHTML;var Ke=new Set;"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(a){return Ke.add(a)});function Le(a){var b=Ke.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return!b&&a}var Me=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);
function L(a){var b=a.isConnected;if(void 0!==b)return b;if(Me(a))return!0;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 Ne(a){var b=a.children;if(b)return Array.prototype.slice.call(b);b=[];for(a=a.firstChild;a;a=a.nextSibling)a.nodeType===Node.ELEMENT_NODE&&b.push(a);return b}
function Oe(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
function Pe(a,b,c){for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;void 0===c&&(c=new Set);if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)Pe(d,b,c);d=Oe(a,e);continue}else if("template"===f){d=Oe(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)Pe(e,b,c)}d=d.firstChild?d.firstChild:Oe(a,d)}}function M(a,b,c){a[b]=c};function Qe(){var a=Re&&Re.noDocumentConstructionObserver,b=Re&&Re.shadyDomFastWalk;this.b=[];this.c=[];this.a=!1;this.shadyDomFastWalk=b;this.f=!a}function Se(a,b,c,d){var e=window.ShadyDOM;if(a.shadyDomFastWalk&&e&&e.inUse){if(b.nodeType===Node.ELEMENT_NODE&&c(b),b.querySelectorAll)for(a=e.nativeMethods.querySelectorAll.call(b,"*"),b=0;b<a.length;b++)c(a[b])}else Pe(b,c,d)}function Te(a,b){a.a=!0;a.b.push(b)}function Ue(a,b){a.a=!0;a.c.push(b)}
function Ve(a,b){a.a&&Se(a,b,function(b){return We(a,b)})}function We(a,b){if(a.a&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.b.length;c++)a.b[c](b);for(c=0;c<a.c.length;c++)a.c[c](b)}}function N(a,b){var c=[];Se(a,b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):Xe(a,d)}}function O(a,b){var c=[];Se(a,b,function(a){return c.push(a)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}}
function P(a,b,c){c=void 0===c?{}:c;var d=c.Za,e=c.fa||function(b){return Xe(a,b)},f=[];Se(a,b,function(b){a.a&&We(a,b);if("link"===b.localName&&"import"===b.getAttribute("rel")){var c=b.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_registry=document.__CE_registry);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var c=b.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set;d&&(d.forEach(function(a){return f.add(a)}),
f.delete(c));P(a,c,{Za:f,fa:e})}})}else f.push(b)},d);for(b=0;b<f.length;b++)e(f[b])}
function Xe(a,b){try{a:{var c=b.ownerDocument;if("http://www.w3.org/1999/xhtml"===b.namespaceURI){var d=c.__CE_registry;if(d&&(c.defaultView||c.__CE_isImportDocument)){var e=d.a.get(b.localName);break a}}e=void 0}if(e&&void 0===b.__CE_state){e.constructionStack.push(b);try{try{if(new e.constructorFunction!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{e.constructionStack.pop()}}catch(k){throw b.__CE_state=2,k;}b.__CE_state=1;b.__CE_definition=
e;if(e.attributeChangedCallback&&b.hasAttributes()){var f=e.observedAttributes;for(e=0;e<f.length;e++){var g=f[e],h=b.getAttribute(g);null!==h&&a.attributeChangedCallback(b,g,null,h,null)}}L(b)&&a.connectedCallback(b)}}catch(k){Ye(k)}}Qe.prototype.connectedCallback=function(a){var b=a.__CE_definition;if(b.connectedCallback)try{b.connectedCallback.call(a)}catch(c){Ye(c)}};Qe.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;if(b.disconnectedCallback)try{b.disconnectedCallback.call(a)}catch(c){Ye(c)}};
Qe.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;if(f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b))try{f.attributeChangedCallback.call(a,b,c,d,e)}catch(g){Ye(g)}};
function Ze(a,b,c,d){var e=b.__CE_registry;if(e&&(null===d||"http://www.w3.org/1999/xhtml"===d)&&(e=e.a.get(c)))try{var f=new e.constructorFunction;if(void 0===f.__CE_state||void 0===f.__CE_definition)throw Error("Failed to construct '"+c+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==f.namespaceURI)throw Error("Failed to construct '"+c+"': The constructed element's namespace must be the HTML namespace.");if(f.hasAttributes())throw Error("Failed to construct '"+
c+"': The constructed element must not have any attributes.");if(null!==f.firstChild)throw Error("Failed to construct '"+c+"': The constructed element must not have any children.");if(null!==f.parentNode)throw Error("Failed to construct '"+c+"': The constructed element must not have a parent node.");if(f.ownerDocument!==b)throw Error("Failed to construct '"+c+"': The constructed element's owner document is incorrect.");if(f.localName!==c)throw Error("Failed to construct '"+c+"': The constructed element's local name is incorrect.");
return f}catch(g){return Ye(g),b=null===d?de.call(b,c):ee.call(b,d,c),Object.setPrototypeOf(b,HTMLUnknownElement.prototype),b.__CE_state=2,b.__CE_definition=void 0,We(a,b),b}b=null===d?de.call(b,c):ee.call(b,d,c);We(a,b);return b}
function Ye(a){var b=a.message,c=a.sourceURL||a.fileName||"",d=a.line||a.lineNumber||0,e=a.a||a.columnNumber||0,f=void 0;void 0===ErrorEvent.prototype.initErrorEvent?f=new ErrorEvent("error",{cancelable:!0,message:b,filename:c,lineno:d,colno:e,error:a}):(f=document.createEvent("ErrorEvent"),f.initErrorEvent("error",!1,!0,b,c,d),f.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})});void 0===f.error&&Object.defineProperty(f,"error",{configurable:!0,
enumerable:!0,get:function(){return a}});window.dispatchEvent(f);f.defaultPrevented||console.error(a)};function $e(a){var b=document;this.b=a;this.a=b;this.P=void 0;P(this.b,this.a);"loading"===this.a.readyState&&(this.P=new MutationObserver(this.c.bind(this)),this.P.observe(this.a,{childList:!0,subtree:!0}))}function af(a){a.P&&a.P.disconnect()}$e.prototype.c=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||af(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)P(this.b,c[d])};function bf(){var a=this;this.a=this.v=void 0;this.b=new Promise(function(b){a.a=b;a.v&&b(a.v)})}bf.prototype.resolve=function(a){if(this.v)throw Error("Already resolved.");this.v=a;this.a&&this.a(a)};function Q(a){this.a=new Map;this.sa=new Map;this.f=!1;this.b=a;this.U=new Map;this.B=function(a){return a()};this.c=!1;this.F=[];this.ta=a.f?new $e(a):void 0}q=Q.prototype;
q.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!Le(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.has(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;try{var e=function(a){var b=f[a];if(void 0!==b&&!(b instanceof Function))throw Error("The '"+a+"' callback must be a function.");
return b},f=b.prototype;if(!(f instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var g=e("connectedCallback");var h=e("disconnectedCallback");var k=e("adoptedCallback");var l=(d=e("attributeChangedCallback"))&&b.observedAttributes||[]}catch(n){throw n;}finally{this.f=!1}b={localName:a,constructorFunction:b,connectedCallback:g,disconnectedCallback:h,adoptedCallback:k,attributeChangedCallback:d,observedAttributes:l,constructionStack:[]};this.a.set(a,
b);this.sa.set(b.constructorFunction,b);this.F.push(b);this.c||(this.c=!0,this.B(function(){return cf(c)}))};q.fa=function(a){P(this.b,a)};
function cf(a){if(!1!==a.c){a.c=!1;for(var b=a.F,c=[],d=new Map,e=0;e<b.length;e++)d.set(b[e].localName,[]);P(a.b,document,{fa:function(b){if(void 0===b.__CE_state){var e=b.localName,f=d.get(e);f?f.push(b):a.a.has(e)&&c.push(b)}}});for(e=0;e<c.length;e++)Xe(a.b,c[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=d.get(f.localName);for(var g=0;g<f.length;g++)Xe(a.b,f[g]);(e=a.U.get(e))&&e.resolve(void 0)}}}q.get=function(a){if(a=this.a.get(a))return a.constructorFunction};
q.whenDefined=function(a){if(!Le(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.U.get(a);if(b)return b.b;b=new bf;this.U.set(a,b);this.a.get(a)&&!this.F.some(function(b){return b.localName===a})&&b.resolve(void 0);return b.b};q.polyfillWrapFlushCallback=function(a){this.ta&&af(this.ta);var b=this.B;this.B=function(c){return a(function(){return b(c)})}};window.CustomElementRegistry=Q;Q.prototype.define=Q.prototype.define;Q.prototype.upgrade=Q.prototype.fa;
Q.prototype.get=Q.prototype.get;Q.prototype.whenDefined=Q.prototype.whenDefined;Q.prototype.polyfillWrapFlushCallback=Q.prototype.polyfillWrapFlushCallback;var df=new function(){};function ef(a){window.HTMLElement=function(){function b(){var b=this.constructor;var d=document.__CE_registry.sa.get(b);if(!d)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=de.call(document,d.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=d,We(a,e),e;var f=e.length-1,g=e[f];if(g===df)throw Error("Failed to construct '"+d.localName+"': This element was already constructed.");
e[f]=df;Object.setPrototypeOf(g,b.prototype);We(a,g);return g}b.prototype=Ge.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}()};function ff(a,b,c){function d(b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];e=[];for(var f=[],l=0;l<d.length;l++){var n=d[l];n instanceof Element&&L(n)&&f.push(n);if(n instanceof DocumentFragment)for(n=n.firstChild;n;n=n.nextSibling)e.push(n);else e.push(n)}b.apply(this,d);for(d=0;d<f.length;d++)O(a,f[d]);if(L(this))for(d=0;d<e.length;d++)f=e[d],f instanceof Element&&N(a,f)}}void 0!==c.prepend&&(b.prepend=d(c.prepend));void 0!==c.append&&(b.append=d(c.append))};function gf(a){M(Document.prototype,"createElement",function(b){return Ze(a,this,b,null)});M(Document.prototype,"importNode",function(b,c){b=fe.call(this,b,!!c);this.__CE_registry?P(a,b):Ve(a,b);return b});M(Document.prototype,"createElementNS",function(b,c){return Ze(a,this,c,b)});ff(a,Document.prototype,{prepend:ge,append:he})};function hf(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)){c=Array(h);for(var k=0;k<h;k++)c[k]=e[k]}}d.set.call(this,b);if(c)for(b=0;b<c.length;b++)O(a,c[b])}}})}M(Node.prototype,"insertBefore",function(b,d){if(b instanceof DocumentFragment){var c=Ne(b);b=me.call(this,b,d);if(L(this))for(d=
0;d<c.length;d++)N(a,c[d]);return b}c=b instanceof Element&&L(b);d=me.call(this,b,d);c&&O(a,b);L(this)&&N(a,b);return d});M(Node.prototype,"appendChild",function(b){if(b instanceof DocumentFragment){var c=Ne(b);b=le.call(this,b);if(L(this))for(var e=0;e<c.length;e++)N(a,c[e]);return b}c=b instanceof Element&&L(b);e=le.call(this,b);c&&O(a,b);L(this)&&N(a,b);return e});M(Node.prototype,"cloneNode",function(b){b=ke.call(this,!!b);this.ownerDocument.__CE_registry?P(a,b):Ve(a,b);return b});M(Node.prototype,
"removeChild",function(b){var c=b instanceof Element&&L(b),e=ne.call(this,b);c&&O(a,b);return e});M(Node.prototype,"replaceChild",function(b,d){if(b instanceof DocumentFragment){var c=Ne(b);b=oe.call(this,b,d);if(L(this))for(O(a,d),d=0;d<c.length;d++)N(a,c[d]);return b}c=b instanceof Element&&L(b);var f=oe.call(this,b,d),g=L(this);g&&O(a,d);c&&O(a,b);g&&N(a,b);return f});pe&&pe.get?b(Node.prototype,pe):Te(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b=this.firstChild;b;b=
b.nextSibling)b.nodeType!==Node.COMMENT_NODE&&a.push(b.textContent);return a.join("")},set:function(a){for(;this.firstChild;)ne.call(this,this.firstChild);null!=a&&""!==a&&le.call(this,document.createTextNode(a))}})})};function jf(a){function b(b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];e=[];for(var h=[],k=0;k<d.length;k++){var l=d[k];l instanceof Element&&L(l)&&h.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)e.push(l);else e.push(l)}b.apply(this,d);for(d=0;d<h.length;d++)O(a,h[d]);if(L(this))for(d=0;d<e.length;d++)h=e[d],h instanceof Element&&N(a,h)}}var c=Element.prototype;void 0!==Ce&&(c.before=b(Ce));void 0!==De&&(c.after=b(De));void 0!==Ee&&
M(c,"replaceWith",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var g=[],h=0;h<c.length;h++){var k=c[h];k instanceof Element&&L(k)&&g.push(k);if(k instanceof DocumentFragment)for(k=k.firstChild;k;k=k.nextSibling)d.push(k);else d.push(k)}h=L(this);Ee.apply(this,c);for(c=0;c<g.length;c++)O(a,g[c]);if(h)for(O(a,this),c=0;c<d.length;c++)g=d[c],g instanceof Element&&N(a,g)});void 0!==Fe&&M(c,"remove",function(){var b=L(this);Fe.call(this);b&&O(a,this)})};function kf(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=[],Se(a,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_registry?P(a,this):Ve(a,this);return b}})}function c(b,c){M(b,"insertAdjacentElement",function(b,d){var e=L(d);b=c.call(this,b,d);e&&O(a,d);L(b)&&N(a,d);return b})}
function d(b,c){function d(b,c){for(var d=[];b!==c;b=b.nextSibling)d.push(b);for(c=0;c<d.length;c++)P(a,d[c])}M(b,"insertAdjacentHTML",function(a,b){a=a.toLowerCase();if("beforebegin"===a){var e=this.previousSibling;c.call(this,a,b);d(e||this.parentNode.firstChild,this)}else if("afterbegin"===a)e=this.firstChild,c.call(this,a,b),d(this.firstChild,e);else if("beforeend"===a)e=this.lastChild,c.call(this,a,b),d(e||this.firstChild,null);else if("afterend"===a)e=this.nextSibling,c.call(this,a,b),d(this.nextSibling,
e);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}qe&&M(Element.prototype,"attachShadow",function(b){b=qe.call(this,b);if(a.a&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.b.length;c++)a.b[c](b)}return this.__CE_shadowRoot=b});re&&re.get?b(Element.prototype,re):He&&He.get?b(HTMLElement.prototype,He):Ue(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return ke.call(this,!0).innerHTML},
set:function(a){var b="template"===this.localName,c=b?this.content:this,d=ee.call(document,this.namespaceURI,this.localName);for(d.innerHTML=a;0<c.childNodes.length;)ne.call(c,c.childNodes[0]);for(a=b?d.content:d;0<a.childNodes.length;)le.call(c,a.childNodes[0])}})});M(Element.prototype,"setAttribute",function(b,c){if(1!==this.__CE_state)return te.call(this,b,c);var d=se.call(this,b);te.call(this,b,c);c=se.call(this,b);a.attributeChangedCallback(this,b,d,c,null)});M(Element.prototype,"setAttributeNS",
function(b,c,d){if(1!==this.__CE_state)return we.call(this,b,c,d);var e=ve.call(this,b,c);we.call(this,b,c,d);d=ve.call(this,b,c);a.attributeChangedCallback(this,c,e,d,b)});M(Element.prototype,"removeAttribute",function(b){if(1!==this.__CE_state)return ue.call(this,b);var c=se.call(this,b);ue.call(this,b);null!==c&&a.attributeChangedCallback(this,b,c,null,null)});M(Element.prototype,"removeAttributeNS",function(b,c){if(1!==this.__CE_state)return xe.call(this,b,c);var d=ve.call(this,b,c);xe.call(this,
b,c);var e=ve.call(this,b,c);d!==e&&a.attributeChangedCallback(this,c,d,e,b)});Ie?c(HTMLElement.prototype,Ie):ye?c(Element.prototype,ye):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");Je?d(HTMLElement.prototype,Je):ze?d(Element.prototype,ze):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");ff(a,Element.prototype,{prepend:Ae,append:Be});jf(a)};var Re=window.customElements;function lf(){var a=new Qe;ef(a);gf(a);ff(a,DocumentFragment.prototype,{prepend:ie,append:je});hf(a);kf(a);a=new Q(a);document.__CE_registry=a;Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:a})}Re&&!Re.forcePolyfill&&"function"==typeof Re.define&&"function"==typeof Re.get||lf();window.__CE_installPolyfill=lf;function mf(){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 nf(a){a=a.replace(of,"").replace(pf,"");var b=qf,c=a,d=new mf;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 mf;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 qf(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=rf(c),c=c.replace(sf," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=tf:c.match(uf)&&(a.type=vf,a.keyframesName=a.selector.split(sf).pop()):a.type=0===c.indexOf("--")?wf:xf);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)qf(f,
b);return a}function rf(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 yf(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=void 0;f<g&&(h=e[f]);f++)d=yf(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(zf,"").replace(Af,""),b=b.replace(Bf,"").replace(Cf,"")),(d=b.trim())&&(d="  "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
var xf=1,vf=7,tf=4,wf=1E3,of=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,pf=/@import[^;]*;/gim,zf=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Af=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Bf=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Cf=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,uf=/^@[^\s]*keyframes/,sf=/\s+/g;var R=!(window.ShadyDOM&&window.ShadyDOM.inUse),Df;function Ef(a){Df=a&&a.shimcssproperties?!1:R||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var Ff;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Ff=window.ShadyCSS.cssBuild);var Hf=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);
window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Df=window.ShadyCSS.nativeCss:window.ShadyCSS?(Ef(window.ShadyCSS),window.ShadyCSS=void 0):Ef(window.WebComponents&&window.WebComponents.flags);var U=Df,If=Ff;var Jf=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Kf=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Lf=/(--[\w-]+)\s*([:,;)]|$)/gi,Mf=/(animation\s*:)|(animation-name\s*:)/,Nf=/@media\s(.*)/,Of=/\{[^}]*\}/g;var Pf=new Set;function Qf(a,b){if(!a)return"";"string"===typeof a&&(a=nf(a));b&&Rf(a,b);return yf(a,U)}function Sf(a){!a.__cssRules&&a.textContent&&(a.__cssRules=nf(a.textContent));return a.__cssRules||null}function Tf(a){return!!a.parent&&a.parent.type===vf}function Rf(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===tf){var g=a.selector.match(Nf);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===xf?b(a):c&&f===vf?c(a):f===wf&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++)Rf(g,b,c,d)}}
function Uf(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Vf(e,c,d);return e}var Wf=null;function Xf(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(Wf?Wf.nextSibling:null)||b.firstChild);return Wf=a}function Vf(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);Wf?a.compareDocumentPosition(Wf)===Node.DOCUMENT_POSITION_PRECEDING&&(Wf=a):Wf=a}
function Yf(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function Zf(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=Yf(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=Zf(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 $f(a,b){R?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
var ag=window.ShadyDOM&&window.ShadyDOM.wrap||function(a){return a};function bg(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,Y:c}}function cg(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=Yf(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b}
function dg(a){if(void 0!==If)return If;if(void 0===a.__cssBuild){var b=a.getAttribute("css-build");if(b)a.__cssBuild=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.__cssBuild=b}}return a.__cssBuild||""}
function eg(a){a=void 0===a?"":a;return""!==a&&U?R?"shadow"===a:"shady"===a:!1};function fg(){}function gg(a,b){hg(V,a,function(a){ig(a,b||"")})}function hg(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);var d;"template"===b.localName?d=(b.content||b._content||b).childNodes:d=b.children||b.childNodes;if(d)for(b=0;b<d.length;b++)hg(a,d[b],c)}
function ig(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("class");c?d&&(b=d.replace("style-scope","").replace(b,""),$f(a,b)):$f(a,(d?d+" ":"")+"style-scope "+b)}}function jg(a,b,c){hg(V,a,function(a){ig(a,b,!0);ig(a,c)})}function kg(a,b){hg(V,a,function(a){ig(a,b||"",!0)})}
function lg(a,b,c,d,e){var f=V;e=void 0===e?"":e;""===e&&(R||"shady"===(void 0===d?"":d)?e=Qf(b,c):(a=bg(a),e=mg(f,b,a.is,a.Y,c)+"\n\n"));return e.trim()}function mg(a,b,c,d,e){var f=ng(c,d);c=c?"."+c:"";return Qf(b,function(b){b.c||(b.selector=b.C=og(a,b,a.b,c,f),b.c=!0);e&&e(b,c,f)})}function ng(a,b){return b?"[is="+a+"]":a}
function og(a,b,c,d,e){var f=cg(b.selector);if(!Tf(b)){b=0;for(var g=f.length,h=void 0;b<g&&(h=f[b]);b++)f[b]=c.call(a,h,d,e)}return f.filter(function(a){return!!a}).join(",")}function pg(a){return a.replace(qg,function(a,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
function rg(a){for(var b=[],c;c=a.match(sg);){var d=c.index,e=Yf(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{na:a,matches:b}}function tg(a,b){var c=a.split("\ue000");return b.reduce(function(a,b,f){return a+b+c[f+1]},c[0])}
fg.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=qg.test(a);e&&(a=a.replace(qg,function(a,b,c){return":"+b+"("+c.replace(/\s/g,"")+")"}),a=pg(a));var f=sg.test(a);if(f){var g=rg(a);a=g.na;g=g.matches}a=a.replace(ug,":host $1");a=a.replace(vg,function(a,e,f){d||(a=wg(f,e,b,c),d=d||a.stop,e=a.Ha,f=a.value);return e+f});f&&(a=tg(a,g));e&&(a=pg(a));return a=a.replace(xg,function(a,b,c,d){return'[dir="'+c+'"] '+b+d+", "+b+'[dir="'+c+'"]'+d})};
function wg(a,b,c,d){var e=a.indexOf("::slotted");0<=a.indexOf(":host")?a=yg(a,d):0!==e&&(a=c?zg(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(Ag,function(a,b){return" > "+b}))}return{value:a,Ha:b,stop:f}}function zg(a,b){a=a.split(/(\[.+?\])/);for(var c=[],d=0;d<a.length;d++)if(1===d%2)c.push(a[d]);else{var e=a[d];if(""!==e||d!==a.length-1)e=e.split(":"),e[0]+=b,c.push(e.join(":"))}return c.join("")}
function yg(a,b){var c=a.match(Bg);return(c=c&&c[2].trim()||"")?c[0].match(Cg)?a.replace(Bg,function(a,c,f){return b+f}):c.split(Cg)[0]===b?c:"should_not_match":a.replace(":host",b)}function Dg(a){":root"===a.selector&&(a.selector="html")}fg.prototype.c=function(a){return a.match(":host")?"":a.match("::slotted")?this.b(a,":not(.style-scope)"):zg(a.trim(),":not(.style-scope)")};r.Object.defineProperties(fg.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
var qg=/:(nth[-\w]+)\(([^)]+)\)/,vg=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Cg=/[[.:#*]/,ug=/^(::slotted)/,Bg=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ag=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,xg=/(.*):dir\((?:(ltr|rtl))\)(.*)/,sg=/:(?:matches|any|-(?:webkit|moz)-any)/,V=new fg;function Eg(a,b,c,d,e){this.L=a||null;this.b=b||null;this.la=c||[];this.G=null;this.cssBuild=e||"";this.Y=d||"";this.a=this.H=this.K=null}function X(a){return a?a.__styleInfo:null}function Fg(a,b){return a.__styleInfo=b}Eg.prototype.c=function(){return this.L};Eg.prototype._getStyleRules=Eg.prototype.c;function Gg(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var Hg=navigator.userAgent.match("Trident");function Ig(){}function Jg(a){var b={},c=[],d=0;Rf(a,function(a){Kg(a);a.index=d++;a=a.w.cssText;for(var c;c=Lf.exec(a);){var e=c[1];":"!==c[2]&&(b[e]=!0)}},function(a){c.push(a)});a.b=c;a=[];for(var e in b)a.push(e);return a}
function Kg(a){if(!a.w){var b={},c={};Lg(a,c)&&(b.J=c,a.rules=null);b.cssText=a.parsedCssText.replace(Of,"").replace(Jf,"");a.w=b}}function Lg(a,b){var c=a.w;if(c){if(c.J)return Object.assign(b,c.J),!0}else{c=a.parsedCssText;for(var d;a=Jf.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
function Mg(a,b,c){b&&(b=0<=b.indexOf(";")?Ng(a,b,c):Zf(b,function(b,e,f,g){if(!e)return b+g;(e=Mg(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=Mg(a,c[f]||f,c)||f;return b+(e||"")+g}));return b&&b.trim()||""}
function Ng(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){Kf.lastIndex=0;if(f=Kf.exec(e))e=Mg(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=Mg(a,g,c)||g;e=e.substring(0,f)+g}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")}
function Og(a,b){var c={},d=[];Rf(a,function(a){a.w||Kg(a);var e=a.C||a.parsedSelector;b&&a.w.J&&e&&Gg.call(b,e)&&(Lg(a,c),a=a.index,e=parseInt(a/32,10),d[e]=(d[e]||0)|1<<a%32)},null,!0);return{J:c,key:d}}
function Pg(a,b,c,d){b.w||Kg(b);if(b.w.J){var e=bg(a);a=e.is;e=e.Y;e=a?ng(a,e):"html";var 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));if(g||h)c=e,h&&(b.C||(b.C=og(V,b,V.b,a?"."+a:"",e)),c=b.C||e),d({na:c,Oa:h,ab:g})}}function Qg(a,b,c){var d={},e={};Rf(b,function(b){Pg(a,b,c,function(c){Gg.call(a._element||a,c.na)&&(c.Oa?Lg(b,d):Lg(b,e))})},null,!0);return{Ta:e,Ma:d}}
function Rg(a,b,c,d){var e=bg(b),f=ng(e.is,e.Y),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=X(b);e=h.L;h=h.cssBuild;var k=Sg(e,d);return lg(b,e,function(b){var e="";b.w||Kg(b);b.w.cssText&&(e=Ng(a,b.w.cssText,c));b.cssText=e;if(!R&&!Tf(b)&&b.cssText){var h=e=b.cssText;null==b.ra&&(b.ra=Mf.test(e));if(b.ra)if(null==b.ca){b.ca=[];for(var l in k)h=k[l],h=h(e),e!==h&&(e=h,b.ca.push(l))}else{for(l=0;l<b.ca.length;++l)h=k[b.ca[l]],e=h(e);h=e}b.cssText=h;b.C=
b.C||b.selector;e="."+d;l=cg(b.C);h=0;for(var F=l.length,v=void 0;h<F&&(v=l[h]);h++)l[h]=v.match(g)?v.replace(f,e):e+" "+v;b.selector=l.join(",")}},h)}function Sg(a,b){a=a.b;var c={};if(!R&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.f=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.a=f.keyframesName+"-"+g;f.C=f.C||f.selector;f.selector=f.C.replace(f.keyframesName,f.a);c[e.keyframesName]=Tg(e)}return c}function Tg(a){return function(b){return b.replace(a.f,a.a)}}
function Ug(a,b){var c=Vg,d=Sf(a);a.textContent=Qf(d,function(a){var d=a.cssText=a.parsedCssText;a.w&&a.w.cssText&&(d=d.replace(zf,"").replace(Af,""),a.cssText=Ng(c,d,b))})}r.Object.defineProperties(Ig.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Vg=new Ig;var Wg={},Xg=window.customElements;if(Xg&&!R&&!Hf){var Yg=Xg.define;Xg.define=function(a,b,c){Wg[a]||(Wg[a]=Xf(a));Yg.call(Xg,a,b,c)}};function Zg(){this.cache={}}Zg.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({J:b,styleElement:c,H:d});100<e.length&&e.shift();this.cache[a]=e};function $g(){}var ah=new RegExp(V.a+"\\s*([^\\s]*)");function bh(a){return(a=(a.classList&&a.classList.value?a.classList.value:a.getAttribute("class")||"").match(ah))?a[1]:""}function ch(a){var b=ag(a).getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?bg(a).is:""}
function dh(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=bh(e);if(g&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===dg(e)))kg(e,g);else if(f instanceof ShadowRoot)for(f=ch(e),f!==g&&jg(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+V.a+")"),g=0;g<e.length;g++){f=e[g];
var h=ch(f);h&&ig(f,h)}}}}}
if(!(R||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var eh=new MutationObserver(dh),fh=function(a){eh.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)fh(document);else{var gh=function(){fh(document.body)};window.HTMLImports?window.HTMLImports.whenReady(gh):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){gh();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
a)}else gh()})}$g=function(){dh(eh.takeRecords())}}var hh=$g;var ih={};var jh=Promise.resolve();function kh(a){if(a=ih[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function lh(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function mh(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,jh.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};var nh={},oh=new Zg;function Y(){this.F={};this.c=document.documentElement;var a=new mf;a.rules=[];this.f=Fg(this.c,new Eg(a));this.B=!1;this.b=this.a=null}q=Y.prototype;q.flush=function(){hh()};q.Ka=function(a){return Sf(a)};q.Xa=function(a){return Qf(a)};q.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
q.prepareTemplateStyles=function(a,b,c){if(!a._prepared&&!Hf){R||Wg[b]||(Wg[b]=Xf(b));a._prepared=!0;a.name=b;a.extends=c;ih[b]=a;var d=dg(a),e=eg(d);c={is:b,extends:c};for(var f=[],g=a.content.querySelectorAll("style"),h=0;h<g.length;h++){var k=g[h];if(k.hasAttribute("shady-unscoped")){if(!R){var l=k.textContent;Pf.has(l)||(Pf.add(l),l=k.cloneNode(!0),document.head.appendChild(l));k.parentNode.removeChild(k)}}else f.push(k.textContent),k.parentNode.removeChild(k)}f=f.join("").trim()+(nh[b]||"");
ph(this);if(!e){if(g=!d)g=Kf.test(f)||Jf.test(f),Kf.lastIndex=0,Jf.lastIndex=0;h=nf(f);g&&U&&this.a&&this.a.transformRules(h,b);a._styleAst=h}g=[];U||(g=Jg(a._styleAst));if(!g.length||U)h=R?a.content:null,b=Wg[b]||null,d=lg(c,a._styleAst,null,d,e?f:""),d=d.length?Uf(d,c.is,h,b):null,a._style=d;a.a=g}};q.Ra=function(a,b){nh[b]=a.join(" ")};q.prepareTemplateDom=function(a,b){if(!Hf){var c=dg(a);R||"shady"===c||a._domPrepared||(a._domPrepared=!0,gg(a.content,b))}};
function qh(a){var b=bg(a),c=b.is;b=b.Y;var d=Wg[c]||null,e=ih[c];if(e){c=e._styleAst;var f=e.a;e=dg(e);b=new Eg(c,d,f,b,e);Fg(a,b);return b}}function rh(a){!a.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.b=window.ShadyCSS.CustomStyleInterface,a.b.transformCallback=function(b){a.xa(b)},a.b.validateCallback=function(){requestAnimationFrame(function(){(a.b.enqueued||a.B)&&a.flushCustomStyles()})})}
function ph(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(a.a=window.ShadyCSS.ApplyShim,a.a.invalidCallback=kh);rh(a)}
q.flushCustomStyles=function(){if(!Hf&&(ph(this),this.b)){var a=this.b.processStyles();if(this.b.enqueued&&!eg(this.f.cssBuild)){if(U){if(!this.f.cssBuild)for(var b=0;b<a.length;b++){var c=this.b.getStyleForCustomStyle(a[b]);if(c&&U&&this.a){var d=Sf(c);ph(this);this.a.transformRules(d);c.textContent=Qf(d)}}}else{sh(this,this.c,this.f);for(b=0;b<a.length;b++)(c=this.b.getStyleForCustomStyle(a[b]))&&Ug(c,this.f.K);this.B&&this.styleDocument()}this.b.enqueued=!1}}};
q.styleElement=function(a,b){if(Hf){if(b){X(a)||Fg(a,new Eg(null));var c=X(a);c.G=c.G||{};Object.assign(c.G,b);th(this,a,c)}}else if(c=X(a)||qh(a))if(a!==this.c&&(this.B=!0),b&&(c.G=c.G||{},Object.assign(c.G,b)),U)th(this,a,c);else if(this.flush(),sh(this,a,c),c.la&&c.la.length){b=bg(a).is;var d;a:{if(d=oh.cache[b])for(var e=d.length-1;0<=e;e--){var f=d[e];b:{var g=c.la;for(var h=0;h<g.length;h++){var k=g[h];if(f.J[k]!==c.K[k]){g=!1;break b}}g=!0}if(g){d=f;break a}}d=void 0}g=d?d.styleElement:null;
e=c.H;(f=d&&d.H)||(f=this.F[b]=(this.F[b]||0)+1,f=b+"-"+f);c.H=f;f=c.H;h=Vg;h=g?g.textContent||"":Rg(h,a,c.K,f);k=X(a);var l=k.a;l&&!R&&l!==g&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));R?k.a?(k.a.textContent=h,g=k.a):h&&(g=Uf(h,f,a.shadowRoot,k.b)):g?g.parentNode||(Hg&&-1<h.indexOf("@media")&&(g.textContent=h),Vf(g,null,k.b)):h&&(g=Uf(h,f,null,k.b));g&&(g._useCount=g._useCount||0,k.a!=g&&g._useCount++,k.a=g);f=g;R||(g=c.H,k=h=a.getAttribute("class")||"",e&&(k=h.replace(new RegExp("\\s*x-scope\\s*"+
e+"\\s*","g")," ")),k+=(k?" ":"")+"x-scope "+g,h!==k&&$f(a,k));d||oh.store(b,c.K,f,c.H)}};
function th(a,b,c){var d=bg(b).is;if(c.G){var e=c.G,f;for(f in e)null===f?b.style.removeProperty(f):b.style.setProperty(f,e[f])}e=ih[d];if(!(!e&&b!==a.c||e&&""!==dg(e))&&e&&e._style&&!lh(e)){if(lh(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)ph(a),a.a&&a.a.transformRules(e._styleAst,d),e._style.textContent=lg(b,c.L),mh(e);R&&(a=b.shadowRoot)&&(a=a.querySelector("style"))&&(a.textContent=lg(b,c.L));c.L=e._styleAst}}
function uh(a,b){return(b=ag(b).getRootNode().host)?X(b)||qh(b)?b:uh(a,b):a.c}function sh(a,b,c){var d=uh(a,b),e=X(d),f=e.K;d===a.c||f||(sh(a,d,e),f=e.K);a=Object.create(f||null);d=Qg(b,c.L,c.cssBuild);b=Og(e.L,b).J;Object.assign(a,d.Ma,b,d.Ta);b=c.G;for(var g in b)if((e=b[g])||0===e)a[g]=e;g=Vg;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=Mg(g,a[d],a);c.K=a}q.styleDocument=function(a){this.styleSubtree(this.c,a)};
q.styleSubtree=function(a,b){var c=ag(a),d=c.shadowRoot;(d||a===this.c)&&this.styleElement(a,b);if(a=d&&(d.children||d.childNodes))for(c=0;c<a.length;c++)this.styleSubtree(a[c]);else if(c=c.children||c.childNodes)for(a=0;a<c.length;a++)this.styleSubtree(c[a])};
q.xa=function(a){var b=this,c=dg(a);c!==this.f.cssBuild&&(this.f.cssBuild=c);if(!eg(c)){var d=Sf(a);Rf(d,function(a){if(R)Dg(a);else{var d=V;a.selector=a.parsedSelector;Dg(a);a.selector=a.C=og(d,a,d.c,void 0,void 0)}U&&""===c&&(ph(b),b.a&&b.a.transformRule(a))});U?a.textContent=Qf(d):this.f.L.rules.push(d)}};q.getComputedStyleValue=function(a,b){var c;U||(c=(X(a)||X(uh(this,a))).K[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
q.Wa=function(a,b){var c=ag(a).getRootNode(),d;b?d=("string"===typeof b?b:String(b)).split(/\s/):d=[];b=c.host&&c.host.localName;if(!b&&(c=a.getAttribute("class"))){c=c.split(/\s/);for(var e=0;e<c.length;e++)if(c[e]===V.a){b=c[e+1];break}}b&&d.push(V.a,b);U||(b=X(a))&&b.H&&d.push(Vg.a,b.H);$f(a,d.join(" "))};q.Fa=function(a){return X(a)};q.Va=function(a,b){ig(a,b)};q.Ya=function(a,b){ig(a,b,!0)};q.Ua=function(a){return ch(a)};q.Ia=function(a){return bh(a)};Y.prototype.flush=Y.prototype.flush;
Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.Wa;Y.prototype._styleInfoForNode=Y.prototype.Fa;Y.prototype.transformCustomStyleForDocument=Y.prototype.xa;Y.prototype.getStyleAst=Y.prototype.Ka;Y.prototype.styleAstToString=Y.prototype.Xa;
Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;Y.prototype.scopeNode=Y.prototype.Va;Y.prototype.unscopeNode=Y.prototype.Ya;Y.prototype.scopeForNode=Y.prototype.Ua;Y.prototype.currentScopeForNode=Y.prototype.Ia;Y.prototype.prepareAdoptedCssText=Y.prototype.Ra;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return R}},nativeCss:{get:function(){return U}}});var Z=new Y,vh,wh;window.ShadyCSS&&(vh=window.ShadyCSS.ApplyShim,wh=window.ShadyCSS.CustomStyleInterface);
window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplate(a,b,c)},prepareTemplateDom:function(a,b){Z.prepareTemplateDom(a,b)},prepareTemplateStyles:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplateStyles(a,b,c)},styleSubtree:function(a,b){Z.flushCustomStyles();Z.styleSubtree(a,b)},styleElement:function(a){Z.flushCustomStyles();Z.styleElement(a)},styleDocument:function(a){Z.flushCustomStyles();Z.styleDocument(a)},flushCustomStyles:function(){Z.flushCustomStyles()},
getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:U,nativeShadow:R,cssBuild:If,disableRuntime:Hf};vh&&(window.ShadyCSS.ApplyShim=vh);wh&&(window.ShadyCSS.CustomStyleInterface=wh);(function(a){function b(a){""==a&&(f.call(this),this.i=!0);return a.toLowerCase()}function c(a){var b=a.charCodeAt(0);return 32<b&&127>b&&-1==[34,35,60,62,63,96].indexOf(b)?a:encodeURIComponent(a)}function d(a){var b=a.charCodeAt(0);return 32<b&&127>b&&-1==[34,35,60,62,96].indexOf(b)?a:encodeURIComponent(a)}function e(a,e,g){function h(a){aa.push(a)}var k=e||"scheme start",v=0,p="",F=!1,fa=!1,aa=[];a:for(;(void 0!=a[v-1]||0==v)&&!this.i;){var m=a[v];switch(k){case "scheme start":if(m&&x.test(m))p+=
m.toLowerCase(),k="scheme";else if(e){h("Invalid scheme.");break a}else{p="";k="no scheme";continue}break;case "scheme":if(m&&S.test(m))p+=m.toLowerCase();else if(":"==m){this.h=p;p="";if(e)break a;void 0!==l[this.h]&&(this.A=!0);k="file"==this.h?"relative":this.A&&g&&g.h==this.h?"relative or authority":this.A?"authority first slash":"scheme data"}else if(e){void 0!=m&&h("Code point not allowed in scheme: "+m);break a}else{p="";v=0;k="no scheme";continue}break;case "scheme data":"?"==m?(this.o="?",
k="query"):"#"==m?(this.u="#",k="fragment"):void 0!=m&&"\t"!=m&&"\n"!=m&&"\r"!=m&&(this.ia+=c(m));break;case "no scheme":if(g&&void 0!==l[g.h]){k="relative";continue}else h("Missing scheme."),f.call(this),this.i=!0;break;case "relative or authority":if("/"==m&&"/"==a[v+1])k="authority ignore slashes";else{h("Expected /, got: "+m);k="relative";continue}break;case "relative":this.A=!0;"file"!=this.h&&(this.h=g.h);if(void 0==m){this.j=g.j;this.m=g.m;this.l=g.l.slice();this.o=g.o;this.s=g.s;this.g=g.g;
break a}else if("/"==m||"\\"==m)"\\"==m&&h("\\ is an invalid code point."),k="relative slash";else if("?"==m)this.j=g.j,this.m=g.m,this.l=g.l.slice(),this.o="?",this.s=g.s,this.g=g.g,k="query";else if("#"==m)this.j=g.j,this.m=g.m,this.l=g.l.slice(),this.o=g.o,this.u="#",this.s=g.s,this.g=g.g,k="fragment";else{k=a[v+1];var y=a[v+2];if("file"!=this.h||!x.test(m)||":"!=k&&"|"!=k||void 0!=y&&"/"!=y&&"\\"!=y&&"?"!=y&&"#"!=y)this.j=g.j,this.m=g.m,this.s=g.s,this.g=g.g,this.l=g.l.slice(),this.l.pop();k=
"relative path";continue}break;case "relative slash":if("/"==m||"\\"==m)"\\"==m&&h("\\ is an invalid code point."),k="file"==this.h?"file host":"authority ignore slashes";else{"file"!=this.h&&(this.j=g.j,this.m=g.m,this.s=g.s,this.g=g.g);k="relative path";continue}break;case "authority first slash":if("/"==m)k="authority second slash";else{h("Expected '/', got: "+m);k="authority ignore slashes";continue}break;case "authority second slash":k="authority ignore slashes";if("/"!=m){h("Expected '/', got: "+
m);continue}break;case "authority ignore slashes":if("/"!=m&&"\\"!=m){k="authority";continue}else h("Expected authority, got: "+m);break;case "authority":if("@"==m){F&&(h("@ already seen."),p+="%40");F=!0;for(m=0;m<p.length;m++)y=p[m],"\t"==y||"\n"==y||"\r"==y?h("Invalid whitespace in authority."):":"==y&&null===this.g?this.g="":(y=c(y),null!==this.g?this.g+=y:this.s+=y);p=""}else if(void 0==m||"/"==m||"\\"==m||"?"==m||"#"==m){v-=p.length;p="";k="host";continue}else p+=m;break;case "file host":if(void 0==
m||"/"==m||"\\"==m||"?"==m||"#"==m){2!=p.length||!x.test(p[0])||":"!=p[1]&&"|"!=p[1]?(0!=p.length&&(this.j=b.call(this,p),p=""),k="relative path start"):k="relative path";continue}else"\t"==m||"\n"==m||"\r"==m?h("Invalid whitespace in file host."):p+=m;break;case "host":case "hostname":if(":"!=m||fa)if(void 0==m||"/"==m||"\\"==m||"?"==m||"#"==m){this.j=b.call(this,p);p="";k="relative path start";if(e)break a;continue}else"\t"!=m&&"\n"!=m&&"\r"!=m?("["==m?fa=!0:"]"==m&&(fa=!1),p+=m):h("Invalid code point in host/hostname: "+
m);else if(this.j=b.call(this,p),p="",k="port","hostname"==e)break a;break;case "port":if(/[0-9]/.test(m))p+=m;else if(void 0==m||"/"==m||"\\"==m||"?"==m||"#"==m||e){""!=p&&(p=parseInt(p,10),p!=l[this.h]&&(this.m=p+""),p="");if(e)break a;k="relative path start";continue}else"\t"==m||"\n"==m||"\r"==m?h("Invalid code point in port: "+m):(f.call(this),this.i=!0);break;case "relative path start":"\\"==m&&h("'\\' not allowed in path.");k="relative path";if("/"!=m&&"\\"!=m)continue;break;case "relative path":if(void 0!=
m&&"/"!=m&&"\\"!=m&&(e||"?"!=m&&"#"!=m))"\t"!=m&&"\n"!=m&&"\r"!=m&&(p+=c(m));else{"\\"==m&&h("\\ not allowed in relative path.");if(y=n[p.toLowerCase()])p=y;".."==p?(this.l.pop(),"/"!=m&&"\\"!=m&&this.l.push("")):"."==p&&"/"!=m&&"\\"!=m?this.l.push(""):"."!=p&&("file"==this.h&&0==this.l.length&&2==p.length&&x.test(p[0])&&"|"==p[1]&&(p=p[0]+":"),this.l.push(p));p="";"?"==m?(this.o="?",k="query"):"#"==m&&(this.u="#",k="fragment")}break;case "query":e||"#"!=m?void 0!=m&&"\t"!=m&&"\n"!=m&&"\r"!=m&&(this.o+=
d(m)):(this.u="#",k="fragment");break;case "fragment":void 0!=m&&"\t"!=m&&"\n"!=m&&"\r"!=m&&(this.u+=m)}v++}}function f(){this.s=this.ia=this.h="";this.g=null;this.m=this.j="";this.l=[];this.u=this.o="";this.A=this.i=!1}function g(a,b){void 0===b||b instanceof g||(b=new g(String(b)));this.a=a;f.call(this);a=this.a.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");e.call(this,a,null,b)}var h=!1;try{var k=new URL("b","http://a");k.pathname="c%20d";h="http://a/c%20d"===k.href}catch(v){}if(!h){var l=Object.create(null);
l.ftp=21;l.file=0;l.gopher=70;l.http=80;l.https=443;l.ws=80;l.wss=443;var n=Object.create(null);n["%2e"]=".";n[".%2e"]="..";n["%2e."]="..";n["%2e%2e"]="..";var x=/[a-zA-Z]/,S=/[a-zA-Z0-9\+\-\.]/;g.prototype={toString:function(){return this.href},get href(){if(this.i)return this.a;var a="";if(""!=this.s||null!=this.g)a=this.s+(null!=this.g?":"+this.g:"")+"@";return this.protocol+(this.A?"//"+a+this.host:"")+this.pathname+this.o+this.u},set href(a){f.call(this);e.call(this,a)},get protocol(){return this.h+
":"},set protocol(a){this.i||e.call(this,a+":","scheme start")},get host(){return this.i?"":this.m?this.j+":"+this.m:this.j},set host(a){!this.i&&this.A&&e.call(this,a,"host")},get hostname(){return this.j},set hostname(a){!this.i&&this.A&&e.call(this,a,"hostname")},get port(){return this.m},set port(a){!this.i&&this.A&&e.call(this,a,"port")},get pathname(){return this.i?"":this.A?"/"+this.l.join("/"):this.ia},set pathname(a){!this.i&&this.A&&(this.l=[],e.call(this,a,"relative path start"))},get search(){return this.i||
!this.o||"?"==this.o?"":this.o},set search(a){!this.i&&this.A&&(this.o="?","?"==a[0]&&(a=a.slice(1)),e.call(this,a,"query"))},get hash(){return this.i||!this.u||"#"==this.u?"":this.u},set hash(a){this.i||(a?(this.u="#","#"==a[0]&&(a=a.slice(1)),e.call(this,a,"fragment")):this.u="")},get origin(){var a;if(this.i||!this.h)return"";switch(this.h){case "data":case "file":case "javascript":case "mailto":return"null"}return(a=this.host)?this.h+"://"+a:""}};var F=a.URL;F&&(g.createObjectURL=function(a){return F.createObjectURL.apply(F,
arguments)},g.revokeObjectURL=function(a){F.revokeObjectURL(a)});a.URL=g}})(window);Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var a=(this.ownerDocument||this).querySelector("base[href]");return a&&a.href||window.location.href},configurable:!0,enumerable:!0});var xh=document.createElement("style");xh.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var yh=document.querySelector("head");yh.insertBefore(xh,yh.firstChild);var zh=window.customElements,Ah=!1,Bh=null;zh.polyfillWrapFlushCallback&&zh.polyfillWrapFlushCallback(function(a){Bh=a;Ah&&a()});function Ch(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document);Bh&&Bh();Ah=!0;window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}
"complete"!==document.readyState?(window.addEventListener("load",Ch),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",Ch);Ch()})):Ch();}).call(this);

//# sourceMappingURL=webcomponents-bundle.js.map
