Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.
Heuristics Diff
- (function(){"use strict";function t(){t=function(){},a.Symbol||(a.Symbol=c)}function e(){t();var o=a.Symbol.iterator;o||(o=a.Symbol.iterator=a.Symbol("iterator")),"function"!=typeof Array.prototype[o]&&s(Array.prototype,o,{configurable:!0,writable:!0,value:function(){return n(this)}}),e=function(){}}function n(t){var e=0;return o(function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}})}function o(t){return e(),t={next:t},t[a.Symbol.iterator]=function(){return this},t}function r(t){e();var o=t[Symbol.iterator];return o?o.call(t):n(t)}function i(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}var a="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,s="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},c=function(){var t=0;return function(e){return"jscomp_symbol_"+(e||"")+t++}}();!function(){function t(){var t=this;this.s={},this.g=document.documentElement;var e=new u;e.rules=[],this.h=c.set(this.g,new c(e)),this.i=!1,this.b=this.a=null,ve(function(){t.c()})}function e(){this.customStyles=[],this.enqueued=!1}function n(){}function o(t){this.cache={},this.c=void 0===t?100:t}function s(){}function c(t,e,n,o,r){this.G=t||null,this.b=e||null,this.va=n||[],this.S=null,this.$=r||"",this.a=this.C=this.M=null}function l(){}function u(){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 h(t,e){function n(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(Xt(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}}var o=Element.prototype;void 0!==e.sa&&(o.before=n(e.sa)),void 0!==e.sa&&(o.after=n(e.kb)),void 0!==e.replaceWith&&Zt(o,"replaceWith",function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(a=Xt(this),e.replaceWith.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(a)for(t.a(this),o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}),void 0!==e.remove&&Zt(o,"remove",function(){var n=Xt(this);e.remove.call(this),n&&t.a(this)})}function d(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(Xt(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}}void 0!==n.fa&&(e.prepend=o(n.fa)),void 0!==n.append&&(e.append=o(n.append))}function p(t){this.c=!1,this.a=t,this.h=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.i=new y(t,document)}function f(){var t=this;this.b=this.a=void 0,this.c=new Promise(function(e){t.b=e,t.a&&e(t.a)})}function y(t,e){this.b=t,this.a=e,this.P=void 0,this.b.f(this.a),"loading"===this.a.readyState&&(this.P=new MutationObserver(this.f.bind(this)),this.P.observe(this.a,{childList:!0,subtree:!0}))}function m(){this.u=new Map,this.s=new Map,this.j=[],this.h=!1}function v(t,e,n){if(t!==Pn)throw new TypeError("Illegal constructor");return t=document.createDocumentFragment(),t.__proto__=v.prototype,t.H(e,n),t}function _(t){if(!t.__shady||void 0===t.__shady.firstChild){t.__shady=t.__shady||{},t.__shady.firstChild=rt(t),t.__shady.lastChild=it(t),On(t);for(var e,n=t.__shady.childNodes=ct(t),o=0;o<n.length&&(e=n[o]);o++)e.__shady=e.__shady||{},e.__shady.parentNode=t,e.__shady.nextSibling=n[o+1]||null,e.__shady.previousSibling=n[o-1]||null,Tn(e)}}function g(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.da=new Set}function b(t,e){Oe[Ee]=t,Oe[Ee+1]=e,2===(Ee+=2)&&(be?be(N):xe())}function w(){return void 0!==ge?function(){ge(N)}:E()}function E(){var t=setTimeout;return function(){return t(N,1)}}function N(){for(var t=0;t<Ee;t+=2)(0,Oe[t])(Oe[t+1]),Oe[t]=void 0,Oe[t+1]=void 0;Ee=0}function C(t,e){var n=this,o=new this.constructor(T);void 0===o[Ae]&&W(o);var r=n.o;if(r){var i=arguments[r-1];b(function(){return I(r,o,i,n.m)})}else P(n,o,t,e);return o}function S(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(T);return L(e,t),e}function T(){}function O(t){try{return t.then}catch(t){return De.error=t,De}}function x(t,e,n,o){try{t.call(e,n,o)}catch(t){return t}}function A(t,e,n){b(function(t){var o=!1,r=x(n,e,function(n){o||(o=!0,e!==n?L(t,n):k(t,n))},function(e){o||(o=!0,R(t,e))});!o&&r&&(o=!0,R(t,r))},t)}function D(t,e){1===e.o?k(t,e.m):2===e.o?R(t,e.m):P(e,void 0,function(e){return L(t,e)},function(e){return R(t,e)})}function M(t,e,n){e.constructor===t.constructor&&n===C&&e.constructor.resolve===S?D(t,e):n===De?(R(t,De.error),De.error=null):void 0===n?k(t,e):"function"==typeof n?A(t,e,n):k(t,e)}function L(t,e){if(t===e)R(t,new TypeError("You cannot resolve a promise with itself"));else{var n=typeof e;null===e||"object"!==n&&"function"!==n?k(t,e):M(t,e,O(e))}}function j(t){t.Ea&&t.Ea(t.m),H(t)}function k(t,e){void 0===t.o&&(t.m=e,t.o=1,0!==t.U.length&&b(H,t))}function R(t,e){void 0===t.o&&(t.o=2,t.m=e,b(j,t))}function P(t,e,n,o){var r=t.U,i=r.length;t.Ea=null,r[i]=e,r[i+1]=n,r[i+2]=o,0===i&&t.o&&b(H,t)}function H(t){var e=t.U,n=t.o;if(0!==e.length){for(var o,r,i=t.m,a=0;a<e.length;a+=3)o=e[a],r=e[a+n],o?I(n,o,r,i):r(i);t.U.length=0}}function F(){this.error=null}function I(t,e,n,o){var r="function"==typeof n;if(r){try{var i=n(o)}catch(t){Me.error=t,i=Me}if(i===Me){var a=!0,s=i.error;i.error=null}else var c=!0;if(e===i)return void R(e,new TypeError("A promises callback cannot return that same promise."))}else i=o,c=!0;void 0===e.o&&(r&&c?L(e,i):a?R(e,s):1===t?k(e,i):2===t&&R(e,i))}function q(t,e){try{e(function(e){L(t,e)},function(e){R(t,e)})}catch(e){R(t,e)}}function W(t){t[Ae]=Le++,t.o=void 0,t.m=void 0,t.U=[]}function B(t,e){this.fb=t,this.L=new t(T),this.L[Ae]||W(this.L),we(e)?(this.aa=this.length=e.length,this.m=Array(this.length),0===this.length?k(this.L,this.m):(this.length=this.length||0,this.eb(e),0===this.aa&&k(this.L,this.m))):R(this.L,Error("Array Methods must be provided an Array"))}function V(t){if(this[Ae]=Le++,this.m=this.o=void 0,this.U=[],T!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof V))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");q(this,t)}}function U(t){return t.__shady&&void 0!==t.__shady.firstChild}function G(t){return"ShadyRoot"===t.Xa}function K(t){if(t=t.getRootNode(),G(t))return t}function $(t,e){if(t&&e)for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length&&(n=o[r]);r++){var i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(t,n,i)}}function Y(t,e){for(var n=[],o=1;o<arguments.length;++o)n[o-1]=arguments[o];for(o=0;o<n.length;o++)$(t,n[o]);return t}function X(t,e){for(var n in e)t[n]=e[n]}function z(t){$e.push(t),Ge.textContent=Ke++}function J(t,e){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function Z(t){Ye||(Ye=!0,z(Q)),ze.push(t)}function Q(){Ye=!1;for(var t=!!ze.length;ze.length;)ze.shift()();return t}function tt(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function et(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}function nt(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):t.childNodes,i=0,a=r.length;i<a&&(n=r[i]);i++){t:{var s=n,c=t,l=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,h="<"+u,d=s.attributes,p=0;c=d[p];p++)h+=" "+c.name+'="'+c.value.replace(dn,tt)+'"';h+=">",s=fn[u]?h:h+nt(s,l)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=c&&yn[c.localName]?s:s.replace(pn,tt);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}o+=s}return o}function ot(t){return mn.currentNode=t,mn.parentNode()}function rt(t){return mn.currentNode=t,mn.firstChild()}function it(t){return mn.currentNode=t,mn.lastChild()}function at(t){return mn.currentNode=t,mn.previousSibling()}function st(t){return mn.currentNode=t,mn.nextSibling()}function ct(t){var e=[];for(mn.currentNode=t,t=mn.firstChild();t;)e.push(t),t=mn.nextSibling();return e}function lt(t){return vn.currentNode=t,vn.parentNode()}function ut(t){return vn.currentNode=t,vn.firstChild()}function ht(t){return vn.currentNode=t,vn.lastChild()}function dt(t){return vn.currentNode=t,vn.previousSibling()}function pt(t){return vn.currentNode=t,vn.nextSibling()}function ft(t){var e=[];for(vn.currentNode=t,t=vn.firstChild();t;)e.push(t),t=vn.nextSibling();return e}function yt(t){return nt(t,function(t){return ct(t)})}function mt(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);for(var e,n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return t.nodeValue}}function vt(t,e,n){for(var o in e){var r=Object.getOwnPropertyDescriptor(t,o);r&&r.configurable||!r&&n?Object.defineProperty(t,o,e[o]):n&&console.warn("Could not define",o,"on",t)}}function _t(t){vt(t,En),vt(t,Nn),vt(t,Sn)}function gt(t,e,n){Tn(t),n=n||null,t.__shady=t.__shady||{},e.__shady=e.__shady||{},n&&(n.__shady=n.__shady||{}),t.__shady.previousSibling=n?n.__shady.previousSibling:e.lastChild;var o=t.__shady.previousSibling;o&&o.__shady&&(o.__shady.nextSibling=t),(o=t.__shady.nextSibling=n)&&o.__shady&&(o.__shady.previousSibling=t),t.__shady.parentNode=e,n?n===e.__shady.firstChild&&(e.__shady.firstChild=t):(e.__shady.lastChild=t,e.__shady.firstChild||(e.__shady.firstChild=t)),e.__shady.childNodes=null}function bt(t,e,n){if(e===t)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var o=n.__shady&&n.__shady.parentNode;if(void 0!==o&&o!==t||void 0===o&&ot(n)!==t)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(n===e)return e;e.parentNode&&wt(e.parentNode,e);var r;if(r=o=K(t))t:{if(!e.__noInsertionPoint){var i;if("slot"===e.localName?i=[e]:e.querySelectorAll&&(i=e.querySelectorAll("slot")),i&&i.length){r=i;break t}}r=void 0}if((i=r)&&o.ab(i),o&&("slot"===t.localName||i)&&o.O(),U(t)){if(o=n,On(t),t.__shady=t.__shady||{},void 0!==t.__shady.firstChild&&(t.__shady.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(i=e.childNodes,r=0;r<i.length;r++)gt(i[r],t,o);e.__shady=e.__shady||{},o=void 0!==e.__shady.firstChild?null:void 0,e.__shady.firstChild=e.__shady.lastChild=o,e.__shady.childNodes=o}else gt(e,t,o);if(Ct(t)){t.__shady.root.O();var a=!0}else t.__shady.root&&(a=!0)}return a||(a=G(t)?t.host:t,n?(n=Nt(n),Ze.call(a,e,n)):Je.call(a,e)),Tt(t,e),e}function wt(t,e){if(e.parentNode!==t)throw Error("The node to be removed is not a child of this node: "+e);var n=K(e);if(U(t)){e.__shady=e.__shady||{},t.__shady=t.__shady||{},e===t.__shady.firstChild&&(t.__shady.firstChild=e.__shady.nextSibling),e===t.__shady.lastChild&&(t.__shady.lastChild=e.__shady.previousSibling);var o=e.__shady.previousSibling,r=e.__shady.nextSibling;if(o&&(o.__shady=o.__shady||{},o.__shady.nextSibling=r),r&&(r.__shady=r.__shady||{},r.__shady.previousSibling=o),e.__shady.parentNode=e.__shady.previousSibling=e.__shady.nextSibling=void 0,void 0!==t.__shady.childNodes&&(t.__shady.childNodes=null),Ct(t)){t.__shady.root.O();var i=!0}}return Et(e),n&&((r=t&&"slot"===t.localName)&&(i=!0),((o=n.hb(e))||r)&&n.O()),i||(i=G(t)?t.host:t,(!t.__shady.root&&"slot"!==e.localName||i===ot(e))&&Qe.call(i,e)),Tt(t,null,e),e}function Et(t){if(t.__shady&&void 0!==t.__shady.wa)for(var e,n=t.childNodes,o=0,r=n.length;o<r&&(e=n[o]);o++)Et(e);t.__shady&&(t.__shady.wa=void 0)}function Nt(t){var e=t;return t&&"slot"===t.localName&&(e=(e=t.__shady&&t.__shady.W)&&e.length?e[0]:Nt(t.nextSibling)),e}function Ct(t){return(t=t&&t.__shady&&t.__shady.root)&&t.Da()}function St(t,e){"slot"===e?(t=t.parentNode,Ct(t)&&t.__shady.root.O()):"slot"===t.localName&&"name"===e&&(e=K(t))&&(e.jb(t),e.O())}function Tt(t,e,n){(t=t.__shady&&t.__shady.Y)&&(e&&t.addedNodes.push(e),n&&t.removedNodes.push(n),t.vb())}function Ot(t){if(t&&t.nodeType){t.__shady=t.__shady||{};var e=t.__shady.wa;return void 0===e&&(e=G(t)?t:(e=t.parentNode)?Ot(e):t,un.call(document.documentElement,t)&&(t.__shady.wa=e)),e}}function xt(t,e,n){var o=[];return At(t.childNodes,e,n,o),o}function At(t,e,n,o){for(var r,i=0,a=t.length;i<a&&(r=t[i]);i++){var s;if(s=r.nodeType===Node.ELEMENT_NODE){var c=e,l=n,u=o,h=c(s=r);h&&u.push(s),l&&l(h)?s=h:(At(s.childNodes,c,l,u),s=void 0)}if(s)break}}function Dt(t){G(t=t.getRootNode())&&t.Ga()}function Mt(t,e,n){xn||(xn=window.ShadyCSS&&window.ShadyCSS.ScopingShim),xn&&"class"===e?xn.setElementClass(t,n):(tn.call(t,e,n),St(t,e))}function Lt(t,e){if(t.ownerDocument!==document)return on.call(document,t,e);var n=on.call(document,t,!1);if(e){t=t.childNodes,e=0;for(var o;e<t.length;e++)o=Lt(t[e],!0),n.appendChild(o)}return n}function jt(t,e){var n=[],o=t;for(t=t===window?window:t.getRootNode();o;)n.push(o),o=o.assignedSlot?o.assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(e||o!==t)?o.host:o.parentNode;return n[n.length-1]===document&&n.push(window),n}function kt(t,e){if(!G)return t;t=jt(t,!0);for(var n,o,r,i,a=0;a<e.length;a++)if(n=e[a],(r=n===window?window:n.getRootNode())!==o&&(i=t.indexOf(r),o=r),!G(r)||-1<i)return n}function Rt(t){function e(e,n){return e=new t(e,n),e.la=n&&!!n.composed,e}return X(e,t),e.prototype=t.prototype,e}function Pt(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var o,r=0;(o=n[r])&&t.target!==t.relatedTarget&&(o.call(e,t),!t.Va);r++);}function Ht(t){var e=t.composedPath();Object.defineProperty(t,"currentTarget",{get:function(){return o},configurable:!0});for(var n=e.length-1;0<=n;n--){var o=e[n];if(Pt(t,o,"capture"),t.ma)return}Object.defineProperty(t,"eventPhase",{get:function(){return Event.AT_TARGET}});var r;for(n=0;n<e.length;n++){var i=(o=e[n]).__shady&&o.__shady.root;if((0===n||i&&i===r)&&(Pt(t,o,"bubble"),o!==window&&(r=o.getRootNode()),t.ma))break}}function Ft(t,e,n,o,r,i){for(var a=0;a<t.length;a++){var s=t[a],c=s.type,l=s.capture,u=s.once,h=s.passive;if(e===s.node&&n===c&&o===l&&r===u&&i===h)return a}return-1}function It(t,e,n){if(e){if("object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.na||this,s=e[An];if(s){if(-1<Ft(s,a,t,o,r,i))return}else e[An]=[];s=function(o){if(r&&this.removeEventListener(t,e,n),o.__target||Wt(o),a!==this){var i=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})}if(o.composed||-1<o.composedPath().indexOf(a))if(o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a){var s="object"==typeof e&&e.handleEvent?e.handleEvent(o):e.call(a,o);return a!==this&&(i?(Object.defineProperty(o,"currentTarget",i),i=null):delete o.currentTarget),s}},e[An].push({node:this,type:t,capture:o,once:r,passive:i,zb:s}),Ln[t]?(this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s)):(this instanceof Window?sn:rn).call(this,t,s,n)}}function qt(t,e,n){if(e){if("object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.na||this,s=void 0,c=null;try{c=e[An]}catch(t){}c&&-1<(r=Ft(c,a,t,o,r,i))&&(s=c.splice(r,1)[0].zb,c.length||(e[An]=void 0)),(this instanceof Window?cn:an).call(this,t,s||e,n),s&&Ln[t]&&this.__handlers&&this.__handlers[t]&&(t=this.__handlers[t][o?"capture":"bubble"],-1<(s=t.indexOf(s))&&t.splice(s,1))}}function Wt(t){if(t.__target=t.target,t.Ba=t.relatedTarget,We.X){var e=Mn,n=Object.getPrototypeOf(t);if(!n.hasOwnProperty("__patchProto")){var o=Object.create(n);o.Bb=n,$(o,e),n.__patchProto=o}t.__proto__=n.__patchProto}else $(t,Mn)}function Bt(t,e){return{index:t,Z:[],ca:e}}function Vt(t,e,n,o){var r=0,i=0,a=0,s=0,c=Math.min(e-r,o-i);if(0==r&&0==i)t:{for(a=0;a<c;a++)if(t[a]!==n[a])break t;a=c}if(e==t.length&&o==n.length){s=t.length;for(var l=n.length,u=0;u<c-a&&Ut(t[--s],n[--l]);)u++;s=u}if(r+=a,i+=a,e-=s,o-=s,0==e-r&&0==o-i)return[];if(r==e){for(e=Bt(r,0);i<o;)e.Z.push(n[i++]);return[e]}if(i==o)return[Bt(r,e-r)];for(o=o-(a=i)+1,s=e-(c=r)+1,e=Array(o),l=0;l<o;l++)e[l]=Array(s),e[l][0]=l;for(l=0;l<s;l++)e[0][l]=l;for(l=1;l<o;l++)for(u=1;u<s;u++)if(t[c+u-1]===n[a+l-1])e[l][u]=e[l-1][u-1];else{var h=e[l-1][u]+1,d=e[l][u-1]+1;e[l][u]=h<d?h:d}for(c=e.length-1,a=e[0].length-1,o=e[c][a],t=[];0<c||0<a;)0==c?(t.push(2),a--):0==a?(t.push(3),c--):(s=e[c-1][a-1],l=e[c-1][a],u=e[c][a-1],(h=l<u?l<s?l:s:u<s?u:s)==s?(s==o?t.push(0):(t.push(1),o=s),c--,a--):h==l?(t.push(3),c--,o=l):(t.push(2),a--,o=u));for(t.reverse(),e=void 0,c=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(c.push(e),e=void 0),r++,i++;break;case 1:e||(e=Bt(r,0)),e.ca++,r++,e.Z.push(n[i]),i++;break;case 2:e||(e=Bt(r,0)),e.ca++,r++;break;case 3:e||(e=Bt(r,0)),e.Z.push(n[i]),i++}return e&&c.push(e),c}function Ut(t,e){return t===e}function Gt(t){var e=[];do{e.unshift(t)}while(t=t.parentNode);return e}function Kt(t){return Dt(t),t.__shady&&t.__shady.assignedSlot||null}function $t(t,e){for(var n=Object.getOwnPropertyNames(e),o=0;o<n.length;o++){var r=n[o],i=Object.getOwnPropertyDescriptor(e,r);i.value?t[r]=i.value:Object.defineProperty(t,r,i)}}function Yt(t){var e=Kn.has(t);return t=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(t),!e&&t}function Xt(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function zt(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Jt(t,e,n){n=n||new Set;for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if((o=r.import)instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)Jt(o,e,n);o=zt(t,r);continue}if("template"===i){o=zt(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)Jt(r,e,n)}o=o.firstChild?o.firstChild:zt(t,o)}}function Zt(t,e,n){t[e]=n}function Qt(t){var e=te,n=t=t.replace(Do.mb,"").replace(Do.port,""),o=new u;o.start=0,o.end=n.length;for(var r=o,i=0,a=n.length;i<a;i++)if("{"===n[i]){r.rules||(r.rules=[]);var s=r,c=s.rules[s.rules.length-1]||null;(r=new u).start=i+1,r.parent=s,r.previous=c,s.rules.push(r)}else"}"===n[i]&&(r.end=i+1,r=r.parent||o);return e(o,t)}function te(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1),n=ee(n),n=n.replace(Do.Ma," "),n=n.substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=Ao.MEDIA_RULE:n.match(Do.rb)&&(t.type=Ao.ka,t.keyframesName=t.selector.split(Do.Ma).pop()):t.type=0===n.indexOf("--")?Ao.xa:Ao.STYLE_RULE),n=t.rules)for(var o,r=0,i=n.length;r<i&&(o=n[r]);r++)te(o,e);return t}function ee(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t})}function ne(t,e,n){n=void 0===n?"":n;var o="";if(t.cssText||t.rules){var r,i=t.rules;if((r=i)&&(r=i[0],r=!(r&&r.selector&&0===r.selector.indexOf("--"))),r){r=0;for(var a,s=i.length;r<s&&(a=i[r]);r++)o=ne(a,e,o)}else e?e=t.cssText:(e=t.cssText,e=e.replace(Do.Ha,"").replace(Do.La,""),e=e.replace(Do.sb,"").replace(Do.xb,"")),(o=e.trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(n+=t.selector+" {\n"),n+=o,t.selector&&(n+="}\n\n")),n}function oe(t){Lo=(!t||!t.shimcssproperties)&&(Mo||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}function re(t,e){return t?("string"==typeof t&&(t=Qt(t)),e&&se(t,e),ne(t,Lo)):""}function ie(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=Qt(t.textContent)),t.__cssRules||null}function ae(t){return!!t.parent&&t.parent.type===Ao.ka}function se(t,e,n,o){if(t){var r=!1,i=t.type;if(o&&i===Ao.MEDIA_RULE){var a=t.selector.match(Ho);a&&(window.matchMedia(a[1]).matches||(r=!0))}if(i===Ao.STYLE_RULE?e(t):n&&i===Ao.ka?n(t):i===Ao.xa&&(r=!0),(t=t.rules)&&!r){r=0,i=t.length;for(var s;r<i&&(s=t[r]);r++)se(s,e,n,o)}}}function ce(t,e,n,o){var r=document.createElement("style");return e&&r.setAttribute("scope",e),r.textContent=t,le(r,n,o),r}function le(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Io?t.compareDocumentPosition(Io)===Node.DOCUMENT_POSITION_PRECEDING&&(Io=t):Io=t}function ue(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");t:{for(var o=0,r=n+3,i=t.length;r<i;r++)if("("===t[r])o++;else if(")"===t[r]&&0==--o)break t;r=-1}return o=t.substring(n+4,r),n=t.substring(0,n),t=ue(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function he(t,e){Mo?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}function de(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,$:n}}function pe(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var o=0;o<n.addedNodes.length;o++){var r=n.addedNodes[o];if(r.nodeType===Node.ELEMENT_NODE){var i=r.getRootNode(),a=r,s=[];if(a.classList?s=Array.from(a.classList):a instanceof window.SVGElement&&a.hasAttribute("class")&&(s=a.getAttribute("class").split(/\s+/)),a=s,s=a.indexOf(nr.a),(a=-1<s?a[s+1]:"")&&i===r.ownerDocument)nr.b(r,a,!0);else if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(i=i.host))if(i=de(i).is,a===i)for(r=window.ShadyDOM.nativeMethods.querySelectorAll.call(r,":not(."+nr.a+")"),i=0;i<r.length;i++)nr.h(r[i],a);else a&&nr.b(r,a,!0),nr.b(r,i)}}}}function fe(t){(t=pr[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function ye(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}function me(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t.b||(t.b=!0,fr.then(function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t.b=!1}))}function ve(t){requestAnimationFrame(function(){mr?mr(t):(yr||(yr=new Promise(function(t){dr=t}),"complete"===document.readyState?dr():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&dr()})),yr.then(function(){t&&t()}))})}!function(){if(!function(){var t=document.createEvent("Event");return t.initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented}()){var t=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(t.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var e=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||e&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||e&&"function"!=typeof window.Event){var n=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},n)for(var o in n)window.Event[o]=n[o];window.Event.prototype=n.prototype}if(!window.MouseEvent||e&&"function"!=typeof window.MouseEvent){if(e=window.MouseEvent,window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},e)for(o in e)window.MouseEvent[o]=e[o];window.MouseEvent.prototype=e.prototype}Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)if(n=o[r])for(var i=t,a=n,s=Object.getOwnPropertyNames(a),c=0;c<s.length;c++)n=s[c],i[n]=a[n];return t})}(window.WebComponents),function(){function t(){}var e="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var t=Document.prototype.importNode;Document.prototype.importNode=function(){var e=t.apply(this,arguments);if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=this.createDocumentFragment();return n.appendChild(e),n}return e}}();var n=Node.prototype.cloneNode,o=Document.prototype.createElement,r=Document.prototype.importNode,i=function(){if(!e){var t=document.createElement("template"),n=document.createElement("template");return n.content.appendChild(document.createElement("div")),t.content.appendChild(n),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();if(e){var a=document.implementation.createHTMLDocument("template"),s=!0,c=document.createElement("style");c.textContent="template{display:none;}";var l=document.head;l.insertBefore(c,l.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var u=!document.createElement("div").hasOwnProperty("innerHTML");t.R=function(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChild;)e.content.appendChild(n);if(u)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.a(this,e)},s)try{h(e),d(e)}catch(t){s=!1}t.V(e.content)}};var h=function(e){Object.defineProperty(e,"innerHTML",{get:function(){for(var t="",e=this.content.firstChild;e;e=e.nextSibling)t+=e.outerHTML||e.data.replace(p,f);return t},set:function(e){for(a.body.innerHTML=e,t.V(a);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.appendChild(a.body.firstChild)},configurable:!0})},d=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(a.body.innerHTML=t,t=document.createDocumentFragment();a.body.firstChild;)t.appendChild(a.body.firstChild);this.parentNode.replaceChild(t,this)},configurable:!0})};h(t.prototype),d(t.prototype),t.V=function(e){for(var n,o=0,r=(e=e.querySelectorAll("template")).length;o<r&&(n=e[o]);o++)t.R(n)},document.addEventListener("DOMContentLoaded",function(){t.V(document)}),Document.prototype.createElement=function(){var e=o.apply(this,arguments);return"template"===e.localName&&t.R(e),e};var p=/[&\u00A0<>]/g,f=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case" ":return" "}}}(e||i)&&(t.a=function(t,e){var o=n.call(t,!1);return this.R&&this.R(o),e&&(o.content.appendChild(n.call(t.content,!0)),this.ua(o.content,t.content)),o},t.prototype.cloneNode=function(e){return t.a(this,e)},t.ua=function(t,e){if(e.querySelectorAll){e=e.querySelectorAll("template");for(var n,o,r=0,i=(t=t.querySelectorAll("template")).length;r<i;r++)o=e[r],n=t[r],this.R&&this.R(o),n.parentNode.replaceChild(o.cloneNode(!0),n)}},Node.prototype.cloneNode=function(e){if(this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var o=this.ownerDocument.importNode(this,!0)}else o=n.call(this,e);return e&&t.ua(o,this),o},Document.prototype.importNode=function(e,n){if("template"===e.localName)return t.a(e,n);var o=r.call(this,e,n);return n&&t.ua(o,e),o},i&&(window.HTMLTemplateElement.prototype.cloneNode=function(e){return t.a(this,e)})),e&&(window.HTMLTemplateElement=t)}();var _e,ge,be,we=_e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},Ee=0,Ne="undefined"!=typeof window?window:void 0,Ce=Ne||{},Se=Ce.MutationObserver||Ce.WebKitMutationObserver,Te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Oe=Array(1e3),xe="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?function(){return process.Ib(N)}:Se?function(){var t=0,e=new Se(N),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():Te?function(){var t=new MessageChannel;return t.port1.onmessage=N,function(){return t.port2.postMessage(0)}}():Ne||"function"!=typeof require?E():function(){try{var t=require("vertx");return ge=t.Kb||t.Jb,w()}catch(t){return E()}}(),Ae=Math.random().toString(36).substring(16),De=new F,Me=new F,Le=0;B.prototype.eb=function(t){for(var e=0;void 0===this.o&&e<t.length;e++)this.cb(t[e],e)},B.prototype.cb=function(t,e){var n=this.fb,o=n.resolve;o===S?(o=O(t))===C&&void 0!==t.o?this.qa(t.o,e,t.m):"function"!=typeof o?(this.aa--,this.m[e]=t):n===V?(n=new n(T),M(n,t,o),this.ra(n,e)):this.ra(new n(function(e){return e(t)}),e):this.ra(o(t),e)},B.prototype.qa=function(t,e,n){var o=this.L;void 0===o.o&&(this.aa--,2===t?R(o,n):this.m[e]=n),0===this.aa&&k(o,this.m)},B.prototype.ra=function(t,e){var n=this;P(t,void 0,function(t){return n.qa(1,e,t)},function(t){return n.qa(2,e,t)})},V.all=function(t){return new B(this,t).L},V.race=function(t){var e=this;return new e(we(t)?function(n,o){for(var r=t.length,i=0;i<r;i++)e.resolve(t[i]).then(n,o)}:function(t,e){return e(new TypeError("You must pass an array to race."))})},V.resolve=S,V.reject=function(t){var e=new this(T);return R(e,t),e},V.Gb=function(t){be=t},V.Fb=function(t){b=t},V.Cb=b,V.prototype={constructor:V,then:C,a:function(t){return this.then(null,t)}},window.Promise||(window.Promise=V,V.prototype.catch=V.prototype.a),function(t){function e(t,e){if("function"==typeof window.CustomEvent)return new CustomEvent(t,e);var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n}function n(t){if(u)return t.ownerDocument!==document?t.ownerDocument:null;var e=t.__importDoc;if(!e&&t.parentNode){if("function"==typeof(e=t.parentNode).closest)e=e.closest("link[rel=import]");else for(;!s(e)&&(e=e.parentNode););t.__importDoc=e}return e}function o(t){var e=document.querySelectorAll("link[rel=import]:not([import-dependency])"),n=e.length;n?l(e,function(e){return a(e,function(){0==--n&&t()})}):t()}function r(t){function e(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",e),t())}document.addEventListener("readystatechange",e),e()}function i(t){r(function(){return o(function(){return t&&t()})})}function a(t,e){if(t.__loaded)e&&e();else if("script"===t.localName&&!t.src||"style"===t.localName&&!t.firstChild)t.__loaded=!0,e&&e();else{var n=function(o){t.removeEventListener(o.type,n),t.__loaded=!0,e&&e()};t.addEventListener("load",n),v&&"style"===t.localName||t.addEventListener("error",n)}}function s(t){return t.nodeType===Node.ELEMENT_NODE&&"link"===t.localName&&"import"===t.rel}function c(){var t=this;this.a={},this.b=0,this.f=new MutationObserver(function(e){return t.l(e)}),this.f.observe(document.head,{childList:!0,subtree:!0}),this.c(document)}function l(t,e,n){var o=t?t.length:0,r=n?-1:1;for(n=n?o-1:0;n<o&&0<=n;n+=r)e(t[n],n)}var u="import"in document.createElement("link"),h=null;!1=="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return h||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var d=/(url\()([^)]*)(\))/g,p=/(@import[\s]+(?!url\())([^;]*)(;)/g,f=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,y={nb:function(t,e){if(t.href&&t.setAttribute("href",y.ga(t.getAttribute("href"),e)),t.src&&t.setAttribute("src",y.ga(t.getAttribute("src"),e)),"style"===t.localName){var n=y.Na(t.textContent,e,d);t.textContent=y.Na(n,e,p)}},Na:function(t,e,n){return t.replace(n,function(t,n,o,r){return t=o.replace(/["']/g,""),e&&(t=y.ga(t,e)),n+"'"+t+"'"+r})},ga:function(t,e){if(void 0===y.oa){y.oa=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",y.oa="http://a/c%20d"===n.href}catch(t){}}return y.oa?new URL(t,e).href:((n=y.$a)||(n=document.implementation.createHTMLDocument("temp"),y.$a=n,n.za=n.createElement("base"),n.head.appendChild(n.za),n.ya=n.createElement("a")),n.za.href=e,n.ya.href=t,n.ya.href||t)}},m={async:!0,load:function(t,e,n){if(t)if(t.match(/^data:/)){var o=(t=t.split(","))[1];o=-1<t[0].indexOf(";base64")?atob(o):decodeURIComponent(o),e(o)}else{var r=new XMLHttpRequest;r.open("GET",t,m.async),r.onload=function(){var t=r.responseURL||r.getResponseHeader("Location");t&&0===t.indexOf("/")&&(t=(location.origin||location.protocol+"//"+location.host)+t);var o=r.response||r.responseText;304===r.status||0===r.status||200<=r.status&&300>r.status?e(o,t):n(o)},r.send()}else n("error: href must be specified")}},v=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);if(c.prototype.c=function(t){var e=this;l(t=t.querySelectorAll("link[rel=import]"),function(t){return e.h(t)})},c.prototype.h=function(t){var e=this,n=t.href;if(void 0!==this.a[n]){var o=this.a[n];o&&o.__loaded&&(t.import=o,this.g(t))}else this.b++,this.a[n]="pending",m.load(n,function(t,o){t=e.s(t,o||n),e.a[n]=t,e.b--,e.c(t),e.i()},function(){e.a[n]=null,e.b--,e.i()})},c.prototype.s=function(t,e){if(!t)return document.createDocumentFragment();v&&(t=t.replace(f,function(t,e,n){return-1===t.indexOf("type=")?e+" type=import-disable "+n:t}));var n=document.createElement("template");if(n.innerHTML=t,n.content)t=n.content;else for(t=document.createDocumentFragment();n.firstChild;)t.appendChild(n.firstChild);(n=t.querySelector("base"))&&(e=y.ga(n.getAttribute("href"),e),n.removeAttribute("href"));var o=0;return l(n=t.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),function(t){a(t),y.nb(t,e),t.setAttribute("import-dependency",""),"script"===t.localName&&!t.src&&t.textContent&&(t.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(t.textContent+"\n//# sourceURL="+e+(o?"-"+o:"")+".js\n")),t.textContent="",o++)}),t},c.prototype.i=function(){var t=this;if(!this.b){this.f.disconnect(),this.flatten(document);var e=!1,n=!1,o=function(){n&&e&&(t.c(document),t.b||(t.f.observe(document.head,{childList:!0,subtree:!0}),t.j()))};this.v(function(){n=!0,o()}),this.u(function(){e=!0,o()})}},c.prototype.flatten=function(t){var e=this;l(t=t.querySelectorAll("link[rel=import]"),function(t){var n=e.a[t.href];(t.import=n)&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e.a[t.href]=t,t.readyState="loading",t.import=t,e.flatten(n),t.appendChild(n))})},c.prototype.u=function(t){function e(r){if(r<o){var i=n[r],s=document.createElement("script");i.removeAttribute("import-dependency"),l(i.attributes,function(t){return s.setAttribute(t.name,t.value)}),h=s,i.parentNode.replaceChild(s,i),a(s,function(){h=null,e(r+1)})}else t()}var n=document.querySelectorAll("script[import-dependency]"),o=n.length;e(0)},c.prototype.v=function(t){var e=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),o=e.length;if(o){var r=v&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(e,function(e){if(a(e,function(){e.removeAttribute("import-dependency"),0==--o&&t()}),r&&e.parentNode!==document.head){var i=document.createElement(e.localName);for(i.__appliedElement=e,i.setAttribute("type","import-placeholder"),e.parentNode.insertBefore(i,e.nextSibling),i=n(e);i&&n(i);)i=n(i);i.parentNode!==document.head&&(i=null),document.head.insertBefore(e,i),e.removeAttribute("type")}})}else t()},c.prototype.j=function(){var t=this;l(document.querySelectorAll("link[rel=import]"),function(e){return t.g(e)},!0)},c.prototype.g=function(t){t.__loaded||(t.__loaded=!0,t.import&&(t.import.readyState="complete"),t.dispatchEvent(e(t.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))},c.prototype.l=function(t){var e=this;l(t,function(t){return l(t.addedNodes,function(t){t&&t.nodeType===Node.ELEMENT_NODE&&(s(t)?e.h(t):e.c(t))})})},u){var _=document.querySelectorAll("link[rel=import]");l(_,function(t){t.import&&"loading"===t.import.readyState||(t.__loaded=!0)}),_=function(t){s(t=t.target)&&(t.__loaded=!0)},document.addEventListener("load",_,!0),document.addEventListener("error",_,!0)}else{var g=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!g||g.configurable?Node:Element).prototype,"baseURI",{get:function(){var t=s(this)?this:n(this);return t?t.href:g&&g.get?g.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0}),r(function(){return new c})}i(function(){return document.dispatchEvent(e("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))}),t.useNative=u,t.whenReady=i,t.importForElement=n}(window.HTMLImports=window.HTMLImports||{}),window.WebComponents=window.WebComponents||{flags:{}};var je=document.querySelector('script[src*="webcomponents-lite.js"]'),ke=/wc-(.+)/,Re={};if(!Re.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(ke))&&(Re[e[1]]=t[1]||!0)}),je)for(var Pe,He=0;Pe=je.attributes[He];He++)"src"!==Pe.name&&(Re[Pe.name]=Pe.value||!0);if(Re.log&&Re.log.split){var Fe=Re.log.split(",");Re.log={},Fe.forEach(function(t){Re.log[t]=!0})}else Re.log={}}window.WebComponents.flags=Re;var Ie=Re.shadydom;Ie&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=Ie);var qe=Re.register||Re.ce;qe&&window.customElements&&(window.customElements.forcePolyfill=qe);var We=window.ShadyDOM||{};We.ob=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Be=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");We.X=!!(Be&&Be.configurable&&Be.get),We.Ka=We.force||!We.ob;var Ve=Element.prototype,Ue=Ve.matches||Ve.matchesSelector||Ve.mozMatchesSelector||Ve.msMatchesSelector||Ve.oMatchesSelector||Ve.webkitMatchesSelector,Ge=document.createTextNode(""),Ke=0,$e=[];new MutationObserver(function(){for(;$e.length;)try{$e.shift()()}catch(t){throw Ge.textContent=Ke++,t}}).observe(Ge,{characterData:!0});var Ye,Xe=!!document.contains,ze=[];Q.list=ze,g.prototype.vb=function(){var t=this;this.a||(this.a=!0,z(function(){t.b()}))},g.prototype.b=function(){if(this.a){this.a=!1;var t=this.takeRecords();t.length&&this.da.forEach(function(e){e(t)})}},g.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Je=Element.prototype.appendChild,Ze=Element.prototype.insertBefore,Qe=Element.prototype.removeChild,tn=Element.prototype.setAttribute,en=Element.prototype.removeAttribute,nn=Element.prototype.cloneNode,on=Document.prototype.importNode,rn=Element.prototype.addEventListener,an=Element.prototype.removeEventListener,sn=Window.prototype.addEventListener,cn=Window.prototype.removeEventListener,ln=Element.prototype.dispatchEvent,un=Node.prototype.contains||HTMLElement.prototype.contains,hn=Object.freeze({appendChild:Je,insertBefore:Ze,removeChild:Qe,setAttribute:tn,removeAttribute:en,cloneNode:nn,importNode:on,addEventListener:rn,removeEventListener:an,Lb:sn,Mb:cn,dispatchEvent:ln,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll,contains:un}),dn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,fn=et("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),yn=et("style script xmp iframe noembed noframes plaintext noscript".split(" ")),mn=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),vn=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),_n=Object.freeze({parentNode:ot,firstChild:rt,lastChild:it,previousSibling:at,nextSibling:st,childNodes:ct,parentElement:lt,firstElementChild:ut,lastElementChild:ht,previousElementSibling:dt,nextElementSibling:pt,children:ft,innerHTML:yt,textContent:mt}),gn=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),bn=document.implementation.createHTMLDocument("inert").createElement("div"),wn=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),En={parentElement:{get:function(){var t=this.__shady&&this.__shady.parentNode;return t&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:lt(this)},configurable:!0},parentNode:{get:function(){var t=this.__shady&&this.__shady.parentNode;return void 0!==t?t:ot(this)},configurable:!0},nextSibling:{get:function(){var t=this.__shady&&this.__shady.nextSibling;return void 0!==t?t:st(this)},configurable:!0},previousSibling:{get:function(){var t=this.__shady&&this.__shady.previousSibling;return void 0!==t?t:at(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var t=this.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return pt(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var t=this.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return dt(this)},configurable:!0}},Nn={childNodes:{get:function(){if(U(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var t=this.firstChild;t;t=t.nextSibling)this.__shady.childNodes.push(t)}var e=this.__shady.childNodes}else e=ct(this);return e.item=function(t){return e[t]},e},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var t=this.__shady&&this.__shady.firstChild;return void 0!==t?t:rt(this)},configurable:!0},lastChild:{get:function(){var t=this.__shady&&this.__shady.lastChild;return void 0!==t?t:it(this)},configurable:!0},textContent:{get:function(){if(U(this)){for(var t,e=[],n=0,o=this.childNodes;t=o[n];n++)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")}return mt(this)},set:function(t){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(t));break;default:this.nodeValue=t}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var t=this.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return ut(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var t=this.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return ht(this)},configurable:!0},children:{get:function(){var t;return t=U(this)?Array.prototype.filter.call(this.childNodes,function(t){return t.nodeType===Node.ELEMENT_NODE}):ft(this),t.item=function(e){return t[e]},t},configurable:!0},innerHTML:{get:function(){var t="template"===this.localName?this.content:this;return U(this)?nt(t):yt(t)},set:function(t){for(var e="template"===this.localName?this.content:this;e.firstChild;)e.removeChild(e.firstChild);for(gn&&gn.set?gn.set.call(bn,t):bn.innerHTML=t;bn.firstChild;)e.appendChild(bn.firstChild)},configurable:!0}},Cn={shadowRoot:{get:function(){return this.__shady&&this.__shady.tb||null},configurable:!0}},Sn={activeElement:{get:function(){var t=wn&&wn.get?wn.get.call(document):We.X?void 0:document.activeElement;if(t&&t.nodeType){var e=!!G(this);if(this===document||e&&this.host!==t&&un.call(this.host,t)){for(e=K(t);e&&e!==this;)t=e.host,e=K(t);t=this===document?e?null:t:e===this?t:null}else t=null}else t=null;return t},set:function(){},configurable:!0}},Tn=We.X?function(){}:function(t){t.__shady&&t.__shady.Ya||(t.__shady=t.__shady||{},t.__shady.Ya=!0,vt(t,En,!0))},On=We.X?function(){}:function(t){t.__shady&&t.__shady.Wa||(t.__shady=t.__shady||{},t.__shady.Wa=!0,vt(t,Nn,!0),vt(t,Cn,!0))},xn=null,An="__eventWrappers"+Date.now(),Dn={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},Mn={get composed(){return!1!==this.isTrusted&&void 0===this.la&&(this.la=Dn[this.type]),this.la||!1},composedPath:function(){return this.Aa||(this.Aa=jt(this.__target,this.composed)),this.Aa},get target(){return kt(this.currentTarget,this.composedPath())},get relatedTarget(){return this.Ba?(this.Ca||(this.Ca=jt(this.Ba,!0)),kt(this.currentTarget,this.Ca)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ma=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ma=this.Va=!0}},Ln={focus:!0,blur:!0},jn=Rt(window.Event),kn=Rt(window.CustomEvent),Rn=Rt(window.MouseEvent),Pn={};v.prototype=Object.create(DocumentFragment.prototype),v.prototype.H=function(t,e){this.Xa="ShadyRoot",_(t),_(this),this.host=t,this.J=e&&e.mode,t.__shady=t.__shady||{},t.__shady.root=this,t.__shady.tb="closed"!==this.J?this:null,this.ba=!1,this.b=[],this.a={},this.c=[];for(var n=0,o=(e=ct(t)).length;n<o;n++)Qe.call(t,e[n])},v.prototype.O=function(){var t=this;this.ba||(this.ba=!0,Z(function(){return t.Ga()}))},v.prototype.N=function(){for(var t,e=this;e;)e.ba&&(t=e),e=e.ib();return t},v.prototype.ib=function(){var t=this.host.getRootNode();if(G(t))for(var e,n=this.host.childNodes,o=0;o<n.length;o++)if(e=n[o],this.j(e))return t},v.prototype.Ga=function(){var t=this.N();t&&t._renderRoot()},v.prototype._renderRoot=function(){this.ba=!1,this.D(),this.v()},v.prototype.D=function(){this.f();for(var t,e=0;e<this.b.length;e++)t=this.b[e],this.u(t);for(t=this.host.firstChild;t;t=t.nextSibling)this.h(t);for(e=0;e<this.b.length;e++){if(!(t=this.b[e]).__shady.assignedNodes.length)for(var n=t.firstChild;n;n=n.nextSibling)this.h(n,t);if(n=t.parentNode,(n=n.__shady&&n.__shady.root)&&n.Da()&&n._renderRoot(),this.g(t.__shady.W,t.__shady.assignedNodes),n=t.__shady.Fa){for(var o=0;o<n.length;o++)n[o].__shady.pa=null;t.__shady.Fa=null,n.length>t.__shady.assignedNodes.length&&(t.__shady.ta=!0)}t.__shady.ta&&(t.__shady.ta=!1,this.i(t))}},v.prototype.h=function(t,e){t.__shady=t.__shady||{};var n=t.__shady.pa;t.__shady.pa=null,e||(e=(e=this.a[t.slot||"__catchall"])&&e[0]),e?(e.__shady.assignedNodes.push(t),t.__shady.assignedSlot=e):t.__shady.assignedSlot=void 0,n!==t.__shady.assignedSlot&&t.__shady.assignedSlot&&(t.__shady.assignedSlot.__shady.ta=!0)},v.prototype.u=function(t){var e=t.__shady.assignedNodes;if(t.__shady.assignedNodes=[],t.__shady.W=[],t.__shady.Fa=e)for(var n=0;n<e.length;n++){var o=e[n];o.__shady.pa=o.__shady.assignedSlot,o.__shady.assignedSlot===t&&(o.__shady.assignedSlot=null)}},v.prototype.g=function(t,e){for(var n,o=0;o<e.length&&(n=e[o]);o++)if("slot"==n.localName){var r=n.__shady.assignedNodes;r&&r.length&&this.g(t,r)}else t.push(e[o])},v.prototype.i=function(t){ln.call(t,new Event("slotchange")),t.__shady.assignedSlot&&this.i(t.__shady.assignedSlot)},v.prototype.v=function(){for(var t=this.b,e=[],n=0;n<t.length;n++){var o=t[n].parentNode;o.__shady&&o.__shady.root||!(0>e.indexOf(o))||e.push(o)}for(t=0;t<e.length;t++)n=e[t],this.T(n===this?this.host:n,this.B(n))},v.prototype.B=function(t){var e=[];t=t.childNodes;for(var n=0;n<t.length;n++){var o=t[n];if(this.j(o)){o=o.__shady.W;for(var r=0;r<o.length;r++)e.push(o[r])}else e.push(o)}return e},v.prototype.j=function(t){return"slot"==t.localName},v.prototype.T=function(t,e){for(var n,o=ct(t),r=Vt(e,e.length,o,o.length),i=0,a=0;i<r.length&&(n=r[i]);i++){for(var s,c=0;c<n.Z.length&&(s=n.Z[c]);c++)ot(s)===t&&Qe.call(t,s),o.splice(n.index+a,1);a-=n.ca}for(i=0;i<r.length&&(n=r[i]);i++)for(a=o[n.index],c=n.index;c<n.index+n.ca;c++)s=e[c],Ze.call(t,s,a),o.splice(c,0,s)},v.prototype.ab=function(t){this.c.push.apply(this.c,[].concat(t instanceof Array?t:i(r(t))))},v.prototype.f=function(){this.c.length&&(this.I(this.c),this.c=[])},v.prototype.I=function(t){for(var e,n=0;n<t.length;n++){var o=t[n];o.__shady=o.__shady||{},_(o),_(o.parentNode);var r=this.l(o);this.a[r]?(e=e||{},e[r]=!0,this.a[r].push(o)):this.a[r]=[o],this.b.push(o)}if(e)for(var i in e)this.a[i]=this.s(this.a[i])},v.prototype.l=function(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Za=e},v.prototype.s=function(t){return t.sort(function(t,e){t=Gt(t);for(var n=Gt(e),o=0;o<t.length;o++){e=t[o];var r=n[o];if(e!==r)return(t=Array.from(e.parentNode.childNodes)).indexOf(e)-t.indexOf(r)}})},v.prototype.hb=function(t){this.f();var e,n=this.a;for(e in n)for(var o=n[e],r=0;r<o.length;r++){var i=o[r];if(J(t,i)){o.splice(r,1);var a=this.b.indexOf(i);0<=a&&this.b.splice(a,1),r--,this.K(i),a=!0}}return a},v.prototype.jb=function(t){var e=t.Za,n=this.l(t);if(n!==e){var o=(e=this.a[e]).indexOf(t);0<=o&&e.splice(o,1),(e=this.a[n]||(this.a[n]=[])).push(t),1<e.length&&(this.a[n]=this.s(e))}},v.prototype.K=function(t){if(t=t.__shady.W)for(var e=0;e<t.length;e++){var n=t[e],o=ot(n);o&&Qe.call(o,n)}},v.prototype.Da=function(){return this.f(),!!this.b.length},v.prototype.addEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.addEventListener(t,e,n)},v.prototype.removeEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.removeEventListener(t,e,n)},v.prototype.getElementById=function(t){return xt(this,function(e){return e.id==t},function(t){return!!t})[0]||null},function(t){vt(t,Nn,!0),vt(t,Sn,!0)}(v.prototype);var Hn={addEventListener:It.bind(window),removeEventListener:qt.bind(window)},Fn={addEventListener:It,removeEventListener:qt,appendChild:function(t){return bt(this,t)},insertBefore:function(t,e){return bt(this,t,e)},removeChild:function(t){return wt(this,t)},replaceChild:function(t,e){return bt(this,t,e),wt(this,e),t},cloneNode:function(t){if("template"==this.localName)var e=nn.call(this,t);else if(e=nn.call(this,!1),t){t=this.childNodes;for(var n,o=0;o<t.length;o++)n=t[o].cloneNode(!0),e.appendChild(n)}return e},getRootNode:function(){return Ot(this)},contains:function(t){return J(this,t)},get isConnected(){var t=this.ownerDocument;if(Xe&&un.call(t,this)||t.documentElement&&un.call(t.documentElement,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.parentNode||(t instanceof v?t.host:void 0);return!!(t&&t instanceof Document)},dispatchEvent:function(t){return Q(),ln.call(this,t)}},In={get assignedSlot(){return Kt(this)}},qn={querySelector:function(t){return xt(this,function(e){return Ue.call(e,t)},function(t){return!!t})[0]||null},querySelectorAll:function(t){return xt(this,function(e){return Ue.call(e,t)})}},Wn={assignedNodes:function(t){if("slot"===this.localName)return Dt(this),this.__shady?(t&&t.flatten?this.__shady.W:this.__shady.assignedNodes)||[]:[]}},Bn=Y({setAttribute:function(t,e){Mt(this,t,e)},removeAttribute:function(t){en.call(this,t),St(this,t)},attachShadow:function(t){if(!this)throw"Must provide a host.";if(!t)throw"Not enough arguments.";return new v(Pn,this,t)},get slot(){return this.getAttribute("slot")},set slot(t){Mt(this,"slot",t)},get assignedSlot(){return Kt(this)}},qn,Wn);Object.defineProperties(Bn,Cn);var Vn=Y({importNode:function(t,e){return Lt(t,e)},getElementById:function(t){return xt(this,function(e){return e.id==t},function(t){return!!t})[0]||null}},qn);Object.defineProperties(Vn,{_activeElement:Sn.activeElement});var Un=HTMLElement.prototype.blur,Gn=Y({blur:function(){var t=this.__shady&&this.__shady.root;(t=t&&t.activeElement)?t.blur():Un.call(this)}});We.Ka&&(window.ShadyDOM={inUse:We.Ka,patch:function(t){return t},isShadyRoot:G,enqueue:Z,flush:Q,settings:We,filterMutations:function(t,e){var n=e.getRootNode();return t.map(function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=Array.from(t.addedNodes).filter(function(t){return n===t.getRootNode()})).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t}).filter(function(t){return t})},observeChildren:function(t,e){t.__shady=t.__shady||{},t.__shady.Y||(t.__shady.Y=new g),t.__shady.Y.da.add(e);var n=t.__shady.Y;return{bb:e,P:n,gb:t,takeRecords:function(){return n.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.P;e&&(e.da.delete(t.bb),e.da.size||(t.gb.__shady.Y=null))},nativeMethods:hn,nativeTree:_n},window.Event=jn,window.CustomEvent=kn,window.MouseEvent=Rn,function(){for(var t in Ln)window.addEventListener(t,function(t){t.__target||(Wt(t),Ht(t))},!0)}(),function(){var t=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;$t(window.Node.prototype,Fn),$t(window.Window.prototype,Hn),$t(window.Text.prototype,In),$t(window.DocumentFragment.prototype,qn),$t(window.Element.prototype,Bn),$t(window.Document.prototype,Vn),window.HTMLSlotElement&&$t(window.HTMLSlotElement.prototype,Wn),$t(t.prototype,Gn),We.X&&(_t(window.Node.prototype),_t(window.Text.prototype),_t(window.DocumentFragment.prototype),_t(window.Element.prototype),_t(t.prototype),_t(window.Document.prototype),window.HTMLSlotElement&&_t(window.HTMLSlotElement.prototype))}(),window.ShadowRoot=v);var Kn=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));m.prototype.D=function(t,e){this.u.set(t,e),this.s.set(e.constructor,e)},m.prototype.c=function(t){return this.u.get(t)},m.prototype.B=function(t){return this.s.get(t)},m.prototype.v=function(t){this.h=!0,this.j.push(t)},m.prototype.l=function(t){var e=this;this.h&&Jt(t,function(t){return e.g(t)})},m.prototype.g=function(t){if(this.h&&!t.__CE_patched){t.__CE_patched=!0;for(var e=0;e<this.j.length;e++)this.j[e](t)}},m.prototype.b=function(t){var e=[];for(Jt(t,function(t){return e.push(t)}),t=0;t<e.length;t++){var n=e[t];1===n.__CE_state?this.connectedCallback(n):this.i(n)}},m.prototype.a=function(t){var e=[];for(Jt(t,function(t){return e.push(t)}),t=0;t<e.length;t++){var n=e[t];1===n.__CE_state&&this.disconnectedCallback(n)}},m.prototype.f=function(t,e){var n=this,o=(e=e||{}).yb||new Set,r=e.Oa||function(t){return n.i(t)},i=[];if(Jt(t,function(t){if("link"===t.localName&&"import"===t.getAttribute("rel")){var e=t.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):t.addEventListener("load",function(){var e=t.import;if(!e.__CE_documentLoadHandled){e.__CE_documentLoadHandled=!0,e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0;var i=new Set(o);i.delete(e),n.f(e,{yb:i,Oa:r})}})}else i.push(t)},o),this.h)for(t=0;t<i.length;t++)this.g(i[t]);for(t=0;t<i.length;t++)r(i[t])},m.prototype.i=function(t){if(void 0===t.__CE_state){var e=this.c(t.localName);if(e){e.constructionStack.push(t);var n=e.constructor;try{try{if(new n!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,n=0;n<e.length;n++){var o=e[n],r=t.getAttribute(o);null!==r&&this.attributeChangedCallback(t,o,null,r,null)}Xt(t)&&this.connectedCallback(t)}}},m.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)},m.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)},m.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e)&&i.attributeChangedCallback.call(t,e,n,o,r)},y.prototype.c=function(){this.P&&this.P.disconnect()},y.prototype.f=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||this.c(),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)this.b.f(n[o])},f.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.b&&this.b(t)},p.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!Yt(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.c(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=e.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=o("connectedCallback"),a=o("disconnectedCallback"),s=o("adoptedCallback"),c=o("attributeChangedCallback"),l=e.observedAttributes||[]}catch(t){return}finally{this.c=!1}e={localName:t,constructor:e,connectedCallback:i,disconnectedCallback:a,adoptedCallback:s,attributeChangedCallback:c,observedAttributes:l,constructionStack:[]},this.a.D(t,e),this.g.push(e),this.b||(this.b=!0,this.f(function(){return n.j()}))},p.prototype.j=function(){var t=this;if(!1!==this.b){this.b=!1;for(var e=this.g,n=[],o=new Map,r=0;r<e.length;r++)o.set(e[r].localName,[]);for(this.a.f(document,{Oa:function(e){if(void 0===e.__CE_state){var r=e.localName,i=o.get(r);i?i.push(e):t.a.c(r)&&n.push(e)}}}),r=0;r<n.length;r++)this.a.i(n[r]);for(;0<e.length;){var i=e.shift();r=i.localName,i=o.get(i.localName);for(var a=0;a<i.length;a++)this.a.i(i[a]);(r=this.h.get(r))&&r.resolve(void 0)}}},p.prototype.get=function(t){if(t=this.a.c(t))return t.constructor},p.prototype.whenDefined=function(t){if(!Yt(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.h.get(t);return e?e.c:(e=new f,this.h.set(t,e),this.a.c(t)&&!this.g.some(function(e){return e.localName===t})&&e.resolve(void 0),e.c)},p.prototype.l=function(t){this.i.c();var e=this.f;this.f=function(n){return t(function(){return e(n)})}},window.CustomElementRegistry=p,p.prototype.define=p.prototype.define,p.prototype.get=p.prototype.get,p.prototype.whenDefined=p.prototype.whenDefined,p.prototype.polyfillWrapFlushCallback=p.prototype.l;var $n=window.Document.prototype.createElement,Yn=window.Document.prototype.createElementNS,Xn=window.Document.prototype.importNode,zn=window.Document.prototype.prepend,Jn=window.Document.prototype.append,Zn=window.DocumentFragment.prototype.prepend,Qn=window.DocumentFragment.prototype.append,to=window.Node.prototype.cloneNode,eo=window.Node.prototype.appendChild,no=window.Node.prototype.insertBefore,oo=window.Node.prototype.removeChild,ro=window.Node.prototype.replaceChild,io=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ao=window.Element.prototype.attachShadow,so=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),co=window.Element.prototype.getAttribute,lo=window.Element.prototype.setAttribute,uo=window.Element.prototype.removeAttribute,ho=window.Element.prototype.getAttributeNS,po=window.Element.prototype.setAttributeNS,fo=window.Element.prototype.removeAttributeNS,yo=window.Element.prototype.insertAdjacentElement,mo=window.Element.prototype.prepend,vo=window.Element.prototype.append,_o=window.Element.prototype.before,go=window.Element.prototype.after,bo=window.Element.prototype.replaceWith,wo=window.Element.prototype.remove,Eo=window.HTMLElement,No=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Co=window.HTMLElement.prototype.insertAdjacentElement,So=new function(){},To=window.customElements;if(!To||To.forcePolyfill||"function"!=typeof To.define||"function"!=typeof To.get){var Oo=new m;!function(t){window.HTMLElement=function(){function e(){var e=this.constructor,n=t.B(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=$n.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,t.g(o),o;var r=o[n=o.length-1];if(r===So)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return o[n]=So,Object.setPrototypeOf(r,e.prototype),t.g(r),r}return e.prototype=Eo.prototype,e}()}(Oo),function(t){Zt(Document.prototype,"createElement",function(e){if(this.__CE_hasRegistry){var n=t.c(e);if(n)return new n.constructor}return e=$n.call(this,e),t.g(e),e}),Zt(Document.prototype,"importNode",function(e,n){return e=Xn.call(this,e,n),this.__CE_hasRegistry?t.f(e):t.l(e),e}),Zt(Document.prototype,"createElementNS",function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.c(n);if(o)return new o.constructor}return e=Yn.call(this,e,n),t.g(e),e}),d(t,Document.prototype,{fa:zn,append:Jn})}(Oo),d(Oo,DocumentFragment.prototype,{fa:Zn,append:Qn}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&Xt(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)t.a(o[e])}}})}Zt(Node.prototype,"insertBefore",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=no.call(this,e,n),Xt(this))for(n=0;n<o.length;n++)t.b(o[n]);return e}return o=Xt(e),n=no.call(this,e,n),o&&t.a(e),Xt(this)&&t.b(e),n}),Zt(Node.prototype,"appendChild",function(e){if(e instanceof DocumentFragment){var n=Array.prototype.slice.apply(e.childNodes);if(e=eo.call(this,e),Xt(this))for(var o=0;o<n.length;o++)t.b(n[o]);return e}return n=Xt(e),o=eo.call(this,e),n&&t.a(e),Xt(this)&&t.b(e),o}),Zt(Node.prototype,"cloneNode",function(e){return e=to.call(this,e),this.ownerDocument.__CE_hasRegistry?t.f(e):t.l(e),e}),Zt(Node.prototype,"removeChild",function(e){var n=Xt(e),o=oo.call(this,e);return n&&t.a(e),o}),Zt(Node.prototype,"replaceChild",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=ro.call(this,e,n),Xt(this))for(t.a(n),n=0;n<o.length;n++)t.b(o[n]);return e}o=Xt(e);var r=ro.call(this,e,n),i=Xt(this);return i&&t.a(n),o&&t.a(e),i&&t.b(e),r}),io&&io.get?e(Node.prototype,io):t.v(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++)t.push(this.childNodes[e].textContent);return t.join("")},set:function(t){for(;this.firstChild;)oo.call(this,this.firstChild);eo.call(this,document.createTextNode(t))}})})}(Oo),function(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(Xt(this)&&(r=[],Jt(this,function(t){t!==o&&r.push(t)})),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_hasRegistry?t.f(this):t.l(this),e}})}function n(e,n){Zt(e,"insertAdjacentElement",function(e,o){var r=Xt(o);return e=n.call(this,e,o),r&&t.a(o),Xt(e)&&t.b(o),e})}if(ao&&Zt(Element.prototype,"attachShadow",function(t){return this.__CE_shadowRoot=t=ao.call(this,t)}),so&&so.get)e(Element.prototype,so);else if(No&&No.get)e(HTMLElement.prototype,No);else{var o=$n.call(document,"div");t.v(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return to.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName?this.content:this;for(o.innerHTML=t;0<e.childNodes.length;)oo.call(e,e.childNodes[0]);for(;0<o.childNodes.length;)eo.call(e,o.childNodes[0])}})})}Zt(Element.prototype,"setAttribute",function(e,n){if(1!==this.__CE_state)return lo.call(this,e,n);var o=co.call(this,e);lo.call(this,e,n),n=co.call(this,e),t.attributeChangedCallback(this,e,o,n,null)}),Zt(Element.prototype,"setAttributeNS",function(e,n,o){if(1!==this.__CE_state)return po.call(this,e,n,o);var r=ho.call(this,e,n);po.call(this,e,n,o),o=ho.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)}),Zt(Element.prototype,"removeAttribute",function(e){if(1!==this.__CE_state)return uo.call(this,e);var n=co.call(this,e);uo.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)}),Zt(Element.prototype,"removeAttributeNS",function(e,n){if(1!==this.__CE_state)return fo.call(this,e,n);var o=ho.call(this,e,n);fo.call(this,e,n);var r=ho.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)}),Co?n(HTMLElement.prototype,Co):yo?n(Element.prototype,yo):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),d(t,Element.prototype,{fa:mo,append:vo}),h(t,{sa:_o,kb:go,replaceWith:bo,remove:wo})}(Oo),document.__CE_hasRegistry=!0;var xo=new p(Oo);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:xo})}var Ao={STYLE_RULE:1,ka:7,MEDIA_RULE:4,xa:1e3},Do={mb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ha:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,La:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,sb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,xb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,rb:/^@[^\s]*keyframes/,Ma:/\s+/g},Mo=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var Lo=window.ShadyCSS.nativeCss;else window.ShadyCSS?(oe(window.ShadyCSS),window.ShadyCSS=void 0):oe(window.WebComponents&&window.WebComponents.flags);var jo=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,ko=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ro=/(--[\w-]+)\s*([:,;)]|$)/gi,Po=/(animation\s*:)|(animation-name\s*:)/,Ho=/@media\s(.*)/,Fo=/\{[^}]*\}/g,Io=null;l.prototype.b=function(t,e,n){t.__styleScoped?t.__styleScoped=null:this.j(t,e||"",n)},l.prototype.j=function(t,e,n){if(t.nodeType===Node.ELEMENT_NODE&&this.h(t,e,n),t="template"===t.localName?(t.content||t.Db).childNodes:t.children||t.childNodes)for(var o=0;o<t.length;o++)this.j(t[o],e,n)},l.prototype.h=function(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var o=t.getAttribute(tr);n?o&&(e=o.replace("style-scope","").replace(e,""),he(t,e)):he(t,(o?o+" ":"")+"style-scope "+e)}},l.prototype.c=function(t,e,n){var o=t.__cssBuild;return Mo||"shady"===o?e=re(e,n):(t=de(t),e=this.I(e,t.is,t.$,n)+"\n\n"),e.trim()},l.prototype.I=function(t,e,n,o){var r=this.f(e,n);e=this.i(e);var i=this;return re(t,function(t){t.c||(i.K(t,e,r),t.c=!0),o&&o(t,e,r)})},l.prototype.i=function(t){return t?Zo+t:""},l.prototype.f=function(t,e){return e?"[is="+t+"]":t},l.prototype.K=function(t,e,n){this.l(t,this.g,e,n)},l.prototype.l=function(t,e,n,o){t.selector=t.A=this.s(t,e,n,o)},l.prototype.s=function(t,e,n,o){var r=t.selector.split(Bo);if(!ae(t)){t=0;for(var i,a=r.length;t<a&&(i=r[t]);t++)r[t]=e.call(this,i,n,o)}return r.join(Bo)},l.prototype.v=function(t){return t.replace(qo,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})},l.prototype.g=function(t,e,n){var o=this,r=!1;t=t.trim();var i=qo.test(t);return i&&(t=t.replace(qo,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}),t=this.v(t)),t=t.replace(Yo,Go+" $1"),t=t.replace(Vo,function(t,i,a){return r||(t=o.D(a,i,e,n),r=r||t.stop,i=t.lb,a=t.value),i+a}),i&&(t=this.v(t)),t},l.prototype.D=function(t,e,n,o){var r=t.indexOf($o);if(0<=t.indexOf(Go)?t=this.H(t,o):0!==r&&(t=n?this.u(t,n):t),n=!1,0<=r&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(zo,function(t,e){return" > "+e}))}return t=t.replace(Jo,function(t,e,n){return'[dir="'+n+'"] '+e+", "+e+'[dir="'+n+'"]'}),{value:t,lb:e,stop:i}},l.prototype.u=function(t,e){return t=t.split(Qo),t[0]+=e,t.join(Qo)},l.prototype.H=function(t,e){var n=t.match(Xo);return(n=n&&n[2].trim()||"")?n[0].match(Uo)?t.replace(Xo,function(t,n,o){return e+o}):n.split(Uo)[0]===e?n:er:t.replace(Go,e)},l.prototype.J=function(t){t.selector=t.parsedSelector,this.B(t),this.l(t,this.N)},l.prototype.B=function(t){t.selector===Ko&&(t.selector="html")},l.prototype.N=function(t){return t.match($o)?this.g(t,Wo):this.u(t.trim(),Wo)},a.Object.defineProperties(l.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var qo=/:(nth[-\w]+)\(([^)]+)\)/,Wo=":not(.style-scope)",Bo=",",Vo=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Uo=/[[.:#*]/,Go=":host",Ko=":root",$o="::slotted",Yo=new RegExp("^("+$o+")"),Xo=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,zo=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Jo=/(.*):dir\((?:(ltr|rtl))\)/,Zo=".",Qo=":",tr="class",er="should_not_match",nr=new l;c.get=function(t){return t?t.__styleInfo:null},c.set=function(t,e){return t.__styleInfo=e},c.prototype.c=function(){return this.G},c.prototype._getStyleRules=c.prototype.c;var or=function(t){return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}(window.Element.prototype),rr=navigator.userAgent.match("Trident");s.prototype.J=function(t){var e=this,n={},o=[],r=0;se(t,function(t){e.c(t),t.index=r++,e.I(t.w.cssText,n)},function(t){o.push(t)}),t.b=o,t=[];for(var i in n)t.push(i);return t},s.prototype.c=function(t){if(!t.w){var e={},n={};this.b(t,n)&&(e.F=n,t.rules=null),e.cssText=this.H(t),t.w=e}},s.prototype.b=function(t,e){var n=t.w;if(!n){n=t.parsedCssText;for(var o;t=jo.exec(n);)"inherit"===(o=(t[2]||t[3]).trim())&&"unset"===o||(e[t[1].trim()]=o),o=!0;return o}if(n.F)return Object.assign(e,n.F),!0},s.prototype.H=function(t){return this.N(t.parsedCssText)},s.prototype.N=function(t){return t.replace(Fo,"").replace(jo,"")},s.prototype.I=function(t,e){for(var n;n=Ro.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}},s.prototype.ha=function(t){for(var e,n=Object.getOwnPropertyNames(t),o=0;o<n.length;o++)e=n[o],t[e]=this.a(t[e],t)},s.prototype.a=function(t,e){if(t)if(0<=t.indexOf(";"))t=this.f(t,e);else{var n=this;t=ue(t,function(t,o,r,i){return o?((o=n.a(e[o],e))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=n.a(e[r]||r,e)||r,t+(o||"")+i):t+i})}return t&&t.trim()||""},s.prototype.f=function(t,e){t=t.split(";");for(var n,o,r=0;r<t.length;r++)if(n=t[r]){if(ko.lastIndex=0,o=ko.exec(n))n=this.a(e[o[1]],e);else if(-1!==(o=n.indexOf(":"))){var i=n.substring(o);i=i.trim(),i=this.a(i,e)||i,n=n.substring(0,o)+i}t[r]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return t.join(";")},s.prototype.D=function(t,e){var n="";t.w||this.c(t),t.w.cssText&&(n=this.f(t.w.cssText,e)),t.cssText=n},s.prototype.B=function(t,e){var n=t.cssText,o=t.cssText;if(null==t.Ja&&(t.Ja=Po.test(n)),t.Ja)if(null==t.ea){t.ea=[];for(var r in e)o=e[r],o=o(n),n!==o&&(n=o,t.ea.push(r))}else{for(r=0;r<t.ea.length;++r)o=e[t.ea[r]],n=o(n);o=n}t.cssText=o},s.prototype.T=function(t,e){var n={},o=this,r=[];return se(t,function(t){t.w||o.c(t);var i=t.A||t.parsedSelector;e&&t.w.F&&i&&or.call(e,i)&&(o.b(t,n),t=t.index,i=parseInt(t/32,10),r[i]=(r[i]||0)|1<<t%32)},null,!0),{F:n,key:r}},s.prototype.ja=function(t,e,n,o){if(e.w||this.c(e),e.w.F){var r=de(t);t=r.is,r=r.$,r=t?nr.f(t,r):"html";var i=e.parsedSelector,a=":host > *"===i||"html"===i,s=0===i.indexOf(":host")&&!a;"shady"===n&&(a=i===r+" > *."+r||-1!==i.indexOf("html"),s=!a&&0===i.indexOf(r)),"shadow"===n&&(a=":host > *"===i||"html"===i,s=s&&!a),(a||s)&&(n=r,s&&(Mo&&!e.A&&(e.A=nr.s(e,nr.g,nr.i(t),r)),n=e.A||r),o({wb:n,qb:s,Hb:a}))}},s.prototype.K=function(t,e){var n={},o={},r=this,i=e&&e.__cssBuild;return se(e,function(e){r.ja(t,e,i,function(i){or.call(t.Eb||t,i.wb)&&(i.qb?r.b(e,n):r.b(e,o))})},null,!0),{ub:o,pb:n}},s.prototype.ia=function(t,e,n){var o=this,r=de(t),i=nr.f(r.is,r.$),a=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])");r=c.get(t).G;var s=this.h(r,n);return nr.c(t,r,function(t){o.D(t,e),Mo||ae(t)||!t.cssText||(o.B(t,s),o.l(t,a,i,n))})},s.prototype.h=function(t,e){t=t.b;var n={};if(!Mo&&t)for(var o=0,r=t[o];o<t.length;r=t[++o])this.j(r,e),n[r.keyframesName]=this.i(r);return n},s.prototype.i=function(t){return function(e){return e.replace(t.f,t.a)}},s.prototype.j=function(t,e){t.f=new RegExp(t.keyframesName,"g"),t.a=t.keyframesName+"-"+e,t.A=t.A||t.selector,t.selector=t.A.replace(t.keyframesName,t.a)},s.prototype.l=function(t,e,n,o){t.A=t.A||t.selector,o="."+o;for(var r,i=t.A.split(","),a=0,s=i.length;a<s&&(r=i[a]);a++)i[a]=r.match(e)?r.replace(n,o):o+" "+r;t.selector=i.join(",")},s.prototype.u=function(t,e,n){var o=t.getAttribute("class")||"",r=o;n&&(r=o.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),o!==(r+=(r?" ":"")+"x-scope "+e)&&he(t,r)},s.prototype.v=function(t,e,n,o){e=o?o.textContent||"":this.ia(t,e,n);var r=c.get(t),i=r.a;return i&&!Mo&&i!==o&&(i._useCount--,0>=i._useCount&&i.parentNode&&i.parentNode.removeChild(i)),Mo?r.a?(r.a.textContent=e,o=r.a):e&&(o=ce(e,n,t.shadowRoot,r.b)):o?o.parentNode||(rr&&-1<e.indexOf("@media")&&(o.textContent=e),le(o,null,r.b)):e&&(o=ce(e,n,null,r.b)),o&&(o._useCount=o._useCount||0,r.a!=o&&o._useCount++,r.a=o),o},s.prototype.s=function(t,e){var n=ie(t),o=this;t.textContent=re(n,function(t){var n=t.cssText=t.parsedCssText;t.w&&t.w.cssText&&(n=n.replace(Do.Ha,"").replace(Do.La,""),t.cssText=o.f(n,e))})},a.Object.defineProperties(s.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var ir=new s,ar={},sr=window.customElements;if(sr&&!Mo){var cr=sr.define;sr.define=function(t,e,n){var o=document.createComment(" Shady DOM styles for "+t+" "),r=document.head;return r.insertBefore(o,(Io?Io.nextSibling:null)||r.firstChild),Io=o,ar[t]=o,cr.call(sr,t,e,n)}}if(o.prototype.a=function(t,e,n){for(var o=0;o<n.length;o++){var r=n[o];if(t.F[r]!==e[r])return!1}return!0},o.prototype.b=function(t,e,n,o){var r=this.cache[t]||[];r.push({F:e,styleElement:n,C:o}),r.length>this.c&&r.shift(),this.cache[t]=r},o.prototype.fetch=function(t,e,n){if(t=this.cache[t])for(var o=t.length-1;0<=o;o--){var r=t[o];if(this.a(r,e,n))return r}},!Mo){var lr=new MutationObserver(pe),ur=function(t){lr.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)ur(document);else{var hr=function(){ur(document.body)};window.HTMLImports?window.HTMLImports.whenReady(hr):requestAnimationFrame(function(){if("loading"===document.readyState){var t=function(){hr(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else hr()})}n=function(){pe(lr.takeRecords())}}var dr,pr={},fr=Promise.resolve(),yr=null,mr=window.HTMLImports&&window.HTMLImports.whenReady||null,vr=null,_r=null;e.prototype.Ia=function(){!this.enqueued&&_r&&(this.enqueued=!0,ve(_r))},e.prototype.b=function(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.Ia())},e.prototype.a=function(t){return t.__shadyCSSCachedStyle?t.__shadyCSSCachedStyle:t.getStyle?t.getStyle():t},e.prototype.c=function(){for(var t=this.customStyles,e=0;e<t.length;e++){var n=t[e];if(!n.__shadyCSSCachedStyle){var o=this.a(n);o&&(o=o.__appliedElement||o,vr&&vr(o),n.__shadyCSSCachedStyle=o)}}return t},e.prototype.addCustomStyle=e.prototype.b,e.prototype.getStyleForCustomStyle=e.prototype.a,e.prototype.processStyles=e.prototype.c,Object.defineProperties(e.prototype,{transformCallback:{get:function(){return vr},set:function(t){vr=t}},validateCallback:{get:function(){return _r},set:function(t){var e=!1;_r||(e=!0),_r=t,e&&this.Ia()}}});var gr=new o;t.prototype.B=function(){n()},t.prototype.K=function(t){return t+"-"+(this.s[t]=(this.s[t]||0)+1)},t.prototype.Sa=function(t){return ie(t)},t.prototype.Ua=function(t){return re(t)},t.prototype.J=function(t){t=t.content.querySelectorAll("style");for(var e=[],n=0;n<t.length;n++){var o=t[n];e.push(o.textContent),o.parentNode.removeChild(o)}return e.join("").trim()},t.prototype.ha=function(t){return(t=t.content.querySelector("style"))?t.getAttribute("css-build")||"":""},t.prototype.prepareTemplate=function(t,e,n){if(!t.f){t.f=!0,t.name=e,t.extends=n,pr[e]=t;var o=this.ha(t),r=this.J(t);n={is:e,extends:n,Ab:o},Mo||nr.b(t.content,e),this.c();var i=ko.test(r)||jo.test(r);ko.lastIndex=0,jo.lastIndex=0,r=Qt(r),i&&Lo&&this.a&&this.a.transformRules(r,e),t._styleAst=r,t.g=o,o=[],Lo||(o=ir.J(t._styleAst)),o.length&&!Lo||(e=this.T(n,t._styleAst,Mo?t.content:null,ar[e]),t.a=e),t.c=o}},t.prototype.T=function(t,e,n,o){if((e=nr.c(t,e)).length)return ce(e,t.is,n,o)},t.prototype.ja=function(t){var e=de(t),n=e.is;e=e.$;var o=ar[n];if(n=pr[n])var r=n._styleAst,i=n.c;return c.set(t,new c(r,o,i,0,e))},t.prototype.H=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=fe)},t.prototype.I=function(){var t=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(e){t.v(e)},this.b.validateCallback=function(){requestAnimationFrame(function(){(t.b.enqueued||t.i)&&t.f()})})},t.prototype.c=function(){this.H(),this.I()},t.prototype.f=function(){if(this.c(),this.b){var t=this.b.processStyles();this.b.enqueued&&(Lo?this.Qa(t):(this.u(this.g,this.h),this.D(t)),this.b.enqueued=!1,this.i&&!Lo&&this.styleDocument())}},t.prototype.styleElement=function(t,e){var n=de(t).is,o=c.get(t);if(o||(o=this.ja(t)),this.j(t)||(this.i=!0),e&&(o.S=o.S||{},Object.assign(o.S,e)),Lo){if(o.S){e=o.S;for(var r in e)null===r?t.style.removeProperty(r):t.style.setProperty(r,e[r])}((r=pr[n])||this.j(t))&&r&&r.a&&!ye(r)&&((ye(r)||r._applyShimValidatingVersion!==r._applyShimNextVersion)&&(this.c(),this.a&&this.a.transformRules(r._styleAst,n),r.a.textContent=nr.c(t,o.G),me(r)),Mo&&(n=t.shadowRoot)&&(n.querySelector("style").textContent=nr.c(t,o.G)),o.G=r._styleAst)}else this.u(t,o),o.va&&o.va.length&&this.N(t,o)},t.prototype.l=function(t){return(t=t.getRootNode().host)?c.get(t)?t:this.l(t):this.g},t.prototype.j=function(t){return t===this.g},t.prototype.N=function(t,e){var n=de(t).is,o=gr.fetch(n,e.M,e.va),r=o?o.styleElement:null,i=e.C;e.C=o&&o.C||this.K(n),r=ir.v(t,e.M,e.C,r),Mo||ir.u(t,e.C,i),o||gr.b(n,e.M,r,e.C)},t.prototype.u=function(t,e){var n=this.l(t),o=c.get(n);n=Object.create(o.M||null);var r=ir.K(t,e.G);t=ir.T(o.G,t).F,Object.assign(n,r.pb,t,r.ub),this.ia(n,e.S),ir.ha(n),e.M=n},t.prototype.ia=function(t,e){for(var n in e){var o=e[n];(o||0===o)&&(t[n]=o)}},t.prototype.styleDocument=function(t){this.styleSubtree(this.g,t)},t.prototype.styleSubtree=function(t,e){var n=t.shadowRoot;if((n||this.j(t))&&this.styleElement(t,e),e=n&&(n.children||n.childNodes))for(t=0;t<e.length;t++)this.styleSubtree(e[t]);else if(t=t.children||t.childNodes)for(e=0;e<t.length;e++)this.styleSubtree(t[e])},t.prototype.Qa=function(t){for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);n&&this.Pa(n)}},t.prototype.D=function(t){for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);n&&ir.s(n,this.h.M)}},t.prototype.v=function(t){var e=this,n=ie(t);se(n,function(t){Mo?nr.B(t):nr.J(t),Lo&&(e.c(),e.a&&e.a.transformRule(t))}),Lo?t.textContent=re(n):this.h.G.rules.push(n)},t.prototype.Pa=function(t){if(Lo&&this.a){var e=ie(t);this.c(),this.a.transformRules(e),t.textContent=re(e)}},t.prototype.getComputedStyleValue=function(t,e){var n;return Lo||(n=(c.get(t)||c.get(this.l(t))).M[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.prototype.Ta=function(t,e){var n=t.getRootNode();if(e=e?e.split(/\s/):[],!(n=n.host&&n.host.localName)){var o=t.getAttribute("class");if(o){o=o.split(/\s/);for(var r=0;r<o.length;r++)if(o[r]===nr.a){n=o[r+1];break}}}n&&e.push(nr.a,n),Lo||(n=c.get(t))&&n.C&&e.push(ir.g,n.C),he(t,e.join(" "))},t.prototype.Ra=function(t){return c.get(t)},t.prototype.flush=t.prototype.B,t.prototype.prepareTemplate=t.prototype.prepareTemplate,t.prototype.styleElement=t.prototype.styleElement,t.prototype.styleDocument=t.prototype.styleDocument,t.prototype.styleSubtree=t.prototype.styleSubtree,t.prototype.getComputedStyleValue=t.prototype.getComputedStyleValue,t.prototype.setElementClass=t.prototype.Ta,t.prototype._styleInfoForNode=t.prototype.Ra,t.prototype.transformCustomStyleForDocument=t.prototype.v,t.prototype.getStyleAst=t.prototype.Sa,t.prototype.styleAstToString=t.prototype.Ua,t.prototype.flushCustomStyles=t.prototype.f,Object.defineProperties(t.prototype,{nativeShadow:{get:function(){return Mo}},nativeCss:{get:function(){return Lo}}});var br=new t;if(window.ShadyCSS)var wr=window.ShadyCSS.ApplyShim,Er=window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={ScopingShim:br,prepareTemplate:function(t,e,n){br.f(),br.prepareTemplate(t,e,n)},styleSubtree:function(t,e){br.f(),br.styleSubtree(t,e)},styleElement:function(t){br.f(),br.styleElement(t)},styleDocument:function(t){br.f(),br.styleDocument(t)},getComputedStyleValue:function(t,e){return br.getComputedStyleValue(t,e)},nativeCss:Lo,nativeShadow:Mo},wr&&(window.ShadyCSS.ApplyShim=wr),Er&&(window.ShadyCSS.CustomStyleInterface=Er);var Nr=window.customElements,Cr=window.HTMLImports,Sr=window.HTMLTemplateElement;if(window.WebComponents=window.WebComponents||{},Nr&&Nr.polyfillWrapFlushCallback){var Tr,Or=function(){if(Tr){Sr.V&&Sr.V(window.document);var t=Tr;return Tr=null,t(),!0}},xr=Cr.whenReady;Nr.polyfillWrapFlushCallback(function(t){Tr=t,xr(Or)}),Cr.whenReady=function(t){xr(function(){Or()?Cr.whenReady(t):t()})}}Cr.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Ar=document.createElement("style");Ar.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Dr=document.querySelector("head");Dr.insertBefore(Ar,Dr.firstChild)}()}).call(this),function(){"use strict";function t(){t=function(){},a.Symbol||(a.Symbol=c)}function e(){t();var o=a.Symbol.iterator;o||(o=a.Symbol.iterator=a.Symbol("iterator")),"function"!=typeof Array.prototype[o]&&s(Array.prototype,o,{configurable:!0,writable:!0,value:function(){return n(this)}}),e=function(){}}function n(t){var e=0;return o(function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}})}function o(t){return e(),t={next:t},t[a.Symbol.iterator]=function(){return this},t}function r(t){e();var o=t[Symbol.iterator];return o?o.call(t):n(t)}function i(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}var a="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,s="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},c=function(){var t=0;return function(e){return"jscomp_symbol_"+(e||"")+t++}}();!function(){function t(){var t=this;this.s={},this.g=document.documentElement;var e=new u;e.rules=[],this.h=c.set(this.g,new c(e)),this.i=!1,this.b=this.a=null,ve(function(){t.c()})}function e(){this.customStyles=[],this.enqueued=!1}function n(){}function o(t){this.cache={},this.c=void 0===t?100:t}function s(){}function c(t,e,n,o,r){this.G=t||null,this.b=e||null,this.va=n||[],this.S=null,this.$=r||"",this.a=this.C=this.M=null}function l(){}function u(){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 h(t,e){function n(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(Xt(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}}var o=Element.prototype;void 0!==e.sa&&(o.before=n(e.sa)),void 0!==e.sa&&(o.after=n(e.kb)),void 0!==e.replaceWith&&Zt(o,"replaceWith",function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(a=Xt(this),e.replaceWith.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(a)for(t.a(this),o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}),void 0!==e.remove&&Zt(o,"remove",function(){var n=Xt(this);e.remove.call(this),n&&t.a(this)})}function d(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(Xt(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}}void 0!==n.fa&&(e.prepend=o(n.fa)),void 0!==n.append&&(e.append=o(n.append))}function p(t){this.c=!1,this.a=t,this.h=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.i=new y(t,document)}function f(){var t=this;this.b=this.a=void 0,this.c=new Promise(function(e){t.b=e,t.a&&e(t.a)})}function y(t,e){this.b=t,this.a=e,this.P=void 0,this.b.f(this.a),"loading"===this.a.readyState&&(this.P=new MutationObserver(this.f.bind(this)),this.P.observe(this.a,{childList:!0,subtree:!0}))}function m(){this.u=new Map,this.s=new Map,this.j=[],this.h=!1}function v(t,e,n){if(t!==Pn)throw new TypeError("Illegal constructor");return t=document.createDocumentFragment(),t.__proto__=v.prototype,t.H(e,n),t}function _(t){if(!t.__shady||void 0===t.__shady.firstChild){t.__shady=t.__shady||{},t.__shady.firstChild=rt(t),t.__shady.lastChild=it(t),On(t);for(var e,n=t.__shady.childNodes=ct(t),o=0;o<n.length&&(e=n[o]);o++)e.__shady=e.__shady||{},e.__shady.parentNode=t,e.__shady.nextSibling=n[o+1]||null,e.__shady.previousSibling=n[o-1]||null,Tn(e)}}function g(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.da=new Set}function b(t,e){Oe[Ee]=t,Oe[Ee+1]=e,2===(Ee+=2)&&(be?be(N):xe())}function w(){return void 0!==ge?function(){ge(N)}:E()}function E(){var t=setTimeout;return function(){return t(N,1)}}function N(){for(var t=0;t<Ee;t+=2)(0,Oe[t])(Oe[t+1]),Oe[t]=void 0,Oe[t+1]=void 0;Ee=0}function C(t,e){var n=this,o=new this.constructor(T);void 0===o[Ae]&&W(o);var r=n.o;if(r){var i=arguments[r-1];b(function(){return I(r,o,i,n.m)})}else P(n,o,t,e);return o}function S(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(T);return L(e,t),e}function T(){}function O(t){try{return t.then}catch(t){return De.error=t,De}}function x(t,e,n,o){try{t.call(e,n,o)}catch(t){return t}}function A(t,e,n){b(function(t){var o=!1,r=x(n,e,function(n){o||(o=!0,e!==n?L(t,n):k(t,n))},function(e){o||(o=!0,R(t,e))});!o&&r&&(o=!0,R(t,r))},t)}function D(t,e){1===e.o?k(t,e.m):2===e.o?R(t,e.m):P(e,void 0,function(e){return L(t,e)},function(e){return R(t,e)})}function M(t,e,n){e.constructor===t.constructor&&n===C&&e.constructor.resolve===S?D(t,e):n===De?(R(t,De.error),De.error=null):void 0===n?k(t,e):"function"==typeof n?A(t,e,n):k(t,e)}function L(t,e){if(t===e)R(t,new TypeError("You cannot resolve a promise with itself"));else{var n=typeof e;null===e||"object"!==n&&"function"!==n?k(t,e):M(t,e,O(e))}}function j(t){t.Ea&&t.Ea(t.m),H(t)}function k(t,e){void 0===t.o&&(t.m=e,t.o=1,0!==t.U.length&&b(H,t))}function R(t,e){void 0===t.o&&(t.o=2,t.m=e,b(j,t))}function P(t,e,n,o){var r=t.U,i=r.length;t.Ea=null,r[i]=e,r[i+1]=n,r[i+2]=o,0===i&&t.o&&b(H,t)}function H(t){var e=t.U,n=t.o;if(0!==e.length){for(var o,r,i=t.m,a=0;a<e.length;a+=3)o=e[a],r=e[a+n],o?I(n,o,r,i):r(i);t.U.length=0}}function F(){this.error=null}function I(t,e,n,o){var r="function"==typeof n;if(r){try{var i=n(o)}catch(t){Me.error=t,i=Me}if(i===Me){var a=!0,s=i.error;i.error=null}else var c=!0;if(e===i)return void R(e,new TypeError("A promises callback cannot return that same promise."))}else i=o,c=!0;void 0===e.o&&(r&&c?L(e,i):a?R(e,s):1===t?k(e,i):2===t&&R(e,i))}function q(t,e){try{e(function(e){L(t,e)},function(e){R(t,e)})}catch(e){R(t,e)}}function W(t){t[Ae]=Le++,t.o=void 0,t.m=void 0,t.U=[]}function B(t,e){this.fb=t,this.L=new t(T),this.L[Ae]||W(this.L),we(e)?(this.aa=this.length=e.length,this.m=Array(this.length),0===this.length?k(this.L,this.m):(this.length=this.length||0,this.eb(e),0===this.aa&&k(this.L,this.m))):R(this.L,Error("Array Methods must be provided an Array"))}function V(t){if(this[Ae]=Le++,this.m=this.o=void 0,this.U=[],T!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof V))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");q(this,t)}}function U(t){return t.__shady&&void 0!==t.__shady.firstChild}function G(t){return"ShadyRoot"===t.Xa}function K(t){if(t=t.getRootNode(),G(t))return t}function $(t,e){if(t&&e)for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length&&(n=o[r]);r++){var i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(t,n,i)}}function Y(t,e){for(var n=[],o=1;o<arguments.length;++o)n[o-1]=arguments[o];for(o=0;o<n.length;o++)$(t,n[o]);return t}function X(t,e){for(var n in e)t[n]=e[n]}function z(t){$e.push(t),Ge.textContent=Ke++}function J(t,e){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function Z(t){Ye||(Ye=!0,z(Q)),ze.push(t)}function Q(){Ye=!1;for(var t=!!ze.length;ze.length;)ze.shift()();return t}function tt(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function et(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}function nt(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):t.childNodes,i=0,a=r.length;i<a&&(n=r[i]);i++){t:{var s=n,c=t,l=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,h="<"+u,d=s.attributes,p=0;c=d[p];p++)h+=" "+c.name+'="'+c.value.replace(dn,tt)+'"';h+=">",s=fn[u]?h:h+nt(s,l)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=c&&yn[c.localName]?s:s.replace(pn,tt);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}o+=s}return o}function ot(t){return mn.currentNode=t,mn.parentNode()}function rt(t){return mn.currentNode=t,mn.firstChild()}function it(t){return mn.currentNode=t,mn.lastChild()}function at(t){return mn.currentNode=t,mn.previousSibling()}function st(t){return mn.currentNode=t,mn.nextSibling()}function ct(t){var e=[];for(mn.currentNode=t,t=mn.firstChild();t;)e.push(t),t=mn.nextSibling();return e}function lt(t){return vn.currentNode=t,vn.parentNode()}function ut(t){return vn.currentNode=t,vn.firstChild()}function ht(t){return vn.currentNode=t,vn.lastChild()}function dt(t){return vn.currentNode=t,vn.previousSibling()}function pt(t){return vn.currentNode=t,vn.nextSibling()}function ft(t){var e=[];for(vn.currentNode=t,t=vn.firstChild();t;)e.push(t),t=vn.nextSibling();return e}function yt(t){return nt(t,function(t){return ct(t)})}function mt(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);for(var e,n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return t.nodeValue}}function vt(t,e,n){for(var o in e){var r=Object.getOwnPropertyDescriptor(t,o);r&&r.configurable||!r&&n?Object.defineProperty(t,o,e[o]):n&&console.warn("Could not define",o,"on",t)}}function _t(t){vt(t,En),vt(t,Nn),vt(t,Sn)}function gt(t,e,n){Tn(t),n=n||null,t.__shady=t.__shady||{},e.__shady=e.__shady||{},n&&(n.__shady=n.__shady||{}),t.__shady.previousSibling=n?n.__shady.previousSibling:e.lastChild;var o=t.__shady.previousSibling;o&&o.__shady&&(o.__shady.nextSibling=t),(o=t.__shady.nextSibling=n)&&o.__shady&&(o.__shady.previousSibling=t),t.__shady.parentNode=e,n?n===e.__shady.firstChild&&(e.__shady.firstChild=t):(e.__shady.lastChild=t,e.__shady.firstChild||(e.__shady.firstChild=t)),e.__shady.childNodes=null}function bt(t,e,n){if(e===t)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var o=n.__shady&&n.__shady.parentNode;if(void 0!==o&&o!==t||void 0===o&&ot(n)!==t)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(n===e)return e;e.parentNode&&wt(e.parentNode,e);var r;if(r=o=K(t))t:{if(!e.__noInsertionPoint){var i;if("slot"===e.localName?i=[e]:e.querySelectorAll&&(i=e.querySelectorAll("slot")),i&&i.length){r=i;break t}}r=void 0}if((i=r)&&o.ab(i),o&&("slot"===t.localName||i)&&o.O(),U(t)){if(o=n,On(t),t.__shady=t.__shady||{},void 0!==t.__shady.firstChild&&(t.__shady.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(i=e.childNodes,r=0;r<i.length;r++)gt(i[r],t,o);e.__shady=e.__shady||{},o=void 0!==e.__shady.firstChild?null:void 0,e.__shady.firstChild=e.__shady.lastChild=o,e.__shady.childNodes=o}else gt(e,t,o);if(Ct(t)){t.__shady.root.O();var a=!0}else t.__shady.root&&(a=!0)}return a||(a=G(t)?t.host:t,n?(n=Nt(n),Ze.call(a,e,n)):Je.call(a,e)),Tt(t,e),e}function wt(t,e){if(e.parentNode!==t)throw Error("The node to be removed is not a child of this node: "+e);var n=K(e);if(U(t)){e.__shady=e.__shady||{},t.__shady=t.__shady||{},e===t.__shady.firstChild&&(t.__shady.firstChild=e.__shady.nextSibling),e===t.__shady.lastChild&&(t.__shady.lastChild=e.__shady.previousSibling);var o=e.__shady.previousSibling,r=e.__shady.nextSibling;if(o&&(o.__shady=o.__shady||{},o.__shady.nextSibling=r),r&&(r.__shady=r.__shady||{},r.__shady.previousSibling=o),e.__shady.parentNode=e.__shady.previousSibling=e.__shady.nextSibling=void 0,void 0!==t.__shady.childNodes&&(t.__shady.childNodes=null),Ct(t)){t.__shady.root.O();var i=!0}}return Et(e),n&&((r=t&&"slot"===t.localName)&&(i=!0),((o=n.hb(e))||r)&&n.O()),i||(i=G(t)?t.host:t,(!t.__shady.root&&"slot"!==e.localName||i===ot(e))&&Qe.call(i,e)),Tt(t,null,e),e}function Et(t){if(t.__shady&&void 0!==t.__shady.wa)for(var e,n=t.childNodes,o=0,r=n.length;o<r&&(e=n[o]);o++)Et(e);t.__shady&&(t.__shady.wa=void 0)}function Nt(t){var e=t;return t&&"slot"===t.localName&&(e=(e=t.__shady&&t.__shady.W)&&e.length?e[0]:Nt(t.nextSibling)),e}function Ct(t){return(t=t&&t.__shady&&t.__shady.root)&&t.Da()}function St(t,e){"slot"===e?(t=t.parentNode,Ct(t)&&t.__shady.root.O()):"slot"===t.localName&&"name"===e&&(e=K(t))&&(e.jb(t),e.O())}function Tt(t,e,n){(t=t.__shady&&t.__shady.Y)&&(e&&t.addedNodes.push(e),n&&t.removedNodes.push(n),t.vb())}function Ot(t){if(t&&t.nodeType){t.__shady=t.__shady||{};var e=t.__shady.wa;return void 0===e&&(e=G(t)?t:(e=t.parentNode)?Ot(e):t,un.call(document.documentElement,t)&&(t.__shady.wa=e)),e}}function xt(t,e,n){var o=[];return At(t.childNodes,e,n,o),o}function At(t,e,n,o){for(var r,i=0,a=t.length;i<a&&(r=t[i]);i++){var s;if(s=r.nodeType===Node.ELEMENT_NODE){var c=e,l=n,u=o,h=c(s=r);h&&u.push(s),l&&l(h)?s=h:(At(s.childNodes,c,l,u),s=void 0)}if(s)break}}function Dt(t){G(t=t.getRootNode())&&t.Ga()}function Mt(t,e,n){xn||(xn=window.ShadyCSS&&window.ShadyCSS.ScopingShim),xn&&"class"===e?xn.setElementClass(t,n):(tn.call(t,e,n),St(t,e))}function Lt(t,e){if(t.ownerDocument!==document)return on.call(document,t,e);var n=on.call(document,t,!1);if(e){t=t.childNodes,e=0;for(var o;e<t.length;e++)o=Lt(t[e],!0),n.appendChild(o)}return n}function jt(t,e){var n=[],o=t;for(t=t===window?window:t.getRootNode();o;)n.push(o),o=o.assignedSlot?o.assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(e||o!==t)?o.host:o.parentNode;return n[n.length-1]===document&&n.push(window),n}function kt(t,e){if(!G)return t;t=jt(t,!0);for(var n,o,r,i,a=0;a<e.length;a++)if(n=e[a],(r=n===window?window:n.getRootNode())!==o&&(i=t.indexOf(r),o=r),!G(r)||-1<i)return n}function Rt(t){function e(e,n){return e=new t(e,n),e.la=n&&!!n.composed,e}return X(e,t),e.prototype=t.prototype,e}function Pt(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var o,r=0;(o=n[r])&&t.target!==t.relatedTarget&&(o.call(e,t),!t.Va);r++);}function Ht(t){var e=t.composedPath();Object.defineProperty(t,"currentTarget",{get:function(){return o},configurable:!0});for(var n=e.length-1;0<=n;n--){var o=e[n];if(Pt(t,o,"capture"),t.ma)return}Object.defineProperty(t,"eventPhase",{get:function(){return Event.AT_TARGET}});var r;for(n=0;n<e.length;n++){var i=(o=e[n]).__shady&&o.__shady.root;if((0===n||i&&i===r)&&(Pt(t,o,"bubble"),o!==window&&(r=o.getRootNode()),t.ma))break}}function Ft(t,e,n,o,r,i){for(var a=0;a<t.length;a++){var s=t[a],c=s.type,l=s.capture,u=s.once,h=s.passive;if(e===s.node&&n===c&&o===l&&r===u&&i===h)return a}return-1}function It(t,e,n){if(e){if("object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.na||this,s=e[An];if(s){if(-1<Ft(s,a,t,o,r,i))return}else e[An]=[];s=function(o){if(r&&this.removeEventListener(t,e,n),o.__target||Wt(o),a!==this){var i=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})}if(o.composed||-1<o.composedPath().indexOf(a))if(o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a){var s="object"==typeof e&&e.handleEvent?e.handleEvent(o):e.call(a,o);return a!==this&&(i?(Object.defineProperty(o,"currentTarget",i),i=null):delete o.currentTarget),s}},e[An].push({node:this,type:t,capture:o,once:r,passive:i,zb:s}),Ln[t]?(this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s)):(this instanceof Window?sn:rn).call(this,t,s,n)}}function qt(t,e,n){if(e){if("object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.na||this,s=void 0,c=null;try{c=e[An]}catch(t){}c&&-1<(r=Ft(c,a,t,o,r,i))&&(s=c.splice(r,1)[0].zb,c.length||(e[An]=void 0)),(this instanceof Window?cn:an).call(this,t,s||e,n),s&&Ln[t]&&this.__handlers&&this.__handlers[t]&&(t=this.__handlers[t][o?"capture":"bubble"],-1<(s=t.indexOf(s))&&t.splice(s,1))}}function Wt(t){if(t.__target=t.target,t.Ba=t.relatedTarget,We.X){var e=Mn,n=Object.getPrototypeOf(t);if(!n.hasOwnProperty("__patchProto")){var o=Object.create(n);o.Bb=n,$(o,e),n.__patchProto=o}t.__proto__=n.__patchProto}else $(t,Mn)}function Bt(t,e){return{index:t,Z:[],ca:e}}function Vt(t,e,n,o){var r=0,i=0,a=0,s=0,c=Math.min(e-r,o-i);if(0==r&&0==i)t:{for(a=0;a<c;a++)if(t[a]!==n[a])break t;a=c}if(e==t.length&&o==n.length){s=t.length;for(var l=n.length,u=0;u<c-a&&Ut(t[--s],n[--l]);)u++;s=u}if(r+=a,i+=a,e-=s,o-=s,0==e-r&&0==o-i)return[];if(r==e){for(e=Bt(r,0);i<o;)e.Z.push(n[i++]);return[e]}if(i==o)return[Bt(r,e-r)];for(o=o-(a=i)+1,s=e-(c=r)+1,e=Array(o),l=0;l<o;l++)e[l]=Array(s),e[l][0]=l;for(l=0;l<s;l++)e[0][l]=l;for(l=1;l<o;l++)for(u=1;u<s;u++)if(t[c+u-1]===n[a+l-1])e[l][u]=e[l-1][u-1];else{var h=e[l-1][u]+1,d=e[l][u-1]+1;e[l][u]=h<d?h:d}for(c=e.length-1,a=e[0].length-1,o=e[c][a],t=[];0<c||0<a;)0==c?(t.push(2),a--):0==a?(t.push(3),c--):(s=e[c-1][a-1],l=e[c-1][a],u=e[c][a-1],(h=l<u?l<s?l:s:u<s?u:s)==s?(s==o?t.push(0):(t.push(1),o=s),c--,a--):h==l?(t.push(3),c--,o=l):(t.push(2),a--,o=u));for(t.reverse(),e=void 0,c=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(c.push(e),e=void 0),r++,i++;break;case 1:e||(e=Bt(r,0)),e.ca++,r++,e.Z.push(n[i]),i++;break;case 2:e||(e=Bt(r,0)),e.ca++,r++;break;case 3:e||(e=Bt(r,0)),e.Z.push(n[i]),i++}return e&&c.push(e),c}function Ut(t,e){return t===e}function Gt(t){var e=[];do{e.unshift(t)}while(t=t.parentNode);return e}function Kt(t){return Dt(t),t.__shady&&t.__shady.assignedSlot||null}function $t(t,e){for(var n=Object.getOwnPropertyNames(e),o=0;o<n.length;o++){var r=n[o],i=Object.getOwnPropertyDescriptor(e,r);i.value?t[r]=i.value:Object.defineProperty(t,r,i)}}function Yt(t){var e=Kn.has(t);return t=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(t),!e&&t}function Xt(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function zt(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Jt(t,e,n){n=n||new Set;for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if((o=r.import)instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)Jt(o,e,n);o=zt(t,r);continue}if("template"===i){o=zt(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)Jt(r,e,n)}o=o.firstChild?o.firstChild:zt(t,o)}}function Zt(t,e,n){t[e]=n}function Qt(t){var e=te,n=t=t.replace(Do.mb,"").replace(Do.port,""),o=new u;o.start=0,o.end=n.length;for(var r=o,i=0,a=n.length;i<a;i++)if("{"===n[i]){r.rules||(r.rules=[]);var s=r,c=s.rules[s.rules.length-1]||null;(r=new u).start=i+1,r.parent=s,r.previous=c,s.rules.push(r)}else"}"===n[i]&&(r.end=i+1,r=r.parent||o);return e(o,t)}function te(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1),n=ee(n),n=n.replace(Do.Ma," "),n=n.substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=Ao.MEDIA_RULE:n.match(Do.rb)&&(t.type=Ao.ka,t.keyframesName=t.selector.split(Do.Ma).pop()):t.type=0===n.indexOf("--")?Ao.xa:Ao.STYLE_RULE),n=t.rules)for(var o,r=0,i=n.length;r<i&&(o=n[r]);r++)te(o,e);return t}function ee(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t})}function ne(t,e,n){n=void 0===n?"":n;var o="";if(t.cssText||t.rules){var r,i=t.rules;if((r=i)&&(r=i[0],r=!(r&&r.selector&&0===r.selector.indexOf("--"))),r){r=0;for(var a,s=i.length;r<s&&(a=i[r]);r++)o=ne(a,e,o)}else e?e=t.cssText:(e=t.cssText,e=e.replace(Do.Ha,"").replace(Do.La,""),e=e.replace(Do.sb,"").replace(Do.xb,"")),(o=e.trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(n+=t.selector+" {\n"),n+=o,t.selector&&(n+="}\n\n")),n}function oe(t){Lo=(!t||!t.shimcssproperties)&&(Mo||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}function re(t,e){return t?("string"==typeof t&&(t=Qt(t)),e&&se(t,e),ne(t,Lo)):""}function ie(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=Qt(t.textContent)),t.__cssRules||null}function ae(t){return!!t.parent&&t.parent.type===Ao.ka}function se(t,e,n,o){if(t){var r=!1,i=t.type;if(o&&i===Ao.MEDIA_RULE){var a=t.selector.match(Ho);a&&(window.matchMedia(a[1]).matches||(r=!0))}if(i===Ao.STYLE_RULE?e(t):n&&i===Ao.ka?n(t):i===Ao.xa&&(r=!0),(t=t.rules)&&!r){r=0,i=t.length;for(var s;r<i&&(s=t[r]);r++)se(s,e,n,o)}}}function ce(t,e,n,o){var r=document.createElement("style");return e&&r.setAttribute("scope",e),r.textContent=t,le(r,n,o),r}function le(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Io?t.compareDocumentPosition(Io)===Node.DOCUMENT_POSITION_PRECEDING&&(Io=t):Io=t}function ue(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");t:{for(var o=0,r=n+3,i=t.length;r<i;r++)if("("===t[r])o++;else if(")"===t[r]&&0==--o)break t;r=-1}return o=t.substring(n+4,r),n=t.substring(0,n),t=ue(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function he(t,e){Mo?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}function de(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,$:n}}function pe(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var o=0;o<n.addedNodes.length;o++){var r=n.addedNodes[o];if(r.nodeType===Node.ELEMENT_NODE){var i=r.getRootNode(),a=r,s=[];if(a.classList?s=Array.from(a.classList):a instanceof window.SVGElement&&a.hasAttribute("class")&&(s=a.getAttribute("class").split(/\s+/)),a=s,s=a.indexOf(nr.a),(a=-1<s?a[s+1]:"")&&i===r.ownerDocument)nr.b(r,a,!0);else if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(i=i.host))if(i=de(i).is,a===i)for(r=window.ShadyDOM.nativeMethods.querySelectorAll.call(r,":not(."+nr.a+")"),i=0;i<r.length;i++)nr.h(r[i],a);else a&&nr.b(r,a,!0),nr.b(r,i)}}}}function fe(t){(t=pr[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function ye(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}function me(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t.b||(t.b=!0,fr.then(function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t.b=!1}))}function ve(t){requestAnimationFrame(function(){mr?mr(t):(yr||(yr=new Promise(function(t){dr=t}),"complete"===document.readyState?dr():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&dr()})),yr.then(function(){t&&t()}))})}!function(){if(!function(){var t=document.createEvent("Event");return t.initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented}()){var t=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(t.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var e=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||e&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||e&&"function"!=typeof window.Event){var n=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},n)for(var o in n)window.Event[o]=n[o];window.Event.prototype=n.prototype}if(!window.MouseEvent||e&&"function"!=typeof window.MouseEvent){if(e=window.MouseEvent,window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},e)for(o in e)window.MouseEvent[o]=e[o];window.MouseEvent.prototype=e.prototype}Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)if(n=o[r])for(var i=t,a=n,s=Object.getOwnPropertyNames(a),c=0;c<s.length;c++)n=s[c],i[n]=a[n];return t})}(window.WebComponents),function(){function t(){}var e="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var t=Document.prototype.importNode;Document.prototype.importNode=function(){var e=t.apply(this,arguments);if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=this.createDocumentFragment();return n.appendChild(e),n}return e}}();var n=Node.prototype.cloneNode,o=Document.prototype.createElement,r=Document.prototype.importNode,i=function(){if(!e){var t=document.createElement("template"),n=document.createElement("template");return n.content.appendChild(document.createElement("div")),t.content.appendChild(n),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();if(e){var a=document.implementation.createHTMLDocument("template"),s=!0,c=document.createElement("style");c.textContent="template{display:none;}";var l=document.head;l.insertBefore(c,l.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var u=!document.createElement("div").hasOwnProperty("innerHTML");t.R=function(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChild;)e.content.appendChild(n);if(u)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.a(this,e)},s)try{h(e),d(e)}catch(t){s=!1}t.V(e.content)}};var h=function(e){Object.defineProperty(e,"innerHTML",{get:function(){for(var t="",e=this.content.firstChild;e;e=e.nextSibling)t+=e.outerHTML||e.data.replace(p,f);return t},set:function(e){for(a.body.innerHTML=e,t.V(a);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.appendChild(a.body.firstChild)},configurable:!0})},d=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(a.body.innerHTML=t,t=document.createDocumentFragment();a.body.firstChild;)t.appendChild(a.body.firstChild);this.parentNode.replaceChild(t,this)},configurable:!0})};h(t.prototype),d(t.prototype),t.V=function(e){for(var n,o=0,r=(e=e.querySelectorAll("template")).length;o<r&&(n=e[o]);o++)t.R(n)},document.addEventListener("DOMContentLoaded",function(){t.V(document)}),Document.prototype.createElement=function(){var e=o.apply(this,arguments);return"template"===e.localName&&t.R(e),e};var p=/[&\u00A0<>]/g,f=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case" ":return" "}}}(e||i)&&(t.a=function(t,e){var o=n.call(t,!1);return this.R&&this.R(o),e&&(o.content.appendChild(n.call(t.content,!0)),this.ua(o.content,t.content)),o},t.prototype.cloneNode=function(e){return t.a(this,e)},t.ua=function(t,e){if(e.querySelectorAll){e=e.querySelectorAll("template");for(var n,o,r=0,i=(t=t.querySelectorAll("template")).length;r<i;r++)o=e[r],n=t[r],this.R&&this.R(o),n.parentNode.replaceChild(o.cloneNode(!0),n)}},Node.prototype.cloneNode=function(e){if(this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var o=this.ownerDocument.importNode(this,!0)}else o=n.call(this,e);return e&&t.ua(o,this),o},Document.prototype.importNode=function(e,n){if("template"===e.localName)return t.a(e,n);var o=r.call(this,e,n);return n&&t.ua(o,e),o},i&&(window.HTMLTemplateElement.prototype.cloneNode=function(e){return t.a(this,e)})),e&&(window.HTMLTemplateElement=t)}();var _e,ge,be,we=_e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},Ee=0,Ne="undefined"!=typeof window?window:void 0,Ce=Ne||{},Se=Ce.MutationObserver||Ce.WebKitMutationObserver,Te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Oe=Array(1e3),xe="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?function(){return process.Ib(N)}:Se?function(){var t=0,e=new Se(N),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():Te?function(){var t=new MessageChannel;return t.port1.onmessage=N,function(){return t.port2.postMessage(0)}}():Ne||"function"!=typeof require?E():function(){try{var t=require("vertx");return ge=t.Kb||t.Jb,w()}catch(t){return E()}}(),Ae=Math.random().toString(36).substring(16),De=new F,Me=new F,Le=0;B.prototype.eb=function(t){for(var e=0;void 0===this.o&&e<t.length;e++)this.cb(t[e],e)},B.prototype.cb=function(t,e){var n=this.fb,o=n.resolve;o===S?(o=O(t))===C&&void 0!==t.o?this.qa(t.o,e,t.m):"function"!=typeof o?(this.aa--,this.m[e]=t):n===V?(n=new n(T),M(n,t,o),this.ra(n,e)):this.ra(new n(function(e){return e(t)}),e):this.ra(o(t),e)},B.prototype.qa=function(t,e,n){var o=this.L;void 0===o.o&&(this.aa--,2===t?R(o,n):this.m[e]=n),0===this.aa&&k(o,this.m)},B.prototype.ra=function(t,e){var n=this;P(t,void 0,function(t){return n.qa(1,e,t)},function(t){return n.qa(2,e,t)})},V.all=function(t){return new B(this,t).L},V.race=function(t){var e=this;return new e(we(t)?function(n,o){for(var r=t.length,i=0;i<r;i++)e.resolve(t[i]).then(n,o)}:function(t,e){return e(new TypeError("You must pass an array to race."))})},V.resolve=S,V.reject=function(t){var e=new this(T);return R(e,t),e},V.Gb=function(t){be=t},V.Fb=function(t){b=t},V.Cb=b,V.prototype={constructor:V,then:C,a:function(t){return this.then(null,t)}},window.Promise||(window.Promise=V,V.prototype.catch=V.prototype.a),function(t){function e(t,e){if("function"==typeof window.CustomEvent)return new CustomEvent(t,e);var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n}function n(t){if(u)return t.ownerDocument!==document?t.ownerDocument:null;var e=t.__importDoc;if(!e&&t.parentNode){if("function"==typeof(e=t.parentNode).closest)e=e.closest("link[rel=import]");else for(;!s(e)&&(e=e.parentNode););t.__importDoc=e}return e}function o(t){var e=document.querySelectorAll("link[rel=import]:not([import-dependency])"),n=e.length;n?l(e,function(e){return a(e,function(){0==--n&&t()})}):t()}function r(t){function e(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",e),t())}document.addEventListener("readystatechange",e),e()}function i(t){r(function(){return o(function(){return t&&t()})})}function a(t,e){if(t.__loaded)e&&e();else if("script"===t.localName&&!t.src||"style"===t.localName&&!t.firstChild)t.__loaded=!0,e&&e();else{var n=function(o){t.removeEventListener(o.type,n),t.__loaded=!0,e&&e()};t.addEventListener("load",n),v&&"style"===t.localName||t.addEventListener("error",n)}}function s(t){return t.nodeType===Node.ELEMENT_NODE&&"link"===t.localName&&"import"===t.rel}function c(){var t=this;this.a={},this.b=0,this.f=new MutationObserver(function(e){return t.l(e)}),this.f.observe(document.head,{childList:!0,subtree:!0}),this.c(document)}function l(t,e,n){var o=t?t.length:0,r=n?-1:1;for(n=n?o-1:0;n<o&&0<=n;n+=r)e(t[n],n)}var u="import"in document.createElement("link"),h=null;0=="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return h||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var d=/(url\()([^)]*)(\))/g,p=/(@import[\s]+(?!url\())([^;]*)(;)/g,f=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,y={nb:function(t,e){if(t.href&&t.setAttribute("href",y.ga(t.getAttribute("href"),e)),t.src&&t.setAttribute("src",y.ga(t.getAttribute("src"),e)),"style"===t.localName){var n=y.Na(t.textContent,e,d);t.textContent=y.Na(n,e,p)}},Na:function(t,e,n){return t.replace(n,function(t,n,o,r){return t=o.replace(/["']/g,""),e&&(t=y.ga(t,e)),n+"'"+t+"'"+r})},ga:function(t,e){if(void 0===y.oa){y.oa=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",y.oa="http://a/c%20d"===n.href}catch(t){}}return y.oa?new URL(t,e).href:((n=y.$a)||(n=document.implementation.createHTMLDocument("temp"),y.$a=n,n.za=n.createElement("base"),n.head.appendChild(n.za),n.ya=n.createElement("a")),n.za.href=e,n.ya.href=t,n.ya.href||t)}},m={async:!0,load:function(t,e,n){if(t)if(t.match(/^data:/)){var o=(t=t.split(","))[1];o=-1<t[0].indexOf(";base64")?atob(o):decodeURIComponent(o),e(o)}else{var r=new XMLHttpRequest;r.open("GET",t,m.async),r.onload=function(){var t=r.responseURL||r.getResponseHeader("Location");t&&0===t.indexOf("/")&&(t=(location.origin||location.protocol+"//"+location.host)+t);var o=r.response||r.responseText;304===r.status||0===r.status||200<=r.status&&300>r.status?e(o,t):n(o)},r.send()}else n("error: href must be specified")}},v=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);if(c.prototype.c=function(t){var e=this;l(t=t.querySelectorAll("link[rel=import]"),function(t){return e.h(t)})},c.prototype.h=function(t){var e=this,n=t.href;if(void 0!==this.a[n]){var o=this.a[n];o&&o.__loaded&&(t.import=o,this.g(t))}else this.b++,this.a[n]="pending",m.load(n,function(t,o){t=e.s(t,o||n),e.a[n]=t,e.b--,e.c(t),e.i()},function(){e.a[n]=null,e.b--,e.i()})},c.prototype.s=function(t,e){if(!t)return document.createDocumentFragment();v&&(t=t.replace(f,function(t,e,n){return-1===t.indexOf("type=")?e+" type=import-disable "+n:t}));var n=document.createElement("template");if(n.innerHTML=t,n.content)t=n.content;else for(t=document.createDocumentFragment();n.firstChild;)t.appendChild(n.firstChild);(n=t.querySelector("base"))&&(e=y.ga(n.getAttribute("href"),e),n.removeAttribute("href"));var o=0;return l(n=t.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),function(t){a(t),y.nb(t,e),t.setAttribute("import-dependency",""),"script"===t.localName&&!t.src&&t.textContent&&(t.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(t.textContent+"\n//# sourceURL="+e+(o?"-"+o:"")+".js\n")),t.textContent="",o++)}),t},c.prototype.i=function(){var t=this;if(!this.b){this.f.disconnect(),this.flatten(document);var e=!1,n=!1,o=function(){n&&e&&(t.c(document),t.b||(t.f.observe(document.head,{childList:!0,subtree:!0}),t.j()))};this.v(function(){n=!0,o()}),this.u(function(){e=!0,o()})}},c.prototype.flatten=function(t){var e=this;l(t=t.querySelectorAll("link[rel=import]"),function(t){var n=e.a[t.href];(t.import=n)&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e.a[t.href]=t,t.readyState="loading",t.import=t,e.flatten(n),t.appendChild(n))})},c.prototype.u=function(t){function e(r){if(r<o){var i=n[r],s=document.createElement("script");i.removeAttribute("import-dependency"),l(i.attributes,function(t){return s.setAttribute(t.name,t.value)}),h=s,i.parentNode.replaceChild(s,i),a(s,function(){h=null,e(r+1)})}else t()}var n=document.querySelectorAll("script[import-dependency]"),o=n.length;e(0)},c.prototype.v=function(t){var e=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),o=e.length;if(o){var r=v&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(e,function(e){if(a(e,function(){e.removeAttribute("import-dependency"),0==--o&&t()}),r&&e.parentNode!==document.head){var i=document.createElement(e.localName);for(i.__appliedElement=e,i.setAttribute("type","import-placeholder"),e.parentNode.insertBefore(i,e.nextSibling),i=n(e);i&&n(i);)i=n(i);i.parentNode!==document.head&&(i=null),document.head.insertBefore(e,i),e.removeAttribute("type")}})}else t()},c.prototype.j=function(){var t=this;l(document.querySelectorAll("link[rel=import]"),function(e){return t.g(e)},!0)},c.prototype.g=function(t){t.__loaded||(t.__loaded=!0,t.import&&(t.import.readyState="complete"),t.dispatchEvent(e(t.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))},c.prototype.l=function(t){var e=this;l(t,function(t){return l(t.addedNodes,function(t){t&&t.nodeType===Node.ELEMENT_NODE&&(s(t)?e.h(t):e.c(t))})})},u){var _=document.querySelectorAll("link[rel=import]");l(_,function(t){t.import&&"loading"===t.import.readyState||(t.__loaded=!0)}),_=function(t){s(t=t.target)&&(t.__loaded=!0)},document.addEventListener("load",_,!0),document.addEventListener("error",_,!0)}else{var g=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!g||g.configurable?Node:Element).prototype,"baseURI",{get:function(){var t=s(this)?this:n(this);return t?t.href:g&&g.get?g.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0}),r(function(){return new c})}i(function(){return document.dispatchEvent(e("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))}),t.useNative=u,t.whenReady=i,t.importForElement=n}(window.HTMLImports=window.HTMLImports||{}),window.WebComponents=window.WebComponents||{flags:{}};var je=document.querySelector('script[src*="webcomponents-lite.js"]'),ke=/wc-(.+)/,Re={};if(!Re.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(ke))&&(Re[e[1]]=t[1]||!0)}),je)for(var Pe,He=0;Pe=je.attributes[He];He++)"src"!==Pe.name&&(Re[Pe.name]=Pe.value||!0);if(Re.log&&Re.log.split){var Fe=Re.log.split(",");Re.log={},Fe.forEach(function(t){Re.log[t]=!0})}else Re.log={}}window.WebComponents.flags=Re;var Ie=Re.shadydom;Ie&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=Ie);var qe=Re.register||Re.ce;qe&&window.customElements&&(window.customElements.forcePolyfill=qe);var We=window.ShadyDOM||{};We.ob=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Be=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");We.X=!!(Be&&Be.configurable&&Be.get),We.Ka=We.force||!We.ob;var Ve=Element.prototype,Ue=Ve.matches||Ve.matchesSelector||Ve.mozMatchesSelector||Ve.msMatchesSelector||Ve.oMatchesSelector||Ve.webkitMatchesSelector,Ge=document.createTextNode(""),Ke=0,$e=[];new MutationObserver(function(){for(;$e.length;)try{$e.shift()()}catch(t){throw Ge.textContent=Ke++,t}}).observe(Ge,{characterData:!0});var Ye,Xe=!!document.contains,ze=[];Q.list=ze,g.prototype.vb=function(){var t=this;this.a||(this.a=!0,z(function(){t.b()}))},g.prototype.b=function(){if(this.a){this.a=!1;var t=this.takeRecords();t.length&&this.da.forEach(function(e){e(t)})}},g.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Je=Element.prototype.appendChild,Ze=Element.prototype.insertBefore,Qe=Element.prototype.removeChild,tn=Element.prototype.setAttribute,en=Element.prototype.removeAttribute,nn=Element.prototype.cloneNode,on=Document.prototype.importNode,rn=Element.prototype.addEventListener,an=Element.prototype.removeEventListener,sn=Window.prototype.addEventListener,cn=Window.prototype.removeEventListener,ln=Element.prototype.dispatchEvent,un=Node.prototype.contains||HTMLElement.prototype.contains,hn=Object.freeze({appendChild:Je,insertBefore:Ze,removeChild:Qe,setAttribute:tn,removeAttribute:en,cloneNode:nn,importNode:on,addEventListener:rn,removeEventListener:an,Lb:sn,Mb:cn,dispatchEvent:ln,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll,contains:un}),dn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,fn=et("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),yn=et("style script xmp iframe noembed noframes plaintext noscript".split(" ")),mn=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),vn=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),_n=Object.freeze({parentNode:ot,firstChild:rt,lastChild:it,previousSibling:at,nextSibling:st,childNodes:ct,parentElement:lt,firstElementChild:ut,lastElementChild:ht,previousElementSibling:dt,nextElementSibling:pt,children:ft,innerHTML:yt,textContent:mt}),gn=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),bn=document.implementation.createHTMLDocument("inert").createElement("div"),wn=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),En={parentElement:{get:function(){var t=this.__shady&&this.__shady.parentNode;return t&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:lt(this)},configurable:!0},parentNode:{get:function(){var t=this.__shady&&this.__shady.parentNode;return void 0!==t?t:ot(this)},configurable:!0},nextSibling:{get:function(){var t=this.__shady&&this.__shady.nextSibling;return void 0!==t?t:st(this)},configurable:!0},previousSibling:{get:function(){var t=this.__shady&&this.__shady.previousSibling;return void 0!==t?t:at(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var t=this.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return pt(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var t=this.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return dt(this)},configurable:!0}},Nn={childNodes:{get:function(){if(U(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var t=this.firstChild;t;t=t.nextSibling)this.__shady.childNodes.push(t)}var e=this.__shady.childNodes}else e=ct(this);return e.item=function(t){return e[t]},e},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var t=this.__shady&&this.__shady.firstChild;return void 0!==t?t:rt(this)},configurable:!0},lastChild:{get:function(){var t=this.__shady&&this.__shady.lastChild;return void 0!==t?t:it(this)},configurable:!0},textContent:{get:function(){if(U(this)){for(var t,e=[],n=0,o=this.childNodes;t=o[n];n++)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")}return mt(this)},set:function(t){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(t));break;default:this.nodeValue=t}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var t=this.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return ut(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var t=this.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return ht(this)},configurable:!0},children:{get:function(){var t;return t=U(this)?Array.prototype.filter.call(this.childNodes,function(t){return t.nodeType===Node.ELEMENT_NODE}):ft(this),t.item=function(e){return t[e]},t},configurable:!0},innerHTML:{get:function(){var t="template"===this.localName?this.content:this;return U(this)?nt(t):yt(t)},set:function(t){for(var e="template"===this.localName?this.content:this;e.firstChild;)e.removeChild(e.firstChild);for(gn&&gn.set?gn.set.call(bn,t):bn.innerHTML=t;bn.firstChild;)e.appendChild(bn.firstChild)},configurable:!0}},Cn={shadowRoot:{get:function(){return this.__shady&&this.__shady.tb||null},configurable:!0}},Sn={activeElement:{get:function(){var t=wn&&wn.get?wn.get.call(document):We.X?void 0:document.activeElement;if(t&&t.nodeType){var e=!!G(this);if(this===document||e&&this.host!==t&&un.call(this.host,t)){for(e=K(t);e&&e!==this;)t=e.host,e=K(t);t=this===document?e?null:t:e===this?t:null}else t=null}else t=null;return t},set:function(){},configurable:!0}},Tn=We.X?function(){}:function(t){t.__shady&&t.__shady.Ya||(t.__shady=t.__shady||{},t.__shady.Ya=!0,vt(t,En,!0))},On=We.X?function(){}:function(t){t.__shady&&t.__shady.Wa||(t.__shady=t.__shady||{},t.__shady.Wa=!0,vt(t,Nn,!0),vt(t,Cn,!0))},xn=null,An="__eventWrappers"+Date.now(),Dn={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},Mn={get composed(){return!1!==this.isTrusted&&void 0===this.la&&(this.la=Dn[this.type]),this.la||!1},composedPath:function(){return this.Aa||(this.Aa=jt(this.__target,this.composed)),this.Aa},get target(){return kt(this.currentTarget,this.composedPath())},get relatedTarget(){return this.Ba?(this.Ca||(this.Ca=jt(this.Ba,!0)),kt(this.currentTarget,this.Ca)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ma=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ma=this.Va=!0}},Ln={focus:!0,blur:!0},jn=Rt(window.Event),kn=Rt(window.CustomEvent),Rn=Rt(window.MouseEvent),Pn={};v.prototype=Object.create(DocumentFragment.prototype),v.prototype.H=function(t,e){this.Xa="ShadyRoot",_(t),_(this),this.host=t,this.J=e&&e.mode,t.__shady=t.__shady||{},t.__shady.root=this,t.__shady.tb="closed"!==this.J?this:null,this.ba=!1,this.b=[],this.a={},this.c=[];for(var n=0,o=(e=ct(t)).length;n<o;n++)Qe.call(t,e[n])},v.prototype.O=function(){var t=this;this.ba||(this.ba=!0,Z(function(){return t.Ga()}))},v.prototype.N=function(){for(var t,e=this;e;)e.ba&&(t=e),e=e.ib();return t},v.prototype.ib=function(){var t=this.host.getRootNode();if(G(t))for(var e,n=this.host.childNodes,o=0;o<n.length;o++)if(e=n[o],this.j(e))return t},v.prototype.Ga=function(){var t=this.N();t&&t._renderRoot()},v.prototype._renderRoot=function(){this.ba=!1,this.D(),this.v()},v.prototype.D=function(){this.f();for(var t,e=0;e<this.b.length;e++)t=this.b[e],this.u(t);for(t=this.host.firstChild;t;t=t.nextSibling)this.h(t);for(e=0;e<this.b.length;e++){if(!(t=this.b[e]).__shady.assignedNodes.length)for(var n=t.firstChild;n;n=n.nextSibling)this.h(n,t);if(n=t.parentNode,(n=n.__shady&&n.__shady.root)&&n.Da()&&n._renderRoot(),this.g(t.__shady.W,t.__shady.assignedNodes),n=t.__shady.Fa){for(var o=0;o<n.length;o++)n[o].__shady.pa=null;t.__shady.Fa=null,n.length>t.__shady.assignedNodes.length&&(t.__shady.ta=!0)}t.__shady.ta&&(t.__shady.ta=!1,this.i(t))}},v.prototype.h=function(t,e){t.__shady=t.__shady||{};var n=t.__shady.pa;t.__shady.pa=null,e||(e=(e=this.a[t.slot||"__catchall"])&&e[0]),e?(e.__shady.assignedNodes.push(t),t.__shady.assignedSlot=e):t.__shady.assignedSlot=void 0,n!==t.__shady.assignedSlot&&t.__shady.assignedSlot&&(t.__shady.assignedSlot.__shady.ta=!0)},v.prototype.u=function(t){var e=t.__shady.assignedNodes;if(t.__shady.assignedNodes=[],t.__shady.W=[],t.__shady.Fa=e)for(var n=0;n<e.length;n++){var o=e[n];o.__shady.pa=o.__shady.assignedSlot,o.__shady.assignedSlot===t&&(o.__shady.assignedSlot=null)}},v.prototype.g=function(t,e){for(var n,o=0;o<e.length&&(n=e[o]);o++)if("slot"==n.localName){var r=n.__shady.assignedNodes;r&&r.length&&this.g(t,r)}else t.push(e[o])},v.prototype.i=function(t){ln.call(t,new Event("slotchange")),t.__shady.assignedSlot&&this.i(t.__shady.assignedSlot)},v.prototype.v=function(){for(var t=this.b,e=[],n=0;n<t.length;n++){var o=t[n].parentNode;o.__shady&&o.__shady.root||!(0>e.indexOf(o))||e.push(o)}for(t=0;t<e.length;t++)n=e[t],this.T(n===this?this.host:n,this.B(n))},v.prototype.B=function(t){var e=[];t=t.childNodes;for(var n=0;n<t.length;n++){var o=t[n];if(this.j(o)){o=o.__shady.W;for(var r=0;r<o.length;r++)e.push(o[r])}else e.push(o)}return e},v.prototype.j=function(t){return"slot"==t.localName},v.prototype.T=function(t,e){for(var n,o=ct(t),r=Vt(e,e.length,o,o.length),i=0,a=0;i<r.length&&(n=r[i]);i++){for(var s,c=0;c<n.Z.length&&(s=n.Z[c]);c++)ot(s)===t&&Qe.call(t,s),o.splice(n.index+a,1);a-=n.ca}for(i=0;i<r.length&&(n=r[i]);i++)for(a=o[n.index],c=n.index;c<n.index+n.ca;c++)s=e[c],Ze.call(t,s,a),o.splice(c,0,s)},v.prototype.ab=function(t){this.c.push.apply(this.c,[].concat(t instanceof Array?t:i(r(t))))},v.prototype.f=function(){this.c.length&&(this.I(this.c),this.c=[])},v.prototype.I=function(t){for(var e,n=0;n<t.length;n++){var o=t[n];o.__shady=o.__shady||{},_(o),_(o.parentNode);var r=this.l(o);this.a[r]?(e=e||{},e[r]=!0,this.a[r].push(o)):this.a[r]=[o],this.b.push(o)}if(e)for(var i in e)this.a[i]=this.s(this.a[i])},v.prototype.l=function(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Za=e},v.prototype.s=function(t){return t.sort(function(t,e){t=Gt(t);for(var n=Gt(e),o=0;o<t.length;o++){e=t[o];var r=n[o];if(e!==r)return(t=Array.from(e.parentNode.childNodes)).indexOf(e)-t.indexOf(r)}})},v.prototype.hb=function(t){this.f();var e,n=this.a;for(e in n)for(var o=n[e],r=0;r<o.length;r++){var i=o[r];if(J(t,i)){o.splice(r,1);var a=this.b.indexOf(i);0<=a&&this.b.splice(a,1),r--,this.K(i),a=!0}}return a},v.prototype.jb=function(t){var e=t.Za,n=this.l(t);if(n!==e){var o=(e=this.a[e]).indexOf(t);0<=o&&e.splice(o,1),(e=this.a[n]||(this.a[n]=[])).push(t),1<e.length&&(this.a[n]=this.s(e))}},v.prototype.K=function(t){if(t=t.__shady.W)for(var e=0;e<t.length;e++){var n=t[e],o=ot(n);o&&Qe.call(o,n)}},v.prototype.Da=function(){return this.f(),!!this.b.length},v.prototype.addEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.addEventListener(t,e,n)},v.prototype.removeEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.removeEventListener(t,e,n)},v.prototype.getElementById=function(t){return xt(this,function(e){return e.id==t},function(t){return!!t})[0]||null},function(t){vt(t,Nn,!0),vt(t,Sn,!0)}(v.prototype);var Hn={addEventListener:It.bind(window),removeEventListener:qt.bind(window)},Fn={addEventListener:It,removeEventListener:qt,appendChild:function(t){return bt(this,t)},insertBefore:function(t,e){return bt(this,t,e)},removeChild:function(t){return wt(this,t)},replaceChild:function(t,e){return bt(this,t,e),wt(this,e),t},cloneNode:function(t){if("template"==this.localName)var e=nn.call(this,t);else if(e=nn.call(this,!1),t){t=this.childNodes;for(var n,o=0;o<t.length;o++)n=t[o].cloneNode(!0),e.appendChild(n)}return e},getRootNode:function(){return Ot(this)},contains:function(t){return J(this,t)},get isConnected(){var t=this.ownerDocument;if(Xe&&un.call(t,this)||t.documentElement&&un.call(t.documentElement,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.parentNode||(t instanceof v?t.host:void 0);return!!(t&&t instanceof Document)},dispatchEvent:function(t){return Q(),ln.call(this,t)}},In={get assignedSlot(){return Kt(this)}},qn={querySelector:function(t){return xt(this,function(e){return Ue.call(e,t)},function(t){return!!t})[0]||null},querySelectorAll:function(t){return xt(this,function(e){return Ue.call(e,t)})}},Wn={assignedNodes:function(t){if("slot"===this.localName)return Dt(this),this.__shady?(t&&t.flatten?this.__shady.W:this.__shady.assignedNodes)||[]:[]}},Bn=Y({setAttribute:function(t,e){Mt(this,t,e)},removeAttribute:function(t){en.call(this,t),St(this,t)},attachShadow:function(t){if(!this)throw"Must provide a host.";if(!t)throw"Not enough arguments.";return new v(Pn,this,t)},get slot(){return this.getAttribute("slot")},set slot(t){Mt(this,"slot",t)},get assignedSlot(){return Kt(this)}},qn,Wn);Object.defineProperties(Bn,Cn);var Vn=Y({importNode:function(t,e){return Lt(t,e)},getElementById:function(t){return xt(this,function(e){return e.id==t},function(t){return!!t})[0]||null}},qn);Object.defineProperties(Vn,{_activeElement:Sn.activeElement});var Un=HTMLElement.prototype.blur,Gn=Y({blur:function(){var t=this.__shady&&this.__shady.root;(t=t&&t.activeElement)?t.blur():Un.call(this)}});We.Ka&&(window.ShadyDOM={inUse:We.Ka,patch:function(t){return t},isShadyRoot:G,enqueue:Z,flush:Q,settings:We,filterMutations:function(t,e){var n=e.getRootNode();return t.map(function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=Array.from(t.addedNodes).filter(function(t){return n===t.getRootNode()})).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t}).filter(function(t){return t})},observeChildren:function(t,e){t.__shady=t.__shady||{},t.__shady.Y||(t.__shady.Y=new g),t.__shady.Y.da.add(e);var n=t.__shady.Y;return{bb:e,P:n,gb:t,takeRecords:function(){return n.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.P;e&&(e.da.delete(t.bb),e.da.size||(t.gb.__shady.Y=null))},nativeMethods:hn,nativeTree:_n},window.Event=jn,window.CustomEvent=kn,window.MouseEvent=Rn,function(){for(var t in Ln)window.addEventListener(t,function(t){t.__target||(Wt(t),Ht(t))},!0)}(),function(){var t=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;$t(window.Node.prototype,Fn),$t(window.Window.prototype,Hn),$t(window.Text.prototype,In),$t(window.DocumentFragment.prototype,qn),$t(window.Element.prototype,Bn),$t(window.Document.prototype,Vn),window.HTMLSlotElement&&$t(window.HTMLSlotElement.prototype,Wn),$t(t.prototype,Gn),We.X&&(_t(window.Node.prototype),_t(window.Text.prototype),_t(window.DocumentFragment.prototype),_t(window.Element.prototype),_t(t.prototype),_t(window.Document.prototype),window.HTMLSlotElement&&_t(window.HTMLSlotElement.prototype))}(),window.ShadowRoot=v);var Kn=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));m.prototype.D=function(t,e){this.u.set(t,e),this.s.set(e.constructor,e)},m.prototype.c=function(t){return this.u.get(t)},m.prototype.B=function(t){return this.s.get(t)},m.prototype.v=function(t){this.h=!0,this.j.push(t)},m.prototype.l=function(t){var e=this;this.h&&Jt(t,function(t){return e.g(t)})},m.prototype.g=function(t){if(this.h&&!t.__CE_patched){t.__CE_patched=!0;for(var e=0;e<this.j.length;e++)this.j[e](t)}},m.prototype.b=function(t){var e=[];for(Jt(t,function(t){return e.push(t)}),t=0;t<e.length;t++){var n=e[t];1===n.__CE_state?this.connectedCallback(n):this.i(n)}},m.prototype.a=function(t){var e=[];for(Jt(t,function(t){return e.push(t)}),t=0;t<e.length;t++){var n=e[t];1===n.__CE_state&&this.disconnectedCallback(n)}},m.prototype.f=function(t,e){var n=this,o=(e=e||{}).yb||new Set,r=e.Oa||function(t){return n.i(t)},i=[];if(Jt(t,function(t){if("link"===t.localName&&"import"===t.getAttribute("rel")){var e=t.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):t.addEventListener("load",function(){var e=t.import;if(!e.__CE_documentLoadHandled){e.__CE_documentLoadHandled=!0,e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0;var i=new Set(o);i.delete(e),n.f(e,{yb:i,Oa:r})}})}else i.push(t)},o),this.h)for(t=0;t<i.length;t++)this.g(i[t]);for(t=0;t<i.length;t++)r(i[t])},m.prototype.i=function(t){if(void 0===t.__CE_state){var e=this.c(t.localName);if(e){e.constructionStack.push(t);var n=e.constructor;try{try{if(new n!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,n=0;n<e.length;n++){var o=e[n],r=t.getAttribute(o);null!==r&&this.attributeChangedCallback(t,o,null,r,null)}Xt(t)&&this.connectedCallback(t)}}},m.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)},m.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)},m.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e)&&i.attributeChangedCallback.call(t,e,n,o,r)},y.prototype.c=function(){this.P&&this.P.disconnect()},y.prototype.f=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||this.c(),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)this.b.f(n[o])},f.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.b&&this.b(t)},p.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!Yt(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.c(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=e.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=o("connectedCallback"),a=o("disconnectedCallback"),s=o("adoptedCallback"),c=o("attributeChangedCallback"),l=e.observedAttributes||[]}catch(t){return}finally{this.c=!1}e={localName:t,constructor:e,connectedCallback:i,disconnectedCallback:a,adoptedCallback:s,attributeChangedCallback:c,observedAttributes:l,constructionStack:[]},this.a.D(t,e),this.g.push(e),this.b||(this.b=!0,this.f(function(){return n.j()}))},p.prototype.j=function(){var t=this;if(!1!==this.b){this.b=!1;for(var e=this.g,n=[],o=new Map,r=0;r<e.length;r++)o.set(e[r].localName,[]);for(this.a.f(document,{Oa:function(e){if(void 0===e.__CE_state){var r=e.localName,i=o.get(r);i?i.push(e):t.a.c(r)&&n.push(e)}}}),r=0;r<n.length;r++)this.a.i(n[r]);for(;0<e.length;){var i=e.shift();r=i.localName,i=o.get(i.localName);for(var a=0;a<i.length;a++)this.a.i(i[a]);(r=this.h.get(r))&&r.resolve(void 0)}}},p.prototype.get=function(t){if(t=this.a.c(t))return t.constructor},p.prototype.whenDefined=function(t){if(!Yt(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.h.get(t);return e?e.c:(e=new f,this.h.set(t,e),this.a.c(t)&&!this.g.some(function(e){return e.localName===t})&&e.resolve(void 0),e.c)},p.prototype.l=function(t){this.i.c();var e=this.f;this.f=function(n){return t(function(){return e(n)})}},window.CustomElementRegistry=p,p.prototype.define=p.prototype.define,p.prototype.get=p.prototype.get,p.prototype.whenDefined=p.prototype.whenDefined,p.prototype.polyfillWrapFlushCallback=p.prototype.l;var $n=window.Document.prototype.createElement,Yn=window.Document.prototype.createElementNS,Xn=window.Document.prototype.importNode,zn=window.Document.prototype.prepend,Jn=window.Document.prototype.append,Zn=window.DocumentFragment.prototype.prepend,Qn=window.DocumentFragment.prototype.append,to=window.Node.prototype.cloneNode,eo=window.Node.prototype.appendChild,no=window.Node.prototype.insertBefore,oo=window.Node.prototype.removeChild,ro=window.Node.prototype.replaceChild,io=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ao=window.Element.prototype.attachShadow,so=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),co=window.Element.prototype.getAttribute,lo=window.Element.prototype.setAttribute,uo=window.Element.prototype.removeAttribute,ho=window.Element.prototype.getAttributeNS,po=window.Element.prototype.setAttributeNS,fo=window.Element.prototype.removeAttributeNS,yo=window.Element.prototype.insertAdjacentElement,mo=window.Element.prototype.prepend,vo=window.Element.prototype.append,_o=window.Element.prototype.before,go=window.Element.prototype.after,bo=window.Element.prototype.replaceWith,wo=window.Element.prototype.remove,Eo=window.HTMLElement,No=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Co=window.HTMLElement.prototype.insertAdjacentElement,So=new function(){},To=window.customElements;if(!To||To.forcePolyfill||"function"!=typeof To.define||"function"!=typeof To.get){var Oo=new m;!function(t){window.HTMLElement=function(){function e(){var e=this.constructor,n=t.B(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=$n.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,t.g(o),o;var r=o[n=o.length-1];if(r===So)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return o[n]=So,Object.setPrototypeOf(r,e.prototype),t.g(r),r}return e.prototype=Eo.prototype,e}()}(Oo),function(t){Zt(Document.prototype,"createElement",function(e){if(this.__CE_hasRegistry){var n=t.c(e);if(n)return new n.constructor}return e=$n.call(this,e),t.g(e),e}),Zt(Document.prototype,"importNode",function(e,n){return e=Xn.call(this,e,n),this.__CE_hasRegistry?t.f(e):t.l(e),e}),Zt(Document.prototype,"createElementNS",function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.c(n);if(o)return new o.constructor}return e=Yn.call(this,e,n),t.g(e),e}),d(t,Document.prototype,{fa:zn,append:Jn})}(Oo),d(Oo,DocumentFragment.prototype,{fa:Zn,append:Qn}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&Xt(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)t.a(o[e])}}})}Zt(Node.prototype,"insertBefore",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=no.call(this,e,n),Xt(this))for(n=0;n<o.length;n++)t.b(o[n]);return e}return o=Xt(e),n=no.call(this,e,n),o&&t.a(e),Xt(this)&&t.b(e),n}),Zt(Node.prototype,"appendChild",function(e){if(e instanceof DocumentFragment){var n=Array.prototype.slice.apply(e.childNodes);if(e=eo.call(this,e),Xt(this))for(var o=0;o<n.length;o++)t.b(n[o]);return e}return n=Xt(e),o=eo.call(this,e),n&&t.a(e),Xt(this)&&t.b(e),o}),Zt(Node.prototype,"cloneNode",function(e){return e=to.call(this,e),this.ownerDocument.__CE_hasRegistry?t.f(e):t.l(e),e}),Zt(Node.prototype,"removeChild",function(e){var n=Xt(e),o=oo.call(this,e);return n&&t.a(e),o}),Zt(Node.prototype,"replaceChild",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=ro.call(this,e,n),Xt(this))for(t.a(n),n=0;n<o.length;n++)t.b(o[n]);return e}o=Xt(e);var r=ro.call(this,e,n),i=Xt(this);return i&&t.a(n),o&&t.a(e),i&&t.b(e),r}),io&&io.get?e(Node.prototype,io):t.v(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++)t.push(this.childNodes[e].textContent);return t.join("")},set:function(t){for(;this.firstChild;)oo.call(this,this.firstChild);eo.call(this,document.createTextNode(t))}})})}(Oo),function(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(Xt(this)&&(r=[],Jt(this,function(t){t!==o&&r.push(t)})),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_hasRegistry?t.f(this):t.l(this),e}})}function n(e,n){Zt(e,"insertAdjacentElement",function(e,o){var r=Xt(o);return e=n.call(this,e,o),r&&t.a(o),Xt(e)&&t.b(o),e})}if(ao&&Zt(Element.prototype,"attachShadow",function(t){return this.__CE_shadowRoot=t=ao.call(this,t)}),so&&so.get)e(Element.prototype,so);else if(No&&No.get)e(HTMLElement.prototype,No);else{var o=$n.call(document,"div");t.v(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return to.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName?this.content:this;for(o.innerHTML=t;0<e.childNodes.length;)oo.call(e,e.childNodes[0]);for(;0<o.childNodes.length;)eo.call(e,o.childNodes[0])}})})}Zt(Element.prototype,"setAttribute",function(e,n){if(1!==this.__CE_state)return lo.call(this,e,n);var o=co.call(this,e);lo.call(this,e,n),n=co.call(this,e),t.attributeChangedCallback(this,e,o,n,null)}),Zt(Element.prototype,"setAttributeNS",function(e,n,o){if(1!==this.__CE_state)return po.call(this,e,n,o);var r=ho.call(this,e,n);po.call(this,e,n,o),o=ho.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)}),Zt(Element.prototype,"removeAttribute",function(e){if(1!==this.__CE_state)return uo.call(this,e);var n=co.call(this,e);uo.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)}),Zt(Element.prototype,"removeAttributeNS",function(e,n){if(1!==this.__CE_state)return fo.call(this,e,n);var o=ho.call(this,e,n);fo.call(this,e,n);var r=ho.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)}),Co?n(HTMLElement.prototype,Co):yo?n(Element.prototype,yo):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),d(t,Element.prototype,{fa:mo,append:vo}),h(t,{sa:_o,kb:go,replaceWith:bo,remove:wo})}(Oo),document.__CE_hasRegistry=!0;var xo=new p(Oo);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:xo})}var Ao={STYLE_RULE:1,ka:7,MEDIA_RULE:4,xa:1e3},Do={mb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ha:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,La:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,sb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,xb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,rb:/^@[^\s]*keyframes/,Ma:/\s+/g},Mo=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var Lo=window.ShadyCSS.nativeCss;else window.ShadyCSS?(oe(window.ShadyCSS),window.ShadyCSS=void 0):oe(window.WebComponents&&window.WebComponents.flags);var jo=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,ko=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ro=/(--[\w-]+)\s*([:,;)]|$)/gi,Po=/(animation\s*:)|(animation-name\s*:)/,Ho=/@media\s(.*)/,Fo=/\{[^}]*\}/g,Io=null;l.prototype.b=function(t,e,n){t.__styleScoped?t.__styleScoped=null:this.j(t,e||"",n)},l.prototype.j=function(t,e,n){if(t.nodeType===Node.ELEMENT_NODE&&this.h(t,e,n),t="template"===t.localName?(t.content||t.Db).childNodes:t.children||t.childNodes)for(var o=0;o<t.length;o++)this.j(t[o],e,n)},l.prototype.h=function(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var o=t.getAttribute(tr);n?o&&(e=o.replace("style-scope","").replace(e,""),he(t,e)):he(t,(o?o+" ":"")+"style-scope "+e)}},l.prototype.c=function(t,e,n){var o=t.__cssBuild;return Mo||"shady"===o?e=re(e,n):(t=de(t),e=this.I(e,t.is,t.$,n)+"\n\n"),e.trim()},l.prototype.I=function(t,e,n,o){var r=this.f(e,n);e=this.i(e);var i=this;return re(t,function(t){t.c||(i.K(t,e,r),t.c=!0),o&&o(t,e,r)})},l.prototype.i=function(t){return t?Zo+t:""},l.prototype.f=function(t,e){return e?"[is="+t+"]":t},l.prototype.K=function(t,e,n){this.l(t,this.g,e,n)},l.prototype.l=function(t,e,n,o){t.selector=t.A=this.s(t,e,n,o)},l.prototype.s=function(t,e,n,o){var r=t.selector.split(Bo);if(!ae(t)){t=0;for(var i,a=r.length;t<a&&(i=r[t]);t++)r[t]=e.call(this,i,n,o)}return r.join(Bo)},l.prototype.v=function(t){return t.replace(qo,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})},l.prototype.g=function(t,e,n){var o=this,r=!1;t=t.trim();var i=qo.test(t);return i&&(t=t.replace(qo,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}),t=this.v(t)),t=t.replace(Yo,Go+" $1"),t=t.replace(Vo,function(t,i,a){return r||(t=o.D(a,i,e,n),r=r||t.stop,i=t.lb,a=t.value),i+a}),i&&(t=this.v(t)),t},l.prototype.D=function(t,e,n,o){var r=t.indexOf($o);if(0<=t.indexOf(Go)?t=this.H(t,o):0!==r&&(t=n?this.u(t,n):t),n=!1,0<=r&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(zo,function(t,e){return" > "+e}))}return t=t.replace(Jo,function(t,e,n){return'[dir="'+n+'"] '+e+", "+e+'[dir="'+n+'"]'}),{value:t,lb:e,stop:i}},l.prototype.u=function(t,e){return t=t.split(Qo),t[0]+=e,t.join(Qo)},l.prototype.H=function(t,e){var n=t.match(Xo);return(n=n&&n[2].trim()||"")?n[0].match(Uo)?t.replace(Xo,function(t,n,o){return e+o}):n.split(Uo)[0]===e?n:er:t.replace(Go,e)},l.prototype.J=function(t){t.selector=t.parsedSelector,this.B(t),this.l(t,this.N)},l.prototype.B=function(t){t.selector===Ko&&(t.selector="html")},l.prototype.N=function(t){return t.match($o)?this.g(t,Wo):this.u(t.trim(),Wo)},a.Object.defineProperties(l.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var qo=/:(nth[-\w]+)\(([^)]+)\)/,Wo=":not(.style-scope)",Bo=",",Vo=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Uo=/[[.:#*]/,Go=":host",Ko=":root",$o="::slotted",Yo=new RegExp("^("+$o+")"),Xo=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,zo=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Jo=/(.*):dir\((?:(ltr|rtl))\)/,Zo=".",Qo=":",tr="class",er="should_not_match",nr=new l;c.get=function(t){return t?t.__styleInfo:null},c.set=function(t,e){return t.__styleInfo=e},c.prototype.c=function(){return this.G},c.prototype._getStyleRules=c.prototype.c;var or=function(t){return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}(window.Element.prototype),rr=navigator.userAgent.match("Trident");s.prototype.J=function(t){var e=this,n={},o=[],r=0;se(t,function(t){e.c(t),t.index=r++,e.I(t.w.cssText,n)},function(t){o.push(t)}),t.b=o,t=[];for(var i in n)t.push(i);return t},s.prototype.c=function(t){if(!t.w){var e={},n={};this.b(t,n)&&(e.F=n,t.rules=null),e.cssText=this.H(t),t.w=e}},s.prototype.b=function(t,e){var n=t.w;if(!n){n=t.parsedCssText;for(var o;t=jo.exec(n);)"inherit"===(o=(t[2]||t[3]).trim())&&"unset"===o||(e[t[1].trim()]=o),o=!0;return o}if(n.F)return Object.assign(e,n.F),!0},s.prototype.H=function(t){return this.N(t.parsedCssText)},s.prototype.N=function(t){return t.replace(Fo,"").replace(jo,"")},s.prototype.I=function(t,e){for(var n;n=Ro.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}},s.prototype.ha=function(t){for(var e,n=Object.getOwnPropertyNames(t),o=0;o<n.length;o++)e=n[o],t[e]=this.a(t[e],t)},s.prototype.a=function(t,e){if(t)if(0<=t.indexOf(";"))t=this.f(t,e);else{var n=this;t=ue(t,function(t,o,r,i){return o?((o=n.a(e[o],e))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=n.a(e[r]||r,e)||r,t+(o||"")+i):t+i})}return t&&t.trim()||""},s.prototype.f=function(t,e){t=t.split(";");for(var n,o,r=0;r<t.length;r++)if(n=t[r]){if(ko.lastIndex=0,o=ko.exec(n))n=this.a(e[o[1]],e);else if(-1!==(o=n.indexOf(":"))){var i=n.substring(o);i=i.trim(),i=this.a(i,e)||i,n=n.substring(0,o)+i}t[r]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return t.join(";")},s.prototype.D=function(t,e){var n="";t.w||this.c(t),t.w.cssText&&(n=this.f(t.w.cssText,e)),t.cssText=n},s.prototype.B=function(t,e){var n=t.cssText,o=t.cssText;if(null==t.Ja&&(t.Ja=Po.test(n)),t.Ja)if(null==t.ea){t.ea=[];for(var r in e)o=e[r],o=o(n),n!==o&&(n=o,t.ea.push(r))}else{for(r=0;r<t.ea.length;++r)o=e[t.ea[r]],n=o(n);o=n}t.cssText=o},s.prototype.T=function(t,e){var n={},o=this,r=[];return se(t,function(t){t.w||o.c(t);var i=t.A||t.parsedSelector;e&&t.w.F&&i&&or.call(e,i)&&(o.b(t,n),t=t.index,i=parseInt(t/32,10),r[i]=(r[i]||0)|1<<t%32)},null,!0),{F:n,key:r}},s.prototype.ja=function(t,e,n,o){if(e.w||this.c(e),e.w.F){var r=de(t);t=r.is,r=r.$,r=t?nr.f(t,r):"html";var i=e.parsedSelector,a=":host > *"===i||"html"===i,s=0===i.indexOf(":host")&&!a;"shady"===n&&(a=i===r+" > *."+r||-1!==i.indexOf("html"),s=!a&&0===i.indexOf(r)),"shadow"===n&&(a=":host > *"===i||"html"===i,s=s&&!a),(a||s)&&(n=r,s&&(Mo&&!e.A&&(e.A=nr.s(e,nr.g,nr.i(t),r)),n=e.A||r),o({wb:n,qb:s,Hb:a}))}},s.prototype.K=function(t,e){var n={},o={},r=this,i=e&&e.__cssBuild;return se(e,function(e){r.ja(t,e,i,function(i){or.call(t.Eb||t,i.wb)&&(i.qb?r.b(e,n):r.b(e,o))})},null,!0),{ub:o,pb:n}},s.prototype.ia=function(t,e,n){var o=this,r=de(t),i=nr.f(r.is,r.$),a=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])");r=c.get(t).G;var s=this.h(r,n);return nr.c(t,r,function(t){o.D(t,e),Mo||ae(t)||!t.cssText||(o.B(t,s),o.l(t,a,i,n))})},s.prototype.h=function(t,e){t=t.b;var n={};if(!Mo&&t)for(var o=0,r=t[o];o<t.length;r=t[++o])this.j(r,e),n[r.keyframesName]=this.i(r);return n},s.prototype.i=function(t){return function(e){return e.replace(t.f,t.a)}},s.prototype.j=function(t,e){t.f=new RegExp(t.keyframesName,"g"),t.a=t.keyframesName+"-"+e,t.A=t.A||t.selector,t.selector=t.A.replace(t.keyframesName,t.a)},s.prototype.l=function(t,e,n,o){t.A=t.A||t.selector,o="."+o;for(var r,i=t.A.split(","),a=0,s=i.length;a<s&&(r=i[a]);a++)i[a]=r.match(e)?r.replace(n,o):o+" "+r;t.selector=i.join(",")},s.prototype.u=function(t,e,n){var o=t.getAttribute("class")||"",r=o;n&&(r=o.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),o!==(r+=(r?" ":"")+"x-scope "+e)&&he(t,r)},s.prototype.v=function(t,e,n,o){e=o?o.textContent||"":this.ia(t,e,n);var r=c.get(t),i=r.a;return i&&!Mo&&i!==o&&(i._useCount--,0>=i._useCount&&i.parentNode&&i.parentNode.removeChild(i)),Mo?r.a?(r.a.textContent=e,o=r.a):e&&(o=ce(e,n,t.shadowRoot,r.b)):o?o.parentNode||(rr&&-1<e.indexOf("@media")&&(o.textContent=e),le(o,null,r.b)):e&&(o=ce(e,n,null,r.b)),o&&(o._useCount=o._useCount||0,r.a!=o&&o._useCount++,r.a=o),o},s.prototype.s=function(t,e){var n=ie(t),o=this;t.textContent=re(n,function(t){var n=t.cssText=t.parsedCssText;t.w&&t.w.cssText&&(n=n.replace(Do.Ha,"").replace(Do.La,""),t.cssText=o.f(n,e))})},a.Object.defineProperties(s.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var ir=new s,ar={},sr=window.customElements;if(sr&&!Mo){var cr=sr.define;sr.define=function(t,e,n){var o=document.createComment(" Shady DOM styles for "+t+" "),r=document.head;return r.insertBefore(o,(Io?Io.nextSibling:null)||r.firstChild),Io=o,ar[t]=o,cr.call(sr,t,e,n)}}if(o.prototype.a=function(t,e,n){for(var o=0;o<n.length;o++){var r=n[o];if(t.F[r]!==e[r])return!1}return!0},o.prototype.b=function(t,e,n,o){var r=this.cache[t]||[];r.push({F:e,styleElement:n,C:o}),r.length>this.c&&r.shift(),this.cache[t]=r},o.prototype.fetch=function(t,e,n){if(t=this.cache[t])for(var o=t.length-1;0<=o;o--){var r=t[o];if(this.a(r,e,n))return r}},!Mo){var lr=new MutationObserver(pe),ur=function(t){lr.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)ur(document);else{var hr=function(){ur(document.body)};window.HTMLImports?window.HTMLImports.whenReady(hr):requestAnimationFrame(function(){if("loading"===document.readyState){var t=function(){hr(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else hr()})}n=function(){pe(lr.takeRecords())}}var dr,pr={},fr=Promise.resolve(),yr=null,mr=window.HTMLImports&&window.HTMLImports.whenReady||null,vr=null,_r=null;e.prototype.Ia=function(){!this.enqueued&&_r&&(this.enqueued=!0,ve(_r))},e.prototype.b=function(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.Ia())},e.prototype.a=function(t){return t.__shadyCSSCachedStyle?t.__shadyCSSCachedStyle:t.getStyle?t.getStyle():t},e.prototype.c=function(){for(var t=this.customStyles,e=0;e<t.length;e++){var n=t[e];if(!n.__shadyCSSCachedStyle){var o=this.a(n);o&&(o=o.__appliedElement||o,vr&&vr(o),n.__shadyCSSCachedStyle=o)}}return t},e.prototype.addCustomStyle=e.prototype.b,e.prototype.getStyleForCustomStyle=e.prototype.a,e.prototype.processStyles=e.prototype.c,Object.defineProperties(e.prototype,{transformCallback:{get:function(){return vr},set:function(t){vr=t}},validateCallback:{get:function(){return _r},set:function(t){var e=!1;_r||(e=!0),_r=t,e&&this.Ia()}}});var gr=new o;t.prototype.B=function(){n()},t.prototype.K=function(t){return t+"-"+(this.s[t]=(this.s[t]||0)+1)},t.prototype.Sa=function(t){return ie(t)},t.prototype.Ua=function(t){return re(t)},t.prototype.J=function(t){t=t.content.querySelectorAll("style");for(var e=[],n=0;n<t.length;n++){var o=t[n];e.push(o.textContent),o.parentNode.removeChild(o)}return e.join("").trim()},t.prototype.ha=function(t){return(t=t.content.querySelector("style"))?t.getAttribute("css-build")||"":""},t.prototype.prepareTemplate=function(t,e,n){if(!t.f){t.f=!0,t.name=e,t.extends=n,pr[e]=t;var o=this.ha(t),r=this.J(t);n={is:e,extends:n,Ab:o},Mo||nr.b(t.content,e),this.c();var i=ko.test(r)||jo.test(r);ko.lastIndex=0,jo.lastIndex=0,r=Qt(r),i&&Lo&&this.a&&this.a.transformRules(r,e),t._styleAst=r,t.g=o,o=[],Lo||(o=ir.J(t._styleAst)),o.length&&!Lo||(e=this.T(n,t._styleAst,Mo?t.content:null,ar[e]),t.a=e),t.c=o}},t.prototype.T=function(t,e,n,o){if((e=nr.c(t,e)).length)return ce(e,t.is,n,o)},t.prototype.ja=function(t){var e=de(t),n=e.is;e=e.$;var o=ar[n];if(n=pr[n])var r=n._styleAst,i=n.c;return c.set(t,new c(r,o,i,0,e))},t.prototype.H=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=fe)},t.prototype.I=function(){var t=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(e){t.v(e)},this.b.validateCallback=function(){requestAnimationFrame(function(){(t.b.enqueued||t.i)&&t.f()})})},t.prototype.c=function(){this.H(),this.I()},t.prototype.f=function(){if(this.c(),this.b){var t=this.b.processStyles();this.b.enqueued&&(Lo?this.Qa(t):(this.u(this.g,this.h),this.D(t)),this.b.enqueued=!1,this.i&&!Lo&&this.styleDocument())}},t.prototype.styleElement=function(t,e){var n=de(t).is,o=c.get(t);if(o||(o=this.ja(t)),this.j(t)||(this.i=!0),e&&(o.S=o.S||{},Object.assign(o.S,e)),Lo){if(o.S){e=o.S;for(var r in e)null===r?t.style.removeProperty(r):t.style.setProperty(r,e[r])}((r=pr[n])||this.j(t))&&r&&r.a&&!ye(r)&&((ye(r)||r._applyShimValidatingVersion!==r._applyShimNextVersion)&&(this.c(),this.a&&this.a.transformRules(r._styleAst,n),r.a.textContent=nr.c(t,o.G),me(r)),Mo&&(n=t.shadowRoot)&&(n.querySelector("style").textContent=nr.c(t,o.G)),o.G=r._styleAst)}else this.u(t,o),o.va&&o.va.length&&this.N(t,o)},t.prototype.l=function(t){return(t=t.getRootNode().host)?c.get(t)?t:this.l(t):this.g},t.prototype.j=function(t){return t===this.g},t.prototype.N=function(t,e){var n=de(t).is,o=gr.fetch(n,e.M,e.va),r=o?o.styleElement:null,i=e.C;e.C=o&&o.C||this.K(n),r=ir.v(t,e.M,e.C,r),Mo||ir.u(t,e.C,i),o||gr.b(n,e.M,r,e.C)},t.prototype.u=function(t,e){var n=this.l(t),o=c.get(n);n=Object.create(o.M||null);var r=ir.K(t,e.G);t=ir.T(o.G,t).F,Object.assign(n,r.pb,t,r.ub),this.ia(n,e.S),ir.ha(n),e.M=n},t.prototype.ia=function(t,e){for(var n in e){var o=e[n];(o||0===o)&&(t[n]=o)}},t.prototype.styleDocument=function(t){this.styleSubtree(this.g,t)},t.prototype.styleSubtree=function(t,e){var n=t.shadowRoot;if((n||this.j(t))&&this.styleElement(t,e),e=n&&(n.children||n.childNodes))for(t=0;t<e.length;t++)this.styleSubtree(e[t]);else if(t=t.children||t.childNodes)for(e=0;e<t.length;e++)this.styleSubtree(t[e])},t.prototype.Qa=function(t){for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);n&&this.Pa(n)}},t.prototype.D=function(t){for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);n&&ir.s(n,this.h.M)}},t.prototype.v=function(t){var e=this,n=ie(t);se(n,function(t){Mo?nr.B(t):nr.J(t),Lo&&(e.c(),e.a&&e.a.transformRule(t))}),Lo?t.textContent=re(n):this.h.G.rules.push(n)},t.prototype.Pa=function(t){if(Lo&&this.a){var e=ie(t);this.c(),this.a.transformRules(e),t.textContent=re(e)}},t.prototype.getComputedStyleValue=function(t,e){var n;return Lo||(n=(c.get(t)||c.get(this.l(t))).M[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.prototype.Ta=function(t,e){var n=t.getRootNode();if(e=e?e.split(/\s/):[],!(n=n.host&&n.host.localName)){var o=t.getAttribute("class");if(o){o=o.split(/\s/);for(var r=0;r<o.length;r++)if(o[r]===nr.a){n=o[r+1];break}}}n&&e.push(nr.a,n),Lo||(n=c.get(t))&&n.C&&e.push(ir.g,n.C),he(t,e.join(" "))},t.prototype.Ra=function(t){return c.get(t)},t.prototype.flush=t.prototype.B,t.prototype.prepareTemplate=t.prototype.prepareTemplate,t.prototype.styleElement=t.prototype.styleElement,t.prototype.styleDocument=t.prototype.styleDocument,t.prototype.styleSubtree=t.prototype.styleSubtree,t.prototype.getComputedStyleValue=t.prototype.getComputedStyleValue,t.prototype.setElementClass=t.prototype.Ta,t.prototype._styleInfoForNode=t.prototype.Ra,t.prototype.transformCustomStyleForDocument=t.prototype.v,t.prototype.getStyleAst=t.prototype.Sa,t.prototype.styleAstToString=t.prototype.Ua,t.prototype.flushCustomStyles=t.prototype.f,Object.defineProperties(t.prototype,{nativeShadow:{get:function(){return Mo}},nativeCss:{get:function(){return Lo}}});var br=new t;if(window.ShadyCSS)var wr=window.ShadyCSS.ApplyShim,Er=window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={ScopingShim:br,prepareTemplate:function(t,e,n){br.f(),br.prepareTemplate(t,e,n)},styleSubtree:function(t,e){br.f(),br.styleSubtree(t,e)},styleElement:function(t){br.f(),br.styleElement(t)},styleDocument:function(t){br.f(),br.styleDocument(t)},getComputedStyleValue:function(t,e){return br.getComputedStyleValue(t,e)},nativeCss:Lo,nativeShadow:Mo},wr&&(window.ShadyCSS.ApplyShim=wr),Er&&(window.ShadyCSS.CustomStyleInterface=Er);var Nr=window.customElements,Cr=window.HTMLImports,Sr=window.HTMLTemplateElement;if(window.WebComponents=window.WebComponents||{},Nr&&Nr.polyfillWrapFlushCallback){var Tr,Or=function(){if(Tr){Sr.V&&Sr.V(window.document);var t=Tr;return Tr=null,t(),!0}},xr=Cr.whenReady;Nr.polyfillWrapFlushCallback(function(t){Tr=t,xr(Or)}),Cr.whenReady=function(t){xr(function(){Or()?Cr.whenReady(t):t()})}}Cr.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Ar=document.createElement("style");Ar.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Dr=document.querySelector("head");Dr.insertBefore(Ar,Dr.firstChild)}()}.call(this),function(){"use strict";function t(){t=function(){},a.Symbol||(a.Symbol=c)}function e(){t();var o=a.Symbol.iterator;o||(o=a.Symbol.iterator=a.Symbol("iterator")),"function"!=typeof Array.prototype[o]&&s(Array.prototype,o,{configurable:!0,writable:!0,value:function(){return n(this)}}),e=function(){}}function n(t){var e=0;return o(function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}})}function o(t){return e(),t={next:t},t[a.Symbol.iterator]=function(){return this},t}function r(t){e();var o=t[Symbol.iterator];return o?o.call(t):n(t)}function i(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}var a="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,s="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},c=function(){var t=0;return function(e){return"jscomp_symbol_"+(e||"")+t++}}();!function(){function t(){var t=this;this.s={},this.g=document.documentElement;var e=new u;e.rules=[],this.h=c.set(this.g,new c(e)),this.i=!1,this.b=this.a=null,ve(function(){t.c()})}function e(){this.customStyles=[],this.enqueued=!1}function n(){}function o(t){this.cache={},this.c=void 0===t?100:t}function s(){}function c(t,e,n,o,r){this.G=t||null,this.b=e||null,this.va=n||[],this.S=null,this.$=r||"",this.a=this.C=this.M=null}function l(){}function u(){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 h(t,e){function n(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(Xt(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}}var o=Element.prototype;void 0!==e.sa&&(o.before=n(e.sa)),void 0!==e.sa&&(o.after=n(e.kb)),void 0!==e.replaceWith&&Zt(o,"replaceWith",function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(a=Xt(this),e.replaceWith.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(a)for(t.a(this),o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}),void 0!==e.remove&&Zt(o,"remove",function(){var n=Xt(this);e.remove.call(this),n&&t.a(this)})}function d(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&Xt(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)t.a(i[o]);if(Xt(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&t.b(i)}}void 0!==n.fa&&(e.prepend=o(n.fa)),void 0!==n.append&&(e.append=o(n.append))}function p(t){this.c=!1,this.a=t,this.h=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.i=new y(t,document)}function f(){var t=this;this.b=this.a=void 0,this.c=new Promise(function(e){t.b=e,t.a&&e(t.a)})}function y(t,e){this.b=t,this.a=e,this.P=void 0,this.b.f(this.a),"loading"===this.a.readyState&&(this.P=new MutationObserver(this.f.bind(this)),this.P.observe(this.a,{childList:!0,subtree:!0}))}function m(){this.u=new Map,this.s=new Map,this.j=[],this.h=!1}function v(t,e,n){if(t!==Pn)throw new TypeError("Illegal constructor");return t=document.createDocumentFragment(),t.__proto__=v.prototype,t.H(e,n),t}function _(t){if(!t.__shady||void 0===t.__shady.firstChild){t.__shady=t.__shady||{},t.__shady.firstChild=rt(t),t.__shady.lastChild=it(t),On(t);for(var e,n=t.__shady.childNodes=ct(t),o=0;o<n.length&&(e=n[o]);o++)e.__shady=e.__shady||{},e.__shady.parentNode=t,e.__shady.nextSibling=n[o+1]||null,e.__shady.previousSibling=n[o-1]||null,Tn(e)}}function g(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.da=new Set}function b(t,e){Oe[Ee]=t,Oe[Ee+1]=e,2===(Ee+=2)&&(be?be(N):xe())}function w(){return void 0!==ge?function(){ge(N)}:E()}function E(){var t=setTimeout;return function(){return t(N,1)}}function N(){for(var t=0;t<Ee;t+=2)(0,Oe[t])(Oe[t+1]),Oe[t]=void 0,Oe[t+1]=void 0;Ee=0}function C(t,e){var n=this,o=new this.constructor(T);void 0===o[Ae]&&W(o);var r=n.o;if(r){var i=arguments[r-1];b(function(){return I(r,o,i,n.m)})}else P(n,o,t,e);return o}function S(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(T);return L(e,t),e}function T(){}function O(t){try{return t.then}catch(t){return De.error=t,De}}function x(t,e,n,o){try{t.call(e,n,o)}catch(t){return t}}function A(t,e,n){b(function(t){var o=!1,r=x(n,e,function(n){o||(o=!0,e!==n?L(t,n):k(t,n))},function(e){o||(o=!0,R(t,e))});!o&&r&&(o=!0,R(t,r))},t)}function D(t,e){1===e.o?k(t,e.m):2===e.o?R(t,e.m):P(e,void 0,function(e){return L(t,e)},function(e){return R(t,e)})}function M(t,e,n){e.constructor===t.constructor&&n===C&&e.constructor.resolve===S?D(t,e):n===De?(R(t,De.error),De.error=null):void 0===n?k(t,e):"function"==typeof n?A(t,e,n):k(t,e)}function L(t,e){if(t===e)R(t,new TypeError("You cannot resolve a promise with itself"));else{var n=typeof e;null===e||"object"!==n&&"function"!==n?k(t,e):M(t,e,O(e))}}function j(t){t.Ea&&t.Ea(t.m),H(t)}function k(t,e){void 0===t.o&&(t.m=e,t.o=1,0!==t.U.length&&b(H,t))}function R(t,e){void 0===t.o&&(t.o=2,t.m=e,b(j,t))}function P(t,e,n,o){var r=t.U,i=r.length;t.Ea=null,r[i]=e,r[i+1]=n,r[i+2]=o,0===i&&t.o&&b(H,t)}function H(t){var e=t.U,n=t.o;if(0!==e.length){for(var o,r,i=t.m,a=0;a<e.length;a+=3)o=e[a],r=e[a+n],o?I(n,o,r,i):r(i);t.U.length=0}}function F(){this.error=null}function I(t,e,n,o){var r="function"==typeof n;if(r){try{var i=n(o)}catch(t){Me.error=t,i=Me}if(i===Me){var a=!0,s=i.error;i.error=null}else var c=!0;if(e===i)return void R(e,new TypeError("A promises callback cannot return that same promise."))}else i=o,c=!0;void 0===e.o&&(r&&c?L(e,i):a?R(e,s):1===t?k(e,i):2===t&&R(e,i))}function q(t,e){try{e(function(e){L(t,e)},function(e){R(t,e)})}catch(e){R(t,e)}}function W(t){t[Ae]=Le++,t.o=void 0,t.m=void 0,t.U=[]}function B(t,e){this.fb=t,this.L=new t(T),this.L[Ae]||W(this.L),we(e)?(this.aa=this.length=e.length,this.m=Array(this.length),0===this.length?k(this.L,this.m):(this.length=this.length||0,this.eb(e),0===this.aa&&k(this.L,this.m))):R(this.L,Error("Array Methods must be provided an Array"))}function V(t){if(this[Ae]=Le++,this.m=this.o=void 0,this.U=[],T!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof V))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");q(this,t)}}function U(t){return t.__shady&&void 0!==t.__shady.firstChild}function G(t){return"ShadyRoot"===t.Xa}function K(t){if(t=t.getRootNode(),G(t))return t}function $(t,e){if(t&&e)for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length&&(n=o[r]);r++){var i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(t,n,i)}}function Y(t,e){for(var n=[],o=1;o<arguments.length;++o)n[o-1]=arguments[o];for(o=0;o<n.length;o++)$(t,n[o]);return t}function X(t,e){for(var n in e)t[n]=e[n]}function z(t){$e.push(t),Ge.textContent=Ke++}function J(t,e){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function Z(t){Ye||(Ye=!0,z(Q)),ze.push(t)}function Q(){Ye=!1;for(var t=!!ze.length;ze.length;)ze.shift()();return t}function tt(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function et(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}function nt(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):t.childNodes,i=0,a=r.length;i<a&&(n=r[i]);i++){t:{var s=n,c=t,l=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,h="<"+u,d=s.attributes,p=0;c=d[p];p++)h+=" "+c.name+'="'+c.value.replace(dn,tt)+'"';h+=">",s=fn[u]?h:h+nt(s,l)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=c&&yn[c.localName]?s:s.replace(pn,tt);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}o+=s}return o}function ot(t){return mn.currentNode=t,mn.parentNode()}function rt(t){return mn.currentNode=t,mn.firstChild()}function it(t){return mn.currentNode=t,mn.lastChild()}function at(t){return mn.currentNode=t,mn.previousSibling()}function st(t){return mn.currentNode=t,mn.nextSibling()}function ct(t){var e=[];for(mn.currentNode=t,t=mn.firstChild();t;)e.push(t),t=mn.nextSibling();return e}function lt(t){return vn.currentNode=t,vn.parentNode()}function ut(t){return vn.currentNode=t,vn.firstChild()}function ht(t){return vn.currentNode=t,vn.lastChild()}function dt(t){return vn.currentNode=t,vn.previousSibling()}function pt(t){return vn.currentNode=t,vn.nextSibling()}function ft(t){var e=[];for(vn.currentNode=t,t=vn.firstChild();t;)e.push(t),t=vn.nextSibling();return e}function yt(t){return nt(t,function(t){return ct(t)})}function mt(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);for(var e,n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return t.nodeValue}}function vt(t,e,n){for(var o in e){var r=Object.getOwnPropertyDescriptor(t,o);r&&r.configurable||!r&&n?Object.defineProperty(t,o,e[o]):n&&console.warn("Could not define",o,"on",t)}}function _t(t){vt(t,En),vt(t,Nn),vt(t,Sn)}function gt(t,e,n){Tn(t),n=n||null,t.__shady=t.__shady||{},e.__shady=e.__shady||{},n&&(n.__shady=n.__shady||{}),t.__shady.previousSibling=n?n.__shady.previousSibling:e.lastChild;var o=t.__shady.previousSibling;o&&o.__shady&&(o.__shady.nextSibling=t),(o=t.__shady.nextSibling=n)&&o.__shady&&(o.__shady.previousSibling=t),t.__shady.parentNode=e,n?n===e.__shady.firstChild&&(e.__shady.firstChild=t):(e.__shady.lastChild=t,e.__shady.firstChild||(e.__shady.firstChild=t)),e.__shady.childNodes=null}function bt(t,e,n){if(e===t)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var o=n.__shady&&n.__shady.parentNode;if(void 0!==o&&o!==t||void 0===o&&ot(n)!==t)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(n===e)return e;e.parentNode&&wt(e.parentNode,e);var r;if(r=o=K(t))t:{if(!e.__noInsertionPoint){var i;if("slot"===e.localName?i=[e]:e.querySelectorAll&&(i=e.querySelectorAll("slot")),i&&i.length){r=i;break t}}r=void 0}if((i=r)&&o.ab(i),o&&("slot"===t.localName||i)&&o.O(),U(t)){if(o=n,On(t),t.__shady=t.__shady||{},void 0!==t.__shady.firstChild&&(t.__shady.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(i=e.childNodes,r=0;r<i.length;r++)gt(i[r],t,o);e.__shady=e.__shady||{},o=void 0!==e.__shady.firstChild?null:void 0,e.__shady.firstChild=e.__shady.lastChild=o,e.__shady.childNodes=o}else gt(e,t,o);if(Ct(t)){t.__shady.root.O();var a=!0}else t.__shady.root&&(a=!0)}return a||(a=G(t)?t.host:t,n?(n=Nt(n),Ze.call(a,e,n)):Je.call(a,e)),Tt(t,e),e}function wt(t,e){if(e.parentNode!==t)throw Error("The node to be removed is not a child of this node: "+e);var n=K(e);if(U(t)){e.__shady=e.__shady||{},t.__shady=t.__shady||{},e===t.__shady.firstChild&&(t.__shady.firstChild=e.__shady.nextSibling),e===t.__shady.lastChild&&(t.__shady.lastChild=e.__shady.previousSibling);var o=e.__shady.previousSibling,r=e.__shady.nextSibling;if(o&&(o.__shady=o.__shady||{},o.__shady.nextSibling=r),r&&(r.__shady=r.__shady||{},r.__shady.previousSibling=o),e.__shady.parentNode=e.__shady.previousSibling=e.__shady.nextSibling=void 0,void 0!==t.__shady.childNodes&&(t.__shady.childNodes=null),Ct(t)){t.__shady.root.O();var i=!0}}return Et(e),n&&((r=t&&"slot"===t.localName)&&(i=!0),((o=n.hb(e))||r)&&n.O()),i||(i=G(t)?t.host:t,(!t.__shady.root&&"slot"!==e.localName||i===ot(e))&&Qe.call(i,e)),Tt(t,null,e),e}function Et(t){if(t.__shady&&void 0!==t.__shady.wa)for(var e,n=t.childNodes,o=0,r=n.length;o<r&&(e=n[o]);o++)Et(e);t.__shady&&(t.__shady.wa=void 0)}function Nt(t){var e=t;return t&&"slot"===t.localName&&(e=(e=t.__shady&&t.__shady.W)&&e.length?e[0]:Nt(t.nextSibling)),e}function Ct(t){return(t=t&&t.__shady&&t.__shady.root)&&t.Da()}function St(t,e){"slot"===e?(t=t.parentNode,Ct(t)&&t.__shady.root.O()):"slot"===t.localName&&"name"===e&&(e=K(t))&&(e.jb(t),e.O())}function Tt(t,e,n){(t=t.__shady&&t.__shady.Y)&&(e&&t.addedNodes.push(e),n&&t.removedNodes.push(n),t.vb())}function Ot(t){if(t&&t.nodeType){t.__shady=t.__shady||{};var e=t.__shady.wa;return void 0===e&&(e=G(t)?t:(e=t.parentNode)?Ot(e):t,un.call(document.documentElement,t)&&(t.__shady.wa=e)),e}}function xt(t,e,n){var o=[];return At(t.childNodes,e,n,o),o}function At(t,e,n,o){for(var r,i=0,a=t.length;i<a&&(r=t[i]);i++){var s;if(s=r.nodeType===Node.ELEMENT_NODE){var c=e,l=n,u=o,h=c(s=r);h&&u.push(s),l&&l(h)?s=h:(At(s.childNodes,c,l,u),s=void 0)}if(s)break}}function Dt(t){G(t=t.getRootNode())&&t.Ga()}function Mt(t,e,n){xn||(xn=window.ShadyCSS&&window.ShadyCSS.ScopingShim),xn&&"class"===e?xn.setElementClass(t,n):(tn.call(t,e,n),St(t,e))}function Lt(t,e){if(t.ownerDocument!==document)return on.call(document,t,e);var n=on.call(document,t,!1);if(e){t=t.childNodes,e=0;for(var o;e<t.length;e++)o=Lt(t[e],!0),n.appendChild(o)}return n}function jt(t,e){var n=[],o=t;for(t=t===window?window:t.getRootNode();o;)n.push(o),o=o.assignedSlot?o.assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(e||o!==t)?o.host:o.parentNode;return n[n.length-1]===document&&n.push(window),n}function kt(t,e){if(!G)return t;t=jt(t,!0);for(var n,o,r,i,a=0;a<e.length;a++)if(n=e[a],(r=n===window?window:n.getRootNode())!==o&&(i=t.indexOf(r),o=r),!G(r)||-1<i)return n}function Rt(t){function e(e,n){return e=new t(e,n),e.la=n&&!!n.composed,e}return X(e,t),e.prototype=t.prototype,e}function Pt(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var o,r=0;(o=n[r])&&t.target!==t.relatedTarget&&(o.call(e,t),!t.Va);r++);}function Ht(t){var e=t.composedPath();Object.defineProperty(t,"currentTarget",{get:function(){return o},configurable:!0});for(var n=e.length-1;0<=n;n--){var o=e[n];if(Pt(t,o,"capture"),t.ma)return}Object.defineProperty(t,"eventPhase",{get:function(){return Event.AT_TARGET}});var r;for(n=0;n<e.length;n++){var i=(o=e[n]).__shady&&o.__shady.root;if((0===n||i&&i===r)&&(Pt(t,o,"bubble"),o!==window&&(r=o.getRootNode()),t.ma))break}}function Ft(t,e,n,o,r,i){for(var a=0;a<t.length;a++){var s=t[a],c=s.type,l=s.capture,u=s.once,h=s.passive;if(e===s.node&&n===c&&o===l&&r===u&&i===h)return a}return-1}function It(t,e,n){if(e){if("object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.na||this,s=e[An];if(s){if(-1<Ft(s,a,t,o,r,i))return}else e[An]=[];s=function(o){if(r&&this.removeEventListener(t,e,n),o.__target||Wt(o),a!==this){var i=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return a},configurable:!0})}if(o.composed||-1<o.composedPath().indexOf(a))if(o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===a){var s="object"==typeof e&&e.handleEvent?e.handleEvent(o):e.call(a,o);return a!==this&&(i?(Object.defineProperty(o,"currentTarget",i),i=null):delete o.currentTarget),s}},e[An].push({node:this,type:t,capture:o,once:r,passive:i,zb:s}),Ln[t]?(this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s)):(this instanceof Window?sn:rn).call(this,t,s,n)}}function qt(t,e,n){if(e){if("object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.na||this,s=void 0,c=null;try{c=e[An]}catch(t){}c&&-1<(r=Ft(c,a,t,o,r,i))&&(s=c.splice(r,1)[0].zb,c.length||(e[An]=void 0)),(this instanceof Window?cn:an).call(this,t,s||e,n),s&&Ln[t]&&this.__handlers&&this.__handlers[t]&&(t=this.__handlers[t][o?"capture":"bubble"],-1<(s=t.indexOf(s))&&t.splice(s,1))}}function Wt(t){if(t.__target=t.target,t.Ba=t.relatedTarget,We.X){var e=Mn,n=Object.getPrototypeOf(t);if(!n.hasOwnProperty("__patchProto")){var o=Object.create(n);o.Bb=n,$(o,e),n.__patchProto=o}t.__proto__=n.__patchProto}else $(t,Mn)}function Bt(t,e){return{index:t,Z:[],ca:e}}function Vt(t,e,n,o){var r=0,i=0,a=0,s=0,c=Math.min(e-r,o-i);if(0==r&&0==i)t:{for(a=0;a<c;a++)if(t[a]!==n[a])break t;a=c}if(e==t.length&&o==n.length){s=t.length;for(var l=n.length,u=0;u<c-a&&Ut(t[--s],n[--l]);)u++;s=u}if(r+=a,i+=a,e-=s,o-=s,0==e-r&&0==o-i)return[];if(r==e){for(e=Bt(r,0);i<o;)e.Z.push(n[i++]);return[e]}if(i==o)return[Bt(r,e-r)];for(o=o-(a=i)+1,s=e-(c=r)+1,e=Array(o),l=0;l<o;l++)e[l]=Array(s),e[l][0]=l;for(l=0;l<s;l++)e[0][l]=l;for(l=1;l<o;l++)for(u=1;u<s;u++)if(t[c+u-1]===n[a+l-1])e[l][u]=e[l-1][u-1];else{var h=e[l-1][u]+1,d=e[l][u-1]+1;e[l][u]=h<d?h:d}for(c=e.length-1,a=e[0].length-1,o=e[c][a],t=[];0<c||0<a;)0==c?(t.push(2),a--):0==a?(t.push(3),c--):(s=e[c-1][a-1],l=e[c-1][a],u=e[c][a-1],(h=l<u?l<s?l:s:u<s?u:s)==s?(s==o?t.push(0):(t.push(1),o=s),c--,a--):h==l?(t.push(3),c--,o=l):(t.push(2),a--,o=u));for(t.reverse(),e=void 0,c=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(c.push(e),e=void 0),r++,i++;break;case 1:e||(e=Bt(r,0)),e.ca++,r++,e.Z.push(n[i]),i++;break;case 2:e||(e=Bt(r,0)),e.ca++,r++;break;case 3:e||(e=Bt(r,0)),e.Z.push(n[i]),i++}return e&&c.push(e),c}function Ut(t,e){return t===e}function Gt(t){var e=[];do{e.unshift(t)}while(t=t.parentNode);return e}function Kt(t){return Dt(t),t.__shady&&t.__shady.assignedSlot||null}function $t(t,e){for(var n=Object.getOwnPropertyNames(e),o=0;o<n.length;o++){var r=n[o],i=Object.getOwnPropertyDescriptor(e,r);i.value?t[r]=i.value:Object.defineProperty(t,r,i)}}function Yt(t){var e=Kn.has(t);return t=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(t),!e&&t}function Xt(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function zt(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Jt(t,e,n){n=n||new Set;for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if((o=r.import)instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)Jt(o,e,n);o=zt(t,r);continue}if("template"===i){o=zt(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)Jt(r,e,n)}o=o.firstChild?o.firstChild:zt(t,o)}}function Zt(t,e,n){t[e]=n}function Qt(t){var e=te,n=t=t.replace(Do.mb,"").replace(Do.port,""),o=new u;o.start=0,o.end=n.length;for(var r=o,i=0,a=n.length;i<a;i++)if("{"===n[i]){r.rules||(r.rules=[]);var s=r,c=s.rules[s.rules.length-1]||null;(r=new u).start=i+1,r.parent=s,r.previous=c,s.rules.push(r)}else"}"===n[i]&&(r.end=i+1,r=r.parent||o);return e(o,t)}function te(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1),n=ee(n),n=n.replace(Do.Ma," "),n=n.substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=Ao.MEDIA_RULE:n.match(Do.rb)&&(t.type=Ao.ka,t.keyframesName=t.selector.split(Do.Ma).pop()):t.type=0===n.indexOf("--")?Ao.xa:Ao.STYLE_RULE),n=t.rules)for(var o,r=0,i=n.length;r<i&&(o=n[r]);r++)te(o,e);return t}function ee(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t})}function ne(t,e,n){n=void 0===n?"":n;var o="";if(t.cssText||t.rules){var r,i=t.rules;if((r=i)&&(r=i[0],r=!(r&&r.selector&&0===r.selector.indexOf("--"))),r){r=0;for(var a,s=i.length;r<s&&(a=i[r]);r++)o=ne(a,e,o)}else e?e=t.cssText:(e=t.cssText,e=e.replace(Do.Ha,"").replace(Do.La,""),e=e.replace(Do.sb,"").replace(Do.xb,"")),(o=e.trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(n+=t.selector+" {\n"),n+=o,t.selector&&(n+="}\n\n")),n}function oe(t){Lo=(!t||!t.shimcssproperties)&&(Mo||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}function re(t,e){return t?("string"==typeof t&&(t=Qt(t)),e&&se(t,e),ne(t,Lo)):""}function ie(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=Qt(t.textContent)),t.__cssRules||null}function ae(t){return!!t.parent&&t.parent.type===Ao.ka}function se(t,e,n,o){if(t){var r=!1,i=t.type;if(o&&i===Ao.MEDIA_RULE){var a=t.selector.match(Ho);a&&(window.matchMedia(a[1]).matches||(r=!0))}if(i===Ao.STYLE_RULE?e(t):n&&i===Ao.ka?n(t):i===Ao.xa&&(r=!0),(t=t.rules)&&!r){r=0,i=t.length;for(var s;r<i&&(s=t[r]);r++)se(s,e,n,o)}}}function ce(t,e,n,o){var r=document.createElement("style");return e&&r.setAttribute("scope",e),r.textContent=t,le(r,n,o),r}function le(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Io?t.compareDocumentPosition(Io)===Node.DOCUMENT_POSITION_PRECEDING&&(Io=t):Io=t}function ue(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");t:{for(var o=0,r=n+3,i=t.length;r<i;r++)if("("===t[r])o++;else if(")"===t[r]&&0==--o)break t;r=-1}return o=t.substring(n+4,r),n=t.substring(0,n),t=ue(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function he(t,e){Mo?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}function de(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,$:n}}function pe(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var o=0;o<n.addedNodes.length;o++){var r=n.addedNodes[o];if(r.nodeType===Node.ELEMENT_NODE){var i=r.getRootNode(),a=r,s=[];if(a.classList?s=Array.from(a.classList):a instanceof window.SVGElement&&a.hasAttribute("class")&&(s=a.getAttribute("class").split(/\s+/)),a=s,s=a.indexOf(nr.a),(a=-1<s?a[s+1]:"")&&i===r.ownerDocument)nr.b(r,a,!0);else if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(i=i.host))if(i=de(i).is,a===i)for(r=window.ShadyDOM.nativeMethods.querySelectorAll.call(r,":not(."+nr.a+")"),i=0;i<r.length;i++)nr.h(r[i],a);else a&&nr.b(r,a,!0),nr.b(r,i)}}}}function fe(t){(t=pr[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function ye(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}function me(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t.b||(t.b=!0,fr.then(function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t.b=!1}))}function ve(t){requestAnimationFrame(function(){mr?mr(t):(yr||(yr=new Promise(function(t){dr=t}),"complete"===document.readyState?dr():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&dr()})),yr.then(function(){t&&t()}))})}!function(){if(!function(){var t=document.createEvent("Event");return t.initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented}()){var t=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(t.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var e=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||e&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||e&&"function"!=typeof window.Event){var n=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},n)for(var o in n)window.Event[o]=n[o];window.Event.prototype=n.prototype}if(!window.MouseEvent||e&&"function"!=typeof window.MouseEvent){if(e=window.MouseEvent,window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},e)for(o in e)window.MouseEvent[o]=e[o];window.MouseEvent.prototype=e.prototype}Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)if(n=o[r])for(var i=t,a=n,s=Object.getOwnPropertyNames(a),c=0;c<s.length;c++)n=s[c],i[n]=a[n];return t})}(window.WebComponents),function(){function t(){}var e="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&function(){var t=Document.prototype.importNode;Document.prototype.importNode=function(){var e=t.apply(this,arguments);if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=this.createDocumentFragment();return n.appendChild(e),n}return e}}();var n=Node.prototype.cloneNode,o=Document.prototype.createElement,r=Document.prototype.importNode,i=function(){if(!e){var t=document.createElement("template"),n=document.createElement("template");return n.content.appendChild(document.createElement("div")),t.content.appendChild(n),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment)}}();if(e){var a=document.implementation.createHTMLDocument("template"),s=!0,c=document.createElement("style");c.textContent="template{display:none;}";var l=document.head;l.insertBefore(c,l.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var u=!document.createElement("div").hasOwnProperty("innerHTML");t.R=function(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChild;)e.content.appendChild(n);if(u)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.a(this,e)},s)try{h(e),d(e)}catch(t){s=!1}t.V(e.content)}};var h=function(e){Object.defineProperty(e,"innerHTML",{get:function(){for(var t="",e=this.content.firstChild;e;e=e.nextSibling)t+=e.outerHTML||e.data.replace(p,f);return t},set:function(e){for(a.body.innerHTML=e,t.V(a);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.appendChild(a.body.firstChild)},configurable:!0})},d=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(a.body.innerHTML=t,t=document.createDocumentFragment();a.body.firstChild;)t.appendChild(a.body.firstChild);this.parentNode.replaceChild(t,this)},configurable:!0})};h(t.prototype),d(t.prototype),t.V=function(e){for(var n,o=0,r=(e=e.querySelectorAll("template")).length;o<r&&(n=e[o]);o++)t.R(n)},document.addEventListener("DOMContentLoaded",function(){t.V(document)}),Document.prototype.createElement=function(){var e=o.apply(this,arguments);return"template"===e.localName&&t.R(e),e};var p=/[&\u00A0<>]/g,f=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case" ":return" "}}}(e||i)&&(t.a=function(t,e){var o=n.call(t,!1);return this.R&&this.R(o),e&&(o.content.appendChild(n.call(t.content,!0)),this.ua(o.content,t.content)),o},t.prototype.cloneNode=function(e){return t.a(this,e)},t.ua=function(t,e){if(e.querySelectorAll){e=e.querySelectorAll("template");for(var n,o,r=0,i=(t=t.querySelectorAll("template")).length;r<i;r++)o=e[r],n=t[r],this.R&&this.R(o),n.parentNode.replaceChild(o.cloneNode(!0),n)}},Node.prototype.cloneNode=function(e){if(this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var o=this.ownerDocument.importNode(this,!0)}else o=n.call(this,e);return e&&t.ua(o,this),o},Document.prototype.importNode=function(e,n){if("template"===e.localName)return t.a(e,n);var o=r.call(this,e,n);return n&&t.ua(o,e),o},i&&(window.HTMLTemplateElement.prototype.cloneNode=function(e){return t.a(this,e)})),e&&(window.HTMLTemplateElement=t)}();var _e,ge,be,we=_e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},Ee=0,Ne="undefined"!=typeof window?window:void 0,Ce=Ne||{},Se=Ce.MutationObserver||Ce.WebKitMutationObserver,Te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Oe=Array(1e3),xe="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?function(){return process.Ib(N)}:Se?function(){var t=0,e=new Se(N),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():Te?function(){var t=new MessageChannel;return t.port1.onmessage=N,function(){return t.port2.postMessage(0)}}():Ne||"function"!=typeof require?E():function(){try{var t=require("vertx");return ge=t.Kb||t.Jb,w()}catch(t){return E()}}(),Ae=Math.random().toString(36).substring(16),De=new F,Me=new F,Le=0;B.prototype.eb=function(t){for(var e=0;void 0===this.o&&e<t.length;e++)this.cb(t[e],e)},B.prototype.cb=function(t,e){var n=this.fb,o=n.resolve;o===S?(o=O(t))===C&&void 0!==t.o?this.qa(t.o,e,t.m):"function"!=typeof o?(this.aa--,this.m[e]=t):n===V?(n=new n(T),M(n,t,o),this.ra(n,e)):this.ra(new n(function(e){return e(t)}),e):this.ra(o(t),e)},B.prototype.qa=function(t,e,n){var o=this.L;void 0===o.o&&(this.aa--,2===t?R(o,n):this.m[e]=n),0===this.aa&&k(o,this.m)},B.prototype.ra=function(t,e){var n=this;P(t,void 0,function(t){return n.qa(1,e,t)},function(t){return n.qa(2,e,t)})},V.all=function(t){return new B(this,t).L},V.race=function(t){var e=this;return new e(we(t)?function(n,o){for(var r=t.length,i=0;i<r;i++)e.resolve(t[i]).then(n,o)}:function(t,e){return e(new TypeError("You must pass an array to race."))})},V.resolve=S,V.reject=function(t){var e=new this(T);return R(e,t),e},V.Gb=function(t){be=t},V.Fb=function(t){b=t},V.Cb=b,V.prototype={constructor:V,then:C,a:function(t){return this.then(null,t)}},window.Promise||(window.Promise=V,V.prototype.catch=V.prototype.a),function(t){function e(t,e){if("function"==typeof window.CustomEvent)return new CustomEvent(t,e);var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n}function n(t){if(u)return t.ownerDocument!==document?t.ownerDocument:null;var e=t.__importDoc;if(!e&&t.parentNode){if("function"==typeof(e=t.parentNode).closest)e=e.closest("link[rel=import]");else for(;!s(e)&&(e=e.parentNode););t.__importDoc=e}return e}function o(t){var e=document.querySelectorAll("link[rel=import]:not([import-dependency])"),n=e.length;n?l(e,function(e){return a(e,function(){0==--n&&t()})}):t()}function r(t){function e(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",e),t())}document.addEventListener("readystatechange",e),e()}function i(t){r(function(){return o(function(){return t&&t()})})}function a(t,e){if(t.__loaded)e&&e();else if("script"===t.localName&&!t.src||"style"===t.localName&&!t.firstChild)t.__loaded=!0,e&&e();else{var n=function(o){t.removeEventListener(o.type,n),t.__loaded=!0,e&&e()};t.addEventListener("load",n),v&&"style"===t.localName||t.addEventListener("error",n)}}function s(t){return t.nodeType===Node.ELEMENT_NODE&&"link"===t.localName&&"import"===t.rel}function c(){var t=this;this.a={},this.b=0,this.f=new MutationObserver(function(e){return t.l(e)}),this.f.observe(document.head,{childList:!0,subtree:!0}),this.c(document)}function l(t,e,n){var o=t?t.length:0,r=n?-1:1;for(n=n?o-1:0;n<o&&0<=n;n+=r)e(t[n],n)}var u="import"in document.createElement("link"),h=null;0=="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return h||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var d=/(url\()([^)]*)(\))/g,p=/(@import[\s]+(?!url\())([^;]*)(;)/g,f=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,y={nb:function(t,e){if(t.href&&t.setAttribute("href",y.ga(t.getAttribute("href"),e)),t.src&&t.setAttribute("src",y.ga(t.getAttribute("src"),e)),"style"===t.localName){var n=y.Na(t.textContent,e,d);t.textContent=y.Na(n,e,p)}},Na:function(t,e,n){return t.replace(n,function(t,n,o,r){return t=o.replace(/["']/g,""),e&&(t=y.ga(t,e)),n+"'"+t+"'"+r})},ga:function(t,e){if(void 0===y.oa){y.oa=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",y.oa="http://a/c%20d"===n.href}catch(t){}}return y.oa?new URL(t,e).href:((n=y.$a)||(n=document.implementation.createHTMLDocument("temp"),y.$a=n,n.za=n.createElement("base"),n.head.appendChild(n.za),n.ya=n.createElement("a")),n.za.href=e,n.ya.href=t,n.ya.href||t)}},m={async:!0,load:function(t,e,n){if(t)if(t.match(/^data:/)){var o=(t=t.split(","))[1];o=-1<t[0].indexOf(";base64")?atob(o):decodeURIComponent(o),e(o)}else{var r=new XMLHttpRequest;r.open("GET",t,m.async),r.onload=function(){var t=r.responseURL||r.getResponseHeader("Location");t&&0===t.indexOf("/")&&(t=(location.origin||location.protocol+"//"+location.host)+t);var o=r.response||r.responseText;304===r.status||0===r.status||200<=r.status&&300>r.status?e(o,t):n(o)},r.send()}else n("error: href must be specified")}},v=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);if(c.prototype.c=function(t){var e=this;l(t=t.querySelectorAll("link[rel=import]"),function(t){return e.h(t)})},c.prototype.h=function(t){var e=this,n=t.href;if(void 0!==this.a[n]){var o=this.a[n];o&&o.__loaded&&(t.import=o,this.g(t))}else this.b++,this.a[n]="pending",m.load(n,function(t,o){t=e.s(t,o||n),e.a[n]=t,e.b--,e.c(t),e.i()},function(){e.a[n]=null,e.b--,e.i()})},c.prototype.s=function(t,e){if(!t)return document.createDocumentFragment();v&&(t=t.replace(f,function(t,e,n){return-1===t.indexOf("type=")?e+" type=import-disable "+n:t}));var n=document.createElement("template");if(n.innerHTML=t,n.content)t=n.content;else for(t=document.createDocumentFragment();n.firstChild;)t.appendChild(n.firstChild);(n=t.querySelector("base"))&&(e=y.ga(n.getAttribute("href"),e),n.removeAttribute("href"));var o=0;return l(n=t.querySelectorAll('link[rel=import], link[rel=stylesheet][href][type=import-disable],\n style:not([type]), link[rel=stylesheet][href]:not([type]),\n script:not([type]), script[type="application/javascript"],\n script[type="text/javascript"]'),function(t){a(t),y.nb(t,e),t.setAttribute("import-dependency",""),"script"===t.localName&&!t.src&&t.textContent&&(t.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(t.textContent+"\n//# sourceURL="+e+(o?"-"+o:"")+".js\n")),t.textContent="",o++)}),t},c.prototype.i=function(){var t=this;if(!this.b){this.f.disconnect(),this.flatten(document);var e=!1,n=!1,o=function(){n&&e&&(t.c(document),t.b||(t.f.observe(document.head,{childList:!0,subtree:!0}),t.j()))};this.v(function(){n=!0,o()}),this.u(function(){e=!0,o()})}},c.prototype.flatten=function(t){var e=this;l(t=t.querySelectorAll("link[rel=import]"),function(t){var n=e.a[t.href];(t.import=n)&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e.a[t.href]=t,t.readyState="loading",t.import=t,e.flatten(n),t.appendChild(n))})},c.prototype.u=function(t){function e(r){if(r<o){var i=n[r],s=document.createElement("script");i.removeAttribute("import-dependency"),l(i.attributes,function(t){return s.setAttribute(t.name,t.value)}),h=s,i.parentNode.replaceChild(s,i),a(s,function(){h=null,e(r+1)})}else t()}var n=document.querySelectorAll("script[import-dependency]"),o=n.length;e(0)},c.prototype.v=function(t){var e=document.querySelectorAll("style[import-dependency],\n link[rel=stylesheet][import-dependency]"),o=e.length;if(o){var r=v&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");l(e,function(e){if(a(e,function(){e.removeAttribute("import-dependency"),0==--o&&t()}),r&&e.parentNode!==document.head){var i=document.createElement(e.localName);for(i.__appliedElement=e,i.setAttribute("type","import-placeholder"),e.parentNode.insertBefore(i,e.nextSibling),i=n(e);i&&n(i);)i=n(i);i.parentNode!==document.head&&(i=null),document.head.insertBefore(e,i),e.removeAttribute("type")}})}else t()},c.prototype.j=function(){var t=this;l(document.querySelectorAll("link[rel=import]"),function(e){return t.g(e)},!0)},c.prototype.g=function(t){t.__loaded||(t.__loaded=!0,t.import&&(t.import.readyState="complete"),t.dispatchEvent(e(t.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))},c.prototype.l=function(t){var e=this;l(t,function(t){return l(t.addedNodes,function(t){t&&t.nodeType===Node.ELEMENT_NODE&&(s(t)?e.h(t):e.c(t))})})},u){var _=document.querySelectorAll("link[rel=import]");l(_,function(t){t.import&&"loading"===t.import.readyState||(t.__loaded=!0)}),_=function(t){s(t=t.target)&&(t.__loaded=!0)},document.addEventListener("load",_,!0),document.addEventListener("error",_,!0)}else{var g=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!g||g.configurable?Node:Element).prototype,"baseURI",{get:function(){var t=s(this)?this:n(this);return t?t.href:g&&g.get?g.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0}),r(function(){return new c})}i(function(){return document.dispatchEvent(e("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))}),t.useNative=u,t.whenReady=i,t.importForElement=n}(window.HTMLImports=window.HTMLImports||{}),window.WebComponents=window.WebComponents||{flags:{}};var je=document.querySelector('script[src*="webcomponents-lite.js"]'),ke=/wc-(.+)/,Re={};if(!Re.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(ke))&&(Re[e[1]]=t[1]||!0)}),je)for(var Pe,He=0;Pe=je.attributes[He];He++)"src"!==Pe.name&&(Re[Pe.name]=Pe.value||!0);if(Re.log&&Re.log.split){var Fe=Re.log.split(",");Re.log={},Fe.forEach(function(t){Re.log[t]=!0})}else Re.log={}}window.WebComponents.flags=Re;var Ie=Re.shadydom;Ie&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=Ie);var qe=Re.register||Re.ce;qe&&window.customElements&&(window.customElements.forcePolyfill=qe);var We=window.ShadyDOM||{};We.ob=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var Be=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");We.X=!!(Be&&Be.configurable&&Be.get),We.Ka=We.force||!We.ob;var Ve=Element.prototype,Ue=Ve.matches||Ve.matchesSelector||Ve.mozMatchesSelector||Ve.msMatchesSelector||Ve.oMatchesSelector||Ve.webkitMatchesSelector,Ge=document.createTextNode(""),Ke=0,$e=[];new MutationObserver(function(){for(;$e.length;)try{$e.shift()()}catch(t){throw Ge.textContent=Ke++,t}}).observe(Ge,{characterData:!0});var Ye,Xe=!!document.contains,ze=[];Q.list=ze,g.prototype.vb=function(){var t=this;this.a||(this.a=!0,z(function(){t.b()}))},g.prototype.b=function(){if(this.a){this.a=!1;var t=this.takeRecords();t.length&&this.da.forEach(function(e){e(t)})}},g.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Je=Element.prototype.appendChild,Ze=Element.prototype.insertBefore,Qe=Element.prototype.removeChild,tn=Element.prototype.setAttribute,en=Element.prototype.removeAttribute,nn=Element.prototype.cloneNode,on=Document.prototype.importNode,rn=Element.prototype.addEventListener,an=Element.prototype.removeEventListener,sn=Window.prototype.addEventListener,cn=Window.prototype.removeEventListener,ln=Element.prototype.dispatchEvent,un=Node.prototype.contains||HTMLElement.prototype.contains,hn=Object.freeze({appendChild:Je,insertBefore:Ze,removeChild:Qe,setAttribute:tn,removeAttribute:en,cloneNode:nn,importNode:on,addEventListener:rn,removeEventListener:an,Lb:sn,Mb:cn,dispatchEvent:ln,querySelector:Element.prototype.querySelector,querySelectorAll:Element.prototype.querySelectorAll,contains:un}),dn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,fn=et("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),yn=et("style script xmp iframe noembed noframes plaintext noscript".split(" ")),mn=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),vn=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),_n=Object.freeze({parentNode:ot,firstChild:rt,lastChild:it,previousSibling:at,nextSibling:st,childNodes:ct,parentElement:lt,firstElementChild:ut,lastElementChild:ht,previousElementSibling:dt,nextElementSibling:pt,children:ft,innerHTML:yt,textContent:mt}),gn=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),bn=document.implementation.createHTMLDocument("inert").createElement("div"),wn=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),En={parentElement:{get:function(){var t=this.__shady&&this.__shady.parentNode;return t&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:lt(this)},configurable:!0},parentNode:{get:function(){var t=this.__shady&&this.__shady.parentNode;return void 0!==t?t:ot(this)},configurable:!0},nextSibling:{get:function(){var t=this.__shady&&this.__shady.nextSibling;return void 0!==t?t:st(this)},configurable:!0},previousSibling:{get:function(){var t=this.__shady&&this.__shady.previousSibling;return void 0!==t?t:at(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var t=this.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return pt(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var t=this.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return dt(this)},configurable:!0}},Nn={childNodes:{get:function(){if(U(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var t=this.firstChild;t;t=t.nextSibling)this.__shady.childNodes.push(t)}var e=this.__shady.childNodes}else e=ct(this);return e.item=function(t){return e[t]},e},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var t=this.__shady&&this.__shady.firstChild;return void 0!==t?t:rt(this)},configurable:!0},lastChild:{get:function(){var t=this.__shady&&this.__shady.lastChild;return void 0!==t?t:it(this)},configurable:!0},textContent:{get:function(){if(U(this)){for(var t,e=[],n=0,o=this.childNodes;t=o[n];n++)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")}return mt(this)},set:function(t){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(t));break;default:this.nodeValue=t}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var t=this.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return ut(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var t=this.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return ht(this)},configurable:!0},children:{get:function(){var t;return t=U(this)?Array.prototype.filter.call(this.childNodes,function(t){return t.nodeType===Node.ELEMENT_NODE}):ft(this),t.item=function(e){return t[e]},t},configurable:!0},innerHTML:{get:function(){var t="template"===this.localName?this.content:this;return U(this)?nt(t):yt(t)},set:function(t){for(var e="template"===this.localName?this.content:this;e.firstChild;)e.removeChild(e.firstChild);for(gn&&gn.set?gn.set.call(bn,t):bn.innerHTML=t;bn.firstChild;)e.appendChild(bn.firstChild)},configurable:!0}},Cn={shadowRoot:{get:function(){return this.__shady&&this.__shady.tb||null},configurable:!0}},Sn={activeElement:{get:function(){var t=wn&&wn.get?wn.get.call(document):We.X?void 0:document.activeElement;if(t&&t.nodeType){var e=!!G(this);if(this===document||e&&this.host!==t&&un.call(this.host,t)){for(e=K(t);e&&e!==this;)t=e.host,e=K(t);t=this===document?e?null:t:e===this?t:null}else t=null}else t=null;return t},set:function(){},configurable:!0}},Tn=We.X?function(){}:function(t){t.__shady&&t.__shady.Ya||(t.__shady=t.__shady||{},t.__shady.Ya=!0,vt(t,En,!0))},On=We.X?function(){}:function(t){t.__shady&&t.__shady.Wa||(t.__shady=t.__shady||{},t.__shady.Wa=!0,vt(t,Nn,!0),vt(t,Cn,!0))},xn=null,An="__eventWrappers"+Date.now(),Dn={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},Mn={get composed(){return!1!==this.isTrusted&&void 0===this.la&&(this.la=Dn[this.type]),this.la||!1},composedPath:function(){return this.Aa||(this.Aa=jt(this.__target,this.composed)),this.Aa},get target(){return kt(this.currentTarget,this.composedPath())},get relatedTarget(){return this.Ba?(this.Ca||(this.Ca=jt(this.Ba,!0)),kt(this.currentTarget,this.Ca)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ma=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ma=this.Va=!0}},Ln={focus:!0,blur:!0},jn=Rt(window.Event),kn=Rt(window.CustomEvent),Rn=Rt(window.MouseEvent),Pn={};v.prototype=Object.create(DocumentFragment.prototype),v.prototype.H=function(t,e){this.Xa="ShadyRoot",_(t),_(this),this.host=t,this.J=e&&e.mode,t.__shady=t.__shady||{},t.__shady.root=this,t.__shady.tb="closed"!==this.J?this:null,this.ba=!1,this.b=[],this.a={},this.c=[];for(var n=0,o=(e=ct(t)).length;n<o;n++)Qe.call(t,e[n])},v.prototype.O=function(){var t=this;this.ba||(this.ba=!0,Z(function(){return t.Ga()}))},v.prototype.N=function(){for(var t,e=this;e;)e.ba&&(t=e),e=e.ib();return t},v.prototype.ib=function(){var t=this.host.getRootNode();if(G(t))for(var e,n=this.host.childNodes,o=0;o<n.length;o++)if(e=n[o],this.j(e))return t},v.prototype.Ga=function(){var t=this.N();t&&t._renderRoot()},v.prototype._renderRoot=function(){this.ba=!1,this.D(),this.v()},v.prototype.D=function(){this.f();for(var t,e=0;e<this.b.length;e++)t=this.b[e],this.u(t);for(t=this.host.firstChild;t;t=t.nextSibling)this.h(t);for(e=0;e<this.b.length;e++){if(!(t=this.b[e]).__shady.assignedNodes.length)for(var n=t.firstChild;n;n=n.nextSibling)this.h(n,t);if(n=t.parentNode,(n=n.__shady&&n.__shady.root)&&n.Da()&&n._renderRoot(),this.g(t.__shady.W,t.__shady.assignedNodes),n=t.__shady.Fa){for(var o=0;o<n.length;o++)n[o].__shady.pa=null;t.__shady.Fa=null,n.length>t.__shady.assignedNodes.length&&(t.__shady.ta=!0)}t.__shady.ta&&(t.__shady.ta=!1,this.i(t))}},v.prototype.h=function(t,e){t.__shady=t.__shady||{};var n=t.__shady.pa;t.__shady.pa=null,e||(e=(e=this.a[t.slot||"__catchall"])&&e[0]),e?(e.__shady.assignedNodes.push(t),t.__shady.assignedSlot=e):t.__shady.assignedSlot=void 0,n!==t.__shady.assignedSlot&&t.__shady.assignedSlot&&(t.__shady.assignedSlot.__shady.ta=!0)},v.prototype.u=function(t){var e=t.__shady.assignedNodes;if(t.__shady.assignedNodes=[],t.__shady.W=[],t.__shady.Fa=e)for(var n=0;n<e.length;n++){var o=e[n];o.__shady.pa=o.__shady.assignedSlot,o.__shady.assignedSlot===t&&(o.__shady.assignedSlot=null)}},v.prototype.g=function(t,e){for(var n,o=0;o<e.length&&(n=e[o]);o++)if("slot"==n.localName){var r=n.__shady.assignedNodes;r&&r.length&&this.g(t,r)}else t.push(e[o])},v.prototype.i=function(t){ln.call(t,new Event("slotchange")),t.__shady.assignedSlot&&this.i(t.__shady.assignedSlot)},v.prototype.v=function(){for(var t=this.b,e=[],n=0;n<t.length;n++){var o=t[n].parentNode;o.__shady&&o.__shady.root||!(0>e.indexOf(o))||e.push(o)}for(t=0;t<e.length;t++)n=e[t],this.T(n===this?this.host:n,this.B(n))},v.prototype.B=function(t){var e=[];t=t.childNodes;for(var n=0;n<t.length;n++){var o=t[n];if(this.j(o)){o=o.__shady.W;for(var r=0;r<o.length;r++)e.push(o[r])}else e.push(o)}return e},v.prototype.j=function(t){return"slot"==t.localName},v.prototype.T=function(t,e){for(var n,o=ct(t),r=Vt(e,e.length,o,o.length),i=0,a=0;i<r.length&&(n=r[i]);i++){for(var s,c=0;c<n.Z.length&&(s=n.Z[c]);c++)ot(s)===t&&Qe.call(t,s),o.splice(n.index+a,1);a-=n.ca}for(i=0;i<r.length&&(n=r[i]);i++)for(a=o[n.index],c=n.index;c<n.index+n.ca;c++)s=e[c],Ze.call(t,s,a),o.splice(c,0,s)},v.prototype.ab=function(t){this.c.push.apply(this.c,[].concat(t instanceof Array?t:i(r(t))))},v.prototype.f=function(){this.c.length&&(this.I(this.c),this.c=[])},v.prototype.I=function(t){for(var e,n=0;n<t.length;n++){var o=t[n];o.__shady=o.__shady||{},_(o),_(o.parentNode);var r=this.l(o);this.a[r]?(e=e||{},e[r]=!0,this.a[r].push(o)):this.a[r]=[o],this.b.push(o)}if(e)for(var i in e)this.a[i]=this.s(this.a[i])},v.prototype.l=function(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Za=e},v.prototype.s=function(t){return t.sort(function(t,e){t=Gt(t);for(var n=Gt(e),o=0;o<t.length;o++){e=t[o];var r=n[o];if(e!==r)return(t=Array.from(e.parentNode.childNodes)).indexOf(e)-t.indexOf(r)}})},v.prototype.hb=function(t){this.f();var e,n=this.a;for(e in n)for(var o=n[e],r=0;r<o.length;r++){var i=o[r];if(J(t,i)){o.splice(r,1);var a=this.b.indexOf(i);0<=a&&this.b.splice(a,1),r--,this.K(i),a=!0}}return a},v.prototype.jb=function(t){var e=t.Za,n=this.l(t);if(n!==e){var o=(e=this.a[e]).indexOf(t);0<=o&&e.splice(o,1),(e=this.a[n]||(this.a[n]=[])).push(t),1<e.length&&(this.a[n]=this.s(e))}},v.prototype.K=function(t){if(t=t.__shady.W)for(var e=0;e<t.length;e++){var n=t[e],o=ot(n);o&&Qe.call(o,n)}},v.prototype.Da=function(){return this.f(),!!this.b.length},v.prototype.addEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.addEventListener(t,e,n)},v.prototype.removeEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.removeEventListener(t,e,n)},v.prototype.getElementById=function(t){return xt(this,function(e){return e.id==t},function(t){return!!t})[0]||null},function(t){vt(t,Nn,!0),vt(t,Sn,!0)}(v.prototype);var Hn={addEventListener:It.bind(window),removeEventListener:qt.bind(window)},Fn={addEventListener:It,removeEventListener:qt,appendChild:function(t){return bt(this,t)},insertBefore:function(t,e){return bt(this,t,e)},removeChild:function(t){return wt(this,t)},replaceChild:function(t,e){return bt(this,t,e),wt(this,e),t},cloneNode:function(t){if("template"==this.localName)var e=nn.call(this,t);else if(e=nn.call(this,!1),t){t=this.childNodes;for(var n,o=0;o<t.length;o++)n=t[o].cloneNode(!0),e.appendChild(n)}return e},getRootNode:function(){return Ot(this)},contains:function(t){return J(this,t)},get isConnected(){var t=this.ownerDocument;if(Xe&&un.call(t,this)||t.documentElement&&un.call(t.documentElement,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.parentNode||(t instanceof v?t.host:void 0);return!!(t&&t instanceof Document)},dispatchEvent:function(t){return Q(),ln.call(this,t)}},In={get assignedSlot(){return Kt(this)}},qn={querySelector:function(t){return xt(this,function(e){return Ue.call(e,t)},function(t){return!!t})[0]||null},querySelectorAll:function(t){return xt(this,function(e){return Ue.call(e,t)})}},Wn={assignedNodes:function(t){if("slot"===this.localName)return Dt(this),this.__shady?(t&&t.flatten?this.__shady.W:this.__shady.assignedNodes)||[]:[]}},Bn=Y({setAttribute:function(t,e){Mt(this,t,e)},removeAttribute:function(t){en.call(this,t),St(this,t)},attachShadow:function(t){if(!this)throw"Must provide a host.";if(!t)throw"Not enough arguments.";return new v(Pn,this,t)},get slot(){return this.getAttribute("slot")},set slot(t){Mt(this,"slot",t)},get assignedSlot(){return Kt(this)}},qn,Wn);Object.defineProperties(Bn,Cn);var Vn=Y({importNode:function(t,e){return Lt(t,e)},getElementById:function(t){return xt(this,function(e){return e.id==t},function(t){return!!t})[0]||null}},qn);Object.defineProperties(Vn,{_activeElement:Sn.activeElement});var Un=HTMLElement.prototype.blur,Gn=Y({blur:function(){var t=this.__shady&&this.__shady.root;(t=t&&t.activeElement)?t.blur():Un.call(this)}});We.Ka&&(window.ShadyDOM={inUse:We.Ka,patch:function(t){return t},isShadyRoot:G,enqueue:Z,flush:Q,settings:We,filterMutations:function(t,e){var n=e.getRootNode();return t.map(function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=Array.from(t.addedNodes).filter(function(t){return n===t.getRootNode()})).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t}).filter(function(t){return t})},observeChildren:function(t,e){t.__shady=t.__shady||{},t.__shady.Y||(t.__shady.Y=new g),t.__shady.Y.da.add(e);var n=t.__shady.Y;return{bb:e,P:n,gb:t,takeRecords:function(){return n.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.P;e&&(e.da.delete(t.bb),e.da.size||(t.gb.__shady.Y=null))},nativeMethods:hn,nativeTree:_n},window.Event=jn,window.CustomEvent=kn,window.MouseEvent=Rn,function(){for(var t in Ln)window.addEventListener(t,function(t){t.__target||(Wt(t),Ht(t))},!0)}(),function(){var t=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;$t(window.Node.prototype,Fn),$t(window.Window.prototype,Hn),$t(window.Text.prototype,In),$t(window.DocumentFragment.prototype,qn),$t(window.Element.prototype,Bn),$t(window.Document.prototype,Vn),window.HTMLSlotElement&&$t(window.HTMLSlotElement.prototype,Wn),$t(t.prototype,Gn),We.X&&(_t(window.Node.prototype),_t(window.Text.prototype),_t(window.DocumentFragment.prototype),_t(window.Element.prototype),_t(t.prototype),_t(window.Document.prototype),window.HTMLSlotElement&&_t(window.HTMLSlotElement.prototype))}(),window.ShadowRoot=v);var Kn=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));m.prototype.D=function(t,e){this.u.set(t,e),this.s.set(e.constructor,e)},m.prototype.c=function(t){return this.u.get(t)},m.prototype.B=function(t){return this.s.get(t)},m.prototype.v=function(t){this.h=!0,this.j.push(t)},m.prototype.l=function(t){var e=this;this.h&&Jt(t,function(t){return e.g(t)})},m.prototype.g=function(t){if(this.h&&!t.__CE_patched){t.__CE_patched=!0;for(var e=0;e<this.j.length;e++)this.j[e](t)}},m.prototype.b=function(t){var e=[];for(Jt(t,function(t){return e.push(t)}),t=0;t<e.length;t++){var n=e[t];1===n.__CE_state?this.connectedCallback(n):this.i(n)}},m.prototype.a=function(t){var e=[];for(Jt(t,function(t){return e.push(t)}),t=0;t<e.length;t++){var n=e[t];1===n.__CE_state&&this.disconnectedCallback(n)}},m.prototype.f=function(t,e){var n=this,o=(e=e||{}).yb||new Set,r=e.Oa||function(t){return n.i(t)},i=[];if(Jt(t,function(t){if("link"===t.localName&&"import"===t.getAttribute("rel")){var e=t.import;e instanceof Node&&"complete"===e.readyState?(e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0):t.addEventListener("load",function(){var e=t.import;if(!e.__CE_documentLoadHandled){e.__CE_documentLoadHandled=!0,e.__CE_isImportDocument=!0,e.__CE_hasRegistry=!0;var i=new Set(o);i.delete(e),n.f(e,{yb:i,Oa:r})}})}else i.push(t)},o),this.h)for(t=0;t<i.length;t++)this.g(i[t]);for(t=0;t<i.length;t++)r(i[t])},m.prototype.i=function(t){if(void 0===t.__CE_state){var e=this.c(t.localName);if(e){e.constructionStack.push(t);var n=e.constructor;try{try{if(new n!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,n=0;n<e.length;n++){var o=e[n],r=t.getAttribute(o);null!==r&&this.attributeChangedCallback(t,o,null,r,null)}Xt(t)&&this.connectedCallback(t)}}},m.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)},m.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)},m.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e)&&i.attributeChangedCallback.call(t,e,n,o,r)},y.prototype.c=function(){this.P&&this.P.disconnect()},y.prototype.f=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||this.c(),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)this.b.f(n[o])},f.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.b&&this.b(t)},p.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!Yt(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.c(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=e.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=o("connectedCallback"),a=o("disconnectedCallback"),s=o("adoptedCallback"),c=o("attributeChangedCallback"),l=e.observedAttributes||[]}catch(t){return}finally{this.c=!1}e={localName:t,constructor:e,connectedCallback:i,disconnectedCallback:a,adoptedCallback:s,attributeChangedCallback:c,observedAttributes:l,constructionStack:[]},this.a.D(t,e),this.g.push(e),this.b||(this.b=!0,this.f(function(){return n.j()}))},p.prototype.j=function(){var t=this;if(!1!==this.b){this.b=!1;for(var e=this.g,n=[],o=new Map,r=0;r<e.length;r++)o.set(e[r].localName,[]);for(this.a.f(document,{Oa:function(e){if(void 0===e.__CE_state){var r=e.localName,i=o.get(r);i?i.push(e):t.a.c(r)&&n.push(e)}}}),r=0;r<n.length;r++)this.a.i(n[r]);for(;0<e.length;){var i=e.shift();r=i.localName,i=o.get(i.localName);for(var a=0;a<i.length;a++)this.a.i(i[a]);(r=this.h.get(r))&&r.resolve(void 0)}}},p.prototype.get=function(t){if(t=this.a.c(t))return t.constructor},p.prototype.whenDefined=function(t){if(!Yt(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.h.get(t);return e?e.c:(e=new f,this.h.set(t,e),this.a.c(t)&&!this.g.some(function(e){return e.localName===t})&&e.resolve(void 0),e.c)},p.prototype.l=function(t){this.i.c();var e=this.f;this.f=function(n){return t(function(){return e(n)})}},window.CustomElementRegistry=p,p.prototype.define=p.prototype.define,p.prototype.get=p.prototype.get,p.prototype.whenDefined=p.prototype.whenDefined,p.prototype.polyfillWrapFlushCallback=p.prototype.l;var $n=window.Document.prototype.createElement,Yn=window.Document.prototype.createElementNS,Xn=window.Document.prototype.importNode,zn=window.Document.prototype.prepend,Jn=window.Document.prototype.append,Zn=window.DocumentFragment.prototype.prepend,Qn=window.DocumentFragment.prototype.append,to=window.Node.prototype.cloneNode,eo=window.Node.prototype.appendChild,no=window.Node.prototype.insertBefore,oo=window.Node.prototype.removeChild,ro=window.Node.prototype.replaceChild,io=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ao=window.Element.prototype.attachShadow,so=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),co=window.Element.prototype.getAttribute,lo=window.Element.prototype.setAttribute,uo=window.Element.prototype.removeAttribute,ho=window.Element.prototype.getAttributeNS,po=window.Element.prototype.setAttributeNS,fo=window.Element.prototype.removeAttributeNS,yo=window.Element.prototype.insertAdjacentElement,mo=window.Element.prototype.prepend,vo=window.Element.prototype.append,_o=window.Element.prototype.before,go=window.Element.prototype.after,bo=window.Element.prototype.replaceWith,wo=window.Element.prototype.remove,Eo=window.HTMLElement,No=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Co=window.HTMLElement.prototype.insertAdjacentElement,So=new function(){},To=window.customElements;if(!To||To.forcePolyfill||"function"!=typeof To.define||"function"!=typeof To.get){var Oo=new m;!function(t){window.HTMLElement=function(){function e(){var e=this.constructor,n=t.B(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=$n.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,t.g(o),o;var r=o[n=o.length-1];if(r===So)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return o[n]=So,Object.setPrototypeOf(r,e.prototype),t.g(r),r}return e.prototype=Eo.prototype,e}()}(Oo),function(t){Zt(Document.prototype,"createElement",function(e){if(this.__CE_hasRegistry){var n=t.c(e);if(n)return new n.constructor}return e=$n.call(this,e),t.g(e),e}),Zt(Document.prototype,"importNode",function(e,n){return e=Xn.call(this,e,n),this.__CE_hasRegistry?t.f(e):t.l(e),e}),Zt(Document.prototype,"createElementNS",function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.c(n);if(o)return new o.constructor}return e=Yn.call(this,e,n),t.g(e),e}),d(t,Document.prototype,{fa:zn,append:Jn})}(Oo),d(Oo,DocumentFragment.prototype,{fa:Zn,append:Qn}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&Xt(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)t.a(o[e])}}})}Zt(Node.prototype,"insertBefore",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=no.call(this,e,n),Xt(this))for(n=0;n<o.length;n++)t.b(o[n]);return e}return o=Xt(e),n=no.call(this,e,n),o&&t.a(e),Xt(this)&&t.b(e),n}),Zt(Node.prototype,"appendChild",function(e){if(e instanceof DocumentFragment){var n=Array.prototype.slice.apply(e.childNodes);if(e=eo.call(this,e),Xt(this))for(var o=0;o<n.length;o++)t.b(n[o]);return e}return n=Xt(e),o=eo.call(this,e),n&&t.a(e),Xt(this)&&t.b(e),o}),Zt(Node.prototype,"cloneNode",function(e){return e=to.call(this,e),this.ownerDocument.__CE_hasRegistry?t.f(e):t.l(e),e}),Zt(Node.prototype,"removeChild",function(e){var n=Xt(e),o=oo.call(this,e);return n&&t.a(e),o}),Zt(Node.prototype,"replaceChild",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=ro.call(this,e,n),Xt(this))for(t.a(n),n=0;n<o.length;n++)t.b(o[n]);return e}o=Xt(e);var r=ro.call(this,e,n),i=Xt(this);return i&&t.a(n),o&&t.a(e),i&&t.b(e),r}),io&&io.get?e(Node.prototype,io):t.v(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++)t.push(this.childNodes[e].textContent);return t.join("")},set:function(t){for(;this.firstChild;)oo.call(this,this.firstChild);eo.call(this,document.createTextNode(t))}})})}(Oo),function(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(Xt(this)&&(r=[],Jt(this,function(t){t!==o&&r.push(t)})),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_hasRegistry?t.f(this):t.l(this),e}})}function n(e,n){Zt(e,"insertAdjacentElement",function(e,o){var r=Xt(o);return e=n.call(this,e,o),r&&t.a(o),Xt(e)&&t.b(o),e})}if(ao&&Zt(Element.prototype,"attachShadow",function(t){return this.__CE_shadowRoot=t=ao.call(this,t)}),so&&so.get)e(Element.prototype,so);else if(No&&No.get)e(HTMLElement.prototype,No);else{var o=$n.call(document,"div");t.v(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return to.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName?this.content:this;for(o.innerHTML=t;0<e.childNodes.length;)oo.call(e,e.childNodes[0]);for(;0<o.childNodes.length;)eo.call(e,o.childNodes[0])}})})}Zt(Element.prototype,"setAttribute",function(e,n){if(1!==this.__CE_state)return lo.call(this,e,n);var o=co.call(this,e);lo.call(this,e,n),n=co.call(this,e),t.attributeChangedCallback(this,e,o,n,null)}),Zt(Element.prototype,"setAttributeNS",function(e,n,o){if(1!==this.__CE_state)return po.call(this,e,n,o);var r=ho.call(this,e,n);po.call(this,e,n,o),o=ho.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)}),Zt(Element.prototype,"removeAttribute",function(e){if(1!==this.__CE_state)return uo.call(this,e);var n=co.call(this,e);uo.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)}),Zt(Element.prototype,"removeAttributeNS",function(e,n){if(1!==this.__CE_state)return fo.call(this,e,n);var o=ho.call(this,e,n);fo.call(this,e,n);var r=ho.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)}),Co?n(HTMLElement.prototype,Co):yo?n(Element.prototype,yo):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),d(t,Element.prototype,{fa:mo,append:vo}),h(t,{sa:_o,kb:go,replaceWith:bo,remove:wo})}(Oo),document.__CE_hasRegistry=!0;var xo=new p(Oo);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:xo})}var Ao={STYLE_RULE:1,ka:7,MEDIA_RULE:4,xa:1e3},Do={mb:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,Ha:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,La:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,sb:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,xb:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,rb:/^@[^\s]*keyframes/,Ma:/\s+/g},Mo=!(window.ShadyDOM&&window.ShadyDOM.inUse);if(window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss)var Lo=window.ShadyCSS.nativeCss;else window.ShadyCSS?(oe(window.ShadyCSS),window.ShadyCSS=void 0):oe(window.WebComponents&&window.WebComponents.flags);var jo=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,ko=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ro=/(--[\w-]+)\s*([:,;)]|$)/gi,Po=/(animation\s*:)|(animation-name\s*:)/,Ho=/@media\s(.*)/,Fo=/\{[^}]*\}/g,Io=null;l.prototype.b=function(t,e,n){t.__styleScoped?t.__styleScoped=null:this.j(t,e||"",n)},l.prototype.j=function(t,e,n){if(t.nodeType===Node.ELEMENT_NODE&&this.h(t,e,n),t="template"===t.localName?(t.content||t.Db).childNodes:t.children||t.childNodes)for(var o=0;o<t.length;o++)this.j(t[o],e,n)},l.prototype.h=function(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var o=t.getAttribute(tr);n?o&&(e=o.replace("style-scope","").replace(e,""),he(t,e)):he(t,(o?o+" ":"")+"style-scope "+e)}},l.prototype.c=function(t,e,n){var o=t.__cssBuild;return Mo||"shady"===o?e=re(e,n):(t=de(t),e=this.I(e,t.is,t.$,n)+"\n\n"),e.trim()},l.prototype.I=function(t,e,n,o){var r=this.f(e,n);e=this.i(e);var i=this;return re(t,function(t){t.c||(i.K(t,e,r),t.c=!0),o&&o(t,e,r)})},l.prototype.i=function(t){return t?Zo+t:""},l.prototype.f=function(t,e){return e?"[is="+t+"]":t},l.prototype.K=function(t,e,n){this.l(t,this.g,e,n)},l.prototype.l=function(t,e,n,o){t.selector=t.A=this.s(t,e,n,o)},l.prototype.s=function(t,e,n,o){var r=t.selector.split(Bo);if(!ae(t)){t=0;for(var i,a=r.length;t<a&&(i=r[t]);t++)r[t]=e.call(this,i,n,o)}return r.join(Bo)},l.prototype.v=function(t){return t.replace(qo,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})},l.prototype.g=function(t,e,n){var o=this,r=!1;t=t.trim();var i=qo.test(t);return i&&(t=t.replace(qo,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}),t=this.v(t)),t=t.replace(Yo,Go+" $1"),t=t.replace(Vo,function(t,i,a){return r||(t=o.D(a,i,e,n),r=r||t.stop,i=t.lb,a=t.value),i+a}),i&&(t=this.v(t)),t},l.prototype.D=function(t,e,n,o){var r=t.indexOf($o);if(0<=t.indexOf(Go)?t=this.H(t,o):0!==r&&(t=n?this.u(t,n):t),n=!1,0<=r&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(zo,function(t,e){return" > "+e}))}return t=t.replace(Jo,function(t,e,n){return'[dir="'+n+'"] '+e+", "+e+'[dir="'+n+'"]'}),{value:t,lb:e,stop:i}},l.prototype.u=function(t,e){return t=t.split(Qo),t[0]+=e,t.join(Qo)},l.prototype.H=function(t,e){var n=t.match(Xo);return(n=n&&n[2].trim()||"")?n[0].match(Uo)?t.replace(Xo,function(t,n,o){return e+o}):n.split(Uo)[0]===e?n:er:t.replace(Go,e)},l.prototype.J=function(t){t.selector=t.parsedSelector,this.B(t),this.l(t,this.N)},l.prototype.B=function(t){t.selector===Ko&&(t.selector="html")},l.prototype.N=function(t){return t.match($o)?this.g(t,Wo):this.u(t.trim(),Wo)},a.Object.defineProperties(l.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var qo=/:(nth[-\w]+)\(([^)]+)\)/,Wo=":not(.style-scope)",Bo=",",Vo=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Uo=/[[.:#*]/,Go=":host",Ko=":root",$o="::slotted",Yo=new RegExp("^("+$o+")"),Xo=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,zo=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Jo=/(.*):dir\((?:(ltr|rtl))\)/,Zo=".",Qo=":",tr="class",er="should_not_match",nr=new l;c.get=function(t){return t?t.__styleInfo:null},c.set=function(t,e){return t.__styleInfo=e},c.prototype.c=function(){return this.G},c.prototype._getStyleRules=c.prototype.c;var or=function(t){return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}(window.Element.prototype),rr=navigator.userAgent.match("Trident");s.prototype.J=function(t){var e=this,n={},o=[],r=0;se(t,function(t){e.c(t),t.index=r++,e.I(t.w.cssText,n)},function(t){o.push(t)}),t.b=o,t=[];for(var i in n)t.push(i);return t},s.prototype.c=function(t){if(!t.w){var e={},n={};this.b(t,n)&&(e.F=n,t.rules=null),e.cssText=this.H(t),t.w=e}},s.prototype.b=function(t,e){var n=t.w;if(!n){n=t.parsedCssText;for(var o;t=jo.exec(n);)"inherit"===(o=(t[2]||t[3]).trim())&&"unset"===o||(e[t[1].trim()]=o),o=!0;return o}if(n.F)return Object.assign(e,n.F),!0},s.prototype.H=function(t){return this.N(t.parsedCssText)},s.prototype.N=function(t){return t.replace(Fo,"").replace(jo,"")},s.prototype.I=function(t,e){for(var n;n=Ro.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}},s.prototype.ha=function(t){for(var e,n=Object.getOwnPropertyNames(t),o=0;o<n.length;o++)e=n[o],t[e]=this.a(t[e],t)},s.prototype.a=function(t,e){if(t)if(0<=t.indexOf(";"))t=this.f(t,e);else{var n=this;t=ue(t,function(t,o,r,i){return o?((o=n.a(e[o],e))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=n.a(e[r]||r,e)||r,t+(o||"")+i):t+i})}return t&&t.trim()||""},s.prototype.f=function(t,e){t=t.split(";");for(var n,o,r=0;r<t.length;r++)if(n=t[r]){if(ko.lastIndex=0,o=ko.exec(n))n=this.a(e[o[1]],e);else if(-1!==(o=n.indexOf(":"))){var i=n.substring(o);i=i.trim(),i=this.a(i,e)||i,n=n.substring(0,o)+i}t[r]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return t.join(";")},s.prototype.D=function(t,e){var n="";t.w||this.c(t),t.w.cssText&&(n=this.f(t.w.cssText,e)),t.cssText=n},s.prototype.B=function(t,e){var n=t.cssText,o=t.cssText;if(null==t.Ja&&(t.Ja=Po.test(n)),t.Ja)if(null==t.ea){t.ea=[];for(var r in e)o=e[r],o=o(n),n!==o&&(n=o,t.ea.push(r))}else{for(r=0;r<t.ea.length;++r)o=e[t.ea[r]],n=o(n);o=n}t.cssText=o},s.prototype.T=function(t,e){var n={},o=this,r=[];return se(t,function(t){t.w||o.c(t);var i=t.A||t.parsedSelector;e&&t.w.F&&i&&or.call(e,i)&&(o.b(t,n),t=t.index,i=parseInt(t/32,10),r[i]=(r[i]||0)|1<<t%32)},null,!0),{F:n,key:r}},s.prototype.ja=function(t,e,n,o){if(e.w||this.c(e),e.w.F){var r=de(t);t=r.is,r=r.$,r=t?nr.f(t,r):"html";var i=e.parsedSelector,a=":host > *"===i||"html"===i,s=0===i.indexOf(":host")&&!a;"shady"===n&&(a=i===r+" > *."+r||-1!==i.indexOf("html"),s=!a&&0===i.indexOf(r)),"shadow"===n&&(a=":host > *"===i||"html"===i,s=s&&!a),(a||s)&&(n=r,s&&(Mo&&!e.A&&(e.A=nr.s(e,nr.g,nr.i(t),r)),n=e.A||r),o({wb:n,qb:s,Hb:a}))}},s.prototype.K=function(t,e){var n={},o={},r=this,i=e&&e.__cssBuild;return se(e,function(e){r.ja(t,e,i,function(i){or.call(t.Eb||t,i.wb)&&(i.qb?r.b(e,n):r.b(e,o))})},null,!0),{ub:o,pb:n}},s.prototype.ia=function(t,e,n){var o=this,r=de(t),i=nr.f(r.is,r.$),a=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])");r=c.get(t).G;var s=this.h(r,n);return nr.c(t,r,function(t){o.D(t,e),Mo||ae(t)||!t.cssText||(o.B(t,s),o.l(t,a,i,n))})},s.prototype.h=function(t,e){t=t.b;var n={};if(!Mo&&t)for(var o=0,r=t[o];o<t.length;r=t[++o])this.j(r,e),n[r.keyframesName]=this.i(r);return n},s.prototype.i=function(t){return function(e){return e.replace(t.f,t.a)}},s.prototype.j=function(t,e){t.f=new RegExp(t.keyframesName,"g"),t.a=t.keyframesName+"-"+e,t.A=t.A||t.selector,t.selector=t.A.replace(t.keyframesName,t.a)},s.prototype.l=function(t,e,n,o){t.A=t.A||t.selector,o="."+o;for(var r,i=t.A.split(","),a=0,s=i.length;a<s&&(r=i[a]);a++)i[a]=r.match(e)?r.replace(n,o):o+" "+r;t.selector=i.join(",")},s.prototype.u=function(t,e,n){var o=t.getAttribute("class")||"",r=o;n&&(r=o.replace(new RegExp("\\s*x-scope\\s*"+n+"\\s*","g")," ")),o!==(r+=(r?" ":"")+"x-scope "+e)&&he(t,r)},s.prototype.v=function(t,e,n,o){e=o?o.textContent||"":this.ia(t,e,n);var r=c.get(t),i=r.a;return i&&!Mo&&i!==o&&(i._useCount--,0>=i._useCount&&i.parentNode&&i.parentNode.removeChild(i)),Mo?r.a?(r.a.textContent=e,o=r.a):e&&(o=ce(e,n,t.shadowRoot,r.b)):o?o.parentNode||(rr&&-1<e.indexOf("@media")&&(o.textContent=e),le(o,null,r.b)):e&&(o=ce(e,n,null,r.b)),o&&(o._useCount=o._useCount||0,r.a!=o&&o._useCount++,r.a=o),o},s.prototype.s=function(t,e){var n=ie(t),o=this;t.textContent=re(n,function(t){var n=t.cssText=t.parsedCssText;t.w&&t.w.cssText&&(n=n.replace(Do.Ha,"").replace(Do.La,""),t.cssText=o.f(n,e))})},a.Object.defineProperties(s.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var ir=new s,ar={},sr=window.customElements;if(sr&&!Mo){var cr=sr.define;sr.define=function(t,e,n){var o=document.createComment(" Shady DOM styles for "+t+" "),r=document.head;return r.insertBefore(o,(Io?Io.nextSibling:null)||r.firstChild),Io=o,ar[t]=o,cr.call(sr,t,e,n)}}if(o.prototype.a=function(t,e,n){for(var o=0;o<n.length;o++){var r=n[o];if(t.F[r]!==e[r])return!1}return!0},o.prototype.b=function(t,e,n,o){var r=this.cache[t]||[];r.push({F:e,styleElement:n,C:o}),r.length>this.c&&r.shift(),this.cache[t]=r},o.prototype.fetch=function(t,e,n){if(t=this.cache[t])for(var o=t.length-1;0<=o;o--){var r=t[o];if(this.a(r,e,n))return r}},!Mo){var lr=new MutationObserver(pe),ur=function(t){lr.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)ur(document);else{var hr=function(){ur(document.body)};window.HTMLImports?window.HTMLImports.whenReady(hr):requestAnimationFrame(function(){if("loading"===document.readyState){var t=function(){hr(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else hr()})}n=function(){pe(lr.takeRecords())}}var dr,pr={},fr=Promise.resolve(),yr=null,mr=window.HTMLImports&&window.HTMLImports.whenReady||null,vr=null,_r=null;e.prototype.Ia=function(){!this.enqueued&&_r&&(this.enqueued=!0,ve(_r))},e.prototype.b=function(t){t.__seenByShadyCSS||(t.__seenByShadyCSS=!0,this.customStyles.push(t),this.Ia())},e.prototype.a=function(t){return t.__shadyCSSCachedStyle?t.__shadyCSSCachedStyle:t.getStyle?t.getStyle():t},e.prototype.c=function(){for(var t=this.customStyles,e=0;e<t.length;e++){var n=t[e];if(!n.__shadyCSSCachedStyle){var o=this.a(n);o&&(o=o.__appliedElement||o,vr&&vr(o),n.__shadyCSSCachedStyle=o)}}return t},e.prototype.addCustomStyle=e.prototype.b,e.prototype.getStyleForCustomStyle=e.prototype.a,e.prototype.processStyles=e.prototype.c,Object.defineProperties(e.prototype,{transformCallback:{get:function(){return vr},set:function(t){vr=t}},validateCallback:{get:function(){return _r},set:function(t){var e=!1;_r||(e=!0),_r=t,e&&this.Ia()}}});var gr=new o;t.prototype.B=function(){n()},t.prototype.K=function(t){return t+"-"+(this.s[t]=(this.s[t]||0)+1)},t.prototype.Sa=function(t){return ie(t)},t.prototype.Ua=function(t){return re(t)},t.prototype.J=function(t){t=t.content.querySelectorAll("style");for(var e=[],n=0;n<t.length;n++){var o=t[n];e.push(o.textContent),o.parentNode.removeChild(o)}return e.join("").trim()},t.prototype.ha=function(t){return(t=t.content.querySelector("style"))?t.getAttribute("css-build")||"":""},t.prototype.prepareTemplate=function(t,e,n){if(!t.f){t.f=!0,t.name=e,t.extends=n,pr[e]=t;var o=this.ha(t),r=this.J(t);n={is:e,extends:n,Ab:o},Mo||nr.b(t.content,e),this.c();var i=ko.test(r)||jo.test(r);ko.lastIndex=0,jo.lastIndex=0,r=Qt(r),i&&Lo&&this.a&&this.a.transformRules(r,e),t._styleAst=r,t.g=o,o=[],Lo||(o=ir.J(t._styleAst)),o.length&&!Lo||(e=this.T(n,t._styleAst,Mo?t.content:null,ar[e]),t.a=e),t.c=o}},t.prototype.T=function(t,e,n,o){if((e=nr.c(t,e)).length)return ce(e,t.is,n,o)},t.prototype.ja=function(t){var e=de(t),n=e.is;e=e.$;var o=ar[n];if(n=pr[n])var r=n._styleAst,i=n.c;return c.set(t,new c(r,o,i,0,e))},t.prototype.H=function(){!this.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(this.a=window.ShadyCSS.ApplyShim,this.a.invalidCallback=fe)},t.prototype.I=function(){var t=this;!this.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(this.b=window.ShadyCSS.CustomStyleInterface,this.b.transformCallback=function(e){t.v(e)},this.b.validateCallback=function(){requestAnimationFrame(function(){(t.b.enqueued||t.i)&&t.f()})})},t.prototype.c=function(){this.H(),this.I()},t.prototype.f=function(){if(this.c(),this.b){var t=this.b.processStyles();this.b.enqueued&&(Lo?this.Qa(t):(this.u(this.g,this.h),this.D(t)),this.b.enqueued=!1,this.i&&!Lo&&this.styleDocument())}},t.prototype.styleElement=function(t,e){var n=de(t).is,o=c.get(t);if(o||(o=this.ja(t)),this.j(t)||(this.i=!0),e&&(o.S=o.S||{},Object.assign(o.S,e)),Lo){if(o.S){e=o.S;for(var r in e)null===r?t.style.removeProperty(r):t.style.setProperty(r,e[r])}((r=pr[n])||this.j(t))&&r&&r.a&&!ye(r)&&((ye(r)||r._applyShimValidatingVersion!==r._applyShimNextVersion)&&(this.c(),this.a&&this.a.transformRules(r._styleAst,n),r.a.textContent=nr.c(t,o.G),me(r)),Mo&&(n=t.shadowRoot)&&(n.querySelector("style").textContent=nr.c(t,o.G)),o.G=r._styleAst)}else this.u(t,o),o.va&&o.va.length&&this.N(t,o)},t.prototype.l=function(t){return(t=t.getRootNode().host)?c.get(t)?t:this.l(t):this.g},t.prototype.j=function(t){return t===this.g},t.prototype.N=function(t,e){var n=de(t).is,o=gr.fetch(n,e.M,e.va),r=o?o.styleElement:null,i=e.C;e.C=o&&o.C||this.K(n),r=ir.v(t,e.M,e.C,r),Mo||ir.u(t,e.C,i),o||gr.b(n,e.M,r,e.C)},t.prototype.u=function(t,e){var n=this.l(t),o=c.get(n);n=Object.create(o.M||null);var r=ir.K(t,e.G);t=ir.T(o.G,t).F,Object.assign(n,r.pb,t,r.ub),this.ia(n,e.S),ir.ha(n),e.M=n},t.prototype.ia=function(t,e){for(var n in e){var o=e[n];(o||0===o)&&(t[n]=o)}},t.prototype.styleDocument=function(t){this.styleSubtree(this.g,t)},t.prototype.styleSubtree=function(t,e){var n=t.shadowRoot;if((n||this.j(t))&&this.styleElement(t,e),e=n&&(n.children||n.childNodes))for(t=0;t<e.length;t++)this.styleSubtree(e[t]);else if(t=t.children||t.childNodes)for(e=0;e<t.length;e++)this.styleSubtree(t[e])},t.prototype.Qa=function(t){for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);n&&this.Pa(n)}},t.prototype.D=function(t){for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);n&&ir.s(n,this.h.M)}},t.prototype.v=function(t){var e=this,n=ie(t);se(n,function(t){Mo?nr.B(t):nr.J(t),Lo&&(e.c(),e.a&&e.a.transformRule(t))}),Lo?t.textContent=re(n):this.h.G.rules.push(n)},t.prototype.Pa=function(t){if(Lo&&this.a){var e=ie(t);this.c(),this.a.transformRules(e),t.textContent=re(e)}},t.prototype.getComputedStyleValue=function(t,e){var n;return Lo||(n=(c.get(t)||c.get(this.l(t))).M[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.prototype.Ta=function(t,e){var n=t.getRootNode();if(e=e?e.split(/\s/):[],!(n=n.host&&n.host.localName)){var o=t.getAttribute("class");if(o){o=o.split(/\s/);for(var r=0;r<o.length;r++)if(o[r]===nr.a){n=o[r+1];break}}}n&&e.push(nr.a,n),Lo||(n=c.get(t))&&n.C&&e.push(ir.g,n.C),he(t,e.join(" "))},t.prototype.Ra=function(t){return c.get(t)},t.prototype.flush=t.prototype.B,t.prototype.prepareTemplate=t.prototype.prepareTemplate,t.prototype.styleElement=t.prototype.styleElement,t.prototype.styleDocument=t.prototype.styleDocument,t.prototype.styleSubtree=t.prototype.styleSubtree,t.prototype.getComputedStyleValue=t.prototype.getComputedStyleValue,t.prototype.setElementClass=t.prototype.Ta,t.prototype._styleInfoForNode=t.prototype.Ra,t.prototype.transformCustomStyleForDocument=t.prototype.v,t.prototype.getStyleAst=t.prototype.Sa,t.prototype.styleAstToString=t.prototype.Ua,t.prototype.flushCustomStyles=t.prototype.f,Object.defineProperties(t.prototype,{nativeShadow:{get:function(){return Mo}},nativeCss:{get:function(){return Lo}}});var br=new t;if(window.ShadyCSS)var wr=window.ShadyCSS.ApplyShim,Er=window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={ScopingShim:br,prepareTemplate:function(t,e,n){br.f(),br.prepareTemplate(t,e,n)},styleSubtree:function(t,e){br.f(),br.styleSubtree(t,e)},styleElement:function(t){br.f(),br.styleElement(t)},styleDocument:function(t){br.f(),br.styleDocument(t)},getComputedStyleValue:function(t,e){return br.getComputedStyleValue(t,e)},nativeCss:Lo,nativeShadow:Mo},wr&&(window.ShadyCSS.ApplyShim=wr),Er&&(window.ShadyCSS.CustomStyleInterface=Er);var Nr=window.customElements,Cr=window.HTMLImports,Sr=window.HTMLTemplateElement;if(window.WebComponents=window.WebComponents||{},Nr&&Nr.polyfillWrapFlushCallback){var Tr,Or=function(){if(Tr){Sr.V&&Sr.V(window.document);var t=Tr;return Tr=null,t(),!0}},xr=Cr.whenReady;Nr.polyfillWrapFlushCallback(function(t){Tr=t,xr(Or)}),Cr.whenReady=function(t){xr(function(){Or()?Cr.whenReady(t):t()})}}Cr.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var Ar=document.createElement("style");Ar.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Dr=document.querySelector("head");Dr.insertBefore(Ar,Dr.firstChild)}()}.call(this);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output