@theoplayer/web-ui 2.0.0-beta.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(){"use strict";if(void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var e,n=HTMLElement;window.HTMLElement=({HTMLElement:function(){return Reflect.construct(n,[],this.constructor)}}).HTMLElement,HTMLElement.prototype=n.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,n)}function r(e,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function o(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(function(){function e(e){var n=0;return function(){return n<e.length?{done:!1,value:e[n++]}:{done:!0}}}var n="function"==typeof Object.defineProperties?Object.defineProperty:function(e,n,r){return e==Array.prototype||e==Object.prototype||(e[n]=r.value),e},i=function(e){e=["object"==("undefined"==typeof globalThis?"undefined":o(globalThis))&&globalThis,e,"object"==("undefined"==typeof window?"undefined":o(window))&&window,"object"==("undefined"==typeof self?"undefined":o(self))&&self,"object"==("undefined"==typeof global?"undefined":o(global))&&global];for(var n=0;n<e.length;++n){var r=e[n];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function s(e,r){if(r)e:{var o=i;e=e.split(".");for(var s=0;s<e.length-1;s++){var l=e[s];if(!(l in o))break e;o=o[l]}(r=r(s=o[e=e[e.length-1]]))!=s&&null!=r&&n(o,e,{configurable:!0,writable:!0,value:r})}}function l(n){var r="undefined"!=typeof Symbol&&Symbol.iterator&&n[Symbol.iterator];return r?r.call(n):{next:e(n)}}function c(e){if(!r(e,Array)){e=l(e);for(var n,o=[];!(n=e.next()).done;)o.push(n.value);e=o}return e}if(s("Symbol",function(e){function o(e,r){this.g=e,n(this,"description",{configurable:!0,writable:!0,value:r})}if(e)return e;o.prototype.toString=function(){return this.g};var i=0;return function e(n){if(r(this,e))throw TypeError("Symbol is not a constructor");return new o("jscomp_symbol_"+(n||"")+"_"+i++,n)}}),s("Symbol.iterator",function(r){if(r)return r;r=Symbol("Symbol.iterator");for(var o="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),s=0;s<o.length;s++){var l=i[o[s]];"function"==typeof l&&"function"!=typeof l.prototype[r]&&n(l.prototype,r,{configurable:!0,writable:!0,value:function(){var n;return(n={next:n=e(this)})[Symbol.iterator]=function(){return this},n}})}return r}),"function"==typeof Object.setPrototypeOf)K=Object.setPrototypeOf;else{e:{var u={};try{u.__proto__={a:!0},J=u.a;break e}catch(e){}J=!1}K=J?function(e,n){if(e.__proto__=n,e.__proto__!==n)throw TypeError(e+" is not extensible");return e}:null}var h=K;function d(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function f(e){if(e.u)throw TypeError("Generator is already running");e.u=!0}function p(e,n){e.i={ab:n,fb:!0},e.g=e.ea}function _(e,n){return e.g=3,{value:n}}function m(e){this.g=new d,this.h=e}function v(e,n,o,i){try{var s=n.call(e.g.h,o);if(!r(s,Object))throw TypeError("Iterator result "+s+" is not an object");if(!s.done)return e.g.u=!1,s;var l=s.value}catch(n){return e.g.h=null,p(e.g,n),y(e)}return e.g.h=null,i.call(e.g,l),y(e)}function y(e){for(;e.g.g;)try{var n=e.h(e.g);if(n)return e.g.u=!1,{value:n.value,done:!1}}catch(n){e.g.Oa=void 0,p(e.g,n)}if(e.g.u=!1,e.g.i){if(n=e.g.i,e.g.i=null,n.fb)throw n.ab;return{value:n.return,done:!0}}return{value:void 0,done:!0}}function g(e){this.next=function(n){return f(e.g),e.g.h?n=v(e,e.g.h.next,n,e.g.O):(e.g.O(n),n=y(e)),n},this.throw=function(n){return f(e.g),e.g.h?n=v(e,e.g.h.throw,n,e.g.O):(p(e.g,n),n=y(e)),n},this.return=function(n){var r;return f(e.g),(r=e.g.h)?v(e,"return"in r?r.return:function(e){return{value:e,done:!0}},n,e.g.return):(e.g.return(n),y(e))},this[Symbol.iterator]=function(){return this}}function b(e,n){return n=new g(new m(n)),h&&e.prototype&&h(n,e.prototype),n}d.prototype.O=function(e){this.Oa=e},d.prototype.return=function(e){this.i={return:e},this.g=this.ea},Array.from||(Array.from=function(e){return[].slice.call(e)}),Object.assign||(Object.assign=function(e){for(var n,r=[].slice.call(arguments,1),o=0;o<r.length;o++)if(n=r[o])for(var i=Object.keys(n),s=0;s<i.length;s++){var l=i[s];e[l]=n[l]}return e});var w=setTimeout;function E(){}function N(e){if(!r(this,N))throw TypeError("Promises must be constructed via new");if("function"!=typeof e)throw TypeError("not a function");this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],x(e,this)}function S(e,n){for(;3===e.N;)e=e.I;0===e.N?e.ba.push(n):(e.Ha=!0,M(function(){var r=1===e.N?n.hb:n.ib;if(null===r)(1===e.N?C:T)(n.promise,e.I);else{try{var o=r(e.I)}catch(e){T(n.promise,e);return}C(n.promise,o)}}))}function C(e,n){try{if(n===e)throw TypeError("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":o(n))||"function"==typeof n)){var i=n.then;if(r(n,N)){e.N=3,e.I=n,O(e);return}if("function"==typeof i)return void x(function(){i.apply(n,arguments)},e)}e.N=1,e.I=n,O(e)}catch(n){T(e,n)}}function T(e,n){e.N=2,e.I=n,O(e)}function O(e){2===e.N&&0===e.ba.length&&M(function(){e.Ha||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e.I)});for(var n=0,r=e.ba.length;n<r;n++)S(e,e.ba[n]);e.ba=null}function D(e,n,r){this.hb="function"==typeof e?e:null,this.ib="function"==typeof n?n:null,this.promise=r}function x(e,n){var r=!1;try{e(function(e){r||(r=!0,C(n,e))},function(e){r||(r=!0,T(n,e))})}catch(e){r||(r=!0,T(n,e))}}function P(e){return e&&"object"===(void 0===e?"undefined":o(e))&&e.constructor===N?e:new N(function(n){n(e)})}N.prototype.catch=function(e){return this.then(null,e)},N.prototype.then=function(e,n){var r=new this.constructor(E);return S(this,new D(e,n,r)),r},N.prototype.finally=function(e){var n=this.constructor;return this.then(function(r){return n.resolve(e()).then(function(){return r})},function(r){return n.resolve(e()).then(function(){return n.reject(r)})})};var M="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){w(e,0)};if(!window.Promise){window.Promise=N,N.prototype.then=N.prototype.then,N.all=function(e){return new N(function(n,r){if(!e||void 0===e.length)return r(TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return n([]);for(var s=i.length,l=0;l<i.length;l++)!function e(l,c){try{if(c&&("object"===(void 0===c?"undefined":o(c))||"function"==typeof c)){var u=c.then;if("function"==typeof u)return void u.call(c,function(n){e(l,n)},r)}i[l]=c,0==--s&&n(i)}catch(e){r(e)}}(l,i[l])})},N.race=function(e){return new N(function(n,r){if(!e||void 0===e.length)return r(TypeError("Promise.race accepts an array"));for(var o=0,i=e.length;o<i;o++)P(e[o]).then(n,r)})},N.resolve=P,N.reject=function(e){return new N(function(n,r){r(e)})};var A=document.createTextNode(""),L=[];new MutationObserver(function(){for(var e=L.length,n=0;n<e;n++)L[n]();L.splice(0,e)}).observe(A,{characterData:!0}),M=function(e){L.push(e),A.textContent=0<A.textContent.length?"":"a"}}!function(e,n){if(!(n in e)){var i=("undefined"==typeof global?"undefined":o(global))===(void 0===i?"undefined":o(i))?window:global,s=0,l=String(Math.random()),c="__\x01symbol@@"+l,u=e.getOwnPropertyNames,h=e.getOwnPropertyDescriptor,d=e.create,f=e.keys,p=e.freeze||e,_=e.defineProperty,m=e.defineProperties,v=h(e,"getOwnPropertyNames"),y=e.prototype,g=y.hasOwnProperty,b=y.propertyIsEnumerable,w=y.toString,E=function(e,n,r){g.call(e,c)||_(e,c,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[c]["@@"+n]=r},N=function(e,n){var r=d(e);return u(n).forEach(function(e){O.call(n,e)&&L(r,e,n[e])}),r},S=function(){},C=function(e){return e!=c&&!g.call(P,e)},T=function(e){return e!=c&&g.call(P,e)},O=function(e){var n=String(e);return T(n)?g.call(this,n)&&!!this[c]&&this[c]["@@"+n]:b.call(this,e)},D=function(n){return _(y,n,{enumerable:!1,configurable:!0,get:S,set:function(e){k(this,n,{enumerable:!1,configurable:!0,writable:!0,value:e}),E(this,n,!0)}}),P[n]=_(e(n),"constructor",M),p(P[n])},x=function e(n){if(r(this,e))throw TypeError("Symbol is not a constructor");return D("__\x01symbol:".concat(n||"",l,++s))},P=d(null),M={value:x},A=function(e){return P[e]},L=function(e,n,r){var o=String(n);if(T(o)){if(n=k,r.enumerable){var i=d(r);i.enumerable=!1}else i=r;n(e,o,i),E(e,o,!!r.enumerable)}else _(e,n,r);return e},j=function(e){return u(e).filter(T).map(A)};v.value=L,_(e,"defineProperty",v),v.value=j,_(e,n,v),v.value=function(e){return u(e).filter(C)},_(e,"getOwnPropertyNames",v),v.value=function(e,n){var r=j(n);return r.length?f(n).concat(r).forEach(function(r){O.call(n,r)&&L(e,r,n[r])}):m(e,n),e},_(e,"defineProperties",v),v.value=O,_(y,"propertyIsEnumerable",v),v.value=x,_(i,"Symbol",v),v.value=function(e){return(e="__\x01symbol:".concat("__\x01symbol:",e,l))in y?P[e]:D(e)},_(x,"for",v),v.value=function(e){if(C(e))throw TypeError(e+" is not a symbol");if(g.call(P,e)&&"__\x01symbol:"===(e=e.slice(10)).slice(0,10)&&(e=e.slice(10))!==l)return 0<(e=e.slice(0,e.length-l.length)).length?e:void 0},_(x,"keyFor",v),v.value=function(e,n){var r=h(e,n);return r&&T(n)&&(r.enumerable=O.call(e,n)),r},_(e,"getOwnPropertyDescriptor",v),v.value=function(e,n){return 1==arguments.length||void 0===n?d(e):N(e,n)},_(e,"create",v),v.value=function(){var e=w.call(this);return"[object String]"===e&&T(this)?"[object Symbol]":e},_(y,"toString",v);try{if(!0===d(_({},"__\x01symbol:",{get:function(){return _(this,"__\x01symbol:",{value:!0})["__\x01symbol:"]}}))["__\x01symbol:"])var k=_;else throw"IE11"}catch(e){k=function(e,n,r){var o=h(y,n);delete y[n],_(e,n,r),_(y,n,o)}}}}(Object,"getOwnPropertySymbols"),q=Object,W=Symbol,V=q.defineProperty,z=($=q.prototype).toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(e){e in W||(V(W,e,{value:W(e)}),"toStringTag"===e&&((G=q.getOwnPropertyDescriptor($,"toString")).value=function(){var e=z.call(this),n=null==this?this:this[W.toStringTag];return null==n?e:"[object "+n+"]"},V($,"toString",G)))}),function(e,n,r){function o(){return this}n[e]||(n[e]=function(){var n=0,r=this,i={next:function(){var e=r.length<=n;return e?{done:e}:{done:e,value:r[n++]}}};return i[e]=o,i}),r[e]||(r[e]=function(){var n=String.fromCodePoint,r=this,i=0,s=r.length,l={next:function(){var e=s<=i,o=e?"":n(r.codePointAt(i));return i+=o.length,e?{done:e}:{done:e,value:o}}};return l[e]=o,l})}(Symbol.iterator,Array.prototype,String.prototype);var j=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":j.call(this)},Object.keys=function(e){return Object.getOwnPropertyNames(e).filter(function(n){return(n=Object.getOwnPropertyDescriptor(e,n))&&n.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function e(){var n,r=this;return b(e,function(e){if(1==e.g&&(n=0),3!=e.g)return n<r.length?e=_(e,r[n]):(e.g=0,e=void 0),e;n++,e.g=2})}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function e(){var n,r,o=this;return b(e,function(e){if(1==e.g&&(n=[],o.forEach(function(e){n.push(e)}),r=0),3!=e.g)return r<n.length?e=_(e,n[r]):(e.g=0,e=void 0),e;r++,e.g=2})}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function e(){var n,r,o=this;return b(e,function(e){if(1==e.g&&(n=[],o.forEach(function(e,r){n.push([r,e])}),r=0),3!=e.g)return r<n.length?e=_(e,n[r]):(e.g=0,e=void 0),e;r++,e.g=2})});var k=document.createEvent("Event");if(k.initEvent("foo",!0,!0),k.preventDefault(),!k.defaultPrevented){var R=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(R.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var F=/Trident/.test(navigator.userAgent);if(!window.Event||F&&"function"!=typeof window.Event){var H=window.Event;if(window.Event=function(e,n){n=n||{};var r=document.createEvent("Event");return r.initEvent(e,!!n.bubbles,!!n.cancelable),r},H){for(var I in H)window.Event[I]=H[I];window.Event.prototype=H.prototype}}if((!window.CustomEvent||F&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,n){n=n||{};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,!!n.bubbles,!!n.cancelable,n.detail),r},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||F&&"function"!=typeof window.MouseEvent){var B=window.MouseEvent;if(window.MouseEvent=function(e,n){n=n||{};var r=document.createEvent("MouseEvent");return r.initMouseEvent(e,!!n.bubbles,!!n.cancelable,n.view||window,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget),r},B)for(var U in B)window.MouseEvent[U]=B[U];window.MouseEvent.prototype=B.prototype}var q,W,G,V,$,z,X,K,J,Y,Z=function(){function e(){i++}var n=!1,r=!1,o={get capture(){return n=!0},get once(){return r=!0}},i=0,s=document.createElement("div");s.addEventListener("click",e,o);var l=n&&r;return l&&(s.dispatchEvent(new Event("click")),s.dispatchEvent(new Event("click")),l=1==i),s.removeEventListener("click",e,o),l}(),Q=null!=(Y=window.EventTarget)?Y:window.Node;if(!Z&&"addEventListener"in Q.prototype){var ee=function(e){if(e&&("object"===(void 0===e?"undefined":o(e))||"function"==typeof e))n=!!e.capture,e=!!e.once;else{var n=!!e;e=!1}return{capture:n,once:e}},et=Q.prototype.addEventListener,en=Q.prototype.removeEventListener,er=new WeakMap,eo=new WeakMap,ei=function(e,n,r){var o=r?er:eo;return void 0===(r=o.get(e))&&o.set(e,r=new Map),void 0===(e=r.get(n))&&r.set(n,e=new WeakMap),e};Q.prototype.addEventListener=function(e,n,r){var o=this;if(null!=n){var i=(r=ee(r)).capture;r=r.once;var s=ei(this,e,i);if(!s.has(n)){var l=r?function(r){return(s.delete(n),en.call(o,e,l,i),"function"==typeof n)?n.call(o,r):"function"==typeof(null==n?void 0:n.handleEvent)?n.handleEvent(r):void 0}:null;s.set(n,l),et.call(this,e,null!=l?l:n,i)}}},Q.prototype.removeEventListener=function(e,n,r){if(null!=n){var o=ei(this,e,r=ee(r).capture),i=o.get(n);void 0!==i&&(o.delete(n),en.call(this,e,null!=i?i:n,r))}}}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var e=(this.ownerDocument||this).querySelector("base[href]");return e&&e.href||window.location.href},configurable:!0,enumerable:!0});var ea,es,el=Element.prototype,ec=null!=(ea=Object.getOwnPropertyDescriptor(el,"attributes"))?ea:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),eu=null!=(es=null==ec?void 0:ec.get)?es:function(){return this.attributes},eh=Array.prototype.map;el.hasOwnProperty("getAttributeNames")||(el.getAttributeNames=function(){return eh.call(eu.call(this),function(e){return e.name})});var ed,ef=Element.prototype;ef.hasOwnProperty("matches")||(ef.matches=null!=(ed=ef.webkitMatchesSelector)?ed:ef.msMatchesSelector);var ep=Node.prototype.appendChild;function e_(e){(e=e.prototype).hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(r=(n=l(n)).next();!r.done;r=n.next())r=r.value,ep.call(this,"string"==typeof r?document.createTextNode(r):r)}})}e_(Document),e_(DocumentFragment),e_(Element);var em,ev,ey=Node.prototype.insertBefore,eg=null!=(ev=null==(em=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:em.get)?ev:function(){return this.firstChild};function eb(e){(e=e.prototype).hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=eg.call(this),n=l(n);for(var o=n.next();!o.done;o=n.next())o=o.value,ey.call(this,"string"==typeof o?document.createTextNode(o):o,r)}})}eb(Document),eb(DocumentFragment),eb(Element);var ew,eE,eN=Node.prototype.appendChild,eS=Node.prototype.removeChild,eC=null!=(eE=null==(ew=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:ew.get)?eE:function(){return this.firstChild};function eT(e){(e=e.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(e,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(;null!==(r=eC.call(this));)eS.call(this,r);for(r=(n=l(n)).next();!r.done;r=n.next())r=r.value,eN.call(this,"string"==typeof r?document.createTextNode(r):r)}})}eT(Document),eT(DocumentFragment),eT(Element);var eO,eD,ex,eP,eM=Node.prototype.insertBefore,eA=null!=(eD=null==(eO=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:eO.get)?eD:function(){return this.parentNode},eL=null!=(eP=null==(ex=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))?void 0:ex.get)?eP:function(){return this.nextSibling};function ej(e){(e=e.prototype).hasOwnProperty("after")||Object.defineProperty(e,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=eA.call(this))){var o=eL.call(this);n=l(n);for(var i=n.next();!i.done;i=n.next())i=i.value,eM.call(r,"string"==typeof i?document.createTextNode(i):i,o)}}})}ej(CharacterData),ej(Element);var ek,eR,eF=Node.prototype.insertBefore,eH=null!=(eR=null==(ek=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:ek.get)?eR:function(){return this.parentNode};function eI(e){(e=e.prototype).hasOwnProperty("before")||Object.defineProperty(e,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=eH.call(this))){n=l(n);for(var o=n.next();!o.done;o=n.next())o=o.value,eF.call(r,"string"==typeof o?document.createTextNode(o):o,this)}}})}eI(CharacterData),eI(Element);var eB,eU,eq=Node.prototype.removeChild,eW=null!=(eU=null==(eB=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:eB.get)?eU:function(){return this.parentNode};function eG(e){(e=e.prototype).hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=eW.call(this);e&&eq.call(e,this)}})}eG(CharacterData),eG(Element);var eV,e$,ez=Node.prototype.insertBefore,eX=Node.prototype.removeChild,eK=null!=(e$=null==(eV=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:eV.get)?e$:function(){return this.parentNode};function eJ(e){(e=e.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(e,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=eK.call(this))){n=l(n);for(var o=n.next();!o.done;o=n.next())o=o.value,ez.call(r,"string"==typeof o?document.createTextNode(o):o,this);eX.call(r,this)}}})}eJ(CharacterData),eJ(Element);var eY=window.Element.prototype,eZ=window.HTMLElement.prototype,eQ=window.SVGElement.prototype;!eZ.hasOwnProperty("classList")||eY.hasOwnProperty("classList")||eQ.hasOwnProperty("classList")||Object.defineProperty(eY,"classList",Object.getOwnPropertyDescriptor(eZ,"classList"));var e0=Element.prototype,e1=Element.prototype.hasAttribute,e2=Element.prototype.setAttribute,e3=Element.prototype.removeAttribute;e0.hasOwnProperty("toggleAttribute")||(e0.toggleAttribute=function(e,n){return void 0===n?e1.call(this,e)?(e3.call(this,e),!1):(e2.call(this,e,""),!0):n?(e1.call(this,e)||e2.call(this,e,""),!0):(e3.call(this,e),!1)});var e6=document.createElement("style");e6.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var e9=document.querySelector("head");e9.insertBefore(e6,e9.firstChild);var e4=window;e4.WebComponents=e4.WebComponents||{flags:{}};var e8=document.querySelector('script[src*="webcomponents-bundle"]'),e7=/wc-(.+)/,e5={};if(!e5.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var n;(e=e.split("="))[0]&&(n=e[0].match(e7))&&(e5[n[1]]=e[1]||!0)}),e8)for(var te=0,tt=void 0;tt=e8.attributes[te];te++)"src"!==tt.name&&(e5[tt.name]=tt.value||!0);var tn={};e5.log&&e5.log.split&&e5.log.split(",").forEach(function(e){tn[e]=!0}),e5.log=tn}e4.WebComponents.flags=e5;var tr=e5.shadydom;if(tr){e4.ShadyDOM=e4.ShadyDOM||{},e4.ShadyDOM.force=tr;var to=e5.noPatch;e4.ShadyDOM.noPatch="true"===to||to}var ti=e5.register||e5.ce;function ta(){}function ts(e){return e.__shady||(e.__shady=new ta),e.__shady}function tl(e){return e&&e.__shady}ti&&window.customElements&&(e4.customElements.forcePolyfill=ti),function(){function e(){}function n(e,n){if(!e.childNodes.length)return[];switch(e.nodeType){case Node.DOCUMENT_NODE:return y.call(e,n);case Node.DOCUMENT_FRAGMENT_NODE:return g.call(e,n);default:return v.call(e,n)}}var o="undefined"==typeof HTMLTemplateElement,i=!r(document.createDocumentFragment().cloneNode(),DocumentFragment),s=!1;/Trident/.test(navigator.userAgent)&&function(){function e(e,n){if(r(e,DocumentFragment))for(var i;i=e.firstChild;)o.call(this,i,n);else o.call(this,e,n);return e}s=!0;var n=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){return e=n.call(this,e),r(this,DocumentFragment)&&(e.__proto__=DocumentFragment.prototype),e},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var o=Node.prototype.insertBefore;Node.prototype.insertBefore=e;var i=Node.prototype.appendChild;Node.prototype.appendChild=function(n){return r(n,DocumentFragment)?e.call(this,n,null):i.call(this,n),n};var l=Node.prototype.removeChild,c=Node.prototype.replaceChild;Node.prototype.replaceChild=function(n,o){return r(n,DocumentFragment)?(e.call(this,n,o),l.call(this,o)):c.call(this,n,o),o},Document.prototype.createDocumentFragment=function(){var e=this.createElement("df");return e.__proto__=DocumentFragment.prototype,e};var u=Document.prototype.importNode;Document.prototype.importNode=function(e,n){return n=u.call(this,e,n||!1),r(e,DocumentFragment)&&(n.__proto__=DocumentFragment.prototype),n}}();var l=Node.prototype.cloneNode,c=Document.prototype.createElement,u=Document.prototype.importNode,h=Node.prototype.removeChild,d=Node.prototype.appendChild,f=Node.prototype.replaceChild,p=DOMParser.prototype.parseFromString,_=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{set:function(e){this.innerHTML=e}},m=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},v=Element.prototype.querySelectorAll,y=Document.prototype.querySelectorAll,g=DocumentFragment.prototype.querySelectorAll,b=function(){if(!o){var e=document.createElement("template"),n=document.createElement("template");return n.content.appendChild(document.createElement("div")),e.content.appendChild(n),0===(e=e.cloneNode(!0)).content.childNodes.length||0===e.content.firstChild.content.childNodes.length||i}}();if(o){var w=document.implementation.createHTMLDocument("template"),E=!0,N=document.createElement("style");N.textContent="template{display:none;}";var S=document.head;S.insertBefore(N,S.firstElementChild),e.prototype=Object.create(HTMLElement.prototype);var C=!document.createElement("div").hasOwnProperty("innerHTML");e.Z=function(n){if(!n.content&&n.namespaceURI===document.documentElement.namespaceURI){n.content=w.createDocumentFragment();for(var r;r=n.firstChild;)d.call(n.content,r);if(C)n.__proto__=e.prototype;else if(n.cloneNode=function(n){return e.va(this,n)},E)try{O(n),D(n)}catch(e){E=!1}e.bootstrap(n.content)}};var T={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},O=function(n){Object.defineProperty(n,"innerHTML",{get:function(){return j(this)},set:function(n){var r=T[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(n)||["",""])[1].toLowerCase()];if(r)for(var o=0;o<r.length;o++)n="<"+r[o]+">"+n+"</"+r[o]+">";for(w.body.innerHTML=n,e.bootstrap(w);this.content.firstChild;)h.call(this.content,this.content.firstChild);if(n=w.body,r)for(o=0;o<r.length;o++)n=n.lastChild;for(;n.firstChild;)d.call(this.content,n.firstChild)},configurable:!0})},D=function(e){Object.defineProperty(e,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(e){if(this.parentNode){for(w.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();w.body.firstChild;)d.call(e,w.body.firstChild);f.call(this.parentNode,e,this)}else throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.")},configurable:!0})};O(e.prototype),D(e.prototype),e.bootstrap=function(r){r=n(r,"template");for(var o,i=0,s=r.length;i<s&&(o=r[i]);i++)e.Z(o)},document.addEventListener("DOMContentLoaded",function(){e.bootstrap(document)}),Document.prototype.createElement=function(){var n=c.apply(this,arguments);return"template"===n.localName&&e.Z(n),n},DOMParser.prototype.parseFromString=function(){var n=p.apply(this,arguments);return e.bootstrap(n),n},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(n){_.set.call(this,n),e.bootstrap(this)},configurable:!0,enumerable:!0});var x=/[&\u00A0"]/g,P=/[&\u00A0<>]/g,M=function(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"\xa0":return"&nbsp;"}},A=(N=function(e){for(var n={},r=0;r<e.length;r++)n[e[r]]=!0;return n})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),L=N("style script xmp iframe noembed noframes plaintext noscript".split(" ")),j=function(e,n){"template"===e.localName&&(e=e.content);for(var r,o="",i=n?n(e):m.get.call(e),s=0,l=i.length;s<l&&(r=i[s]);s++){e:{var c=r,u=e;switch(c.nodeType){case Node.ELEMENT_NODE:for(var h=c.localName,d="<"+h,f=c.attributes,p=0;u=f[p];p++)d+=" "+u.name+'="'+u.value.replace(x,M)+'"';d+=">",c=A[h]?d:d+j(c,n)+"</"+h+">";break e;case Node.TEXT_NODE:c=c.data,c=u&&L[u.localName]?c:c.replace(P,M);break e;case Node.COMMENT_NODE:c="\x3c!--"+c.data+"--\x3e";break e;default:throw window.console.error(c),Error("not implemented")}}o+=c}return o}}if(o||b){e.va=function(e,n){var r=l.call(e,!1);return this.Z&&this.Z(r),n&&(d.call(r.content,l.call(e.content,!0)),k(r.content,e.content)),r};var k=function(r,o){if(o.querySelectorAll&&0!==(o=n(o,"template")).length){r=n(r,"template");for(var i,s,l=0,c=r.length;l<c;l++)s=o[l],i=r[l],e&&e.Z&&e.Z(s),f.call(i.parentNode,R.call(s,!0),i)}},R=Node.prototype.cloneNode=function(n){if(!s&&i&&r(this,DocumentFragment))if(!n)return this.ownerDocument.createDocumentFragment();else var o=F.call(this.ownerDocument,this,!0);else o=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?e.va(this,n):l.call(this,n);return n&&k(o,this),o},F=Document.prototype.importNode=function(r,o){if(o=o||!1,"template"===r.localName)return e.va(r,o);var i=u.call(this,r,o);if(o){k(i,r),r=n(i,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var s,l=0;l<r.length;l++){s=r[l],(o=c.call(document,"script")).textContent=s.textContent;for(var h,d=s.attributes,p=0;p<d.length;p++)h=d[p],o.setAttribute(h.name,h.value);f.call(s.parentNode,o,s)}}return i}}o&&(window.HTMLTemplateElement=e)}(),ta.prototype.toJSON=function(){return{}};var tc=window.ShadyDOM||{};tc.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var tu=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");tc.D=!!(tu&&tu.configurable&&tu.get),tc.Ba=tc.force||!tc.cb,tc.J=tc.noPatch||!1,tc.ha=tc.preferPerformance,tc.Da="on-demand"===tc.J;var th=tc.querySelectorImplementation;function td(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function tf(e){return(e=tl(e))&&void 0!==e.firstChild}function tp(e){return r(e,ShadowRoot)}function t_(e){return(e=(e=tl(e))&&e.root)&&r2(e)}tc.wb=-1<["native","selectorEngine"].indexOf(th)?th:void 0,tc.Ra=navigator.userAgent.match("Trident");var tm=Element.prototype,tv=tm.matches||tm.matchesSelector||tm.mozMatchesSelector||tm.msMatchesSelector||tm.oMatchesSelector||tm.webkitMatchesSelector,ty=document.createTextNode(""),tg=0,tb=[];function tw(e){tb.push(e),ty.textContent=tg++}new MutationObserver(function(){for(;tb.length;)try{tb.shift()()}catch(e){throw ty.textContent=tg++,e}}).observe(ty,{characterData:!0});var tE=document.contains?function(e,n){return e.__shady_native_contains(n)}:function(e,n){return e===n||e.documentElement&&e.documentElement.__shady_native_contains(n)};function tN(e,n){for(;n;){if(n==e)return!0;n=n.__shady_parentNode}return!1}function tS(e){for(var n=e.length-1;0<=n;n--){var r=e[n],o=r.getAttribute("id")||r.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=r)}return e.item=function(n){return e[n]},e.namedItem=function(n){if("length"!==n&&isNaN(n)&&e[n])return e[n];for(var r=l(e),o=r.next();!o.done;o=r.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==n)return o;return null},e}function tC(e){var n=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)n.push(e);return n}function tT(e){var n=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)n.push(e);return n}function tO(e,n,r){if(r.configurable=!0,r.value)e[n]=r.value;else try{Object.defineProperty(e,n,r)}catch(e){}}function tD(e,n,r,o){for(var i in r=void 0===r?"":r,n)o&&0<=o.indexOf(i)||tO(e,r+i,n[i])}function tx(e,n){for(var r in n)r in e&&tO(e,r,n[r])}function tP(e){var n={};return Object.getOwnPropertyNames(e).forEach(function(r){n[r]=Object.getOwnPropertyDescriptor(e,r)}),n}function tM(e,n){for(var r,o=Object.getOwnPropertyNames(n),i=0;i<o.length;i++)e[r=o[i]]=n[r]}function tA(e){return r(e,Node)?e:document.createTextNode(""+e)}function tL(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(1===n.length)return tA(n[0]);r=document.createDocumentFragment(),n=l(n);for(var o=n.next();!o.done;o=n.next())r.appendChild(tA(o.value));return r}function tj(e){var n;for(n=void 0===n?1:n;0<n;n--)e=e.reduce(function(e,n){return Array.isArray(n)?e.push.apply(e,c(n)):e.push(n),e},[]);return e}var tk,tR=[];function tF(e){tk||(tk=!0,tw(tH)),tR.push(e)}function tH(){tk=!1;for(var e=!!tR.length;tR.length;)tR.shift()();return e}function tI(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}tH.list=tR,tI.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.qa.forEach(function(n){n(e)})}},tI.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var tB=/[&\u00A0"]/g,tU=/[&\u00A0<>]/g;function tq(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"\xa0":return"&nbsp;"}}function tW(e){for(var n={},r=0;r<e.length;r++)n[e[r]]=!0;return n}var tG=tW("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),tV=tW("style script xmp iframe noembed noframes plaintext noscript".split(" "));function t$(e,n){"template"===e.localName&&(e=e.content);for(var r="",o=n?n(e):e.childNodes,i=0,s=o.length,l=void 0;i<s&&(l=o[i]);i++){e:{var c=l,u=e;switch(c.nodeType){case Node.ELEMENT_NODE:u=c.localName;for(var h,d="<"+u,f=c.attributes,p=0;h=f[p];p++)d+=" "+h.name+'="'+h.value.replace(tB,tq)+'"';d+=">",c=tG[u]?d:d+t$(c,n)+"</"+u+">";break e;case Node.TEXT_NODE:c=c.data,c=u&&tV[u.localName]?c:c.replace(tU,tq);break e;case Node.COMMENT_NODE:c="\x3c!--"+c.data+"--\x3e";break e;default:throw window.console.error(c),Error("not implemented")}}r+=c}return r}var tz=tc.D,tX={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},tK={};function tJ(e){tK[e]=function(n){return n["__shady_native_"+e]}}function tY(e,n){for(var r in tD(e,n,"__shady_native_"),n)tJ(r)}function tZ(e,n){n=void 0===n?[]:n;for(var r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(e,o);i&&(Object.defineProperty(e,"__shady_native_"+o,i),i.value?tX[o]||(tX[o]=i.value):tJ(o))}}var tQ=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),t0=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),t1=document.implementation.createHTMLDocument("inert");function t2(e){for(var n;n=e.__shady_native_firstChild;)e.__shady_native_removeChild(n)}var t3=["firstElementChild","lastElementChild","children","childElementCount"],t6=["querySelector","querySelectorAll","append","prepend","replaceChildren"],t9=tP({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),t4=tP({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){this.__shady_innerHTML=a}}),t8=tP({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(a){this.__shady_className=a}});function t7(e){for(var n in e){var r=e[n];r&&(r.enumerable=!1)}}t7(t9),t7(t4),t7(t8);var t5=tc.D||!0===tc.J,ne=t5?function(){}:function(e){var n=ts(e);n.Ta||(n.Ta=!0,tx(e,t8))},nt=t5?function(){}:function(e){var n=ts(e);n.Sa||(n.Sa=!0,tx(e,t9),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!tc.J||tx(e,t4))},nn="__eventWrappers"+Date.now(),nr=(rq=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return rq.get.call(e)}:null,no=function(){function e(){}var n=!1,r={get capture(){return n=!0,!1}};return window.addEventListener("test",e,r),window.removeEventListener("test",e,r),n}();function ni(e){if(null===e||"object"!==(void 0===e?"undefined":o(e))&&"function"!=typeof e)var n=!!e,r=!1;else{n=!!e.capture,r=!!e.once;var i=e.U}return{Pa:i,capture:n,once:r,Na:no?e:n}}var na={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},ns={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function nl(e){return r(e,Node)?e.__shady_getRootNode():e}function nc(e,n){var r=[],o=e;for(e=nl(e);o;)r.push(o),o=o.__shady_assignedSlot?o.__shady_assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(n||o!==e)?o.host:o.__shady_parentNode;return r[r.length-1]===document&&r.push(window),r}function nu(e,n){if(!tp)return e;e=nc(e,!0);for(var r,o,i=0,s=void 0,l=void 0;i<n.length;i++)if((o=nl(r=n[i]))!==s&&(l=e.indexOf(o),s=o),!tp(o)||-1<l)return r}var nh={get composed(){return void 0===this.__composed&&(nr?this.__composed="focusin"===this.type||"focusout"===this.type||nr(this):!1!==this.isTrusted&&(this.__composed=na[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=nc(this.__target,this.composed)),this.__composedPath},get target(){return nu(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;return this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=nc(this.__relatedTarget,!0)),nu(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},nd=tc.D&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function nf(e){function n(n,r){return(n=new e(n,r)).__composed=r&&!!r.composed,n}return n.__proto__=e,n.prototype=e.prototype,n}nd&&(Object.defineProperty(nh,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(nh,"__shady_native_eventPhase",nd));var np={focus:!0,blur:!0};function n_(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function nm(e,n,r){if(r=n.__handlers&&n.__handlers[e.type]&&n.__handlers[e.type][r])for(var o,i=0;(o=r[i])&&(!n_(e)||e.target!==e.relatedTarget)&&(o.call(n,e),!e.__immediatePropagationStopped);i++);}var nv=new Event("e").hasOwnProperty("currentTarget");function ny(e){var n=(e=nv?Object.create(e):e).composedPath(),r=n.map(function(e){return nu(e,n)}),o=e.bubbles,i=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return u}});var s=Event.CAPTURING_PHASE,l=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return s}});try{for(var c=n.length-1;0<=c;c--){var u=n[c];if(s=u===r[c]?Event.AT_TARGET:Event.CAPTURING_PHASE,nm(e,u,"capture"),e.ua)return}for(c=0;c<n.length;c++){var h=(u=n[c])===r[c];if((h||o)&&(s=h?Event.AT_TARGET:Event.BUBBLING_PHASE,nm(e,u,"bubble"),e.ua))break}}finally{nv||(i?Object.defineProperty(e,"currentTarget",i):delete e.currentTarget,l?Object.defineProperty(e,"eventPhase",l):delete e.eventPhase)}}function ng(e,n,r,o){for(var i=0;i<e.length;i++){var s=e[i],l=s.type,c=s.capture;if(n===s.node&&r===l&&o===c)return i}return -1}function nb(e){return tH(),!tc.ha&&r(this,Node)&&!tE(document,this)?(e.__target||nS(e,this),ny(e)):this.__shady_native_dispatchEvent(e)}function nw(e,n,i){var s=this,l=ni(i),c=l.capture,u=l.once,h=l.Pa;if(l=l.Na,n){var d=void 0===n?"undefined":o(n);if(("function"===d||"object"===d)&&("object"!==d||n.handleEvent&&"function"==typeof n.handleEvent)){if(ns[e])return this.__shady_native_addEventListener(e,n,l);var f=h||this;if(h=n[nn]){if(-1<ng(h,f,e,c))return}else n[nn]=[];h=function(o){if(u&&s.__shady_removeEventListener(e,n,i),o.__target||nS(o),f!==s){var l=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return f},configurable:!0});var h=Object.getOwnPropertyDescriptor(o,"eventPhase");Object.defineProperty(o,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return c?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(o.__previousCurrentTarget=o.currentTarget,(!tp(f)&&"slot"!==f.localName||-1!=o.composedPath().indexOf(f))&&(o.composed||-1<o.composedPath().indexOf(f))){if(n_(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===f||r(f,Window)){var p="function"===d?n.call(f,o):n.handleEvent&&n.handleEvent(o);return f!==s&&(l?(Object.defineProperty(o,"currentTarget",l),l=null):delete o.currentTarget,h?(Object.defineProperty(o,"eventPhase",h),h=null):delete o.eventPhase),p}}},n[nn].push({node:f,type:e,capture:c,ub:h}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][c?"capture":"bubble"].push(h),np[e]||this.__shady_native_addEventListener(e,h,l)}}}function nE(e,n,r){if(n){var o=ni(r);r=o.capture;var i=o.Pa;if(o=o.Na,ns[e])return this.__shady_native_removeEventListener(e,n,o);var s=i||this;i=void 0;var l=null;try{l=n[nn]}catch(e){}l&&-1<(s=ng(l,s,e,r))&&(i=l.splice(s,1)[0].ub,l.length||(n[nn]=void 0)),this.__shady_native_removeEventListener(e,i||n,o),i&&this.__handlers&&this.__handlers[e]&&-1<(n=(e=this.__handlers[e][r?"capture":"bubble"]).indexOf(i))&&e.splice(n,1)}}var nN=tP(nh);function nS(e,n){if(n=void 0===n?e.target:n,e.__target=n,e.__relatedTarget=e.relatedTarget,tc.D){if(!(n=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var r=Object.create(n);r.__shady_sourceProto=n,tD(r,nN),n.__shady_patchedProto=r}e.__proto__=n.__shady_patchedProto}else tD(e,nN)}var nC=nf(Event),nT=nf(CustomEvent),nO=nf(MouseEvent),nD=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return"on"===e.substring(0,2)}),nx=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return"on"===e.substring(0,2)});function nP(e){return{set:function(n){var r=ts(this),o=e.substring(2);r.T||(r.T={}),r.T[e]&&this.removeEventListener(o,r.T[e]),this.__shady_addEventListener(o,n),r.T[e]=n},get:function(){var n=tl(this);return n&&n.T&&n.T[e]},configurable:!0}}function nM(e,n){return{index:e,ia:[],pa:n}}var nA=tP({dispatchEvent:nb,addEventListener:nw,removeEventListener:nE}),nL=null;function nj(){return nL||(nL=window.ShadyCSS&&window.ShadyCSS.ScopingShim),nL||null}function nk(e,n,r){var o=nj();return!!o&&"class"===n&&(o.setElementClass(e,r),!0)}function nR(e,n){var r=nj();r&&r.unscopeNode(e,n)}function nF(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var n=nj();return n?n.currentScopeForNode(e):""}function nH(e,n){if(e)for(e.nodeType===Node.ELEMENT_NODE&&n(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&nH(e,n)}var nI=window.document,nB=tc.ha,nU=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),nq=nU&&nU.get;function nW(e){for(var n;n=e.__shady_firstChild;)e.__shady_removeChild(n)}function nG(e,n,r){if(e=(e=tl(e))&&e.ga){if(n)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var o,i=0,s=n.childNodes.length;i<s;i++)e.addedNodes.push(n.childNodes[i]);else e.addedNodes.push(n);r&&e.removedNodes.push(r),(o=e).g||(o.g=!0,tw(function(){o.flush()}))}}var nV=tP({get parentNode(){var n$=tl(this);return void 0!==(n$=n$&&n$.parentNode)?n$:this.__shady_native_parentNode},get firstChild(){var nz=tl(this);return void 0!==(nz=nz&&nz.firstChild)?nz:this.__shady_native_firstChild},get lastChild(){var nX=tl(this);return void 0!==(nX=nX&&nX.lastChild)?nX:this.__shady_native_lastChild},get nextSibling(){var nK=tl(this);return void 0!==(nK=nK&&nK.nextSibling)?nK:this.__shady_native_nextSibling},get previousSibling(){var nJ=tl(this);return void 0!==(nJ=nJ&&nJ.previousSibling)?nJ:this.__shady_native_previousSibling},get childNodes(){if(tf(this)){var nY=tl(this);if(!nY.childNodes){nY.childNodes=[];for(var nZ=this.__shady_firstChild;nZ;nZ=nZ.__shady_nextSibling)nY.childNodes.push(nZ)}var nQ=nY.childNodes}else nQ=this.__shady_native_childNodes;return nQ.item=function(e){return nQ[e]},nQ},get parentElement(){var n0=tl(this);return(n0=n0&&n0.parentNode)&&n0.nodeType!==Node.ELEMENT_NODE&&(n0=null),void 0!==n0?n0:this.__shady_native_parentElement},get isConnected(){if(nq&&nq.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var n1=this.ownerDocument;if(null===n1||tE(n1,this))return!0;for(n1=this;n1&&!r(n1,Document);)n1=n1.__shady_parentNode||(tp(n1)?n1.host:void 0);return!!(n1&&r(n1,Document))},get textContent(){if(tf(this)){for(var n2=[],n3=this.__shady_firstChild;n3;n3=n3.__shady_nextSibling)n3.nodeType!==Node.COMMENT_NODE&&n2.push(n3.__shady_textContent);return n2.join("")}return this.__shady_native_textContent},set textContent(a){switch(null==a&&(a=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!tf(this)&&tc.D){var n6=this.__shady_firstChild;(n6!=this.__shady_lastChild||n6&&n6.nodeType!=Node.TEXT_NODE)&&nW(this),this.__shady_native_textContent=a}else nW(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(a));break;default:this.nodeValue=a}},insertBefore:function(e,n){if(this.ownerDocument!==nI&&e.ownerDocument!==nI)return this.__shady_native_insertBefore(e,n),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var r=tl(n);if(void 0!==(r=r&&r.parentNode)&&r!==this||void 0===r&&n.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(n===e)return e;nG(this,e);var o=[],i=(r=r8(this))?r.host.localName:nF(this),s=e.__shady_parentNode;if(s){var l=nF(e),u=!!r||!r8(e)||nB&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,u)}s=!0;var h=(!nB||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(n,r){var o=nj();if(!o)return!0;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(o=!0,n=n.__shady_firstChild;n;n=n.__shady_nextSibling)o=o&&e(n,r);return o}return n.nodeType!==Node.ELEMENT_NODE||o.currentScopeForNode(n)===r}(e,i),d=r&&!e.__noInsertionPoint&&(!nB||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(d||h)&&(h&&(l=l||nF(e)),nH(e,function(e){if(d&&"slot"===e.localName&&o.push(e),h){var n=l;nj()&&(n&&nR(e,n),(n=nj())&&n.scopeNode(e,i))}})),o.length&&(rZ(r),r.i.push.apply(r.i,c(o)),rK(r)),tf(this)&&(function(e,n,r){rF(n,2);var o=ts(n);if(void 0!==o.firstChild&&(o.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)rH(e,n,o,r);else rH(e,n,o,r)}(e,this,n),(u=tl(this)).root?(s=!1,t_(this)&&rK(u.root)):r&&"slot"===this.localName&&(s=!1,rK(r))),s?(r=tp(this)?this.host:this,n?(n=function e(n){var r=n;if(n&&"slot"===n.localName){var o=tl(n);(o=o&&o.aa)&&(r=o.length?o[0]:e(n.__shady_nextSibling))}return r}(n),r.__shady_native_insertBefore(e,n)):r.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!tp(e))return this.__shady_insertBefore(e)},removeChild:function(e,n){if(n=void 0!==n&&n,this.ownerDocument!==nI)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);nG(this,null,e);var r,o,i,s,l=r8(e),c=l&&function(e,n){if(e.g){rQ(e);var r,o=e.h;for(r in o)for(var i=o[r],s=0;s<i.length;s++){var l=i[s];if(tN(n,l)){i.splice(s,1);var c=e.g.indexOf(l);if(0<=c&&(e.g.splice(c,1),(c=tl(l.__shady_parentNode))&&c.ka&&c.ka--),s--,c=(l=tl(l)).aa)for(var u=0;u<c.length;u++){var h=c[u],d=h.__shady_native_parentNode;d&&d.__shady_native_removeChild(h)}l.aa=[],l.assignedNodes=[],c=!0}}return c}}(l,e),u=tl(this);if(tf(this)&&(r=e,o=this,i=ts(r),r===(o=ts(o)).firstChild&&(o.firstChild=i.nextSibling),r===o.lastChild&&(o.lastChild=i.previousSibling),r=i.previousSibling,s=i.nextSibling,r&&(ts(r).nextSibling=s),s&&(ts(s).previousSibling=r),i.parentNode=i.previousSibling=i.nextSibling=void 0,void 0!==o.childNodes&&(o.childNodes=null),t_(this))){rK(u.root);var h=!0}if(nj()&&!n&&l&&e.nodeType!==Node.TEXT_NODE){var d=nF(e);nH(e,function(e){nR(e,d)})}return!function e(n){var r=tl(n);if(r&&void 0!==r.ta)for(r=n.__shady_firstChild;r;r=r.__shady_nextSibling)e(r);(n=tl(n))&&(n.ta=void 0)}(e),l&&((n="slot"===this.localName)&&(h=!0),(c||n)&&rK(l)),h||(h=tp(this)?this.host:this,(u.root||"slot"===e.localName)&&h!==e.__shady_native_parentNode||h.__shady_native_removeChild(e)),e},replaceChild:function(e,n){return this.__shady_insertBefore(e,n),this.__shady_removeChild(n),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var n,r=this.__shady_native_cloneNode(!1);if(e&&r.nodeType!==Node.ATTRIBUTE_NODE)for(e=this.__shady_firstChild;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),r.__shady_appendChild(n);return r},getRootNode:function(e){if(this&&this.nodeType){var n=ts(this),r=n.ta;return void 0===r&&(tp(this)?(r=this,n.ta=r):(r=(r=this.__shady_parentNode)?r.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(n.ta=r))),r}},contains:function(e){return tN(this,e)}}),n9=tP({get assignedSlot(){var n4=this.__shady_parentNode;return(n4=n4&&n4.__shady_shadowRoot)&&rJ(n4),(n4=tl(this))&&n4.assignedSlot||null}}),n8=new Map;function n7(e,n,r){var o=[];return function e(n,r,o,i){for(n=n.__shady_firstChild;n;n=n.__shady_nextSibling){var s;if(s=n.nodeType===Node.ELEMENT_NODE){var l=r(s=n);l&&i.push(s),o&&o(l)?s=l:(e(s,r,o,i),s=void 0)}if(s)break}}(e,n,r,o),o}[["(",{end:")",sa:!0}],["[",{end:"]",sa:!0}],['"',{end:'"',sa:!1}],["'",{end:"'",sa:!1}]].forEach(function(e){var n=l(e);e=n.next().value,n=n.next().value,n8.set(e,n)});var n5={get firstElementChild(){var re=tl(this);if(re&&void 0!==re.firstChild){for(re=this.__shady_firstChild;re&&re.nodeType!==Node.ELEMENT_NODE;)re=re.__shady_nextSibling;return re}return this.__shady_native_firstElementChild},get lastElementChild(){var rt=tl(this);if(rt&&void 0!==rt.lastChild){for(rt=this.__shady_lastChild;rt&&rt.nodeType!==Node.ELEMENT_NODE;)rt=rt.__shady_previousSibling;return rt}return this.__shady_native_lastElementChild},get children(){return tf(this)?tS(Array.prototype.filter.call(tT(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var rn=this.__shady_children;return rn?rn.length:0}},rr=tP((n5.append=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];this.__shady_insertBefore(tL.apply(null,c(n)),null)},n5.prepend=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];this.__shady_insertBefore(tL.apply(null,c(n)),this.__shady_firstChild)},n5.replaceChildren=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(;null!==(r=this.__shady_firstChild);)this.__shady_removeChild(r);this.__shady_insertBefore(tL.apply(null,c(n)),null)},n5));function ro(e,n){function r(n,r){return(n===e||-1===r.indexOf(":scope"))&&tv.call(n,r)}var o=function(e){function n(){if(0<o.length){for(;" "===o[o.length-1];)o.pop();r.push({La:o.filter(function(e,n){return 0==n%2}),Za:o.filter(function(e,n){return 1==n%2})}),o.length=0}}for(var r=[],o=[],i=0;i<e.length;){var s=o[o.length-1],l=function e(n,r,o,i){for(i=void 0===i||i;r<n.length;r++)if("\\"===n[r]&&r<n.length-1&&"\n"!==n[r+1])r++;else{if(-1!==o.indexOf(n[r]))return r;if(i&&n8.has(n[r])){var s=n8.get(n[r]);r=e(n,r+1,[s.end],s.sa)}}return n.length}(e,i,[","," ",">","+","~"]),c=l===i?e[i]:e.substring(i,l);","===c?n():(-1===[void 0," ",">","+","~"].indexOf(s)||" "!==c)&&(" "===s&&-1!==[">","+","~"].indexOf(c)?o[o.length-1]=c:o.push(c)),i=l+ +(l===i)}return n(),r}(n);if(1>o.length)return[];for(n=tj(n7(e,function(){return!0}).map(function(e){return tj(o.map(function(n){var o=n.La,i=o.length-1;return r(e,o[i])?{target:e,da:n,fa:e,index:i}:[]}))}));n.some(function(e){return 0<e.index});)n=tj(n.map(function(e){if(0>=e.index)return e;var n=e.target,o=e.fa,i=e.da;e=e.index-1;var s=i.Za[e],l=i.La[e];if(" "===s){for(s=[],o=o.__shady_parentElement;o;o=o.__shady_parentElement)r(o,l)&&s.push({target:n,da:i,fa:o,index:e});return s}if(">"===s)return r(o=o.__shady_parentElement,l)?{target:n,da:i,fa:o,index:e}:[];if("+"===s)return(o=o.__shady_previousElementSibling)&&r(o,l)?{target:n,da:i,fa:o,index:e}:[];if("~"===s){for(s=[],o=o.__shady_previousElementSibling;o;o=o.__shady_previousElementSibling)r(o,l)&&s.push({target:n,da:i,fa:o,index:e});return s}throw Error("Unrecognized combinator: '"+s+"'.")}));return function(e){var n=[],r=new Set;e=l(e);for(var o=e.next();!o.done;o=e.next())o=o.value,r.has(o)||(n.push(o),r.add(o));return n}(n.map(function(e){return e.target}))}var ri=tc.querySelectorImplementation,ra=tP({querySelector:function(e){if("native"===ri){var n=Array.prototype.slice.call((r(this,ShadowRoot)?this.host:this).__shady_native_querySelectorAll(e)),o=this.__shady_getRootNode();n=l(n);for(var i=n.next();!i.done;i=n.next())if((i=i.value).__shady_getRootNode()==o)return i;return null}if("selectorEngine"===ri)return ro(this,e)[0]||null;if(void 0===ri)return n7(this,function(n){return tv.call(n,e)},function(e){return!!e})[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+ri+"'")},querySelectorAll:function(e,n){if(n||"native"===ri){n=Array.prototype.slice.call((r(this,ShadowRoot)?this.host:this).__shady_native_querySelectorAll(e));var o=this.__shady_getRootNode();return tS(n.filter(function(e){return e.__shady_getRootNode()==o}))}if("selectorEngine"===ri)return tS(ro(this,e));if(void 0===ri)return tS(n7(this,function(n){return tv.call(n,e)}));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+ri+"'")}}),rs=tc.ha&&!tc.J?tM({},rr):rr;tM(rr,ra);var rl=tP({after:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var o=this.__shady_nextSibling;r.__shady_insertBefore(tL.apply(null,c(n)),o)}},before:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];null!==(r=this.__shady_parentNode)&&r.__shady_insertBefore(tL.apply(null,c(n)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var o=this.__shady_nextSibling;r.__shady_removeChild(this),r.__shady_insertBefore(tL.apply(null,c(n)),o)}}}),rc=window.document;function ru(e,n){if("slot"===n)t_(e=e.__shady_parentNode)&&rK(tl(e).root);else if("slot"===e.localName&&"name"===n&&(n=r8(e))){if(n.g){rQ(n);var r=e.Ua,o=r0(e);if(o!==r){var i=(r=n.h[r]).indexOf(e);0<=i&&r.splice(i,1),(r=n.h[o]||(n.h[o]=[])).push(e),1<r.length&&(n.h[o]=r1(r))}}rK(n)}}var rh=tP({get previousElementSibling(){var rd=tl(this);if(rd&&void 0!==rd.previousSibling){for(rd=this.__shady_previousSibling;rd&&rd.nodeType!==Node.ELEMENT_NODE;)rd=rd.__shady_previousSibling;return rd}return this.__shady_native_previousElementSibling},get nextElementSibling(){var rf=tl(this);if(rf&&void 0!==rf.nextSibling){for(rf=this.__shady_nextSibling;rf&&rf.nodeType!==Node.ELEMENT_NODE;)rf=rf.__shady_nextSibling;return rf}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(e,n){this.ownerDocument!==rc?this.__shady_native_setAttribute(e,n):nk(this,e,n)||(this.__shady_native_setAttribute(e,n),ru(this,e))},removeAttribute:function(e){this.ownerDocument!==rc?this.__shady_native_removeAttribute(e):nk(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),ru(this,e))},toggleAttribute:function(e,n){return this.ownerDocument!==rc?this.__shady_native_toggleAttribute(e,n):nk(this,e,"")?""!==this.getAttribute(e)||n?void 0:this.__shady_native_toggleAttribute(e,n):(n=this.__shady_native_toggleAttribute(e,n),ru(this,e),n)}});tc.ha||nD.forEach(function(e){rh[e]=nP(e)});var rp=tP({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!tc.Ra){var n=e.shadyUpgradeFragment;if(n.__proto__=ShadowRoot.prototype,rX(n,this,e),rI(n,n),e=n.__noInsertionPoint?null:n.querySelectorAll("slot"),n.__noInsertionPoint=void 0,e&&e.length){var r=n;rZ(r),r.i.push.apply(r.i,c(e)),rK(n)}n.host.__shady_native_appendChild(n)}else n=new rz(rG,this,e);return this.__CE_shadowRoot=n},get shadowRoot(){var r_=tl(this);return r_&&r_.lb||null}});tM(rh,rp);var rm=document.implementation.createHTMLDocument("inert"),rv=tP({get innerHTML(){return tf(this)?t$("template"===this.localName?this.content:this,tT):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{nW(this);var ry=this.localName||"div";for(ry=this.namespaceURI&&this.namespaceURI!==rm.namespaceURI?rm.createElementNS(this.namespaceURI,ry):rm.createElement(ry),tc.D?ry.__shady_native_innerHTML=a:ry.innerHTML=a;a=ry.__shady_firstChild;)this.__shady_insertBefore(a)}}}),rg=tP({blur:function(){var e=tl(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});tc.ha||nx.forEach(function(e){rg[e]=nP(e)});var rb=tP({assignedNodes:function(e){if("slot"===this.localName){var n=this.__shady_getRootNode();return n&&tp(n)&&rJ(n),(n=tl(this))&&(e&&e.flatten?n.aa:n.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)nw.call(this,e,n,r);else{"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r});var i=this.__shady_parentNode;if(!i)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,i.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)nE.call(this,e,n,r);else{"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r});var i=this.__shady_parentNode;if(!i)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,i.__shady_removeEventListener(e,n,r)}}}),rw=tP({getElementById:function(e){return""===e?null:n7(this,function(n){return n.id==e},function(e){return!!e})[0]||null}}),rE="__shady_native_"+td(),rN=tP({get activeElement(){var rS=tc.D?document.__shady_native_activeElement:document.activeElement;if(!rS||!rS.nodeType)return null;var rC=!!tp(this);if(!(this===document||rC&&this.host!==rS&&this.host.__shady_native_contains(rS)))return null;for(rC=r8(rS);rC&&rC!==this;)rC=r8(rS=rC.host);return this===document?rC?null:rS:rC===this?rS:null},elementsFromPoint:function(e,n){if(e=document[rE](e,n),this===document&&tc.useNativeDocumentEFP)return e;e=[].slice.call(e),n=function(e){var n=new Set;for(n.add(e);tp(e)&&e.host;)e=e.host.__shady_getRootNode(),n.add(e);return n}(this);for(var r=new Set,o=0;o<e.length;o++)r.add(function(e,n){for(var r;n&&!e.has(r=n.__shady_getRootNode());)n=r.host;return n}(n,e[o]));var i=[];return r.forEach(function(e){return i.push(e)}),i},elementFromPoint:function(e,n){return this===document&&tc.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,n):this.__shady_elementsFromPoint(e,n)[0]||null}}),rT=window.document,rO=tP({importNode:function(e,n){if(e.ownerDocument!==rT||"template"===e.localName)return this.__shady_native_importNode(e,n);var r=this.__shady_native_importNode(e,!1);if(n)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)n=this.__shady_importNode(e,!0),r.__shady_appendChild(n);return r}}),rD=tP({dispatchEvent:nb,addEventListener:nw.bind(window),removeEventListener:nE.bind(window)}),rx={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rx.parentElement=nV.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rx.contains=nV.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rx.children=rr.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rx.innerHTML=rv.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rx.className=rh.className);var rP={EventTarget:[nA],Node:[nV,window.EventTarget?null:nA],Text:[n9],Comment:[n9],CDATASection:[n9],ProcessingInstruction:[n9],Element:[rh,rr,rl,n9,!tc.D||"innerHTML"in Element.prototype?rv:null,window.HTMLSlotElement?null:rb],HTMLElement:[rg,rx],HTMLSlotElement:[rb],DocumentFragment:[rs,rw],Document:[rO,rs,rw,rN],Window:[rD],CharacterData:[rl],XMLHttpRequest:[window.EventTarget?null:nA]},rM=tc.D?null:["innerHTML","textContent"];function rA(e,n,r,o){n.forEach(function(n){return e&&n&&tD(e,n,r,o)})}function rL(e){var n,r=e?null:rM;for(n in rP)rA(window[n]&&window[n].prototype,rP[n],e,r)}function rj(e){return e.__shady_protoIsPatched=!0,rA(e,rP.EventTarget),rA(e,rP.Node),rA(e,rP.Element),rA(e,rP.HTMLElement),rA(e,rP.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(e){var n=window[e],r=Object.create(n.prototype);r.__shady_protoIsPatched=!0,rA(r,rP.EventTarget),rA(r,rP.Node),rP[e]&&rA(r,rP[e]),n.prototype.__shady_patchedProto=r});var rk=tc.Da,rR=tc.D;function rF(e,n){if(rk&&!e.__shady_protoIsPatched&&!tp(e)){var r=Object.getPrototypeOf(e),o=r.hasOwnProperty("__shady_patchedProto")&&r.__shady_patchedProto;o||(rj(o=Object.create(r)),r.__shady_patchedProto=o),Object.setPrototypeOf(e,o)}rR||(1===n?ne(e):2===n&&nt(e))}function rH(e,n,r,o){rF(e,1),o=o||null;var i=ts(e),s=o?ts(o):null;i.previousSibling=o?s.previousSibling:n.__shady_lastChild,(s=tl(i.previousSibling))&&(s.nextSibling=e),(s=tl(i.nextSibling=o))&&(s.previousSibling=e),i.parentNode=n,o?o===r.firstChild&&(r.firstChild=e):(r.lastChild=e,r.firstChild||(r.firstChild=e)),r.childNodes=null}function rI(e,n){var r=ts(e);if(n||void 0===r.firstChild){r.childNodes=null;var o=r.firstChild=e.__shady_native_firstChild;for(r.lastChild=e.__shady_native_lastChild,rF(e,2),r=o,o=void 0;r;r=r.__shady_native_nextSibling){var i=ts(r);i.parentNode=n||e,i.nextSibling=r.__shady_native_nextSibling,i.previousSibling=o||null,o=r,rF(r,1)}}}var rB=tP({addEventListener:function(e,n,r){"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_removeEventListener(e,n,r)}});function rU(e,n){tD(e,rB,n),tD(e,rN,n),tD(e,rv,n),tD(e,rr,n),tc.J&&!n?(tD(e,nV,n),tD(e,rw,n)):tc.D||(tD(e,t8),tD(e,t9),tD(e,t4))}var rq,rW,rG={},rV=tc.deferConnectionCallbacks&&"loading"===document.readyState;function r$(e){var n=[];do n.unshift(e);while(e=e.__shady_parentNode);return n}function rz(e,n,r){if(e!==rG)throw TypeError("Illegal constructor");this.g=null,rX(this,n,r)}function rX(e,n,r){if(e.host=n,e.mode=r&&r.mode,rI(e.host),(n=ts(e.host)).root=e,n.lb="closed"!==e.mode?e:null,(n=ts(e)).firstChild=n.lastChild=n.parentNode=n.nextSibling=n.previousSibling=null,tc.preferPerformance)for(;n=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(n);else rK(e)}function rK(e){e.Y||(e.Y=!0,tF(function(){return rJ(e)}))}function rJ(e){var n,r;if(n=e.Y){for(;e;)e.Y&&(r=e),tp(e=(n=e).host.__shady_getRootNode())&&(n=tl(n.host))&&0<n.ka||(e=void 0);n=r}(r=n)&&r._renderSelf()}function rY(e,n,r){var o=ts(n),i=o.xa;o.xa=null,r||(r=(e=e.h[n.__shady_slot||"__catchall"])&&e[0]),r?(ts(r).assignedNodes.push(n),o.assignedSlot=r):o.assignedSlot=void 0,i!==o.assignedSlot&&o.assignedSlot&&(ts(o.assignedSlot).Aa=!0)}function rZ(e){e.i=e.i||[],e.g=e.g||[],e.h=e.h||{}}function rQ(e){if(e.i&&e.i.length){for(var n,r=e.i,o=0;o<r.length;o++){var i=r[o];rI(i);var s=i.__shady_parentNode;rI(s),(s=tl(s)).ka=(s.ka||0)+1,s=r0(i),e.h[s]?((n=n||{})[s]=!0,e.h[s].push(i)):e.h[s]=[i],e.g.push(i)}if(n)for(var l in n)e.h[l]=r1(e.h[l]);e.i=[]}}function r0(e){var n=e.name||e.getAttribute("name")||"__catchall";return e.Ua=n}function r1(e){return e.sort(function(e,n){e=r$(e);for(var r=r$(n),o=0;o<e.length;o++){n=e[o];var i=r[o];if(n!==i)return(e=tT(n.__shady_parentNode)).indexOf(n)-e.indexOf(i)}})}function r2(e){return rQ(e),!(!e.g||!e.g.length)}if(rz.prototype._renderSelf=function(){var e=rV;if(rV=!0,this.Y=!1,this.g){rQ(this);for(var n,r=0;r<this.g.length;r++){var o=tl(n=this.g[r]),i=o.assignedNodes;if(o.assignedNodes=[],o.aa=[],o.Ja=i)for(o=0;o<i.length;o++){var s=tl(i[o]);s.xa=s.assignedSlot,s.assignedSlot===n&&(s.assignedSlot=null)}}for(r=this.host.__shady_firstChild;r;r=r.__shady_nextSibling)rY(this,r);for(r=0;r<this.g.length;r++){if(!(i=tl(n=this.g[r])).assignedNodes.length)for(o=n.__shady_firstChild;o;o=o.__shady_nextSibling)rY(this,o,n);if((o=(o=tl(n.__shady_parentNode))&&o.root)&&(r2(o)||o.Y)&&o._renderSelf(),function e(n,r,o){for(var i=0,s=void 0;i<o.length&&(s=o[i]);i++)if("slot"==s.localName){var l=tl(s).assignedNodes;l&&l.length&&e(n,r,l)}else r.push(o[i])}(this,i.aa,i.assignedNodes),o=i.Ja){for(s=0;s<o.length;s++)tl(o[s]).xa=null;i.Ja=null,o.length>i.assignedNodes.length&&(i.Aa=!0)}i.Aa&&(i.Aa=!1,function e(n,r){r.__shady_native_dispatchEvent(new Event("slotchange")),(r=tl(r)).assignedSlot&&e(n,r.assignedSlot)}(this,n))}for(i=0,n=this.g,r=[];i<n.length;i++)(s=tl(o=n[i].__shady_parentNode))&&s.root||!(0>r.indexOf(o))||r.push(o);for(n=0;n<r.length;n++){for(i=(s=r[n])===this?this.host:s,o=[],s=s.__shady_firstChild;s;s=s.__shady_nextSibling)if("slot"==s.localName)for(var l=tl(s).aa,c=0;c<l.length;c++)o.push(l[c]);else o.push(s);s=tC(i),l=function(e,n,r,o){var i,s=0,l=0,c=0,u=0,h=Math.min(n-0,o-0);!0;e:{for(c=0;c<h;c++)if(e[c]!==r[c])break e;c=h}if(n==e.length&&o==r.length){u=e.length;for(var d=r.length,f=0;f<h-c&&(i=e[--u],i===r[--d]);)f++;u=f}if(s+=c,l+=c,n-=u,o-=u,0==n-s&&0==o-l)return[];if(s==n){for(n=nM(s,0);l<o;)n.ia.push(r[l++]);return[n]}if(l==o)return[nM(s,n-s)];for(d=0,h=s,o=o-(c=l)+1,u=n-h+1,n=Array(o);d<o;d++)n[d]=Array(u),n[d][0]=d;for(d=0;d<u;d++)n[0][d]=d;for(d=1;d<o;d++)for(f=1;f<u;f++)if(e[h+f-1]===r[c+d-1])n[d][f]=n[d-1][f-1];else{var p=n[d-1][f]+1,_=n[d][f-1]+1;n[d][f]=p<_?p:_}for(h=n.length-1,c=n[0].length-1,o=n[h][c],e=[];0<h||0<c;)0==h?(e.push(2),c--):0==c?(e.push(3),h--):(u=n[h-1][c-1],(p=(d=n[h-1][c])<(f=n[h][c-1])?d<u?d:u:f<u?f:u)==u?(u==o?e.push(0):(e.push(1),o=u),h--,c--):p==d?(e.push(3),h--,o=d):(e.push(2),c--,o=f));for(e.reverse(),n=void 0,h=[],c=0;c<e.length;c++)switch(e[c]){case 0:n&&(h.push(n),n=void 0),s++,l++;break;case 1:n||(n=nM(s,0)),n.pa++,s++,n.ia.push(r[l]),l++;break;case 2:n||(n=nM(s,0)),n.pa++,s++;break;case 3:n||(n=nM(s,0)),n.ia.push(r[l]),l++}return n&&h.push(n),h}(o,o.length,s,s.length);for(var u=c=0,h=void 0;c<l.length&&(h=l[c]);c++){for(var d=0,f=void 0;d<h.ia.length&&(f=h.ia[d]);d++)f.__shady_native_parentNode===i&&i.__shady_native_removeChild(f),s.splice(h.index+u,1);u-=h.pa}for(u=0,h=void 0;u<l.length&&(h=l[u]);u++)for(c=s[h.index],d=h.index;d<h.index+h.pa;d++)f=o[d],i.__shady_native_insertBefore(f,c),s.splice(d,0,f)}}if(!tc.preferPerformance&&!this.Ia)for(r=this.host.__shady_firstChild;r;r=r.__shady_nextSibling)n=tl(r),r.__shady_native_parentNode!==this.host||"slot"!==r.localName&&n.assignedSlot||this.host.__shady_native_removeChild(r);this.Ia=!0,rV=e,rW&&rW()},(on=rz.prototype).__proto__=DocumentFragment.prototype,rU(on,"__shady_"),rU(on),Object.defineProperties(on,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(e){Object.defineProperty(on,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(e){Object.defineProperty(on,e,{get:function(){return this.host[e]},configurable:!0})}),window.customElements&&window.customElements.define&&tc.Ba&&!tc.preferPerformance){var r3=new Map;rW=function(){var e=[];r3.forEach(function(n,r){e.push([r,n])}),r3.clear();for(var n=0;n<e.length;n++){var r=e[n][0];e[n][1]?r.__shadydom_connectedCallback():r.__shadydom_disconnectedCallback()}},rV&&document.addEventListener("readystatechange",function(){rV=!1,rW()},{once:!0});var r6=function(e,n,r){var o=0,i="__isConnected"+o++;return(n||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){rV?r3.set(this,!0):this[i]||(this[i]=!0,n&&n.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){rV?this.isConnected||r3.set(this,!1):this[i]&&(this[i]=!1,r&&r.call(this))}),e},r9=window.customElements.define,r4=function(e,n){var r=n.prototype.connectedCallback,o=n.prototype.disconnectedCallback;r9.call(window.customElements,e,r6(n,r,o)),n.prototype.connectedCallback=r,n.prototype.disconnectedCallback=o};window.customElements.define=r4,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:r4,configurable:!0})}function r8(e){if(tp(e=e.__shady_getRootNode()))return e}function r7(e){this.node=e}function r5(e){Object.defineProperty(r7.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(n){this.node["__shady_"+e]=n},configurable:!0})}(X=r7.prototype).addEventListener=function(e,n,r){return this.node.__shady_addEventListener(e,n,r)},X.removeEventListener=function(e,n,r){return this.node.__shady_removeEventListener(e,n,r)},X.appendChild=function(e){return this.node.__shady_appendChild(e)},X.insertBefore=function(e,n){return this.node.__shady_insertBefore(e,n)},X.removeChild=function(e){return this.node.__shady_removeChild(e)},X.replaceChild=function(e,n){return this.node.__shady_replaceChild(e,n)},X.cloneNode=function(e){return this.node.__shady_cloneNode(e)},X.getRootNode=function(e){return this.node.__shady_getRootNode(e)},X.contains=function(e){return this.node.__shady_contains(e)},X.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},X.setAttribute=function(e,n){this.node.__shady_setAttribute(e,n)},X.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},X.hasAttribute=function(e){return this.node.__shady_native_hasAttribute(e)},X.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},X.toggleAttribute=function(e,n){return this.node.__shady_toggleAttribute(e,n)},X.attachShadow=function(e){return this.node.__shady_attachShadow(e)},X.focus=function(){this.node.__shady_native_focus()},X.blur=function(){this.node.__shady_blur()},X.importNode=function(e,n){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,n)},X.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},X.elementsFromPoint=function(e,n){return this.node.__shady_elementsFromPoint(e,n)},X.elementFromPoint=function(e,n){return this.node.__shady_elementFromPoint(e,n)},X.querySelector=function(e){return this.node.__shady_querySelector(e)},X.querySelectorAll=function(e,n){return this.node.__shady_querySelectorAll(e,n)},X.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},X.append=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_append.apply(this.node,c(n))},X.prepend=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_prepend.apply(this.node,c(n))},X.after=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_after.apply(this.node,c(n))},X.before=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_before.apply(this.node,c(n))},X.remove=function(){return this.node.__shady_remove()},X.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_replaceWith.apply(this.node,c(n))},i.Object.defineProperties(r7.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(tp(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(tp(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),nD.forEach(function(e){return r5(e)}),nx.forEach(function(e){return r5(e)});var oe=new WeakMap;function ot(e){if(tp(e)||r(e,r7))return e;var n=oe.get(e);return n||(n=new r7(e),oe.set(e,n)),n}if(tc.Ba){var on,or,oo=tc.D?function(e){return e}:function(e){return nt(e),ne(e),e},oi={inUse:tc.Ba,patch:oo,isShadyRoot:tp,enqueue:tF,flush:tH,flushInitial:function(e){!e.Ia&&e.Y&&rJ(e)},settings:tc,filterMutations:function(e,n){var r=n.getRootNode();return e.map(function(e){var n=r===e.target.getRootNode();if(n&&e.addedNodes){if((n=[].slice.call(e.addedNodes).filter(function(e){return r===e.getRootNode()})).length)return Object.defineProperty(e=Object.create(e),"addedNodes",{value:n,configurable:!0}),e}else if(n)return e}).filter(function(e){return e})},observeChildren:function(e,n){var r=ts(e);r.ga||(r.ga=new tI),r.ga.qa.add(n);var o=r.ga;return{Va:n,X:o,Wa:e,takeRecords:function(){return o.takeRecords()}}},unobserveChildren:function(e){var n=e&&e.X;n&&(n.qa.delete(e.Va),n.qa.size||(ts(e.Wa).ga=null))},deferConnectionCallbacks:tc.deferConnectionCallbacks,preferPerformance:tc.preferPerformance,handlesDynamicScoping:!0,wrap:tc.J?ot:oo,wrapIfNeeded:!0===tc.J?ot:function(e){return e},Wrapper:r7,composedPath:function(e){return e.__composedPath||(e.__composedPath=nc(e.target,!0)),e.__composedPath},noPatch:tc.J,patchOnDemand:tc.Da,nativeMethods:tX,nativeTree:tK,patchElementProto:rj,querySelectorImplementation:tc.querySelectorImplementation};for(var oa in window.ShadyDOM=oi,or=["dispatchEvent","addEventListener","removeEventListener"],window.EventTarget?(tZ(window.EventTarget.prototype,or),void 0===window.__shady_native_addEventListener&&tZ(Window.prototype,or)):(tZ(Node.prototype,or),tZ(Window.prototype,or),tZ(XMLHttpRequest.prototype,or)),tz?tZ(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):tY(Node.prototype,{parentNode:{get:function(){return tQ.currentNode=this,tQ.parentNode()}},firstChild:{get:function(){return tQ.currentNode=this,tQ.firstChild()}},lastChild:{get:function(){return tQ.currentNode=this,tQ.lastChild()}},previousSibling:{get:function(){return tQ.currentNode=this,tQ.previousSibling()}},nextSibling:{get:function(){return tQ.currentNode=this,tQ.nextSibling()}},childNodes:{get:function(){var e=[];tQ.currentNode=this;for(var n=tQ.firstChild();n;)e.push(n),n=tQ.nextSibling();return e}},parentElement:{get:function(){return t0.currentNode=this,t0.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,n=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=n.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t2(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),tZ(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),tZ(HTMLElement.prototype,["parentElement","contains"]),or={firstElementChild:{get:function(){return t0.currentNode=this,t0.firstChild()}},lastElementChild:{get:function(){return t0.currentNode=this,t0.lastChild()}},children:{get:function(){var e=[];t0.currentNode=this;for(var n=t0.firstChild();n;)e.push(n),n=t0.nextSibling();return tS(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},tz?(tZ(Element.prototype,t3),tZ(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),tZ(HTMLElement.prototype,["children","innerHTML","className"])):(tY(Element.prototype,or),tY(Element.prototype,{previousElementSibling:{get:function(){return t0.currentNode=this,t0.previousSibling()}},nextElementSibling:{get:function(){return t0.currentNode=this,t0.nextSibling()}},innerHTML:{get:function(){return t$(this,tC)},set:function(e){var n="template"===this.localName?this.content:this;t2(n);var r=this.localName||"div";for((r=this.namespaceURI&&this.namespaceURI!==t1.namespaceURI?t1.createElementNS(this.namespaceURI,r):t1.createElement(r)).innerHTML=e,e="template"===this.localName?r.content:r;r=e.__shady_native_firstChild;)n.__shady_native_insertBefore(r,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),tZ(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),tZ(Element.prototype,t6),tZ(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&tZ(window.HTMLTemplateElement.prototype,["innerHTML"]),tz?tZ(DocumentFragment.prototype,t3):tY(DocumentFragment.prototype,or),tZ(DocumentFragment.prototype,t6),tz?(tZ(Document.prototype,t3),tZ(Document.prototype,["activeElement"])):tY(Document.prototype,or),tZ(Document.prototype,["importNode","getElementById","elementFromPoint",td()]),tZ(Document.prototype,t6),rL("__shady_"),Object.defineProperty(document,"_activeElement",rN.activeElement),tD(Window.prototype,rD,"__shady_"),tc.J?tc.Da&&tD(Element.prototype,rp):(rL(),function(){if(!nr&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),np)window.__shady_native_addEventListener(oa,function(e){e.__target||(nS(e),ny(e))},!0);window.Event=nC,window.CustomEvent=nT,window.MouseEvent=nO,window.ShadowRoot=rz}var os=window.Document.prototype.createElement,ol=window.Document.prototype.createElementNS,oc=window.Document.prototype.importNode,ou=window.Document.prototype.prepend,oh=window.Document.prototype.append,od=window.DocumentFragment.prototype.prepend,of=window.DocumentFragment.prototype.append,op=window.Node.prototype.cloneNode,o_=window.Node.prototype.appendChild,om=window.Node.prototype.insertBefore,ov=window.Node.prototype.removeChild,oy=window.Node.prototype.replaceChild,og=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ob=window.Element.prototype.attachShadow,ow=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),oE=window.Element.prototype.getAttribute,oN=window.Element.prototype.setAttribute,oS=window.Element.prototype.removeAttribute,oC=window.Element.prototype.toggleAttribute,oT=window.Element.prototype.getAttributeNS,oO=window.Element.prototype.setAttributeNS,oD=window.Element.prototype.removeAttributeNS,ox=window.Element.prototype.insertAdjacentElement,oP=window.Element.prototype.insertAdjacentHTML,oM=window.Element.prototype.prepend,oA=window.Element.prototype.append,oL=window.Element.prototype.before,oj=window.Element.prototype.after,ok=window.Element.prototype.replaceWith,oR=window.Element.prototype.remove,oF=window.HTMLElement,oH=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),oI=window.HTMLElement.prototype.insertAdjacentElement,oB=window.HTMLElement.prototype.insertAdjacentHTML,oU=new Set;function oq(e){var n=oU.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!n&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(e){return oU.add(e)});var oW=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function oG(e){var n=e.isConnected;if(void 0!==n)return n;if(oW(e))return!0;for(;e&&!(e.__CE_isImportDocument||r(e,Document));)e=e.parentNode||(window.ShadowRoot&&r(e,ShadowRoot)?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||r(e,Document)))}function oV(e){var n=e.children;if(n)return Array.prototype.slice.call(n);for(n=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&n.push(e);return n}function o$(e,n){for(;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function oz(){var e=!(null==io||!io.noDocumentConstructionObserver),n=!(null==io||!io.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=n,this.sb=!e}function oX(e,n,o,i){var s=window.ShadyDOM;if(e.shadyDomFastWalk&&s&&s.inUse){if(n.nodeType===Node.ELEMENT_NODE&&o(n),n.querySelectorAll)for(e=s.nativeMethods.querySelectorAll.call(n,"*"),n=0;n<e.length;n++)o(e[n])}else!function e(n,o,i){for(var s=n;s;){if(s.nodeType===Node.ELEMENT_NODE){var l=s;o(l);var c=l.localName;if("link"===c&&"import"===l.getAttribute("rel")){if(s=l.import,void 0===i&&(i=new Set),r(s,Node)&&!i.has(s))for(i.add(s),s=s.firstChild;s;s=s.nextSibling)e(s,o,i);s=o$(n,l);continue}if("template"===c){s=o$(n,l);continue}if(l=l.__CE_shadowRoot)for(l=l.firstChild;l;l=l.nextSibling)e(l,o,i)}s=s.firstChild?s.firstChild:o$(n,s)}}(n,o,i)}function oK(e,n){e.W&&oX(e,n,function(n){return oJ(e,n)})}function oJ(e,n){if(e.W&&!n.__CE_patched){n.__CE_patched=!0;for(var r=0;r<e.ca.length;r++)e.ca[r](n);for(r=0;r<e.g.length;r++)e.g[r](n)}}function oY(e,n){var r=[];for(oX(e,n,function(e){return r.push(e)}),n=0;n<r.length;n++){var o=r[n];1===o.__CE_state?e.connectedCallback(o):o0(e,o)}}function oZ(e,n){var r=[];for(oX(e,n,function(e){return r.push(e)}),n=0;n<r.length;n++){var o=r[n];1===o.__CE_state&&e.disconnectedCallback(o)}}function oQ(e,n,o){var i=(o=void 0===o?{}:o).tb,s=o.upgrade||function(n){return o0(e,n)},l=[];for(oX(e,n,function(n){if(e.W&&oJ(e,n),"link"===n.localName&&"import"===n.getAttribute("rel")){var o=n.import;r(o,Node)&&(o.__CE_isImportDocument=!0,o.__CE_registry=document.__CE_registry),o&&"complete"===o.readyState?o.__CE_documentLoadHandled=!0:n.addEventListener("load",function(){var r=n.import;if(!r.__CE_documentLoadHandled){r.__CE_documentLoadHandled=!0;var o=new Set;i&&(i.forEach(function(e){return o.add(e)}),o.delete(r)),oQ(e,r,{tb:o,upgrade:s})}})}else l.push(n)},i),n=0;n<l.length;n++)s(l[n])}function o0(e,n){try{var r=n.ownerDocument,o=r.__CE_registry,i=o&&(r.defaultView||r.__CE_isImportDocument)?ie(o,n.localName):void 0;if(i&&void 0===n.__CE_state){i.constructionStack.push(n);try{try{if(new i.constructorFunction!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{i.constructionStack.pop()}}catch(e){throw n.__CE_state=2,e}if(n.__CE_state=1,n.__CE_definition=i,i.attributeChangedCallback&&n.hasAttributes()){var s=i.observedAttributes;for(i=0;i<s.length;i++){var l=s[i],c=n.getAttribute(l);null!==c&&e.attributeChangedCallback(n,l,null,c,null)}}oG(n)&&e.connectedCallback(n)}}catch(e){o2(e)}}function o1(e,n,r,o){var i=n.__CE_registry;if(i&&(null===o||"http://www.w3.org/1999/xhtml"===o)&&(i=ie(i,r)))try{var s=new i.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==n)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(i){return o2(i),Object.setPrototypeOf(n=null===o?os.call(n,r):ol.call(n,o,r),HTMLUnknownElement.prototype),n.__CE_state=2,n.__CE_definition=void 0,oJ(e,n),n}return oJ(e,n=null===o?os.call(n,r):ol.call(n,o,r)),n}function o2(e){var n="",o="",i=0,s=0;r(e,Error)?(n=e.message,o=e.sourceURL||e.fileName||"",i=e.line||e.lineNumber||0,s=e.column||e.columnNumber||0):n="Uncaught "+String(e);var l=void 0;void 0===ErrorEvent.prototype.initErrorEvent?l=new ErrorEvent("error",{cancelable:!0,message:n,filename:o,lineno:i,colno:s,error:e}):((l=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,n,o,i),l.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===l.error&&Object.defineProperty(l,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(l),l.defaultPrevented||console.error(e)}function o3(){var e=this;this.I=void 0,this.Ka=new Promise(function(n){e.g=n})}function o6(e){var n=document;this.X=void 0,this.S=e,this.g=n,oQ(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function o9(e){e.X&&e.X.disconnect()}function o4(e){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(e){return e()},this.V=!1,this.oa=[],this.S=e,this.Ga=e.sb?new o6(e):void 0}function o8(e,n){if(!oq(n))throw SyntaxError("The element name '"+n+"' is not valid.");if(ie(e,n))throw Error("A custom element with name '"+n+"' has already been defined.");if(e.wa)throw Error("A custom element is already being defined.")}function o7(e,n,o){e.wa=!0;try{var i,s=o.prototype;if(!r(s,Object))throw TypeError("The custom element constructor's prototype is not an object.");var l=function(e){var n=s[e];if(void 0!==n&&!r(n,Function))throw Error("The '"+e+"' callback must be a function.");return n},c=l("connectedCallback"),u=l("disconnectedCallback"),h=l("adoptedCallback"),d=(i=l("attributeChangedCallback"))&&o.observedAttributes||[]}catch(e){throw e}finally{e.wa=!1}return o={localName:n,constructorFunction:o,connectedCallback:c,disconnectedCallback:u,adoptedCallback:h,attributeChangedCallback:i,observedAttributes:d,constructionStack:[]},e.na.set(n,o),e.Fa.set(o.constructorFunction,o),o}function o5(e){if(!1!==e.V){e.V=!1;for(var n=[],r=e.oa,o=new Map,i=0;i<r.length;i++)o.set(r[i],[]);for(oQ(e.S,document,{upgrade:function(r){if(void 0===r.__CE_state){var i=r.localName,s=o.get(i);s?s.push(r):e.na.has(i)&&n.push(r)}}}),i=0;i<n.length;i++)o0(e.S,n[i]);for(i=0;i<r.length;i++){for(var s=r[i],l=o.get(s),c=0;c<l.length;c++)o0(e.S,l[c]);(s=e.za.get(s))&&s.resolve(void 0)}r.length=0}}function ie(e,n){var r=e.na.get(n);if(r)return r;if(r=e.ma.get(n)){e.ma.delete(n);try{return o7(e,n,r())}catch(e){o2(e)}}}function it(e,n,o){function i(n){return function(o){for(var i=[],s=0;s<arguments.length;++s)i[s]=arguments[s];s=[];for(var l=[],c=0;c<i.length;c++){var u=i[c];if(r(u,Element)&&oG(u)&&l.push(u),r(u,DocumentFragment))for(u=u.firstChild;u;u=u.nextSibling)s.push(u);else s.push(u)}for(n.apply(this,i),i=0;i<l.length;i++)oZ(e,l[i]);if(oG(this))for(i=0;i<s.length;i++)r(l=s[i],Element)&&oY(e,l)}}void 0!==o.prepend&&(n.prepend=i(o.prepend)),void 0!==o.append&&(n.append=i(o.append))}oz.prototype.connectedCallback=function(e){var n=e.__CE_definition;if(n.connectedCallback)try{n.connectedCallback.call(e)}catch(e){o2(e)}},oz.prototype.disconnectedCallback=function(e){var n=e.__CE_definition;if(n.disconnectedCallback)try{n.disconnectedCallback.call(e)}catch(e){o2(e)}},oz.prototype.attributeChangedCallback=function(e,n,r,o,i){var s=e.__CE_definition;if(s.attributeChangedCallback&&-1<s.observedAttributes.indexOf(n))try{s.attributeChangedCallback.call(e,n,r,o,i)}catch(e){o2(e)}},o3.prototype.resolve=function(e){if(this.I)throw Error("Already resolved.");this.I=e,this.g(e)},o6.prototype.h=function(e){var n=this.g.readyState;for("interactive"!==n&&"complete"!==n||o9(this),n=0;n<e.length;n++)for(var r=e[n].addedNodes,o=0;o<r.length;o++)oQ(this.S,r[o])},(X=o4.prototype).jb=function(e,n){var o=this;if(!r(n,Function))throw TypeError("Custom element constructor getters must be functions.");o8(this,e),this.ma.set(e,n),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return o5(o)}))},X.define=function(e,n){var o=this;if(!r(n,Function))throw TypeError("Custom element constructors must be functions.");o8(this,e),o7(this,e,n),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return o5(o)}))},X.upgrade=function(e){oQ(this.S,e)},X.get=function(e){if(e=ie(this,e))return e.constructorFunction},X.whenDefined=function(e){if(!oq(e))return Promise.reject(SyntaxError("'"+e+"' is not a valid custom element name."));var n=this.za.get(e);if(n)return n.Ka;n=new o3,this.za.set(e,n);var r=this.na.has(e)||this.ma.has(e);return e=-1===this.oa.indexOf(e),r&&e&&n.resolve(void 0),n.Ka},X.polyfillWrapFlushCallback=function(e){this.Ga&&o9(this.Ga);var n=this.la;this.la=function(r){return e(function(){return n(r)})}},o4.prototype.define=o4.prototype.define,o4.prototype.upgrade=o4.prototype.upgrade,o4.prototype.get=o4.prototype.get,o4.prototype.whenDefined=o4.prototype.whenDefined,o4.prototype.polyfillDefineLazy=o4.prototype.jb,o4.prototype.polyfillWrapFlushCallback=o4.prototype.polyfillWrapFlushCallback;var ir={},io=window.customElements;function ii(){var e,n=new oz,o=n;function i(){var e=this.constructor,n=document.__CE_registry.Fa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return Object.setPrototypeOf(r=os.call(document,n.localName),e.prototype),r.__CE_state=1,r.__CE_definition=n,oJ(o,r),r;var i=r.length-1,s=r[i];if(s===ir)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[i]=ir,Object.setPrototypeOf(s,e.prototype),oJ(o,s),s}i.prototype=oF.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:i}),window.HTMLElement=i,e=n,Document.prototype.createElement=function(n){return o1(e,this,n,null)},Document.prototype.importNode=function(n,r){return n=oc.call(this,n,!!r),this.__CE_registry?oQ(e,n):oK(e,n),n},Document.prototype.createElementNS=function(n,r){return o1(e,this,r,n)},it(e,Document.prototype,{prepend:ou,append:oh}),it(n,DocumentFragment.prototype,{prepend:od,append:of});var s=n;function l(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 r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&oG(this)){r=Array(i);for(var l=0;l<i;l++)r[l]=o[l]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)oZ(s,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(r(e,DocumentFragment)){var o=oV(e);if(e=om.call(this,e,n),oG(this))for(n=0;n<o.length;n++)oY(s,o[n]);return e}return o=r(e,Element)&&oG(e),n=om.call(this,e,n),o&&oZ(s,e),oG(this)&&oY(s,e),n},Node.prototype.appendChild=function(e){if(r(e,DocumentFragment)){var n=oV(e);if(e=o_.call(this,e),oG(this))for(var o=0;o<n.length;o++)oY(s,n[o]);return e}return n=r(e,Element)&&oG(e),o=o_.call(this,e),n&&oZ(s,e),oG(this)&&oY(s,e),o},Node.prototype.cloneNode=function(e){return e=op.call(this,!!e),this.ownerDocument.__CE_registry?oQ(s,e):oK(s,e),e},Node.prototype.removeChild=function(e){var n=r(e,Element)&&oG(e),o=ov.call(this,e);return n&&oZ(s,e),o},Node.prototype.replaceChild=function(e,n){if(r(e,DocumentFragment)){var o=oV(e);if(e=oy.call(this,e,n),oG(this))for(oZ(s,n),n=0;n<o.length;n++)oY(s,o[n]);return e}o=r(e,Element)&&oG(e);var i=oy.call(this,e,n),l=oG(this);return l&&oZ(s,n),o&&oZ(s,e),l&&oY(s,e),i},og&&og.get?l(Node.prototype,og):(s.W=!0,s.ca.push(function(e){l(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],n=this.firstChild;n;n=n.nextSibling)n.nodeType!==Node.COMMENT_NODE&&e.push(n.textContent);return e.join("")},set:function(e){for(;this.firstChild;)ov.call(this,this.firstChild);null!=e&&""!==e&&o_.call(this,document.createTextNode(e))}})})),function(e){function n(n,r){Object.defineProperty(n,"innerHTML",{enumerable:r.enumerable,configurable:!0,get:r.get,set:function(n){var o=this,i=void 0;if(oG(this)&&(i=[],oX(e,this,function(e){e!==o&&i.push(e)})),r.set.call(this,n),i)for(var s=0;s<i.length;s++){var l=i[s];1===l.__CE_state&&e.disconnectedCallback(l)}return this.ownerDocument.__CE_registry?oQ(e,this):oK(e,this),n}})}function o(n,r){n.insertAdjacentElement=function(n,o){var i=oG(o);return n=r.call(this,n,o),i&&oZ(e,o),oG(n)&&oY(e,o),n}}function i(n,r){function o(n,r){for(var o=[];n!==r;n=n.nextSibling)o.push(n);for(r=0;r<o.length;r++)oQ(e,o[r])}n.insertAdjacentHTML=function(e,n){if("beforebegin"===(e=e.toLowerCase())){var i=this.previousSibling;r.call(this,e,n),o(i||this.parentNode.firstChild,this)}else if("afterbegin"===e)i=this.firstChild,r.call(this,e,n),o(this.firstChild,i);else if("beforeend"===e)i=this.lastChild,r.call(this,e,n),o(i||this.firstChild,null);else if("afterend"===e)i=this.nextSibling,r.call(this,e,n),o(this.nextSibling,i);else throw SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}}function s(n){return function(o){for(var i=[],s=0;s<arguments.length;++s)i[s]=arguments[s];s=[];for(var l=[],c=0;c<i.length;c++){var u=i[c];if(r(u,Element)&&oG(u)&&l.push(u),r(u,DocumentFragment))for(u=u.firstChild;u;u=u.nextSibling)s.push(u);else s.push(u)}for(n.apply(this,i),i=0;i<l.length;i++)oZ(e,l[i]);if(oG(this))for(i=0;i<s.length;i++)r(l=s[i],Element)&&oY(e,l)}}ob&&(Element.prototype.attachShadow=function(n){if(n=ob.call(this,n),e.W&&!n.__CE_patched){n.__CE_patched=!0;for(var r=0;r<e.ca.length;r++)e.ca[r](n)}return this.__CE_shadowRoot=n}),ow&&ow.get?n(Element.prototype,ow):oH&&oH.get?n(HTMLElement.prototype,oH):(e.W=!0,e.g.push(function(e){n(e,{enumerable:!0,configurable:!0,get:function(){return op.call(this,!0).innerHTML},set:function(e){var n="template"===this.localName,r=n?this.content:this,o=ol.call(document,this.namespaceURI,this.localName);for(o.innerHTML=e;0<r.childNodes.length;)ov.call(r,r.childNodes[0]);for(e=n?o.content:o;0<e.childNodes.length;)o_.call(r,e.childNodes[0])}})})),Element.prototype.setAttribute=function(n,r){if(1!==this.__CE_state)return oN.call(this,n,r);var o=oE.call(this,n);oN.call(this,n,r),r=oE.call(this,n),e.attributeChangedCallback(this,n,o,r,null)},Element.prototype.setAttributeNS=function(n,r,o){if(1!==this.__CE_state)return oO.call(this,n,r,o);var i=oT.call(this,n,r);oO.call(this,n,r,o),o=oT.call(this,n,r),e.attributeChangedCallback(this,r,i,o,n)},Element.prototype.removeAttribute=function(n){if(1!==this.__CE_state)return oS.call(this,n);var r=oE.call(this,n);oS.call(this,n),null!==r&&e.attributeChangedCallback(this,n,r,null,null)},oC&&(Element.prototype.toggleAttribute=function(n,r){if(1!==this.__CE_state)return oC.call(this,n,r);var o=oE.call(this,n);return null!==o!==(r=oC.call(this,n,r))&&e.attributeChangedCallback(this,n,o,r?"":null,null),r}),Element.prototype.removeAttributeNS=function(n,r){if(1!==this.__CE_state)return oD.call(this,n,r);var o=oT.call(this,n,r);oD.call(this,n,r);var i=oT.call(this,n,r);o!==i&&e.attributeChangedCallback(this,r,o,i,n)},oI?o(HTMLElement.prototype,oI):ox&&o(Element.prototype,ox),oB?i(HTMLElement.prototype,oB):oP&&i(Element.prototype,oP),it(e,Element.prototype,{prepend:oM,append:oA});var l=Element.prototype;void 0!==oL&&(l.before=s(oL)),void 0!==oj&&(l.after=s(oj)),void 0!==ok&&(l.replaceWith=function(n){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var s=[],l=0;l<o.length;l++){var c=o[l];if(r(c,Element)&&oG(c)&&s.push(c),r(c,DocumentFragment))for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}for(l=oG(this),ok.apply(this,o),o=0;o<s.length;o++)oZ(e,s[o]);if(l)for(oZ(e,this),o=0;o<i.length;o++)r(s=i[o],Element)&&oY(e,s)}),void 0!==oR&&(l.remove=function(){var n=oG(this);oR.call(this),n&&oZ(e,this)})}(n),window.CustomElementRegistry=o4,n=new o4(n),document.__CE_registry=n,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:n})}function ia(){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 is(e){var n=e=e.replace(ip,"").replace(i_,""),r=new ia;r.start=0,r.end=n.length;for(var o=r,i=0,s=n.length;i<s;i++)if("{"===n[i]){o.rules||(o.rules=[]);var l=o,c=l.rules[l.rules.length-1]||null;(o=new ia).start=i+1,o.parent=l,o.previous=c,l.rules.push(o)}else"}"===n[i]&&(o.end=i+1,o=o.parent||r);return function e(n,r){var o=r.substring(n.start,n.end-1);if(n.parsedCssText=n.cssText=o.trim(),n.parent&&(o=(o=(o=(o=r.substring(n.previous?n.previous.end:n.parent.start,n.start-1)).replace(/\\([0-9a-f]{1,6})\s/gi,function(e,n){for(n=6-(e=n).length;n--;)e="0"+e;return"\\"+e})).replace(iw," ")).substring(o.lastIndexOf(";")+1),o=n.parsedSelector=n.selector=o.trim(),n.atRule=0===o.indexOf("@"),n.atRule?0===o.indexOf("@media")?n.type=ih:o.match(ib)&&(n.type=iu,n.keyframesName=n.selector.split(iw).pop()):n.type=0===o.indexOf("--")?id:ic),o=n.rules)for(var i=0,s=o.length,l=void 0;i<s&&(l=o[i]);i++)e(l,r);return n}(r,e)}io&&!io.forcePolyfill&&"function"==typeof io.define&&"function"==typeof io.get||ii(),window.__CE_installPolyfill=ii;var il,ic=1,iu=7,ih=4,id=1e3,ip=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,i_=/@import[^;]*;/gim,im=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,iv=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,iy=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,ig=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,ib=/^@[^\s]*keyframes/,iw=/\s+/g,iE=!(window.ShadyDOM&&window.ShadyDOM.inUse);function iN(e){il=(!e||!e.shimcssproperties)&&(iE||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(aH=window.ShadyCSS.cssBuild);var iS=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?il=window.ShadyCSS.nativeCss:window.ShadyCSS?(iN(window.ShadyCSS),window.ShadyCSS=void 0):iN(window.WebComponents&&window.WebComponents.flags);var iC=il,iT=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,iO=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,iD=/(--[\w-]+)\s*([:,;)]|$)/gi,ix=/(animation\s*:)|(animation-name\s*:)/,iP=/@media\s(.*)/,iM=/\{[^}]*\}/g,iA=new Set;function iL(e,n){return e?("string"==typeof e&&(e=is(e)),n&&iR(e,n),function e(n,r,o){o=void 0===o?"":o;var i="";if(n.cssText||n.rules){var s,l=n.rules;if((s=l)&&(s=!((s=l[0])&&s.selector&&0===s.selector.indexOf("--"))),s){s=0;for(var c=l.length,u=void 0;s<c&&(u=l[s]);s++)i=e(u,r,i)}else(i=(r=r?n.cssText:(r=(r=n.cssText).replace(im,"").replace(iv,"")).replace(iy,"").replace(ig,"")).trim())&&(i=" "+i+"\n")}return i&&(n.selector&&(o+=n.selector+" {\n"),o+=i,n.selector&&(o+="}\n\n")),o}(e,iC)):""}function ij(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=is(e.textContent)),e.__cssRules||null}function ik(e){return!!e.parent&&e.parent.type===iu}function iR(e,n,r,o){if(e){var i=!1,s=e.type;if(o&&s===ih){var l=e.selector.match(iP);l&&(window.matchMedia(l[1]).matches||(i=!0))}if(s===ic?n(e):r&&s===iu?r(e):s===id&&(i=!0),(e=e.rules)&&!i)for(i=0,s=e.length,l=void 0;i<s&&(l=e[i]);i++)iR(l,n,r,o)}}function iF(e,n,r,o){var i=document.createElement("style");return n&&i.setAttribute("scope",n),i.textContent=e,iB(i,r,o),i}var iH=null;function iI(e){e=document.createComment(" Shady DOM styles for "+e+" ");var n=document.head;return n.insertBefore(e,(iH?iH.nextSibling:null)||n.firstChild),iH=e}function iB(e,n,r){(n=n||document.head).insertBefore(e,r&&r.nextSibling||n.firstChild),iH?e.compareDocumentPosition(iH)===Node.DOCUMENT_POSITION_PRECEDING&&(iH=e):iH=e}function iU(e,n){for(var r=0,o=e.length;n<o;n++)if("("===e[n])r++;else if(")"===e[n]&&0==--r)return n;return -1}function iq(e,n){iE?e.setAttribute("class",n):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",n)}var iW=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function iG(e){var n=e.localName,r="";return n?-1<n.indexOf("-")||(r=n,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,ja:r}}function iV(e){for(var n=[],r="",o=0;0<=o&&o<e.length;o++)if("("===e[o]){var i=iU(e,o);r+=e.slice(o,i+1),o=i}else","===e[o]?(n.push(r),r=""):r+=e[o];return r&&n.push(r),n}function i$(e){if(void 0!==aH)return aH;if(void 0===e.__cssBuild){var n=e.getAttribute("css-build");if(n)e.__cssBuild=n;else{e:{if(r(n="template"===e.localName?e.content.firstChild:e.firstChild,Comment)&&"css-build"===(n=n.textContent.trim().split(":"))[0]){n=n[1];break e}n=""}if(""!==n){var o="template"===e.localName?e.content.firstChild:e.firstChild;o.parentNode.removeChild(o)}e.__cssBuild=n}}return e.__cssBuild||""}function iz(e){return""!==(e=void 0===e?"":e)&&!!iC&&(iE?"shadow"===e:"shady"===e)}function iX(){}function iK(e,n,r){var o;if(n.nodeType===Node.ELEMENT_NODE&&r(n),o="template"===n.localName?(n.content||n._content||n).childNodes:n.children||n.childNodes)for(n=0;n<o.length;n++)iK(e,o[n],r)}function iJ(e,n,r){if(n){if(e.classList)r?(e.classList.remove("style-scope"),e.classList.remove(n)):(e.classList.add("style-scope"),e.classList.add(n));else if(e.getAttribute){var o=e.getAttribute("class");r?o&&iq(e,n=o.replace("style-scope","").replace(n,"")):iq(e,(o?o+" ":"")+"style-scope "+n)}}}function iY(e,n,r,o,i){var s,l,c,u,h,d;return""===(i=void 0===i?"":i)&&(i=iE||"shady"===(void 0===o?"":o)?iL(n,r):(s=at,l=n,c=(e=iG(e)).is,u=e.ja,h=r,d=iZ(c,u),c=c?"."+c:"",iL(l,function(e){e.i||(e.selector=e.G=iQ(s,e,s.h,c,d),e.i=!0),h&&h(e,c,d)})+"\n\n")),i.trim()}function iZ(e,n){return n?"[is="+e+"]":e}function iQ(e,n,r,o,i){var s=iV(n.selector);if(!ik(n)){n=0;for(var l=s.length,c=void 0;n<l&&(c=s[n]);n++)s[n]=r.call(e,c,o,i)}return s.filter(function(e){return!!e}).join(",")}function i0(e){return e.replace(i3,function(e,n,r){return -1<r.indexOf("+")?r=r.replace(/\+/g,"___"):-1<r.indexOf("___")&&(r=r.replace(/___/g,"+")),":"+n+"("+r+")"})}function i1(e,n){e=e.split(/(\[.+?\])/);for(var r=[],o=0;o<e.length;o++)if(1==o%2)r.push(e[o]);else{var i=e[o];(""!==i||o!==e.length-1)&&(i=i.split(":"),i[0]+=n,r.push(i.join(":")))}return r.join("")}function i2(e){":root"===e.selector&&(e.selector="html")}iX.prototype.h=function(e,n,r){var o,i,s,l=!1;e=e.trim();var c=i3.test(e);c&&(e=i0(e=e.replace(i3,function(e,n,r){return":"+n+"("+r.replace(/\s/g,"")+")"})));var u=ae.test(e);if(u){var h=function(e){for(var n,r=[];n=e.match(ae);){var o=n.index,i=iU(e,o);if(-1===i)throw Error(n.input+" selector missing ')'");n=e.slice(o,i+1),e=e.replace(n,""),r.push(n)}return{Ea:e,matches:r}}(e);e=h.Ea,h=h.matches}return e=(e=e.replace(i4,":host $1")).replace(i6,function(e,o,i){return l||(e=function(e,n,r,o){var i,s,l,c=e.indexOf("::slotted");if(0<=e.indexOf(":host")?(i=e,s=o,e=(l=(l=i.match(i8))&&l[2].trim()||"")?l[0].match(i9)?i.replace(i8,function(e,n,r){return s+r}):l.split(i9)[0]===s?l:"should_not_match":i.replace(":host",s)):0!==c&&(e=r?i1(e,r):e),r=!1,0<=c&&(n="",r=!0),r){var u=!0;r&&(e=e.replace(i7,function(e,n){return" > "+n}))}return{value:e,Ya:n,stop:u}}(i,o,n,r),l=l||e.stop,o=e.Ya,i=e.value),o+i}),u&&(o=e,i=h,s=o.split(""),e=i.reduce(function(e,n,r){return e+n+s[r+1]},s[0])),c&&(e=i0(e)),e.replace(i5,function(e,n,r,o){return'[dir="'+r+'"] '+n+o+", "+n+'[dir="'+r+'"]'+o})},iX.prototype.i=function(e){return e.match(":host")?"":e.match("::slotted")?this.h(e,":not(.style-scope)"):i1(e.trim(),":not(.style-scope)")},i.Object.defineProperties(iX.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var i3=/:(nth[-\w]+)\(([^)]+)\)/,i6=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,i9=/[[.:#*]/,i4=/^(::slotted)/,i8=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,i7=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,i5=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ae=/:(?:matches|any|-(?:webkit|moz)-any)/,at=new iX;function an(e,n,r,o,i){this.M=e||null,this.h=n||null,this.Ca=r||[],this.K=null,this.cssBuild=i||"",this.ja=o||"",this.g=this.L=this.R=null}function ar(e){return e?e.__styleInfo:null}function ao(e,n){return e.__styleInfo=n}function ai(e){var n=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return n&&n.call(this,e)}an.prototype.i=function(){return this.M},an.prototype._getStyleRules=an.prototype.i;var aa=/:host\s*>\s*/,as=navigator.userAgent.match("Trident");function al(){}function ac(e){if(!e.F){var n={},r={};au(e,r)&&(n.P=r,e.rules=null),n.cssText=e.parsedCssText.replace(iM,"").replace(iT,""),e.F=n}}function au(e,n){var r,o=e.F;if(o){if(o.P)return Object.assign(n,o.P),!0}else{for(o=e.parsedCssText;e=iT.exec(o);)("inherit"!==(r=(e[2]||e[3]).trim())||"unset"!==r)&&(n[e[1].trim()]=r),r=!0;return r}}function ah(e,n,r){return n&&(n=0<=n.indexOf(";")?ad(e,n,r):function e(n,r){var o=n.indexOf("var(");if(-1===o)return r(n,"","","");var i=iU(n,o+3),s=n.substring(o+4,i);return o=n.substring(0,o),n=e(n.substring(i+1),r),-1===(i=s.indexOf(","))?r(o,s.trim(),"",n):r(o,s.substring(0,i).trim(),s.substring(i+1).trim(),n)}(n,function(n,o,i,s){return o?((o=ah(e,r[o],r))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=ah(e,r[i]||i,r)||i,n+(o||"")+s):n+s})),n&&n.trim()||""}function ad(e,n,r){n=n.split(";");for(var o,i,s=0;s<n.length;s++)if(o=n[s]){if(iO.lastIndex=0,i=iO.exec(o))o=ah(e,r[i[1]],r);else if(-1!==(i=o.indexOf(":"))){var l=o.substring(i);l=ah(e,l=l.trim(),r)||l,o=o.substring(0,i)+l}n[s]=o&&o.lastIndexOf(";")===o.length-1?o.slice(0,-1):o||""}return n.join(";")}i.Object.defineProperties(al.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var af=new al,ap={},a_=window.customElements;if(a_&&!iE&&!iS){var am=a_.define;a_.define=function(e,n,r){ap[e]||(ap[e]=iI(e)),am.call(a_,e,n,r)}}function av(){this.cache={}}function ay(){}av.prototype.store=function(e,n,r,o){var i=this.cache[e]||[];i.push({P:n,styleElement:r,L:o}),100<i.length&&i.shift(),this.cache[e]=i};var ag=RegExp(at.g+"\\s*([^\\s]*)");function ab(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(ag))?e[1]:""}function aw(e){var n=iW(e).getRootNode();return n===e||n===e.ownerDocument?"":(e=n.host)?iG(e).is:""}function aE(e){for(var n=0;n<e.length;n++){var o=e[n];if(o.target!==document.documentElement&&o.target!==document.head)for(var i=0;i<o.addedNodes.length;i++){var s=o.addedNodes[i];if(s.nodeType===Node.ELEMENT_NODE){var l=s.getRootNode(),c=ab(s);if(c&&l===s.ownerDocument&&("style"!==s.localName&&"template"!==s.localName||""===i$(s)))!function(e,n){iK(at,e,function(e){iJ(e,n||"",!0)})}(s,c);else if(r(l,ShadowRoot))for((l=aw(s))!==c&&function(e,n,r){iK(at,e,function(e){iJ(e,n,!0),iJ(e,r)})}(s,c,l),s=window.ShadyDOM.nativeMethods.querySelectorAll.call(s,":not(."+at.g+")"),c=0;c<s.length;c++){var u=aw(l=s[c]);u&&iJ(l,u)}}}}}if(!(iE||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var aN=new MutationObserver(aE),aS=function(e){aN.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)aS(document);else{var aC=function(){aS(document.body)};window.HTMLImports?window.HTMLImports.whenReady(aC):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){aC(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else aC()})}ay=function(){aE(aN.takeRecords())}}var aT={},aO=Promise.resolve();function aD(e){(e=aT[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function ax(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var aP={},aM=new av;function aA(){this.ea={},this.i=document.documentElement;var e=new ia;e.rules=[],this.u=ao(this.i,new an(e)),this.O=!1,this.g=this.h=null}function aL(e){var n=iG(e),r=n.is;n=n.ja;var o=ap[r]||null,i=aT[r];if(i)return ao(e,n=new an(r=i._styleAst,o,i.g,n,i=i$(i))),n}function aj(e){if(!e.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.h=window.ShadyCSS.ApplyShim,e.h.invalidCallback=aD;var n=!0}else n=!1;return!e.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(n){e.Qa(n)},e.g.validateCallback=function(){requestAnimationFrame(function(){(e.g.enqueued||e.O)&&e.flushCustomStyles()})}),n}function ak(e,n,r){var o,i=iG(n).is;if(r.K){var s,l=r.K;for(s in l)null===s?n.style.removeProperty(s):n.style.setProperty(s,l[s])}!(!(l=aT[i])&&n!==e.i||l&&""!==i$(l))&&l&&l._style&&!ax(l)&&((ax(l)||l._applyShimValidatingVersion!==l._applyShimNextVersion)&&(aj(e),e.h&&e.h.transformRules(l._styleAst,i),l._style.textContent=iY(n,r.M),(o=l)._applyShimValidatingVersion=o._applyShimNextVersion,o._validating||(o._validating=!0,aO.then(function(){o._applyShimCurrentVersion=o._applyShimNextVersion,o._validating=!1}))),iE&&(e=n.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=iY(n,r.M)),r.M=l._styleAst)}function aR(e,n){return(n=iW(n).getRootNode().host)?ar(n)||aL(n)?n:aR(e,n):e.i}function aF(e,n,r){var o,i,s,l,c,u,h,d,f,p=aR(e,n),_=ar(p),m=_.R;for(var v in p===e.i||m||(aF(e,p,_),m=_.R),e=Object.create(m||null),o=n,i=r.M,s=r.cssBuild,l={},c={},iR(i,function(e){!function(e,n,r,o){if(n.F||ac(n),n.F.P){var i=iG(e);e=i.is,i=i.ja,i=e?iZ(e,i):"html";var s=n.parsedSelector,l=!!s.match(aa)||"html"===i&&-1<s.indexOf("html"),c=0===s.indexOf(":host")&&!l;"shady"===r&&(c=!(l=s===i+" > *."+i||-1!==s.indexOf("html"))&&0===s.indexOf(i)),(l||c)&&(r=i,c&&(n.G||(n.G=iQ(at,n,at.h,e?"."+e:"",i)),r=n.G||i),l&&"html"===i&&(r=n.G||n.O),o({Ea:r,gb:c,vb:l}))}}(o,e,s,function(n){ai.call(o._element||o,n.Ea)&&(n.gb?au(e,l):au(e,c))})},null,!0),p={mb:c,eb:l},n=(u=_.M,h=n,d={},f=[],iR(u,function(e){e.F||ac(e);var n=e.G||e.parsedSelector;h&&e.F.P&&n&&ai.call(h,n)&&(au(e,d),f[n=parseInt((e=e.index)/32,10)]=(f[n]||0)|1<<e%32)},null,!0),{P:d,key:f}).P,Object.assign(e,p.eb,n,p.mb),n=r.K)((_=n[v])||0===_)&&(e[v]=_);for(_=0,v=af,n=Object.getOwnPropertyNames(e);_<n.length;_++)e[p=n[_]]=ah(v,e[p],e);r.R=e}(X=aA.prototype).flush=function(){ay()},X.bb=function(e){return ij(e)},X.qb=function(e){return iL(e)},X.prepareTemplate=function(e,n,r){this.prepareTemplateDom(e,n),this.prepareTemplateStyles(e,n,r)},X.prepareTemplateStyles=function(e,n,r){if(!e._prepared&&!iS){iE||ap[n]||(ap[n]=iI(n)),e._prepared=!0,e.name=n,e.extends=r,aT[n]=e;var o=i$(e),i=iz(o);r={is:n,extends:r};for(var s=[],l=e.content.querySelectorAll("style"),c=0;c<l.length;c++){var u=l[c];if(u.hasAttribute("shady-unscoped")){if(!iE){var h=u.textContent;if(!iA.has(h)){iA.add(h);var d=document.createElement("style");d.setAttribute("shady-unscoped",""),d.textContent=h,document.head.appendChild(d)}u.parentNode.removeChild(u)}}else s.push(u.textContent),u.parentNode.removeChild(u)}s=s.join("").trim()+(aP[n]||""),aj(this),i||((l=!o)&&(l=iO.test(s)||iT.test(s),iO.lastIndex=0,iT.lastIndex=0),c=is(s),l&&iC&&this.h&&this.h.transformRules(c,n),e._styleAst=c),l=[],iC||(l=function(e){var n={},r=[],o=0;for(var i in iR(e,function(e){ac(e),e.index=o++,e=e.F.cssText;for(var r;r=iD.exec(e);){var i=r[1];":"!==r[2]&&(n[i]=!0)}},function(e){r.push(e)}),e.h=r,e=[],n)e.push(i);return e}(e._styleAst)),(!l.length||iC)&&(c=iE?e.content:null,n=ap[n]||null,o=(o=iY(r,e._styleAst,null,o,i?s:"")).length?iF(o,r.is,c,n):null,e._style=o),e.g=l}},X.kb=function(e,n){aP[n]=e.join(" ")},X.prepareTemplateDom=function(e,n){if(!iS){var r,o=i$(e);iE||"shady"===o||e._domPrepared||(e._domPrepared=!0,r=e.content,iK(at,r,function(e){iJ(e,n||"")}))}},X.flushCustomStyles=function(){if(!iS){var e=aj(this);if(this.g){var n=this.g.processStyles();if((e||this.g.enqueued)&&!iz(this.u.cssBuild)){if(iC){if(!this.u.cssBuild)for(e=0;e<n.length;e++){var r,o,i=this.g.getStyleForCustomStyle(n[e]);if(i&&iC&&this.h){var s=ij(i);aj(this),this.h.transformRules(s),i.textContent=iL(s)}}}else{for(r=this,(o=(o=n).map(function(e){return r.g.getStyleForCustomStyle(e)}).filter(function(e){return!!e})).sort(function(e,n){return(e=n.compareDocumentPosition(e))&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),r.u.M.rules=o.map(function(e){return ij(e)}),aF(this,this.i,this.u),e=0;e<n.length;e++)(i=this.g.getStyleForCustomStyle(n[e]))&&function(e,n){var r=ij(e);e.textContent=iL(r,function(e){var r=e.cssText=e.parsedCssText;e.F&&e.F.cssText&&(e.cssText=ad(af,r=r.replace(im,"").replace(iv,""),n))})}(i,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},X.styleElement=function(e,n){if(iS){if(n){ar(e)||ao(e,new an(null));var r=ar(e);r.K=r.K||{},Object.assign(r.K,n),ak(this,e,r)}}else if(r=ar(e)||aL(e)){if(e!==this.i&&(this.O=!0),n&&(r.K=r.K||{},Object.assign(r.K,n)),iC)ak(this,e,r);else if(this.flush(),aF(this,e,r),r.Ca&&r.Ca.length){n=iG(e).is;e:{if(f=aM.cache[n])for(var o,i,s,l,c,u,h,d,f,p=f.length-1;0<=p;p--){var _=f[p];t:{for(var m=r.Ca,v=0;v<m.length;v++){var y=m[v];if(_.P[y]!==r.R[y]){m=!1;break t}}m=!0}if(m){f=_;break e}}f=void 0}m=f?f.styleElement:null,p=r.L,(_=f&&f.L)||(_=this.ea[n]=(this.ea[n]||0)+1,_=n+"-"+_),r.L=_,_=r.L,v=af,v=m?m.textContent||"":(o=v,i=r.R,s=_,c=iZ((l=iG(e)).is,l.ja),u=RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+c.slice(0,-1)+"\\]":c)+"($|[.:[\\s>+~])"),l=(h=ar(e)).M,h=h.cssBuild,d=function(e,n){e=e.h;var r={};if(!iE&&e)for(var o=0,i=e[o];o<e.length;i=e[++o]){var s=i;s.u=RegExp("\\b"+s.keyframesName+"(?!\\B|-)","g"),s.g=s.keyframesName+"-"+n,s.G=s.G||s.selector,s.selector=s.G.replace(s.keyframesName,s.g),r[i.keyframesName]=function(e){return function(n){return n.replace(e.u,e.g)}}(i)}return r}(l,s),iY(e,l,function(e){var n="";if(e.F||ac(e),e.F.cssText&&(n=ad(o,e.F.cssText,i)),e.cssText=n,!iE&&!ik(e)&&e.cssText){var r=n=e.cssText;if(null==e.Ma&&(e.Ma=ix.test(n)),e.Ma)if(null==e.ra)for(var l in e.ra=[],d)r=(r=d[l])(n),n!==r&&(n=r,e.ra.push(l));else{for(l=0;l<e.ra.length;++l)n=(r=d[e.ra[l]])(n);r=n}e.cssText=r,e.G=e.G||e.selector,n="."+s,l=iV(e.G),r=0;for(var h=l.length,f=void 0;r<h&&(f=l[r]);r++)l[r]=f.match(u)?f.replace(c,n):n+" "+f;e.selector=l.join(",")}},h));var g=(y=ar(e)).g;g&&!iE&&g!==m&&(g._useCount--,0>=g._useCount&&g.parentNode&&g.parentNode.removeChild(g)),iE?y.g?(y.g.textContent=v,m=y.g):v&&(m=iF(v,_,e.shadowRoot,y.h)):m?m.parentNode||(as&&-1<v.indexOf("@media")&&(m.textContent=v),iB(m,null,y.h)):v&&(m=iF(v,_,null,y.h)),m&&(m._useCount=m._useCount||0,y.g!=m&&m._useCount++,y.g=m),_=m,iE||(m=r.L,y=v=e.getAttribute("class")||"",p&&(y=v.replace(RegExp("\\s*x-scope\\s*"+p+"\\s*","g")," ")),v!==(y+=(y?" ":"")+"x-scope "+m)&&iq(e,y)),f||aM.store(n,r.R,_,r.L)}}},X.styleDocument=function(e){this.styleSubtree(this.i,e)},X.styleSubtree=function(e,n){var r=iW(e),o=r.shadowRoot,i=e===this.i;if((o||i)&&this.styleElement(e,n),e=i?r:o)for(e=Array.from(e.querySelectorAll("*")).filter(function(e){return iW(e).shadowRoot}),n=0;n<e.length;n++)this.styleSubtree(e[n])},X.Qa=function(e){var n=this,r=i$(e);if(r!==this.u.cssBuild&&(this.u.cssBuild=r),!iz(r)){var o=ij(e);iR(o,function(e){iE?i2(e):(e.selector=e.parsedSelector,i2(e),e.selector=e.G=iQ(at,e,at.i,void 0,void 0)),iC&&""===r&&(aj(n),n.h&&n.h.transformRule(e))}),iC?e.textContent=iL(o):this.u.M.rules.push(o)}},X.getComputedStyleValue=function(e,n){var r;return iC||(r=(ar(e)||ar(aR(this,e))).R[n]),(r=r||window.getComputedStyle(e).getPropertyValue(n))?r.trim():""},X.pb=function(e,n){var r=iW(e).getRootNode();if(n=n?("string"==typeof n?n:String(n)).split(/\s/):[],!(r=r.host&&r.host.localName)){var o=e.getAttribute("class");if(o){o=o.split(/\s/);for(var i=0;i<o.length;i++)if(o[i]===at.g){r=o[i+1];break}}}r&&n.push(at.g,r),iC||(r=ar(e))&&r.L&&n.push(af.g,r.L),iq(e,n.join(" "))},X.Xa=function(e){return ar(e)},X.ob=function(e,n){iJ(e,n)},X.rb=function(e,n){iJ(e,n,!0)},X.nb=function(e){return aw(e)},X.$a=function(e){return ab(e)},aA.prototype.flush=aA.prototype.flush,aA.prototype.prepareTemplate=aA.prototype.prepareTemplate,aA.prototype.styleElement=aA.prototype.styleElement,aA.prototype.styleDocument=aA.prototype.styleDocument,aA.prototype.styleSubtree=aA.prototype.styleSubtree,aA.prototype.getComputedStyleValue=aA.prototype.getComputedStyleValue,aA.prototype.setElementClass=aA.prototype.pb,aA.prototype._styleInfoForNode=aA.prototype.Xa,aA.prototype.transformCustomStyleForDocument=aA.prototype.Qa,aA.prototype.getStyleAst=aA.prototype.bb,aA.prototype.styleAstToString=aA.prototype.qb,aA.prototype.flushCustomStyles=aA.prototype.flushCustomStyles,aA.prototype.scopeNode=aA.prototype.ob,aA.prototype.unscopeNode=aA.prototype.rb,aA.prototype.scopeForNode=aA.prototype.nb,aA.prototype.currentScopeForNode=aA.prototype.$a,aA.prototype.prepareAdoptedCssText=aA.prototype.kb,Object.defineProperties(aA.prototype,{nativeShadow:{get:function(){return iE}},nativeCss:{get:function(){return iC}}});var aH,aI,aB,aU=new aA;window.ShadyCSS&&(aI=window.ShadyCSS.ApplyShim,aB=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:aU,prepareTemplate:function(e,n,r){aU.flushCustomStyles(),aU.prepareTemplate(e,n,r)},prepareTemplateDom:function(e,n){aU.prepareTemplateDom(e,n)},prepareTemplateStyles:function(e,n,r){aU.flushCustomStyles(),aU.prepareTemplateStyles(e,n,r)},styleSubtree:function(e,n){aU.flushCustomStyles(),aU.styleSubtree(e,n)},styleElement:function(e){aU.flushCustomStyles(),aU.styleElement(e)},styleDocument:function(e){aU.flushCustomStyles(),aU.styleDocument(e)},flushCustomStyles:function(){aU.flushCustomStyles()},getComputedStyleValue:function(e,n){return aU.getComputedStyleValue(e,n)},nativeCss:iC,nativeShadow:iE,cssBuild:aH,disableRuntime:iS},aI&&(window.ShadyCSS.ApplyShim=aI),aB&&(window.ShadyCSS.CustomStyleInterface=aB),function(e){function n(e){return""==e&&(s.call(this),this.m=!0),e.toLowerCase()}function o(e){var n=e.charCodeAt(0);return 32<n&&127>n&&-1==[34,35,60,62,63,96].indexOf(n)?e:encodeURIComponent(e)}function i(e,r,i){var l=r||"scheme start",c=0,u="",_=!1,m=!1;e:for(;(void 0!=e[c-1]||0==c)&&!this.m;){var v=e[c];switch(l){case"scheme start":if(v&&f.test(v))u+=v.toLowerCase(),l="scheme";else if(r)break e;else{u="",l="no scheme";continue}break;case"scheme":if(v&&p.test(v))u+=v.toLowerCase();else if(":"==v){if(this.l=u,u="",r)break e;void 0!==h[this.l]&&(this.H=!0),l="file"==this.l?"relative":this.H&&i&&i.l==this.l?"relative or authority":this.H?"authority first slash":"scheme data"}else if(r)break e;else{u="",c=0,l="no scheme";continue}break;case"scheme data":"?"==v?(this.A="?",l="query"):"#"==v?(this.C="#",l="fragment"):void 0!=v&&" "!=v&&"\n"!=v&&"\r"!=v&&(this.ya+=o(v));break;case"no scheme":if(i&&void 0!==h[i.l]){l="relative";continue}s.call(this),this.m=!0;break;case"relative or authority":if("/"==v&&"/"==e[c+1])l="authority ignore slashes";else{l="relative";continue}break;case"relative":if(this.H=!0,"file"!=this.l&&(this.l=i.l),void 0==v){this.o=i.o,this.v=i.v,this.s=i.s.slice(),this.A=i.A,this.B=i.B,this.j=i.j;break e}if("/"==v||"\\"==v)l="relative slash";else if("?"==v)this.o=i.o,this.v=i.v,this.s=i.s.slice(),this.A="?",this.B=i.B,this.j=i.j,l="query";else if("#"==v)this.o=i.o,this.v=i.v,this.s=i.s.slice(),this.A=i.A,this.C="#",this.B=i.B,this.j=i.j,l="fragment";else{l=e[c+1];var y=e[c+2];"file"==this.l&&f.test(v)&&(":"==l||"|"==l)&&(void 0==y||"/"==y||"\\"==y||"?"==y||"#"==y)||(this.o=i.o,this.v=i.v,this.B=i.B,this.j=i.j,this.s=i.s.slice(),this.s.pop()),l="relative path";continue}break;case"relative slash":if("/"==v||"\\"==v)l="file"==this.l?"file host":"authority ignore slashes";else{"file"!=this.l&&(this.o=i.o,this.v=i.v,this.B=i.B,this.j=i.j),l="relative path";continue}break;case"authority first slash":if("/"==v)l="authority second slash";else{l="authority ignore slashes";continue}break;case"authority second slash":if(l="authority ignore slashes","/"!=v)continue;break;case"authority ignore slashes":if("/"!=v&&"\\"!=v){l="authority";continue}break;case"authority":if("@"==v){for(_&&(u+="%40"),_=!0,v=0;v<u.length;v++)" "==(y=u[v])||"\n"==y||"\r"==y||(":"==y&&null===this.j?this.j="":(y=o(y),null!==this.j?this.j+=y:this.B+=y));u=""}else if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v){c-=u.length,u="",l="host";continue}else u+=v;break;case"file host":if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v){2==u.length&&f.test(u[0])&&(":"==u[1]||"|"==u[1])?l="relative path":(0!=u.length&&(this.o=n.call(this,u),u=""),l="relative path start");continue}" "==v||"\n"==v||"\r"==v||(u+=v);break;case"host":case"hostname":if(":"!=v||m)if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v){if(this.o=n.call(this,u),u="",l="relative path start",r)break e;continue}else" "!=v&&"\n"!=v&&"\r"!=v&&("["==v?m=!0:"]"==v&&(m=!1),u+=v);else if(this.o=n.call(this,u),u="",l="port","hostname"==r)break e;break;case"port":if(/[0-9]/.test(v))u+=v;else if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v||r){if(""!=u&&((u=parseInt(u,10))!=h[this.l]&&(this.v=u+""),u=""),r)break e;l="relative path start";continue}else" "==v||"\n"==v||"\r"==v||(s.call(this),this.m=!0);break;case"relative path start":if(l="relative path","/"!=v&&"\\"!=v)continue;break;case"relative path":void 0!=v&&"/"!=v&&"\\"!=v&&(r||"?"!=v&&"#"!=v)?" "!=v&&"\n"!=v&&"\r"!=v&&(u+=o(v)):((y=d[u.toLowerCase()])&&(u=y),".."==u?(this.s.pop(),"/"!=v&&"\\"!=v&&this.s.push("")):"."==u&&"/"!=v&&"\\"!=v?this.s.push(""):"."!=u&&("file"==this.l&&0==this.s.length&&2==u.length&&f.test(u[0])&&"|"==u[1]&&(u=u[0]+":"),this.s.push(u)),u="","?"==v?(this.A="?",l="query"):"#"==v&&(this.C="#",l="fragment"));break;case"query":r||"#"!=v?void 0!=v&&" "!=v&&"\n"!=v&&"\r"!=v&&(this.A+=function(e){var n=e.charCodeAt(0);return 32<n&&127>n&&-1==[34,35,60,62,96].indexOf(n)?e:encodeURIComponent(e)}(v)):(this.C="#",l="fragment");break;case"fragment":void 0!=v&&" "!=v&&"\n"!=v&&"\r"!=v&&(this.C+=v)}c++}}function s(){this.B=this.ya=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.H=this.m=!1}function l(e,n){void 0===n||r(n,l)||(n=new l(String(n))),this.g=e,s.call(this),i.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,n)}var c=!1;try{var u=new URL("b","http://a");u.pathname="c%20d",c="http://a/c%20d"===u.href}catch(e){}if(!c){var h=Object.create(null);h.ftp=21,h.file=0,h.gopher=70,h.http=80,h.https=443,h.ws=80,h.wss=443;var d=Object.create(null);d["%2e"]=".",d[".%2e"]="..",d["%2e."]="..",d["%2e%2e"]="..";var f=/[a-zA-Z]/,p=/[a-zA-Z0-9+\-.]/;l.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var _="";return(""!=this.B||null!=this.j)&&(_=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.H?"//"+_+this.host:"")+this.pathname+this.A+this.C},set href(t){s.call(this),i.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||i.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.H&&i.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.H&&i.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.H&&i.call(this,t,"port")},get pathname(){return this.m?"":this.H?"/"+this.s.join("/"):this.ya},set pathname(t){!this.m&&this.H&&(this.s=[],i.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.H&&(this.A="?","?"==t[0]&&(t=t.slice(1)),i.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?(this.C="#","#"==t[0]&&(t=t.slice(1)),i.call(this,t,"fragment")):this.C="")},get origin(){var m;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(m=this.host)?this.l+"://"+m:""}};var v=e.URL;v&&(l.createObjectURL=function(e){return v.createObjectURL.apply(v,arguments)},l.revokeObjectURL=function(e){v.revokeObjectURL(e)}),e.URL=l}}(window);var aq=window.customElements,aW=!1,aG=null;function aV(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),aG&&aG(),aW=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}aq.polyfillWrapFlushCallback&&aq.polyfillWrapFlushCallback(function(e){aG=e,aW&&e()}),"complete"!==document.readyState?(window.addEventListener("load",aV),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",aV),aV()})):aV()}).call(self),e=function(){var e="__scoped";null!=self.reactiveElementPolyfillSupport||(self.reactiveElementPolyfillSupport=function(n){var o=n.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var i=o.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(i);var s=i.createRenderRoot;i.createRenderRoot=function(){var n,o,i,l=this.localName;if(window.ShadyCSS.nativeShadow)return s.call(this);if(!this.constructor.hasOwnProperty(e)){this.constructor[e]=!0;var c=this.constructor.elementStyles.map(function(e){return r(e,CSSStyleSheet)?Array.from(e.cssRules).reduce(function(e,n){return e+n.cssText},""):e.cssText});null==(o=null==(n=window.ShadyCSS)?void 0:n.ScopingShim)||o.prepareAdoptedCssText(c,l),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),l)}return null!=(i=this.shadowRoot)?i:this.attachShadow(this.constructor.shadowRootOptions)};var l=i.connectedCallback;i.connectedCallback=function(){l.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var c=i._$AE;i._$AE=function(e){this.hasUpdated||window.ShadyCSS.styleElement(this),c.call(this,e)}}});var n=new Set,o=new Map;null!=self.litHtmlPolyfillSupport||(self.litHtmlPolyfillSupport=function(e,i){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var s=function(e){return void 0!==e&&!n.has(e)},l=function(e){var n=o.get(e);return void 0===n&&o.set(e,n=[]),n},c=new Map,u=e.createElement;e.createElement=function(n,r){var o=u.call(e,n,r),i=null==r?void 0:r.scope;if(void 0!==i&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(o,i),s(i))){var c=l(i),h=o.content.querySelectorAll("style");c.push.apply(c,Array.from(h).map(function(e){var n;return null==(n=e.parentNode)||n.removeChild(e),e.textContent}))}return o};var h=document.createDocumentFragment(),d=document.createComment(""),f=i.prototype,p=f._$AI;f._$AI=function(e,i){void 0===i&&(i=this);var c,u,f=this._$AA.parentNode,_=null==(c=this.options)?void 0:c.scope;if(r(f,ShadowRoot)&&s(_)){var m,v,y,g=this._$AA,b=this._$AB;h.appendChild(d),this._$AA=d,this._$AB=null,p.call(this,e,i);var w=(null==e?void 0:e._$litType$)?this._$AH._$AD.el:document.createElement("template");if((y=0!==(v=l(_)).length)&&((m=document.createElement("style")).textContent=v.join("\n"),w.content.appendChild(m)),n.add(_),o.delete(_),window.ShadyCSS.prepareTemplateStyles(w,_),y&&window.ShadyCSS.nativeShadow&&null!==(m=w.content.querySelector("style"))&&w.content.appendChild(m),h.removeChild(d),null==(u=window.ShadyCSS)?void 0:u.nativeShadow){var E=w.content.querySelector("style");null!==E&&h.appendChild(E.cloneNode(!0))}f.insertBefore(h,b),this._$AA=g,this._$AB=b}else p.call(this,e,i)},f._$AC=function(n){var r,o=null==(r=this.options)?void 0:r.scope,i=c.get(o);void 0===i&&c.set(o,i=new Map);var s=i.get(n.strings);return void 0===s&&i.set(n.strings,s=new e(n,this.options)),s}}}),null!=self.litElementPolyfillSupport||(self.litElementPolyfillSupport=function(e){var n=e.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var r=n.prototype,o=r.createRenderRoot;r.createRenderRoot=function(){return this.renderOptions.scope=this.localName,o.call(this)}}})},"function"==typeof define&&define.amd?define(e):e()}();
1
+ !function(){"use strict";if(void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var e,n=HTMLElement;window.HTMLElement=({HTMLElement:function(){return Reflect.construct(n,[],this.constructor)}}).HTMLElement,HTMLElement.prototype=n.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,n)}function r(e,n){return null!=n&&"u">typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n}function o(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(function(){function e(e){var n=0;return function(){return n<e.length?{done:!1,value:e[n++]}:{done:!0}}}var n="function"==typeof Object.defineProperties?Object.defineProperty:function(e,n,r){return e==Array.prototype||e==Object.prototype||(e[n]=r.value),e},i=function(e){e=["object"==("u"<typeof globalThis?"undefined":o(globalThis))&&globalThis,e,"object"==("u"<typeof window?"undefined":o(window))&&window,"object"==("u"<typeof self?"undefined":o(self))&&self,"object"==("u"<typeof global?"undefined":o(global))&&global];for(var n=0;n<e.length;++n){var r=e[n];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function s(e,r){if(r)e:{var o=i;e=e.split(".");for(var s=0;s<e.length-1;s++){var l=e[s];if(!(l in o))break e;o=o[l]}(r=r(s=o[e=e[e.length-1]]))!=s&&null!=r&&n(o,e,{configurable:!0,writable:!0,value:r})}}function l(n){var r="u">typeof Symbol&&Symbol.iterator&&n[Symbol.iterator];return r?r.call(n):{next:e(n)}}function c(e){if(!r(e,Array)){e=l(e);for(var n,o=[];!(n=e.next()).done;)o.push(n.value);e=o}return e}if(s("Symbol",function(e){function o(e,r){this.g=e,n(this,"description",{configurable:!0,writable:!0,value:r})}if(e)return e;o.prototype.toString=function(){return this.g};var i=0;return function e(n){if(r(this,e))throw TypeError("Symbol is not a constructor");return new o("jscomp_symbol_"+(n||"")+"_"+i++,n)}}),s("Symbol.iterator",function(r){if(r)return r;r=Symbol("Symbol.iterator");for(var o="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),s=0;s<o.length;s++){var l=i[o[s]];"function"==typeof l&&"function"!=typeof l.prototype[r]&&n(l.prototype,r,{configurable:!0,writable:!0,value:function(){var n;return(n={next:n=e(this)})[Symbol.iterator]=function(){return this},n}})}return r}),"function"==typeof Object.setPrototypeOf)K=Object.setPrototypeOf;else{e:{var u={};try{u.__proto__={a:!0},J=u.a;break e}catch(e){}J=!1}K=J?function(e,n){if(e.__proto__=n,e.__proto__!==n)throw TypeError(e+" is not extensible");return e}:null}var h=K;function d(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function f(e){if(e.u)throw TypeError("Generator is already running");e.u=!0}function p(e,n){e.i={ab:n,fb:!0},e.g=e.ea}function _(e,n){return e.g=3,{value:n}}function m(e){this.g=new d,this.h=e}function v(e,n,o,i){try{var s=n.call(e.g.h,o);if(!r(s,Object))throw TypeError("Iterator result "+s+" is not an object");if(!s.done)return e.g.u=!1,s;var l=s.value}catch(n){return e.g.h=null,p(e.g,n),y(e)}return e.g.h=null,i.call(e.g,l),y(e)}function y(e){for(;e.g.g;)try{var n=e.h(e.g);if(n)return e.g.u=!1,{value:n.value,done:!1}}catch(n){e.g.Oa=void 0,p(e.g,n)}if(e.g.u=!1,e.g.i){if(n=e.g.i,e.g.i=null,n.fb)throw n.ab;return{value:n.return,done:!0}}return{value:void 0,done:!0}}function g(e){this.next=function(n){return f(e.g),e.g.h?n=v(e,e.g.h.next,n,e.g.O):(e.g.O(n),n=y(e)),n},this.throw=function(n){return f(e.g),e.g.h?n=v(e,e.g.h.throw,n,e.g.O):(p(e.g,n),n=y(e)),n},this.return=function(n){var r;return f(e.g),(r=e.g.h)?v(e,"return"in r?r.return:function(e){return{value:e,done:!0}},n,e.g.return):(e.g.return(n),y(e))},this[Symbol.iterator]=function(){return this}}function b(e,n){return n=new g(new m(n)),h&&e.prototype&&h(n,e.prototype),n}d.prototype.O=function(e){this.Oa=e},d.prototype.return=function(e){this.i={return:e},this.g=this.ea},Array.from||(Array.from=function(e){return[].slice.call(e)}),Object.assign||(Object.assign=function(e){for(var n,r=[].slice.call(arguments,1),o=0;o<r.length;o++)if(n=r[o])for(var i=Object.keys(n),s=0;s<i.length;s++){var l=i[s];e[l]=n[l]}return e});var w=setTimeout;function E(){}function N(e){if(!r(this,N))throw TypeError("Promises must be constructed via new");if("function"!=typeof e)throw TypeError("not a function");this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],x(e,this)}function S(e,n){for(;3===e.N;)e=e.I;0===e.N?e.ba.push(n):(e.Ha=!0,M(function(){var r=1===e.N?n.hb:n.ib;if(null===r)(1===e.N?C:T)(n.promise,e.I);else{try{var o=r(e.I)}catch(e){T(n.promise,e);return}C(n.promise,o)}}))}function C(e,n){try{if(n===e)throw TypeError("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":o(n))||"function"==typeof n)){var i=n.then;if(r(n,N)){e.N=3,e.I=n,O(e);return}if("function"==typeof i)return void x(function(){i.apply(n,arguments)},e)}e.N=1,e.I=n,O(e)}catch(n){T(e,n)}}function T(e,n){e.N=2,e.I=n,O(e)}function O(e){2===e.N&&0===e.ba.length&&M(function(){e.Ha||"u">typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e.I)});for(var n=0,r=e.ba.length;n<r;n++)S(e,e.ba[n]);e.ba=null}function D(e,n,r){this.hb="function"==typeof e?e:null,this.ib="function"==typeof n?n:null,this.promise=r}function x(e,n){var r=!1;try{e(function(e){r||(r=!0,C(n,e))},function(e){r||(r=!0,T(n,e))})}catch(e){r||(r=!0,T(n,e))}}function P(e){return e&&"object"===(void 0===e?"undefined":o(e))&&e.constructor===N?e:new N(function(n){n(e)})}N.prototype.catch=function(e){return this.then(null,e)},N.prototype.then=function(e,n){var r=new this.constructor(E);return S(this,new D(e,n,r)),r},N.prototype.finally=function(e){var n=this.constructor;return this.then(function(r){return n.resolve(e()).then(function(){return r})},function(r){return n.resolve(e()).then(function(){return n.reject(r)})})};var M="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){w(e,0)};if(!window.Promise){window.Promise=N,N.prototype.then=N.prototype.then,N.all=function(e){return new N(function(n,r){if(!e||void 0===e.length)return r(TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return n([]);for(var s=i.length,l=0;l<i.length;l++)!function e(l,c){try{if(c&&("object"===(void 0===c?"undefined":o(c))||"function"==typeof c)){var u=c.then;if("function"==typeof u)return void u.call(c,function(n){e(l,n)},r)}i[l]=c,0==--s&&n(i)}catch(e){r(e)}}(l,i[l])})},N.race=function(e){return new N(function(n,r){if(!e||void 0===e.length)return r(TypeError("Promise.race accepts an array"));for(var o=0,i=e.length;o<i;o++)P(e[o]).then(n,r)})},N.resolve=P,N.reject=function(e){return new N(function(n,r){r(e)})};var A=document.createTextNode(""),L=[];new MutationObserver(function(){for(var e=L.length,n=0;n<e;n++)L[n]();L.splice(0,e)}).observe(A,{characterData:!0}),M=function(e){L.push(e),A.textContent=0<A.textContent.length?"":"a"}}!function(e,n){if(!(n in e)){var i=("u"<typeof global?"undefined":o(global))===(void 0===i?"undefined":o(i))?window:global,s=0,l=String(Math.random()),c="__\x01symbol@@"+l,u=e.getOwnPropertyNames,h=e.getOwnPropertyDescriptor,d=e.create,f=e.keys,p=e.freeze||e,_=e.defineProperty,m=e.defineProperties,v=h(e,"getOwnPropertyNames"),y=e.prototype,g=y.hasOwnProperty,b=y.propertyIsEnumerable,w=y.toString,E=function(e,n,r){g.call(e,c)||_(e,c,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[c]["@@"+n]=r},N=function(e,n){var r=d(e);return u(n).forEach(function(e){O.call(n,e)&&L(r,e,n[e])}),r},S=function(){},C=function(e){return e!=c&&!g.call(P,e)},T=function(e){return e!=c&&g.call(P,e)},O=function(e){var n=String(e);return T(n)?g.call(this,n)&&!!this[c]&&this[c]["@@"+n]:b.call(this,e)},D=function(n){return _(y,n,{enumerable:!1,configurable:!0,get:S,set:function(e){k(this,n,{enumerable:!1,configurable:!0,writable:!0,value:e}),E(this,n,!0)}}),P[n]=_(e(n),"constructor",M),p(P[n])},x=function e(n){if(r(this,e))throw TypeError("Symbol is not a constructor");return D("__\x01symbol:".concat(n||"",l,++s))},P=d(null),M={value:x},A=function(e){return P[e]},L=function(e,n,r){var o=String(n);if(T(o)){if(n=k,r.enumerable){var i=d(r);i.enumerable=!1}else i=r;n(e,o,i),E(e,o,!!r.enumerable)}else _(e,n,r);return e},j=function(e){return u(e).filter(T).map(A)};v.value=L,_(e,"defineProperty",v),v.value=j,_(e,n,v),v.value=function(e){return u(e).filter(C)},_(e,"getOwnPropertyNames",v),v.value=function(e,n){var r=j(n);return r.length?f(n).concat(r).forEach(function(r){O.call(n,r)&&L(e,r,n[r])}):m(e,n),e},_(e,"defineProperties",v),v.value=O,_(y,"propertyIsEnumerable",v),v.value=x,_(i,"Symbol",v),v.value=function(e){return(e="__\x01symbol:".concat("__\x01symbol:",e,l))in y?P[e]:D(e)},_(x,"for",v),v.value=function(e){if(C(e))throw TypeError(e+" is not a symbol");if(g.call(P,e)&&"__\x01symbol:"===(e=e.slice(10)).slice(0,10)&&(e=e.slice(10))!==l)return 0<(e=e.slice(0,e.length-l.length)).length?e:void 0},_(x,"keyFor",v),v.value=function(e,n){var r=h(e,n);return r&&T(n)&&(r.enumerable=O.call(e,n)),r},_(e,"getOwnPropertyDescriptor",v),v.value=function(e,n){return 1==arguments.length||void 0===n?d(e):N(e,n)},_(e,"create",v),v.value=function(){var e=w.call(this);return"[object String]"===e&&T(this)?"[object Symbol]":e},_(y,"toString",v);try{if(!0===d(_({},"__\x01symbol:",{get:function(){return _(this,"__\x01symbol:",{value:!0})["__\x01symbol:"]}}))["__\x01symbol:"])var k=_;else throw"IE11"}catch(e){k=function(e,n,r){var o=h(y,n);delete y[n],_(e,n,r),_(y,n,o)}}}}(Object,"getOwnPropertySymbols"),q=Object,W=Symbol,V=q.defineProperty,z=($=q.prototype).toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(e){e in W||(V(W,e,{value:W(e)}),"toStringTag"===e&&((G=q.getOwnPropertyDescriptor($,"toString")).value=function(){var e=z.call(this),n=null==this?this:this[W.toStringTag];return null==n?e:"[object "+n+"]"},V($,"toString",G)))}),function(e,n,r){function o(){return this}n[e]||(n[e]=function(){var n=0,r=this,i={next:function(){var e=r.length<=n;return e?{done:e}:{done:e,value:r[n++]}}};return i[e]=o,i}),r[e]||(r[e]=function(){var n=String.fromCodePoint,r=this,i=0,s=r.length,l={next:function(){var e=s<=i,o=e?"":n(r.codePointAt(i));return i+=o.length,e?{done:e}:{done:e,value:o}}};return l[e]=o,l})}(Symbol.iterator,Array.prototype,String.prototype);var j=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":j.call(this)},Object.keys=function(e){return Object.getOwnPropertyNames(e).filter(function(n){return(n=Object.getOwnPropertyDescriptor(e,n))&&n.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function e(){var n,r=this;return b(e,function(e){if(1==e.g&&(n=0),3!=e.g)return n<r.length?e=_(e,r[n]):(e.g=0,e=void 0),e;n++,e.g=2})}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function e(){var n,r,o=this;return b(e,function(e){if(1==e.g&&(n=[],o.forEach(function(e){n.push(e)}),r=0),3!=e.g)return r<n.length?e=_(e,n[r]):(e.g=0,e=void 0),e;r++,e.g=2})}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function e(){var n,r,o=this;return b(e,function(e){if(1==e.g&&(n=[],o.forEach(function(e,r){n.push([r,e])}),r=0),3!=e.g)return r<n.length?e=_(e,n[r]):(e.g=0,e=void 0),e;r++,e.g=2})});var k=document.createEvent("Event");if(k.initEvent("foo",!0,!0),k.preventDefault(),!k.defaultPrevented){var R=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(R.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var F=/Trident/.test(navigator.userAgent);if(!window.Event||F&&"function"!=typeof window.Event){var H=window.Event;if(window.Event=function(e,n){n=n||{};var r=document.createEvent("Event");return r.initEvent(e,!!n.bubbles,!!n.cancelable),r},H){for(var I in H)window.Event[I]=H[I];window.Event.prototype=H.prototype}}if((!window.CustomEvent||F&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,n){n=n||{};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,!!n.bubbles,!!n.cancelable,n.detail),r},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||F&&"function"!=typeof window.MouseEvent){var B=window.MouseEvent;if(window.MouseEvent=function(e,n){n=n||{};var r=document.createEvent("MouseEvent");return r.initMouseEvent(e,!!n.bubbles,!!n.cancelable,n.view||window,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget),r},B)for(var U in B)window.MouseEvent[U]=B[U];window.MouseEvent.prototype=B.prototype}var q,W,G,V,$,z,X,K,J,Y,Z=function(){function e(){i++}var n=!1,r=!1,o={get capture(){return n=!0},get once(){return r=!0}},i=0,s=document.createElement("div");s.addEventListener("click",e,o);var l=n&&r;return l&&(s.dispatchEvent(new Event("click")),s.dispatchEvent(new Event("click")),l=1==i),s.removeEventListener("click",e,o),l}(),Q=null!=(Y=window.EventTarget)?Y:window.Node;if(!Z&&"addEventListener"in Q.prototype){var ee=function(e){if(e&&("object"===(void 0===e?"undefined":o(e))||"function"==typeof e))n=!!e.capture,e=!!e.once;else{var n=!!e;e=!1}return{capture:n,once:e}},et=Q.prototype.addEventListener,en=Q.prototype.removeEventListener,er=new WeakMap,eo=new WeakMap,ei=function(e,n,r){var o=r?er:eo;return void 0===(r=o.get(e))&&o.set(e,r=new Map),void 0===(e=r.get(n))&&r.set(n,e=new WeakMap),e};Q.prototype.addEventListener=function(e,n,r){var o=this;if(null!=n){var i=(r=ee(r)).capture;r=r.once;var s=ei(this,e,i);if(!s.has(n)){var l=r?function(r){return(s.delete(n),en.call(o,e,l,i),"function"==typeof n)?n.call(o,r):"function"==typeof(null==n?void 0:n.handleEvent)?n.handleEvent(r):void 0}:null;s.set(n,l),et.call(this,e,null!=l?l:n,i)}}},Q.prototype.removeEventListener=function(e,n,r){if(null!=n){var o=ei(this,e,r=ee(r).capture),i=o.get(n);void 0!==i&&(o.delete(n),en.call(this,e,null!=i?i:n,r))}}}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var e=(this.ownerDocument||this).querySelector("base[href]");return e&&e.href||window.location.href},configurable:!0,enumerable:!0});var ea,es,el=Element.prototype,ec=null!=(ea=Object.getOwnPropertyDescriptor(el,"attributes"))?ea:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),eu=null!=(es=null==ec?void 0:ec.get)?es:function(){return this.attributes},eh=Array.prototype.map;el.hasOwnProperty("getAttributeNames")||(el.getAttributeNames=function(){return eh.call(eu.call(this),function(e){return e.name})});var ed,ef=Element.prototype;ef.hasOwnProperty("matches")||(ef.matches=null!=(ed=ef.webkitMatchesSelector)?ed:ef.msMatchesSelector);var ep=Node.prototype.appendChild;function e_(e){(e=e.prototype).hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(r=(n=l(n)).next();!r.done;r=n.next())r=r.value,ep.call(this,"string"==typeof r?document.createTextNode(r):r)}})}e_(Document),e_(DocumentFragment),e_(Element);var em,ev,ey=Node.prototype.insertBefore,eg=null!=(ev=null==(em=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:em.get)?ev:function(){return this.firstChild};function eb(e){(e=e.prototype).hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=eg.call(this),n=l(n);for(var o=n.next();!o.done;o=n.next())o=o.value,ey.call(this,"string"==typeof o?document.createTextNode(o):o,r)}})}eb(Document),eb(DocumentFragment),eb(Element);var ew,eE,eN=Node.prototype.appendChild,eS=Node.prototype.removeChild,eC=null!=(eE=null==(ew=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:ew.get)?eE:function(){return this.firstChild};function eT(e){(e=e.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(e,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(;null!==(r=eC.call(this));)eS.call(this,r);for(r=(n=l(n)).next();!r.done;r=n.next())r=r.value,eN.call(this,"string"==typeof r?document.createTextNode(r):r)}})}eT(Document),eT(DocumentFragment),eT(Element);var eO,eD,ex,eP,eM=Node.prototype.insertBefore,eA=null!=(eD=null==(eO=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:eO.get)?eD:function(){return this.parentNode},eL=null!=(eP=null==(ex=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))?void 0:ex.get)?eP:function(){return this.nextSibling};function ej(e){(e=e.prototype).hasOwnProperty("after")||Object.defineProperty(e,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=eA.call(this))){var o=eL.call(this);n=l(n);for(var i=n.next();!i.done;i=n.next())i=i.value,eM.call(r,"string"==typeof i?document.createTextNode(i):i,o)}}})}ej(CharacterData),ej(Element);var ek,eR,eF=Node.prototype.insertBefore,eH=null!=(eR=null==(ek=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:ek.get)?eR:function(){return this.parentNode};function eI(e){(e=e.prototype).hasOwnProperty("before")||Object.defineProperty(e,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=eH.call(this))){n=l(n);for(var o=n.next();!o.done;o=n.next())o=o.value,eF.call(r,"string"==typeof o?document.createTextNode(o):o,this)}}})}eI(CharacterData),eI(Element);var eB,eU,eq=Node.prototype.removeChild,eW=null!=(eU=null==(eB=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:eB.get)?eU:function(){return this.parentNode};function eG(e){(e=e.prototype).hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=eW.call(this);e&&eq.call(e,this)}})}eG(CharacterData),eG(Element);var eV,e$,ez=Node.prototype.insertBefore,eX=Node.prototype.removeChild,eK=null!=(e$=null==(eV=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:eV.get)?e$:function(){return this.parentNode};function eJ(e){(e=e.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(e,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=eK.call(this))){n=l(n);for(var o=n.next();!o.done;o=n.next())o=o.value,ez.call(r,"string"==typeof o?document.createTextNode(o):o,this);eX.call(r,this)}}})}eJ(CharacterData),eJ(Element);var eY=window.Element.prototype,eZ=window.HTMLElement.prototype,eQ=window.SVGElement.prototype;!eZ.hasOwnProperty("classList")||eY.hasOwnProperty("classList")||eQ.hasOwnProperty("classList")||Object.defineProperty(eY,"classList",Object.getOwnPropertyDescriptor(eZ,"classList"));var e0=Element.prototype,e1=Element.prototype.hasAttribute,e2=Element.prototype.setAttribute,e3=Element.prototype.removeAttribute;e0.hasOwnProperty("toggleAttribute")||(e0.toggleAttribute=function(e,n){return void 0===n?e1.call(this,e)?(e3.call(this,e),!1):(e2.call(this,e,""),!0):n?(e1.call(this,e)||e2.call(this,e,""),!0):(e3.call(this,e),!1)});var e6=document.createElement("style");e6.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var e9=document.querySelector("head");e9.insertBefore(e6,e9.firstChild);var e4=window;e4.WebComponents=e4.WebComponents||{flags:{}};var e8=document.querySelector('script[src*="webcomponents-bundle"]'),e7=/wc-(.+)/,e5={};if(!e5.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var n;(e=e.split("="))[0]&&(n=e[0].match(e7))&&(e5[n[1]]=e[1]||!0)}),e8)for(var te=0,tt=void 0;tt=e8.attributes[te];te++)"src"!==tt.name&&(e5[tt.name]=tt.value||!0);var tn={};e5.log&&e5.log.split&&e5.log.split(",").forEach(function(e){tn[e]=!0}),e5.log=tn}e4.WebComponents.flags=e5;var tr=e5.shadydom;if(tr){e4.ShadyDOM=e4.ShadyDOM||{},e4.ShadyDOM.force=tr;var to=e5.noPatch;e4.ShadyDOM.noPatch="true"===to||to}var ti=e5.register||e5.ce;function ta(){}function ts(e){return e.__shady||(e.__shady=new ta),e.__shady}function tl(e){return e&&e.__shady}ti&&window.customElements&&(e4.customElements.forcePolyfill=ti),function(){function e(){}function n(e,n){if(!e.childNodes.length)return[];switch(e.nodeType){case Node.DOCUMENT_NODE:return y.call(e,n);case Node.DOCUMENT_FRAGMENT_NODE:return g.call(e,n);default:return v.call(e,n)}}var o="u"<typeof HTMLTemplateElement,i=!r(document.createDocumentFragment().cloneNode(),DocumentFragment),s=!1;/Trident/.test(navigator.userAgent)&&function(){function e(e,n){if(r(e,DocumentFragment))for(var i;i=e.firstChild;)o.call(this,i,n);else o.call(this,e,n);return e}s=!0;var n=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){return e=n.call(this,e),r(this,DocumentFragment)&&(e.__proto__=DocumentFragment.prototype),e},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var o=Node.prototype.insertBefore;Node.prototype.insertBefore=e;var i=Node.prototype.appendChild;Node.prototype.appendChild=function(n){return r(n,DocumentFragment)?e.call(this,n,null):i.call(this,n),n};var l=Node.prototype.removeChild,c=Node.prototype.replaceChild;Node.prototype.replaceChild=function(n,o){return r(n,DocumentFragment)?(e.call(this,n,o),l.call(this,o)):c.call(this,n,o),o},Document.prototype.createDocumentFragment=function(){var e=this.createElement("df");return e.__proto__=DocumentFragment.prototype,e};var u=Document.prototype.importNode;Document.prototype.importNode=function(e,n){return n=u.call(this,e,n||!1),r(e,DocumentFragment)&&(n.__proto__=DocumentFragment.prototype),n}}();var l=Node.prototype.cloneNode,c=Document.prototype.createElement,u=Document.prototype.importNode,h=Node.prototype.removeChild,d=Node.prototype.appendChild,f=Node.prototype.replaceChild,p=DOMParser.prototype.parseFromString,_=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{set:function(e){this.innerHTML=e}},m=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},v=Element.prototype.querySelectorAll,y=Document.prototype.querySelectorAll,g=DocumentFragment.prototype.querySelectorAll,b=function(){if(!o){var e=document.createElement("template"),n=document.createElement("template");return n.content.appendChild(document.createElement("div")),e.content.appendChild(n),0===(e=e.cloneNode(!0)).content.childNodes.length||0===e.content.firstChild.content.childNodes.length||i}}();if(o){var w=document.implementation.createHTMLDocument("template"),E=!0,N=document.createElement("style");N.textContent="template{display:none;}";var S=document.head;S.insertBefore(N,S.firstElementChild),e.prototype=Object.create(HTMLElement.prototype);var C=!document.createElement("div").hasOwnProperty("innerHTML");e.Z=function(n){if(!n.content&&n.namespaceURI===document.documentElement.namespaceURI){n.content=w.createDocumentFragment();for(var r;r=n.firstChild;)d.call(n.content,r);if(C)n.__proto__=e.prototype;else if(n.cloneNode=function(n){return e.va(this,n)},E)try{O(n),D(n)}catch(e){E=!1}e.bootstrap(n.content)}};var T={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},O=function(n){Object.defineProperty(n,"innerHTML",{get:function(){return j(this)},set:function(n){var r=T[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(n)||["",""])[1].toLowerCase()];if(r)for(var o=0;o<r.length;o++)n="<"+r[o]+">"+n+"</"+r[o]+">";for(w.body.innerHTML=n,e.bootstrap(w);this.content.firstChild;)h.call(this.content,this.content.firstChild);if(n=w.body,r)for(o=0;o<r.length;o++)n=n.lastChild;for(;n.firstChild;)d.call(this.content,n.firstChild)},configurable:!0})},D=function(e){Object.defineProperty(e,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(e){if(this.parentNode){for(w.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();w.body.firstChild;)d.call(e,w.body.firstChild);f.call(this.parentNode,e,this)}else throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.")},configurable:!0})};O(e.prototype),D(e.prototype),e.bootstrap=function(r){r=n(r,"template");for(var o,i=0,s=r.length;i<s&&(o=r[i]);i++)e.Z(o)},document.addEventListener("DOMContentLoaded",function(){e.bootstrap(document)}),Document.prototype.createElement=function(){var n=c.apply(this,arguments);return"template"===n.localName&&e.Z(n),n},DOMParser.prototype.parseFromString=function(){var n=p.apply(this,arguments);return e.bootstrap(n),n},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return j(this)},set:function(n){_.set.call(this,n),e.bootstrap(this)},configurable:!0,enumerable:!0});var x=/[&\u00A0"]/g,P=/[&\u00A0<>]/g,M=function(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"\xa0":return"&nbsp;"}},A=(N=function(e){for(var n={},r=0;r<e.length;r++)n[e[r]]=!0;return n})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),L=N("style script xmp iframe noembed noframes plaintext noscript".split(" ")),j=function(e,n){"template"===e.localName&&(e=e.content);for(var r,o="",i=n?n(e):m.get.call(e),s=0,l=i.length;s<l&&(r=i[s]);s++){e:{var c=r,u=e;switch(c.nodeType){case Node.ELEMENT_NODE:for(var h=c.localName,d="<"+h,f=c.attributes,p=0;u=f[p];p++)d+=" "+u.name+'="'+u.value.replace(x,M)+'"';d+=">",c=A[h]?d:d+j(c,n)+"</"+h+">";break e;case Node.TEXT_NODE:c=c.data,c=u&&L[u.localName]?c:c.replace(P,M);break e;case Node.COMMENT_NODE:c="\x3c!--"+c.data+"--\x3e";break e;default:throw window.console.error(c),Error("not implemented")}}o+=c}return o}}if(o||b){e.va=function(e,n){var r=l.call(e,!1);return this.Z&&this.Z(r),n&&(d.call(r.content,l.call(e.content,!0)),k(r.content,e.content)),r};var k=function(r,o){if(o.querySelectorAll&&0!==(o=n(o,"template")).length){r=n(r,"template");for(var i,s,l=0,c=r.length;l<c;l++)s=o[l],i=r[l],e&&e.Z&&e.Z(s),f.call(i.parentNode,R.call(s,!0),i)}},R=Node.prototype.cloneNode=function(n){if(!s&&i&&r(this,DocumentFragment))if(!n)return this.ownerDocument.createDocumentFragment();else var o=F.call(this.ownerDocument,this,!0);else o=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?e.va(this,n):l.call(this,n);return n&&k(o,this),o},F=Document.prototype.importNode=function(r,o){if(o=o||!1,"template"===r.localName)return e.va(r,o);var i=u.call(this,r,o);if(o){k(i,r),r=n(i,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var s,l=0;l<r.length;l++){s=r[l],(o=c.call(document,"script")).textContent=s.textContent;for(var h,d=s.attributes,p=0;p<d.length;p++)h=d[p],o.setAttribute(h.name,h.value);f.call(s.parentNode,o,s)}}return i}}o&&(window.HTMLTemplateElement=e)}(),ta.prototype.toJSON=function(){return{}};var tc=window.ShadyDOM||{};tc.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var tu=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");tc.D=!!(tu&&tu.configurable&&tu.get),tc.Ba=tc.force||!tc.cb,tc.J=tc.noPatch||!1,tc.ha=tc.preferPerformance,tc.Da="on-demand"===tc.J;var th=tc.querySelectorImplementation;function td(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function tf(e){return(e=tl(e))&&void 0!==e.firstChild}function tp(e){return r(e,ShadowRoot)}function t_(e){return(e=(e=tl(e))&&e.root)&&r2(e)}tc.wb=-1<["native","selectorEngine"].indexOf(th)?th:void 0,tc.Ra=navigator.userAgent.match("Trident");var tm=Element.prototype,tv=tm.matches||tm.matchesSelector||tm.mozMatchesSelector||tm.msMatchesSelector||tm.oMatchesSelector||tm.webkitMatchesSelector,ty=document.createTextNode(""),tg=0,tb=[];function tw(e){tb.push(e),ty.textContent=tg++}new MutationObserver(function(){for(;tb.length;)try{tb.shift()()}catch(e){throw ty.textContent=tg++,e}}).observe(ty,{characterData:!0});var tE=document.contains?function(e,n){return e.__shady_native_contains(n)}:function(e,n){return e===n||e.documentElement&&e.documentElement.__shady_native_contains(n)};function tN(e,n){for(;n;){if(n==e)return!0;n=n.__shady_parentNode}return!1}function tS(e){for(var n=e.length-1;0<=n;n--){var r=e[n],o=r.getAttribute("id")||r.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=r)}return e.item=function(n){return e[n]},e.namedItem=function(n){if("length"!==n&&isNaN(n)&&e[n])return e[n];for(var r=l(e),o=r.next();!o.done;o=r.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==n)return o;return null},e}function tC(e){var n=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)n.push(e);return n}function tT(e){var n=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)n.push(e);return n}function tO(e,n,r){if(r.configurable=!0,r.value)e[n]=r.value;else try{Object.defineProperty(e,n,r)}catch(e){}}function tD(e,n,r,o){for(var i in r=void 0===r?"":r,n)o&&0<=o.indexOf(i)||tO(e,r+i,n[i])}function tx(e,n){for(var r in n)r in e&&tO(e,r,n[r])}function tP(e){var n={};return Object.getOwnPropertyNames(e).forEach(function(r){n[r]=Object.getOwnPropertyDescriptor(e,r)}),n}function tM(e,n){for(var r,o=Object.getOwnPropertyNames(n),i=0;i<o.length;i++)e[r=o[i]]=n[r]}function tA(e){return r(e,Node)?e:document.createTextNode(""+e)}function tL(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(1===n.length)return tA(n[0]);r=document.createDocumentFragment(),n=l(n);for(var o=n.next();!o.done;o=n.next())r.appendChild(tA(o.value));return r}function tj(e){var n;for(n=void 0===n?1:n;0<n;n--)e=e.reduce(function(e,n){return Array.isArray(n)?e.push.apply(e,c(n)):e.push(n),e},[]);return e}var tk,tR=[];function tF(e){tk||(tk=!0,tw(tH)),tR.push(e)}function tH(){tk=!1;for(var e=!!tR.length;tR.length;)tR.shift()();return e}function tI(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}tH.list=tR,tI.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.qa.forEach(function(n){n(e)})}},tI.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var tB=/[&\u00A0"]/g,tU=/[&\u00A0<>]/g;function tq(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"\xa0":return"&nbsp;"}}function tW(e){for(var n={},r=0;r<e.length;r++)n[e[r]]=!0;return n}var tG=tW("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),tV=tW("style script xmp iframe noembed noframes plaintext noscript".split(" "));function t$(e,n){"template"===e.localName&&(e=e.content);for(var r="",o=n?n(e):e.childNodes,i=0,s=o.length,l=void 0;i<s&&(l=o[i]);i++){e:{var c=l,u=e;switch(c.nodeType){case Node.ELEMENT_NODE:u=c.localName;for(var h,d="<"+u,f=c.attributes,p=0;h=f[p];p++)d+=" "+h.name+'="'+h.value.replace(tB,tq)+'"';d+=">",c=tG[u]?d:d+t$(c,n)+"</"+u+">";break e;case Node.TEXT_NODE:c=c.data,c=u&&tV[u.localName]?c:c.replace(tU,tq);break e;case Node.COMMENT_NODE:c="\x3c!--"+c.data+"--\x3e";break e;default:throw window.console.error(c),Error("not implemented")}}r+=c}return r}var tz=tc.D,tX={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},tK={};function tJ(e){tK[e]=function(n){return n["__shady_native_"+e]}}function tY(e,n){for(var r in tD(e,n,"__shady_native_"),n)tJ(r)}function tZ(e,n){n=void 0===n?[]:n;for(var r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(e,o);i&&(Object.defineProperty(e,"__shady_native_"+o,i),i.value?tX[o]||(tX[o]=i.value):tJ(o))}}var tQ=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),t0=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),t1=document.implementation.createHTMLDocument("inert");function t2(e){for(var n;n=e.__shady_native_firstChild;)e.__shady_native_removeChild(n)}var t3=["firstElementChild","lastElementChild","children","childElementCount"],t6=["querySelector","querySelectorAll","append","prepend","replaceChildren"],t9=tP({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),t4=tP({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){this.__shady_innerHTML=a}}),t8=tP({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(a){this.__shady_className=a}});function t7(e){for(var n in e){var r=e[n];r&&(r.enumerable=!1)}}t7(t9),t7(t4),t7(t8);var t5=tc.D||!0===tc.J,ne=t5?function(){}:function(e){var n=ts(e);n.Ta||(n.Ta=!0,tx(e,t8))},nt=t5?function(){}:function(e){var n=ts(e);n.Sa||(n.Sa=!0,tx(e,t9),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!tc.J||tx(e,t4))},nn="__eventWrappers"+Date.now(),nr=(rq=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return rq.get.call(e)}:null,no=function(){function e(){}var n=!1,r={get capture(){return n=!0,!1}};return window.addEventListener("test",e,r),window.removeEventListener("test",e,r),n}();function ni(e){if(null===e||"object"!==(void 0===e?"undefined":o(e))&&"function"!=typeof e)var n=!!e,r=!1;else{n=!!e.capture,r=!!e.once;var i=e.U}return{Pa:i,capture:n,once:r,Na:no?e:n}}var na={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},ns={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function nl(e){return r(e,Node)?e.__shady_getRootNode():e}function nc(e,n){var r=[],o=e;for(e=nl(e);o;)r.push(o),o=o.__shady_assignedSlot?o.__shady_assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(n||o!==e)?o.host:o.__shady_parentNode;return r[r.length-1]===document&&r.push(window),r}function nu(e,n){if(!tp)return e;e=nc(e,!0);for(var r,o,i=0,s=void 0,l=void 0;i<n.length;i++)if((o=nl(r=n[i]))!==s&&(l=e.indexOf(o),s=o),!tp(o)||-1<l)return r}var nh={get composed(){return void 0===this.__composed&&(nr?this.__composed="focusin"===this.type||"focusout"===this.type||nr(this):!1!==this.isTrusted&&(this.__composed=na[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=nc(this.__target,this.composed)),this.__composedPath},get target(){return nu(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;return this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=nc(this.__relatedTarget,!0)),nu(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},nd=tc.D&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function nf(e){function n(n,r){return(n=new e(n,r)).__composed=r&&!!r.composed,n}return n.__proto__=e,n.prototype=e.prototype,n}nd&&(Object.defineProperty(nh,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(nh,"__shady_native_eventPhase",nd));var np={focus:!0,blur:!0};function n_(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function nm(e,n,r){if(r=n.__handlers&&n.__handlers[e.type]&&n.__handlers[e.type][r])for(var o,i=0;(o=r[i])&&(!n_(e)||e.target!==e.relatedTarget)&&(o.call(n,e),!e.__immediatePropagationStopped);i++);}var nv=new Event("e").hasOwnProperty("currentTarget");function ny(e){var n=(e=nv?Object.create(e):e).composedPath(),r=n.map(function(e){return nu(e,n)}),o=e.bubbles,i=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return u}});var s=Event.CAPTURING_PHASE,l=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return s}});try{for(var c=n.length-1;0<=c;c--){var u=n[c];if(s=u===r[c]?Event.AT_TARGET:Event.CAPTURING_PHASE,nm(e,u,"capture"),e.ua)return}for(c=0;c<n.length;c++){var h=(u=n[c])===r[c];if((h||o)&&(s=h?Event.AT_TARGET:Event.BUBBLING_PHASE,nm(e,u,"bubble"),e.ua))break}}finally{nv||(i?Object.defineProperty(e,"currentTarget",i):delete e.currentTarget,l?Object.defineProperty(e,"eventPhase",l):delete e.eventPhase)}}function ng(e,n,r,o){for(var i=0;i<e.length;i++){var s=e[i],l=s.type,c=s.capture;if(n===s.node&&r===l&&o===c)return i}return -1}function nb(e){return tH(),!tc.ha&&r(this,Node)&&!tE(document,this)?(e.__target||nS(e,this),ny(e)):this.__shady_native_dispatchEvent(e)}function nw(e,n,i){var s=this,l=ni(i),c=l.capture,u=l.once,h=l.Pa;if(l=l.Na,n){var d=void 0===n?"undefined":o(n);if(("function"===d||"object"===d)&&("object"!==d||n.handleEvent&&"function"==typeof n.handleEvent)){if(ns[e])return this.__shady_native_addEventListener(e,n,l);var f=h||this;if(h=n[nn]){if(-1<ng(h,f,e,c))return}else n[nn]=[];h=function(o){if(u&&s.__shady_removeEventListener(e,n,i),o.__target||nS(o),f!==s){var l=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return f},configurable:!0});var h=Object.getOwnPropertyDescriptor(o,"eventPhase");Object.defineProperty(o,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return c?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(o.__previousCurrentTarget=o.currentTarget,(!tp(f)&&"slot"!==f.localName||-1!=o.composedPath().indexOf(f))&&(o.composed||-1<o.composedPath().indexOf(f))){if(n_(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===f||r(f,Window)){var p="function"===d?n.call(f,o):n.handleEvent&&n.handleEvent(o);return f!==s&&(l?(Object.defineProperty(o,"currentTarget",l),l=null):delete o.currentTarget,h?(Object.defineProperty(o,"eventPhase",h),h=null):delete o.eventPhase),p}}},n[nn].push({node:f,type:e,capture:c,ub:h}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][c?"capture":"bubble"].push(h),np[e]||this.__shady_native_addEventListener(e,h,l)}}}function nE(e,n,r){if(n){var o=ni(r);r=o.capture;var i=o.Pa;if(o=o.Na,ns[e])return this.__shady_native_removeEventListener(e,n,o);var s=i||this;i=void 0;var l=null;try{l=n[nn]}catch(e){}l&&-1<(s=ng(l,s,e,r))&&(i=l.splice(s,1)[0].ub,l.length||(n[nn]=void 0)),this.__shady_native_removeEventListener(e,i||n,o),i&&this.__handlers&&this.__handlers[e]&&-1<(n=(e=this.__handlers[e][r?"capture":"bubble"]).indexOf(i))&&e.splice(n,1)}}var nN=tP(nh);function nS(e,n){if(n=void 0===n?e.target:n,e.__target=n,e.__relatedTarget=e.relatedTarget,tc.D){if(!(n=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var r=Object.create(n);r.__shady_sourceProto=n,tD(r,nN),n.__shady_patchedProto=r}e.__proto__=n.__shady_patchedProto}else tD(e,nN)}var nC=nf(Event),nT=nf(CustomEvent),nO=nf(MouseEvent),nD=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return"on"===e.substring(0,2)}),nx=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return"on"===e.substring(0,2)});function nP(e){return{set:function(n){var r=ts(this),o=e.substring(2);r.T||(r.T={}),r.T[e]&&this.removeEventListener(o,r.T[e]),this.__shady_addEventListener(o,n),r.T[e]=n},get:function(){var n=tl(this);return n&&n.T&&n.T[e]},configurable:!0}}function nM(e,n){return{index:e,ia:[],pa:n}}var nA=tP({dispatchEvent:nb,addEventListener:nw,removeEventListener:nE}),nL=null;function nj(){return nL||(nL=window.ShadyCSS&&window.ShadyCSS.ScopingShim),nL||null}function nk(e,n,r){var o=nj();return!!o&&"class"===n&&(o.setElementClass(e,r),!0)}function nR(e,n){var r=nj();r&&r.unscopeNode(e,n)}function nF(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var n=nj();return n?n.currentScopeForNode(e):""}function nH(e,n){if(e)for(e.nodeType===Node.ELEMENT_NODE&&n(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&nH(e,n)}var nI=window.document,nB=tc.ha,nU=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),nq=nU&&nU.get;function nW(e){for(var n;n=e.__shady_firstChild;)e.__shady_removeChild(n)}function nG(e,n,r){if(e=(e=tl(e))&&e.ga){if(n)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var o,i=0,s=n.childNodes.length;i<s;i++)e.addedNodes.push(n.childNodes[i]);else e.addedNodes.push(n);r&&e.removedNodes.push(r),(o=e).g||(o.g=!0,tw(function(){o.flush()}))}}var nV=tP({get parentNode(){var n$=tl(this);return void 0!==(n$=n$&&n$.parentNode)?n$:this.__shady_native_parentNode},get firstChild(){var nz=tl(this);return void 0!==(nz=nz&&nz.firstChild)?nz:this.__shady_native_firstChild},get lastChild(){var nX=tl(this);return void 0!==(nX=nX&&nX.lastChild)?nX:this.__shady_native_lastChild},get nextSibling(){var nK=tl(this);return void 0!==(nK=nK&&nK.nextSibling)?nK:this.__shady_native_nextSibling},get previousSibling(){var nJ=tl(this);return void 0!==(nJ=nJ&&nJ.previousSibling)?nJ:this.__shady_native_previousSibling},get childNodes(){if(tf(this)){var nY=tl(this);if(!nY.childNodes){nY.childNodes=[];for(var nZ=this.__shady_firstChild;nZ;nZ=nZ.__shady_nextSibling)nY.childNodes.push(nZ)}var nQ=nY.childNodes}else nQ=this.__shady_native_childNodes;return nQ.item=function(e){return nQ[e]},nQ},get parentElement(){var n0=tl(this);return(n0=n0&&n0.parentNode)&&n0.nodeType!==Node.ELEMENT_NODE&&(n0=null),void 0!==n0?n0:this.__shady_native_parentElement},get isConnected(){if(nq&&nq.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var n1=this.ownerDocument;if(null===n1||tE(n1,this))return!0;for(n1=this;n1&&!r(n1,Document);)n1=n1.__shady_parentNode||(tp(n1)?n1.host:void 0);return!!(n1&&r(n1,Document))},get textContent(){if(tf(this)){for(var n2=[],n3=this.__shady_firstChild;n3;n3=n3.__shady_nextSibling)n3.nodeType!==Node.COMMENT_NODE&&n2.push(n3.__shady_textContent);return n2.join("")}return this.__shady_native_textContent},set textContent(a){switch(null==a&&(a=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!tf(this)&&tc.D){var n6=this.__shady_firstChild;(n6!=this.__shady_lastChild||n6&&n6.nodeType!=Node.TEXT_NODE)&&nW(this),this.__shady_native_textContent=a}else nW(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(a));break;default:this.nodeValue=a}},insertBefore:function(e,n){if(this.ownerDocument!==nI&&e.ownerDocument!==nI)return this.__shady_native_insertBefore(e,n),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var r=tl(n);if(void 0!==(r=r&&r.parentNode)&&r!==this||void 0===r&&n.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(n===e)return e;nG(this,e);var o=[],i=(r=r8(this))?r.host.localName:nF(this),s=e.__shady_parentNode;if(s){var l=nF(e),u=!!r||!r8(e)||nB&&void 0!==this.__noInsertionPoint;s.__shady_removeChild(e,u)}s=!0;var h=(!nB||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(n,r){var o=nj();if(!o)return!0;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(o=!0,n=n.__shady_firstChild;n;n=n.__shady_nextSibling)o=o&&e(n,r);return o}return n.nodeType!==Node.ELEMENT_NODE||o.currentScopeForNode(n)===r}(e,i),d=r&&!e.__noInsertionPoint&&(!nB||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(d||h)&&(h&&(l=l||nF(e)),nH(e,function(e){if(d&&"slot"===e.localName&&o.push(e),h){var n=l;nj()&&(n&&nR(e,n),(n=nj())&&n.scopeNode(e,i))}})),o.length&&(rZ(r),r.i.push.apply(r.i,c(o)),rK(r)),tf(this)&&(function(e,n,r){rF(n,2);var o=ts(n);if(void 0!==o.firstChild&&(o.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)rH(e,n,o,r);else rH(e,n,o,r)}(e,this,n),(u=tl(this)).root?(s=!1,t_(this)&&rK(u.root)):r&&"slot"===this.localName&&(s=!1,rK(r))),s?(r=tp(this)?this.host:this,n?(n=function e(n){var r=n;if(n&&"slot"===n.localName){var o=tl(n);(o=o&&o.aa)&&(r=o.length?o[0]:e(n.__shady_nextSibling))}return r}(n),r.__shady_native_insertBefore(e,n)):r.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!tp(e))return this.__shady_insertBefore(e)},removeChild:function(e,n){if(n=void 0!==n&&n,this.ownerDocument!==nI)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);nG(this,null,e);var r,o,i,s,l=r8(e),c=l&&function(e,n){if(e.g){rQ(e);var r,o=e.h;for(r in o)for(var i=o[r],s=0;s<i.length;s++){var l=i[s];if(tN(n,l)){i.splice(s,1);var c=e.g.indexOf(l);if(0<=c&&(e.g.splice(c,1),(c=tl(l.__shady_parentNode))&&c.ka&&c.ka--),s--,c=(l=tl(l)).aa)for(var u=0;u<c.length;u++){var h=c[u],d=h.__shady_native_parentNode;d&&d.__shady_native_removeChild(h)}l.aa=[],l.assignedNodes=[],c=!0}}return c}}(l,e),u=tl(this);if(tf(this)&&(r=e,o=this,i=ts(r),r===(o=ts(o)).firstChild&&(o.firstChild=i.nextSibling),r===o.lastChild&&(o.lastChild=i.previousSibling),r=i.previousSibling,s=i.nextSibling,r&&(ts(r).nextSibling=s),s&&(ts(s).previousSibling=r),i.parentNode=i.previousSibling=i.nextSibling=void 0,void 0!==o.childNodes&&(o.childNodes=null),t_(this))){rK(u.root);var h=!0}if(nj()&&!n&&l&&e.nodeType!==Node.TEXT_NODE){var d=nF(e);nH(e,function(e){nR(e,d)})}return!function e(n){var r=tl(n);if(r&&void 0!==r.ta)for(r=n.__shady_firstChild;r;r=r.__shady_nextSibling)e(r);(n=tl(n))&&(n.ta=void 0)}(e),l&&((n="slot"===this.localName)&&(h=!0),(c||n)&&rK(l)),h||(h=tp(this)?this.host:this,(u.root||"slot"===e.localName)&&h!==e.__shady_native_parentNode||h.__shady_native_removeChild(e)),e},replaceChild:function(e,n){return this.__shady_insertBefore(e,n),this.__shady_removeChild(n),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var n,r=this.__shady_native_cloneNode(!1);if(e&&r.nodeType!==Node.ATTRIBUTE_NODE)for(e=this.__shady_firstChild;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),r.__shady_appendChild(n);return r},getRootNode:function(e){if(this&&this.nodeType){var n=ts(this),r=n.ta;return void 0===r&&(tp(this)?(r=this,n.ta=r):(r=(r=this.__shady_parentNode)?r.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(n.ta=r))),r}},contains:function(e){return tN(this,e)}}),n9=tP({get assignedSlot(){var n4=this.__shady_parentNode;return(n4=n4&&n4.__shady_shadowRoot)&&rJ(n4),(n4=tl(this))&&n4.assignedSlot||null}}),n8=new Map;function n7(e,n,r){var o=[];return function e(n,r,o,i){for(n=n.__shady_firstChild;n;n=n.__shady_nextSibling){var s;if(s=n.nodeType===Node.ELEMENT_NODE){var l=r(s=n);l&&i.push(s),o&&o(l)?s=l:(e(s,r,o,i),s=void 0)}if(s)break}}(e,n,r,o),o}[["(",{end:")",sa:!0}],["[",{end:"]",sa:!0}],['"',{end:'"',sa:!1}],["'",{end:"'",sa:!1}]].forEach(function(e){var n=l(e);e=n.next().value,n=n.next().value,n8.set(e,n)});var n5={get firstElementChild(){var re=tl(this);if(re&&void 0!==re.firstChild){for(re=this.__shady_firstChild;re&&re.nodeType!==Node.ELEMENT_NODE;)re=re.__shady_nextSibling;return re}return this.__shady_native_firstElementChild},get lastElementChild(){var rt=tl(this);if(rt&&void 0!==rt.lastChild){for(rt=this.__shady_lastChild;rt&&rt.nodeType!==Node.ELEMENT_NODE;)rt=rt.__shady_previousSibling;return rt}return this.__shady_native_lastElementChild},get children(){return tf(this)?tS(Array.prototype.filter.call(tT(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var rn=this.__shady_children;return rn?rn.length:0}},rr=tP((n5.append=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];this.__shady_insertBefore(tL.apply(null,c(n)),null)},n5.prepend=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];this.__shady_insertBefore(tL.apply(null,c(n)),this.__shady_firstChild)},n5.replaceChildren=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(;null!==(r=this.__shady_firstChild);)this.__shady_removeChild(r);this.__shady_insertBefore(tL.apply(null,c(n)),null)},n5));function ro(e,n){function r(n,r){return(n===e||-1===r.indexOf(":scope"))&&tv.call(n,r)}var o=function(e){function n(){if(0<o.length){for(;" "===o[o.length-1];)o.pop();r.push({La:o.filter(function(e,n){return 0==n%2}),Za:o.filter(function(e,n){return 1==n%2})}),o.length=0}}for(var r=[],o=[],i=0;i<e.length;){var s=o[o.length-1],l=function e(n,r,o,i){for(i=void 0===i||i;r<n.length;r++)if("\\"===n[r]&&r<n.length-1&&"\n"!==n[r+1])r++;else{if(-1!==o.indexOf(n[r]))return r;if(i&&n8.has(n[r])){var s=n8.get(n[r]);r=e(n,r+1,[s.end],s.sa)}}return n.length}(e,i,[","," ",">","+","~"]),c=l===i?e[i]:e.substring(i,l);","===c?n():(-1===[void 0," ",">","+","~"].indexOf(s)||" "!==c)&&(" "===s&&-1!==[">","+","~"].indexOf(c)?o[o.length-1]=c:o.push(c)),i=l+ +(l===i)}return n(),r}(n);if(1>o.length)return[];for(n=tj(n7(e,function(){return!0}).map(function(e){return tj(o.map(function(n){var o=n.La,i=o.length-1;return r(e,o[i])?{target:e,da:n,fa:e,index:i}:[]}))}));n.some(function(e){return 0<e.index});)n=tj(n.map(function(e){if(0>=e.index)return e;var n=e.target,o=e.fa,i=e.da;e=e.index-1;var s=i.Za[e],l=i.La[e];if(" "===s){for(s=[],o=o.__shady_parentElement;o;o=o.__shady_parentElement)r(o,l)&&s.push({target:n,da:i,fa:o,index:e});return s}if(">"===s)return r(o=o.__shady_parentElement,l)?{target:n,da:i,fa:o,index:e}:[];if("+"===s)return(o=o.__shady_previousElementSibling)&&r(o,l)?{target:n,da:i,fa:o,index:e}:[];if("~"===s){for(s=[],o=o.__shady_previousElementSibling;o;o=o.__shady_previousElementSibling)r(o,l)&&s.push({target:n,da:i,fa:o,index:e});return s}throw Error("Unrecognized combinator: '"+s+"'.")}));return function(e){var n=[],r=new Set;e=l(e);for(var o=e.next();!o.done;o=e.next())o=o.value,r.has(o)||(n.push(o),r.add(o));return n}(n.map(function(e){return e.target}))}var ri=tc.querySelectorImplementation,ra=tP({querySelector:function(e){if("native"===ri){var n=Array.prototype.slice.call((r(this,ShadowRoot)?this.host:this).__shady_native_querySelectorAll(e)),o=this.__shady_getRootNode();n=l(n);for(var i=n.next();!i.done;i=n.next())if((i=i.value).__shady_getRootNode()==o)return i;return null}if("selectorEngine"===ri)return ro(this,e)[0]||null;if(void 0===ri)return n7(this,function(n){return tv.call(n,e)},function(e){return!!e})[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+ri+"'")},querySelectorAll:function(e,n){if(n||"native"===ri){n=Array.prototype.slice.call((r(this,ShadowRoot)?this.host:this).__shady_native_querySelectorAll(e));var o=this.__shady_getRootNode();return tS(n.filter(function(e){return e.__shady_getRootNode()==o}))}if("selectorEngine"===ri)return tS(ro(this,e));if(void 0===ri)return tS(n7(this,function(n){return tv.call(n,e)}));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+ri+"'")}}),rs=tc.ha&&!tc.J?tM({},rr):rr;tM(rr,ra);var rl=tP({after:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var o=this.__shady_nextSibling;r.__shady_insertBefore(tL.apply(null,c(n)),o)}},before:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];null!==(r=this.__shady_parentNode)&&r.__shady_insertBefore(tL.apply(null,c(n)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var o=this.__shady_nextSibling;r.__shady_removeChild(this),r.__shady_insertBefore(tL.apply(null,c(n)),o)}}}),rc=window.document;function ru(e,n){if("slot"===n)t_(e=e.__shady_parentNode)&&rK(tl(e).root);else if("slot"===e.localName&&"name"===n&&(n=r8(e))){if(n.g){rQ(n);var r=e.Ua,o=r0(e);if(o!==r){var i=(r=n.h[r]).indexOf(e);0<=i&&r.splice(i,1),(r=n.h[o]||(n.h[o]=[])).push(e),1<r.length&&(n.h[o]=r1(r))}}rK(n)}}var rh=tP({get previousElementSibling(){var rd=tl(this);if(rd&&void 0!==rd.previousSibling){for(rd=this.__shady_previousSibling;rd&&rd.nodeType!==Node.ELEMENT_NODE;)rd=rd.__shady_previousSibling;return rd}return this.__shady_native_previousElementSibling},get nextElementSibling(){var rf=tl(this);if(rf&&void 0!==rf.nextSibling){for(rf=this.__shady_nextSibling;rf&&rf.nodeType!==Node.ELEMENT_NODE;)rf=rf.__shady_nextSibling;return rf}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(e,n){this.ownerDocument!==rc?this.__shady_native_setAttribute(e,n):nk(this,e,n)||(this.__shady_native_setAttribute(e,n),ru(this,e))},removeAttribute:function(e){this.ownerDocument!==rc?this.__shady_native_removeAttribute(e):nk(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),ru(this,e))},toggleAttribute:function(e,n){return this.ownerDocument!==rc?this.__shady_native_toggleAttribute(e,n):nk(this,e,"")?""!==this.getAttribute(e)||n?void 0:this.__shady_native_toggleAttribute(e,n):(n=this.__shady_native_toggleAttribute(e,n),ru(this,e),n)}});tc.ha||nD.forEach(function(e){rh[e]=nP(e)});var rp=tP({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!tc.Ra){var n=e.shadyUpgradeFragment;if(n.__proto__=ShadowRoot.prototype,rX(n,this,e),rI(n,n),e=n.__noInsertionPoint?null:n.querySelectorAll("slot"),n.__noInsertionPoint=void 0,e&&e.length){var r=n;rZ(r),r.i.push.apply(r.i,c(e)),rK(n)}n.host.__shady_native_appendChild(n)}else n=new rz(rG,this,e);return this.__CE_shadowRoot=n},get shadowRoot(){var r_=tl(this);return r_&&r_.lb||null}});tM(rh,rp);var rm=document.implementation.createHTMLDocument("inert"),rv=tP({get innerHTML(){return tf(this)?t$("template"===this.localName?this.content:this,tT):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{nW(this);var ry=this.localName||"div";for(ry=this.namespaceURI&&this.namespaceURI!==rm.namespaceURI?rm.createElementNS(this.namespaceURI,ry):rm.createElement(ry),tc.D?ry.__shady_native_innerHTML=a:ry.innerHTML=a;a=ry.__shady_firstChild;)this.__shady_insertBefore(a)}}}),rg=tP({blur:function(){var e=tl(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});tc.ha||nx.forEach(function(e){rg[e]=nP(e)});var rb=tP({assignedNodes:function(e){if("slot"===this.localName){var n=this.__shady_getRootNode();return n&&tp(n)&&rJ(n),(n=tl(this))&&(e&&e.flatten?n.aa:n.assignedNodes)||[]}},addEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)nw.call(this,e,n,r);else{"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r});var i=this.__shady_parentNode;if(!i)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,i.__shady_addEventListener(e,n,r)}},removeEventListener:function(e,n,r){if("slot"!==this.localName||"slotchange"===e)nE.call(this,e,n,r);else{"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r});var i=this.__shady_parentNode;if(!i)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,i.__shady_removeEventListener(e,n,r)}}}),rw=tP({getElementById:function(e){return""===e?null:n7(this,function(n){return n.id==e},function(e){return!!e})[0]||null}}),rE="__shady_native_"+td(),rN=tP({get activeElement(){var rS=tc.D?document.__shady_native_activeElement:document.activeElement;if(!rS||!rS.nodeType)return null;var rC=!!tp(this);if(!(this===document||rC&&this.host!==rS&&this.host.__shady_native_contains(rS)))return null;for(rC=r8(rS);rC&&rC!==this;)rC=r8(rS=rC.host);return this===document?rC?null:rS:rC===this?rS:null},elementsFromPoint:function(e,n){if(e=document[rE](e,n),this===document&&tc.useNativeDocumentEFP)return e;e=[].slice.call(e),n=function(e){var n=new Set;for(n.add(e);tp(e)&&e.host;)e=e.host.__shady_getRootNode(),n.add(e);return n}(this);for(var r=new Set,o=0;o<e.length;o++)r.add(function(e,n){for(var r;n&&!e.has(r=n.__shady_getRootNode());)n=r.host;return n}(n,e[o]));var i=[];return r.forEach(function(e){return i.push(e)}),i},elementFromPoint:function(e,n){return this===document&&tc.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,n):this.__shady_elementsFromPoint(e,n)[0]||null}}),rT=window.document,rO=tP({importNode:function(e,n){if(e.ownerDocument!==rT||"template"===e.localName)return this.__shady_native_importNode(e,n);var r=this.__shady_native_importNode(e,!1);if(n)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)n=this.__shady_importNode(e,!0),r.__shady_appendChild(n);return r}}),rD=tP({dispatchEvent:nb,addEventListener:nw.bind(window),removeEventListener:nE.bind(window)}),rx={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(rx.parentElement=nV.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(rx.contains=nV.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(rx.children=rr.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(rx.innerHTML=rv.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(rx.className=rh.className);var rP={EventTarget:[nA],Node:[nV,window.EventTarget?null:nA],Text:[n9],Comment:[n9],CDATASection:[n9],ProcessingInstruction:[n9],Element:[rh,rr,rl,n9,!tc.D||"innerHTML"in Element.prototype?rv:null,window.HTMLSlotElement?null:rb],HTMLElement:[rg,rx],HTMLSlotElement:[rb],DocumentFragment:[rs,rw],Document:[rO,rs,rw,rN],Window:[rD],CharacterData:[rl],XMLHttpRequest:[window.EventTarget?null:nA]},rM=tc.D?null:["innerHTML","textContent"];function rA(e,n,r,o){n.forEach(function(n){return e&&n&&tD(e,n,r,o)})}function rL(e){var n,r=e?null:rM;for(n in rP)rA(window[n]&&window[n].prototype,rP[n],e,r)}function rj(e){return e.__shady_protoIsPatched=!0,rA(e,rP.EventTarget),rA(e,rP.Node),rA(e,rP.Element),rA(e,rP.HTMLElement),rA(e,rP.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(e){var n=window[e],r=Object.create(n.prototype);r.__shady_protoIsPatched=!0,rA(r,rP.EventTarget),rA(r,rP.Node),rP[e]&&rA(r,rP[e]),n.prototype.__shady_patchedProto=r});var rk=tc.Da,rR=tc.D;function rF(e,n){if(rk&&!e.__shady_protoIsPatched&&!tp(e)){var r=Object.getPrototypeOf(e),o=r.hasOwnProperty("__shady_patchedProto")&&r.__shady_patchedProto;o||(rj(o=Object.create(r)),r.__shady_patchedProto=o),Object.setPrototypeOf(e,o)}rR||(1===n?ne(e):2===n&&nt(e))}function rH(e,n,r,o){rF(e,1),o=o||null;var i=ts(e),s=o?ts(o):null;i.previousSibling=o?s.previousSibling:n.__shady_lastChild,(s=tl(i.previousSibling))&&(s.nextSibling=e),(s=tl(i.nextSibling=o))&&(s.previousSibling=e),i.parentNode=n,o?o===r.firstChild&&(r.firstChild=e):(r.lastChild=e,r.firstChild||(r.firstChild=e)),r.childNodes=null}function rI(e,n){var r=ts(e);if(n||void 0===r.firstChild){r.childNodes=null;var o=r.firstChild=e.__shady_native_firstChild;for(r.lastChild=e.__shady_native_lastChild,rF(e,2),r=o,o=void 0;r;r=r.__shady_native_nextSibling){var i=ts(r);i.parentNode=n||e,i.nextSibling=r.__shady_native_nextSibling,i.previousSibling=o||null,o=r,rF(r,1)}}}var rB=tP({addEventListener:function(e,n,r){"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_addEventListener(e,n,r)},removeEventListener:function(e,n,r){"object"!==(void 0===r?"undefined":o(r))&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_removeEventListener(e,n,r)}});function rU(e,n){tD(e,rB,n),tD(e,rN,n),tD(e,rv,n),tD(e,rr,n),tc.J&&!n?(tD(e,nV,n),tD(e,rw,n)):tc.D||(tD(e,t8),tD(e,t9),tD(e,t4))}var rq,rW,rG={},rV=tc.deferConnectionCallbacks&&"loading"===document.readyState;function r$(e){var n=[];do n.unshift(e);while(e=e.__shady_parentNode);return n}function rz(e,n,r){if(e!==rG)throw TypeError("Illegal constructor");this.g=null,rX(this,n,r)}function rX(e,n,r){if(e.host=n,e.mode=r&&r.mode,rI(e.host),(n=ts(e.host)).root=e,n.lb="closed"!==e.mode?e:null,(n=ts(e)).firstChild=n.lastChild=n.parentNode=n.nextSibling=n.previousSibling=null,tc.preferPerformance)for(;n=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(n);else rK(e)}function rK(e){e.Y||(e.Y=!0,tF(function(){return rJ(e)}))}function rJ(e){var n,r;if(n=e.Y){for(;e;)e.Y&&(r=e),tp(e=(n=e).host.__shady_getRootNode())&&(n=tl(n.host))&&0<n.ka||(e=void 0);n=r}(r=n)&&r._renderSelf()}function rY(e,n,r){var o=ts(n),i=o.xa;o.xa=null,r||(r=(e=e.h[n.__shady_slot||"__catchall"])&&e[0]),r?(ts(r).assignedNodes.push(n),o.assignedSlot=r):o.assignedSlot=void 0,i!==o.assignedSlot&&o.assignedSlot&&(ts(o.assignedSlot).Aa=!0)}function rZ(e){e.i=e.i||[],e.g=e.g||[],e.h=e.h||{}}function rQ(e){if(e.i&&e.i.length){for(var n,r=e.i,o=0;o<r.length;o++){var i=r[o];rI(i);var s=i.__shady_parentNode;rI(s),(s=tl(s)).ka=(s.ka||0)+1,s=r0(i),e.h[s]?((n=n||{})[s]=!0,e.h[s].push(i)):e.h[s]=[i],e.g.push(i)}if(n)for(var l in n)e.h[l]=r1(e.h[l]);e.i=[]}}function r0(e){var n=e.name||e.getAttribute("name")||"__catchall";return e.Ua=n}function r1(e){return e.sort(function(e,n){e=r$(e);for(var r=r$(n),o=0;o<e.length;o++){n=e[o];var i=r[o];if(n!==i)return(e=tT(n.__shady_parentNode)).indexOf(n)-e.indexOf(i)}})}function r2(e){return rQ(e),!(!e.g||!e.g.length)}if(rz.prototype._renderSelf=function(){var e=rV;if(rV=!0,this.Y=!1,this.g){rQ(this);for(var n,r=0;r<this.g.length;r++){var o=tl(n=this.g[r]),i=o.assignedNodes;if(o.assignedNodes=[],o.aa=[],o.Ja=i)for(o=0;o<i.length;o++){var s=tl(i[o]);s.xa=s.assignedSlot,s.assignedSlot===n&&(s.assignedSlot=null)}}for(r=this.host.__shady_firstChild;r;r=r.__shady_nextSibling)rY(this,r);for(r=0;r<this.g.length;r++){if(!(i=tl(n=this.g[r])).assignedNodes.length)for(o=n.__shady_firstChild;o;o=o.__shady_nextSibling)rY(this,o,n);if((o=(o=tl(n.__shady_parentNode))&&o.root)&&(r2(o)||o.Y)&&o._renderSelf(),function e(n,r,o){for(var i=0,s=void 0;i<o.length&&(s=o[i]);i++)if("slot"==s.localName){var l=tl(s).assignedNodes;l&&l.length&&e(n,r,l)}else r.push(o[i])}(this,i.aa,i.assignedNodes),o=i.Ja){for(s=0;s<o.length;s++)tl(o[s]).xa=null;i.Ja=null,o.length>i.assignedNodes.length&&(i.Aa=!0)}i.Aa&&(i.Aa=!1,function e(n,r){r.__shady_native_dispatchEvent(new Event("slotchange")),(r=tl(r)).assignedSlot&&e(n,r.assignedSlot)}(this,n))}for(i=0,n=this.g,r=[];i<n.length;i++)(s=tl(o=n[i].__shady_parentNode))&&s.root||!(0>r.indexOf(o))||r.push(o);for(n=0;n<r.length;n++){for(i=(s=r[n])===this?this.host:s,o=[],s=s.__shady_firstChild;s;s=s.__shady_nextSibling)if("slot"==s.localName)for(var l=tl(s).aa,c=0;c<l.length;c++)o.push(l[c]);else o.push(s);s=tC(i),l=function(e,n,r,o){var i,s=0,l=0,c=0,u=0,h=Math.min(n-0,o-0);!0;e:{for(c=0;c<h;c++)if(e[c]!==r[c])break e;c=h}if(n==e.length&&o==r.length){u=e.length;for(var d=r.length,f=0;f<h-c&&(i=e[--u],i===r[--d]);)f++;u=f}if(s+=c,l+=c,n-=u,o-=u,0==n-s&&0==o-l)return[];if(s==n){for(n=nM(s,0);l<o;)n.ia.push(r[l++]);return[n]}if(l==o)return[nM(s,n-s)];for(d=0,h=s,o=o-(c=l)+1,u=n-h+1,n=Array(o);d<o;d++)n[d]=Array(u),n[d][0]=d;for(d=0;d<u;d++)n[0][d]=d;for(d=1;d<o;d++)for(f=1;f<u;f++)if(e[h+f-1]===r[c+d-1])n[d][f]=n[d-1][f-1];else{var p=n[d-1][f]+1,_=n[d][f-1]+1;n[d][f]=p<_?p:_}for(h=n.length-1,c=n[0].length-1,o=n[h][c],e=[];0<h||0<c;)0==h?(e.push(2),c--):0==c?(e.push(3),h--):(u=n[h-1][c-1],(p=(d=n[h-1][c])<(f=n[h][c-1])?d<u?d:u:f<u?f:u)==u?(u==o?e.push(0):(e.push(1),o=u),h--,c--):p==d?(e.push(3),h--,o=d):(e.push(2),c--,o=f));for(e.reverse(),n=void 0,h=[],c=0;c<e.length;c++)switch(e[c]){case 0:n&&(h.push(n),n=void 0),s++,l++;break;case 1:n||(n=nM(s,0)),n.pa++,s++,n.ia.push(r[l]),l++;break;case 2:n||(n=nM(s,0)),n.pa++,s++;break;case 3:n||(n=nM(s,0)),n.ia.push(r[l]),l++}return n&&h.push(n),h}(o,o.length,s,s.length);for(var u=c=0,h=void 0;c<l.length&&(h=l[c]);c++){for(var d=0,f=void 0;d<h.ia.length&&(f=h.ia[d]);d++)f.__shady_native_parentNode===i&&i.__shady_native_removeChild(f),s.splice(h.index+u,1);u-=h.pa}for(u=0,h=void 0;u<l.length&&(h=l[u]);u++)for(c=s[h.index],d=h.index;d<h.index+h.pa;d++)f=o[d],i.__shady_native_insertBefore(f,c),s.splice(d,0,f)}}if(!tc.preferPerformance&&!this.Ia)for(r=this.host.__shady_firstChild;r;r=r.__shady_nextSibling)n=tl(r),r.__shady_native_parentNode!==this.host||"slot"!==r.localName&&n.assignedSlot||this.host.__shady_native_removeChild(r);this.Ia=!0,rV=e,rW&&rW()},(on=rz.prototype).__proto__=DocumentFragment.prototype,rU(on,"__shady_"),rU(on),Object.defineProperties(on,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(e){Object.defineProperty(on,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(e){Object.defineProperty(on,e,{get:function(){return this.host[e]},configurable:!0})}),window.customElements&&window.customElements.define&&tc.Ba&&!tc.preferPerformance){var r3=new Map;rW=function(){var e=[];r3.forEach(function(n,r){e.push([r,n])}),r3.clear();for(var n=0;n<e.length;n++){var r=e[n][0];e[n][1]?r.__shadydom_connectedCallback():r.__shadydom_disconnectedCallback()}},rV&&document.addEventListener("readystatechange",function(){rV=!1,rW()},{once:!0});var r6=function(e,n,r){var o=0,i="__isConnected"+o++;return(n||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){rV?r3.set(this,!0):this[i]||(this[i]=!0,n&&n.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){rV?this.isConnected||r3.set(this,!1):this[i]&&(this[i]=!1,r&&r.call(this))}),e},r9=window.customElements.define,r4=function(e,n){var r=n.prototype.connectedCallback,o=n.prototype.disconnectedCallback;r9.call(window.customElements,e,r6(n,r,o)),n.prototype.connectedCallback=r,n.prototype.disconnectedCallback=o};window.customElements.define=r4,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:r4,configurable:!0})}function r8(e){if(tp(e=e.__shady_getRootNode()))return e}function r7(e){this.node=e}function r5(e){Object.defineProperty(r7.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(n){this.node["__shady_"+e]=n},configurable:!0})}(X=r7.prototype).addEventListener=function(e,n,r){return this.node.__shady_addEventListener(e,n,r)},X.removeEventListener=function(e,n,r){return this.node.__shady_removeEventListener(e,n,r)},X.appendChild=function(e){return this.node.__shady_appendChild(e)},X.insertBefore=function(e,n){return this.node.__shady_insertBefore(e,n)},X.removeChild=function(e){return this.node.__shady_removeChild(e)},X.replaceChild=function(e,n){return this.node.__shady_replaceChild(e,n)},X.cloneNode=function(e){return this.node.__shady_cloneNode(e)},X.getRootNode=function(e){return this.node.__shady_getRootNode(e)},X.contains=function(e){return this.node.__shady_contains(e)},X.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},X.setAttribute=function(e,n){this.node.__shady_setAttribute(e,n)},X.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},X.hasAttribute=function(e){return this.node.__shady_native_hasAttribute(e)},X.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},X.toggleAttribute=function(e,n){return this.node.__shady_toggleAttribute(e,n)},X.attachShadow=function(e){return this.node.__shady_attachShadow(e)},X.focus=function(){this.node.__shady_native_focus()},X.blur=function(){this.node.__shady_blur()},X.importNode=function(e,n){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,n)},X.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},X.elementsFromPoint=function(e,n){return this.node.__shady_elementsFromPoint(e,n)},X.elementFromPoint=function(e,n){return this.node.__shady_elementFromPoint(e,n)},X.querySelector=function(e){return this.node.__shady_querySelector(e)},X.querySelectorAll=function(e,n){return this.node.__shady_querySelectorAll(e,n)},X.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},X.append=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_append.apply(this.node,c(n))},X.prepend=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_prepend.apply(this.node,c(n))},X.after=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_after.apply(this.node,c(n))},X.before=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_before.apply(this.node,c(n))},X.remove=function(){return this.node.__shady_remove()},X.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_replaceWith.apply(this.node,c(n))},i.Object.defineProperties(r7.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(tp(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(tp(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),nD.forEach(function(e){return r5(e)}),nx.forEach(function(e){return r5(e)});var oe=new WeakMap;function ot(e){if(tp(e)||r(e,r7))return e;var n=oe.get(e);return n||(n=new r7(e),oe.set(e,n)),n}if(tc.Ba){var on,or,oo=tc.D?function(e){return e}:function(e){return nt(e),ne(e),e},oi={inUse:tc.Ba,patch:oo,isShadyRoot:tp,enqueue:tF,flush:tH,flushInitial:function(e){!e.Ia&&e.Y&&rJ(e)},settings:tc,filterMutations:function(e,n){var r=n.getRootNode();return e.map(function(e){var n=r===e.target.getRootNode();if(n&&e.addedNodes){if((n=[].slice.call(e.addedNodes).filter(function(e){return r===e.getRootNode()})).length)return Object.defineProperty(e=Object.create(e),"addedNodes",{value:n,configurable:!0}),e}else if(n)return e}).filter(function(e){return e})},observeChildren:function(e,n){var r=ts(e);r.ga||(r.ga=new tI),r.ga.qa.add(n);var o=r.ga;return{Va:n,X:o,Wa:e,takeRecords:function(){return o.takeRecords()}}},unobserveChildren:function(e){var n=e&&e.X;n&&(n.qa.delete(e.Va),n.qa.size||(ts(e.Wa).ga=null))},deferConnectionCallbacks:tc.deferConnectionCallbacks,preferPerformance:tc.preferPerformance,handlesDynamicScoping:!0,wrap:tc.J?ot:oo,wrapIfNeeded:!0===tc.J?ot:function(e){return e},Wrapper:r7,composedPath:function(e){return e.__composedPath||(e.__composedPath=nc(e.target,!0)),e.__composedPath},noPatch:tc.J,patchOnDemand:tc.Da,nativeMethods:tX,nativeTree:tK,patchElementProto:rj,querySelectorImplementation:tc.querySelectorImplementation};for(var oa in window.ShadyDOM=oi,or=["dispatchEvent","addEventListener","removeEventListener"],window.EventTarget?(tZ(window.EventTarget.prototype,or),void 0===window.__shady_native_addEventListener&&tZ(Window.prototype,or)):(tZ(Node.prototype,or),tZ(Window.prototype,or),tZ(XMLHttpRequest.prototype,or)),tz?tZ(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):tY(Node.prototype,{parentNode:{get:function(){return tQ.currentNode=this,tQ.parentNode()}},firstChild:{get:function(){return tQ.currentNode=this,tQ.firstChild()}},lastChild:{get:function(){return tQ.currentNode=this,tQ.lastChild()}},previousSibling:{get:function(){return tQ.currentNode=this,tQ.previousSibling()}},nextSibling:{get:function(){return tQ.currentNode=this,tQ.nextSibling()}},childNodes:{get:function(){var e=[];tQ.currentNode=this;for(var n=tQ.firstChild();n;)e.push(n),n=tQ.nextSibling();return e}},parentElement:{get:function(){return t0.currentNode=this,t0.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,n=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=n.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t2(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),tZ(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),tZ(HTMLElement.prototype,["parentElement","contains"]),or={firstElementChild:{get:function(){return t0.currentNode=this,t0.firstChild()}},lastElementChild:{get:function(){return t0.currentNode=this,t0.lastChild()}},children:{get:function(){var e=[];t0.currentNode=this;for(var n=t0.firstChild();n;)e.push(n),n=t0.nextSibling();return tS(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},tz?(tZ(Element.prototype,t3),tZ(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),tZ(HTMLElement.prototype,["children","innerHTML","className"])):(tY(Element.prototype,or),tY(Element.prototype,{previousElementSibling:{get:function(){return t0.currentNode=this,t0.previousSibling()}},nextElementSibling:{get:function(){return t0.currentNode=this,t0.nextSibling()}},innerHTML:{get:function(){return t$(this,tC)},set:function(e){var n="template"===this.localName?this.content:this;t2(n);var r=this.localName||"div";for((r=this.namespaceURI&&this.namespaceURI!==t1.namespaceURI?t1.createElementNS(this.namespaceURI,r):t1.createElement(r)).innerHTML=e,e="template"===this.localName?r.content:r;r=e.__shady_native_firstChild;)n.__shady_native_insertBefore(r,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),tZ(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),tZ(Element.prototype,t6),tZ(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&tZ(window.HTMLTemplateElement.prototype,["innerHTML"]),tz?tZ(DocumentFragment.prototype,t3):tY(DocumentFragment.prototype,or),tZ(DocumentFragment.prototype,t6),tz?(tZ(Document.prototype,t3),tZ(Document.prototype,["activeElement"])):tY(Document.prototype,or),tZ(Document.prototype,["importNode","getElementById","elementFromPoint",td()]),tZ(Document.prototype,t6),rL("__shady_"),Object.defineProperty(document,"_activeElement",rN.activeElement),tD(Window.prototype,rD,"__shady_"),tc.J?tc.Da&&tD(Element.prototype,rp):(rL(),function(){if(!nr&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),np)window.__shady_native_addEventListener(oa,function(e){e.__target||(nS(e),ny(e))},!0);window.Event=nC,window.CustomEvent=nT,window.MouseEvent=nO,window.ShadowRoot=rz}var os=window.Document.prototype.createElement,ol=window.Document.prototype.createElementNS,oc=window.Document.prototype.importNode,ou=window.Document.prototype.prepend,oh=window.Document.prototype.append,od=window.DocumentFragment.prototype.prepend,of=window.DocumentFragment.prototype.append,op=window.Node.prototype.cloneNode,o_=window.Node.prototype.appendChild,om=window.Node.prototype.insertBefore,ov=window.Node.prototype.removeChild,oy=window.Node.prototype.replaceChild,og=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),ob=window.Element.prototype.attachShadow,ow=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),oE=window.Element.prototype.getAttribute,oN=window.Element.prototype.setAttribute,oS=window.Element.prototype.removeAttribute,oC=window.Element.prototype.toggleAttribute,oT=window.Element.prototype.getAttributeNS,oO=window.Element.prototype.setAttributeNS,oD=window.Element.prototype.removeAttributeNS,ox=window.Element.prototype.insertAdjacentElement,oP=window.Element.prototype.insertAdjacentHTML,oM=window.Element.prototype.prepend,oA=window.Element.prototype.append,oL=window.Element.prototype.before,oj=window.Element.prototype.after,ok=window.Element.prototype.replaceWith,oR=window.Element.prototype.remove,oF=window.HTMLElement,oH=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),oI=window.HTMLElement.prototype.insertAdjacentElement,oB=window.HTMLElement.prototype.insertAdjacentHTML,oU=new Set;function oq(e){var n=oU.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!n&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(e){return oU.add(e)});var oW=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function oG(e){var n=e.isConnected;if(void 0!==n)return n;if(oW(e))return!0;for(;e&&!(e.__CE_isImportDocument||r(e,Document));)e=e.parentNode||(window.ShadowRoot&&r(e,ShadowRoot)?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||r(e,Document)))}function oV(e){var n=e.children;if(n)return Array.prototype.slice.call(n);for(n=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&n.push(e);return n}function o$(e,n){for(;n&&n!==e&&!n.nextSibling;)n=n.parentNode;return n&&n!==e?n.nextSibling:null}function oz(){var e=!(null==io||!io.noDocumentConstructionObserver),n=!(null==io||!io.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=n,this.sb=!e}function oX(e,n,o,i){var s=window.ShadyDOM;if(e.shadyDomFastWalk&&s&&s.inUse){if(n.nodeType===Node.ELEMENT_NODE&&o(n),n.querySelectorAll)for(e=s.nativeMethods.querySelectorAll.call(n,"*"),n=0;n<e.length;n++)o(e[n])}else!function e(n,o,i){for(var s=n;s;){if(s.nodeType===Node.ELEMENT_NODE){var l=s;o(l);var c=l.localName;if("link"===c&&"import"===l.getAttribute("rel")){if(s=l.import,void 0===i&&(i=new Set),r(s,Node)&&!i.has(s))for(i.add(s),s=s.firstChild;s;s=s.nextSibling)e(s,o,i);s=o$(n,l);continue}if("template"===c){s=o$(n,l);continue}if(l=l.__CE_shadowRoot)for(l=l.firstChild;l;l=l.nextSibling)e(l,o,i)}s=s.firstChild?s.firstChild:o$(n,s)}}(n,o,i)}function oK(e,n){e.W&&oX(e,n,function(n){return oJ(e,n)})}function oJ(e,n){if(e.W&&!n.__CE_patched){n.__CE_patched=!0;for(var r=0;r<e.ca.length;r++)e.ca[r](n);for(r=0;r<e.g.length;r++)e.g[r](n)}}function oY(e,n){var r=[];for(oX(e,n,function(e){return r.push(e)}),n=0;n<r.length;n++){var o=r[n];1===o.__CE_state?e.connectedCallback(o):o0(e,o)}}function oZ(e,n){var r=[];for(oX(e,n,function(e){return r.push(e)}),n=0;n<r.length;n++){var o=r[n];1===o.__CE_state&&e.disconnectedCallback(o)}}function oQ(e,n,o){var i=(o=void 0===o?{}:o).tb,s=o.upgrade||function(n){return o0(e,n)},l=[];for(oX(e,n,function(n){if(e.W&&oJ(e,n),"link"===n.localName&&"import"===n.getAttribute("rel")){var o=n.import;r(o,Node)&&(o.__CE_isImportDocument=!0,o.__CE_registry=document.__CE_registry),o&&"complete"===o.readyState?o.__CE_documentLoadHandled=!0:n.addEventListener("load",function(){var r=n.import;if(!r.__CE_documentLoadHandled){r.__CE_documentLoadHandled=!0;var o=new Set;i&&(i.forEach(function(e){return o.add(e)}),o.delete(r)),oQ(e,r,{tb:o,upgrade:s})}})}else l.push(n)},i),n=0;n<l.length;n++)s(l[n])}function o0(e,n){try{var r=n.ownerDocument,o=r.__CE_registry,i=o&&(r.defaultView||r.__CE_isImportDocument)?ie(o,n.localName):void 0;if(i&&void 0===n.__CE_state){i.constructionStack.push(n);try{try{if(new i.constructorFunction!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{i.constructionStack.pop()}}catch(e){throw n.__CE_state=2,e}if(n.__CE_state=1,n.__CE_definition=i,i.attributeChangedCallback&&n.hasAttributes()){var s=i.observedAttributes;for(i=0;i<s.length;i++){var l=s[i],c=n.getAttribute(l);null!==c&&e.attributeChangedCallback(n,l,null,c,null)}}oG(n)&&e.connectedCallback(n)}}catch(e){o2(e)}}function o1(e,n,r,o){var i=n.__CE_registry;if(i&&(null===o||"http://www.w3.org/1999/xhtml"===o)&&(i=ie(i,r)))try{var s=new i.constructorFunction;if(void 0===s.__CE_state||void 0===s.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==s.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(s.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==s.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==s.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(s.ownerDocument!==n)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(s.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return s}catch(i){return o2(i),Object.setPrototypeOf(n=null===o?os.call(n,r):ol.call(n,o,r),HTMLUnknownElement.prototype),n.__CE_state=2,n.__CE_definition=void 0,oJ(e,n),n}return oJ(e,n=null===o?os.call(n,r):ol.call(n,o,r)),n}function o2(e){var n="",o="",i=0,s=0;r(e,Error)?(n=e.message,o=e.sourceURL||e.fileName||"",i=e.line||e.lineNumber||0,s=e.column||e.columnNumber||0):n="Uncaught "+String(e);var l=void 0;void 0===ErrorEvent.prototype.initErrorEvent?l=new ErrorEvent("error",{cancelable:!0,message:n,filename:o,lineno:i,colno:s,error:e}):((l=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,n,o,i),l.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===l.error&&Object.defineProperty(l,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(l),l.defaultPrevented||console.error(e)}function o3(){var e=this;this.I=void 0,this.Ka=new Promise(function(n){e.g=n})}function o6(e){var n=document;this.X=void 0,this.S=e,this.g=n,oQ(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function o9(e){e.X&&e.X.disconnect()}function o4(e){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(e){return e()},this.V=!1,this.oa=[],this.S=e,this.Ga=e.sb?new o6(e):void 0}function o8(e,n){if(!oq(n))throw SyntaxError("The element name '"+n+"' is not valid.");if(ie(e,n))throw Error("A custom element with name '"+n+"' has already been defined.");if(e.wa)throw Error("A custom element is already being defined.")}function o7(e,n,o){e.wa=!0;try{var i,s=o.prototype;if(!r(s,Object))throw TypeError("The custom element constructor's prototype is not an object.");var l=function(e){var n=s[e];if(void 0!==n&&!r(n,Function))throw Error("The '"+e+"' callback must be a function.");return n},c=l("connectedCallback"),u=l("disconnectedCallback"),h=l("adoptedCallback"),d=(i=l("attributeChangedCallback"))&&o.observedAttributes||[]}catch(e){throw e}finally{e.wa=!1}return o={localName:n,constructorFunction:o,connectedCallback:c,disconnectedCallback:u,adoptedCallback:h,attributeChangedCallback:i,observedAttributes:d,constructionStack:[]},e.na.set(n,o),e.Fa.set(o.constructorFunction,o),o}function o5(e){if(!1!==e.V){e.V=!1;for(var n=[],r=e.oa,o=new Map,i=0;i<r.length;i++)o.set(r[i],[]);for(oQ(e.S,document,{upgrade:function(r){if(void 0===r.__CE_state){var i=r.localName,s=o.get(i);s?s.push(r):e.na.has(i)&&n.push(r)}}}),i=0;i<n.length;i++)o0(e.S,n[i]);for(i=0;i<r.length;i++){for(var s=r[i],l=o.get(s),c=0;c<l.length;c++)o0(e.S,l[c]);(s=e.za.get(s))&&s.resolve(void 0)}r.length=0}}function ie(e,n){var r=e.na.get(n);if(r)return r;if(r=e.ma.get(n)){e.ma.delete(n);try{return o7(e,n,r())}catch(e){o2(e)}}}function it(e,n,o){function i(n){return function(o){for(var i=[],s=0;s<arguments.length;++s)i[s]=arguments[s];s=[];for(var l=[],c=0;c<i.length;c++){var u=i[c];if(r(u,Element)&&oG(u)&&l.push(u),r(u,DocumentFragment))for(u=u.firstChild;u;u=u.nextSibling)s.push(u);else s.push(u)}for(n.apply(this,i),i=0;i<l.length;i++)oZ(e,l[i]);if(oG(this))for(i=0;i<s.length;i++)r(l=s[i],Element)&&oY(e,l)}}void 0!==o.prepend&&(n.prepend=i(o.prepend)),void 0!==o.append&&(n.append=i(o.append))}oz.prototype.connectedCallback=function(e){var n=e.__CE_definition;if(n.connectedCallback)try{n.connectedCallback.call(e)}catch(e){o2(e)}},oz.prototype.disconnectedCallback=function(e){var n=e.__CE_definition;if(n.disconnectedCallback)try{n.disconnectedCallback.call(e)}catch(e){o2(e)}},oz.prototype.attributeChangedCallback=function(e,n,r,o,i){var s=e.__CE_definition;if(s.attributeChangedCallback&&-1<s.observedAttributes.indexOf(n))try{s.attributeChangedCallback.call(e,n,r,o,i)}catch(e){o2(e)}},o3.prototype.resolve=function(e){if(this.I)throw Error("Already resolved.");this.I=e,this.g(e)},o6.prototype.h=function(e){var n=this.g.readyState;for("interactive"!==n&&"complete"!==n||o9(this),n=0;n<e.length;n++)for(var r=e[n].addedNodes,o=0;o<r.length;o++)oQ(this.S,r[o])},(X=o4.prototype).jb=function(e,n){var o=this;if(!r(n,Function))throw TypeError("Custom element constructor getters must be functions.");o8(this,e),this.ma.set(e,n),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return o5(o)}))},X.define=function(e,n){var o=this;if(!r(n,Function))throw TypeError("Custom element constructors must be functions.");o8(this,e),o7(this,e,n),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return o5(o)}))},X.upgrade=function(e){oQ(this.S,e)},X.get=function(e){if(e=ie(this,e))return e.constructorFunction},X.whenDefined=function(e){if(!oq(e))return Promise.reject(SyntaxError("'"+e+"' is not a valid custom element name."));var n=this.za.get(e);if(n)return n.Ka;n=new o3,this.za.set(e,n);var r=this.na.has(e)||this.ma.has(e);return e=-1===this.oa.indexOf(e),r&&e&&n.resolve(void 0),n.Ka},X.polyfillWrapFlushCallback=function(e){this.Ga&&o9(this.Ga);var n=this.la;this.la=function(r){return e(function(){return n(r)})}},o4.prototype.define=o4.prototype.define,o4.prototype.upgrade=o4.prototype.upgrade,o4.prototype.get=o4.prototype.get,o4.prototype.whenDefined=o4.prototype.whenDefined,o4.prototype.polyfillDefineLazy=o4.prototype.jb,o4.prototype.polyfillWrapFlushCallback=o4.prototype.polyfillWrapFlushCallback;var ir={},io=window.customElements;function ii(){var e,n=new oz,o=n;function i(){var e=this.constructor,n=document.__CE_registry.Fa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return Object.setPrototypeOf(r=os.call(document,n.localName),e.prototype),r.__CE_state=1,r.__CE_definition=n,oJ(o,r),r;var i=r.length-1,s=r[i];if(s===ir)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[i]=ir,Object.setPrototypeOf(s,e.prototype),oJ(o,s),s}i.prototype=oF.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:i}),window.HTMLElement=i,e=n,Document.prototype.createElement=function(n){return o1(e,this,n,null)},Document.prototype.importNode=function(n,r){return n=oc.call(this,n,!!r),this.__CE_registry?oQ(e,n):oK(e,n),n},Document.prototype.createElementNS=function(n,r){return o1(e,this,r,n)},it(e,Document.prototype,{prepend:ou,append:oh}),it(n,DocumentFragment.prototype,{prepend:od,append:of});var s=n;function l(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 r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&oG(this)){r=Array(i);for(var l=0;l<i;l++)r[l]=o[l]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)oZ(s,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(r(e,DocumentFragment)){var o=oV(e);if(e=om.call(this,e,n),oG(this))for(n=0;n<o.length;n++)oY(s,o[n]);return e}return o=r(e,Element)&&oG(e),n=om.call(this,e,n),o&&oZ(s,e),oG(this)&&oY(s,e),n},Node.prototype.appendChild=function(e){if(r(e,DocumentFragment)){var n=oV(e);if(e=o_.call(this,e),oG(this))for(var o=0;o<n.length;o++)oY(s,n[o]);return e}return n=r(e,Element)&&oG(e),o=o_.call(this,e),n&&oZ(s,e),oG(this)&&oY(s,e),o},Node.prototype.cloneNode=function(e){return e=op.call(this,!!e),this.ownerDocument.__CE_registry?oQ(s,e):oK(s,e),e},Node.prototype.removeChild=function(e){var n=r(e,Element)&&oG(e),o=ov.call(this,e);return n&&oZ(s,e),o},Node.prototype.replaceChild=function(e,n){if(r(e,DocumentFragment)){var o=oV(e);if(e=oy.call(this,e,n),oG(this))for(oZ(s,n),n=0;n<o.length;n++)oY(s,o[n]);return e}o=r(e,Element)&&oG(e);var i=oy.call(this,e,n),l=oG(this);return l&&oZ(s,n),o&&oZ(s,e),l&&oY(s,e),i},og&&og.get?l(Node.prototype,og):(s.W=!0,s.ca.push(function(e){l(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],n=this.firstChild;n;n=n.nextSibling)n.nodeType!==Node.COMMENT_NODE&&e.push(n.textContent);return e.join("")},set:function(e){for(;this.firstChild;)ov.call(this,this.firstChild);null!=e&&""!==e&&o_.call(this,document.createTextNode(e))}})})),function(e){function n(n,r){Object.defineProperty(n,"innerHTML",{enumerable:r.enumerable,configurable:!0,get:r.get,set:function(n){var o=this,i=void 0;if(oG(this)&&(i=[],oX(e,this,function(e){e!==o&&i.push(e)})),r.set.call(this,n),i)for(var s=0;s<i.length;s++){var l=i[s];1===l.__CE_state&&e.disconnectedCallback(l)}return this.ownerDocument.__CE_registry?oQ(e,this):oK(e,this),n}})}function o(n,r){n.insertAdjacentElement=function(n,o){var i=oG(o);return n=r.call(this,n,o),i&&oZ(e,o),oG(n)&&oY(e,o),n}}function i(n,r){function o(n,r){for(var o=[];n!==r;n=n.nextSibling)o.push(n);for(r=0;r<o.length;r++)oQ(e,o[r])}n.insertAdjacentHTML=function(e,n){if("beforebegin"===(e=e.toLowerCase())){var i=this.previousSibling;r.call(this,e,n),o(i||this.parentNode.firstChild,this)}else if("afterbegin"===e)i=this.firstChild,r.call(this,e,n),o(this.firstChild,i);else if("beforeend"===e)i=this.lastChild,r.call(this,e,n),o(i||this.firstChild,null);else if("afterend"===e)i=this.nextSibling,r.call(this,e,n),o(this.nextSibling,i);else throw SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}}function s(n){return function(o){for(var i=[],s=0;s<arguments.length;++s)i[s]=arguments[s];s=[];for(var l=[],c=0;c<i.length;c++){var u=i[c];if(r(u,Element)&&oG(u)&&l.push(u),r(u,DocumentFragment))for(u=u.firstChild;u;u=u.nextSibling)s.push(u);else s.push(u)}for(n.apply(this,i),i=0;i<l.length;i++)oZ(e,l[i]);if(oG(this))for(i=0;i<s.length;i++)r(l=s[i],Element)&&oY(e,l)}}ob&&(Element.prototype.attachShadow=function(n){if(n=ob.call(this,n),e.W&&!n.__CE_patched){n.__CE_patched=!0;for(var r=0;r<e.ca.length;r++)e.ca[r](n)}return this.__CE_shadowRoot=n}),ow&&ow.get?n(Element.prototype,ow):oH&&oH.get?n(HTMLElement.prototype,oH):(e.W=!0,e.g.push(function(e){n(e,{enumerable:!0,configurable:!0,get:function(){return op.call(this,!0).innerHTML},set:function(e){var n="template"===this.localName,r=n?this.content:this,o=ol.call(document,this.namespaceURI,this.localName);for(o.innerHTML=e;0<r.childNodes.length;)ov.call(r,r.childNodes[0]);for(e=n?o.content:o;0<e.childNodes.length;)o_.call(r,e.childNodes[0])}})})),Element.prototype.setAttribute=function(n,r){if(1!==this.__CE_state)return oN.call(this,n,r);var o=oE.call(this,n);oN.call(this,n,r),r=oE.call(this,n),e.attributeChangedCallback(this,n,o,r,null)},Element.prototype.setAttributeNS=function(n,r,o){if(1!==this.__CE_state)return oO.call(this,n,r,o);var i=oT.call(this,n,r);oO.call(this,n,r,o),o=oT.call(this,n,r),e.attributeChangedCallback(this,r,i,o,n)},Element.prototype.removeAttribute=function(n){if(1!==this.__CE_state)return oS.call(this,n);var r=oE.call(this,n);oS.call(this,n),null!==r&&e.attributeChangedCallback(this,n,r,null,null)},oC&&(Element.prototype.toggleAttribute=function(n,r){if(1!==this.__CE_state)return oC.call(this,n,r);var o=oE.call(this,n);return null!==o!==(r=oC.call(this,n,r))&&e.attributeChangedCallback(this,n,o,r?"":null,null),r}),Element.prototype.removeAttributeNS=function(n,r){if(1!==this.__CE_state)return oD.call(this,n,r);var o=oT.call(this,n,r);oD.call(this,n,r);var i=oT.call(this,n,r);o!==i&&e.attributeChangedCallback(this,r,o,i,n)},oI?o(HTMLElement.prototype,oI):ox&&o(Element.prototype,ox),oB?i(HTMLElement.prototype,oB):oP&&i(Element.prototype,oP),it(e,Element.prototype,{prepend:oM,append:oA});var l=Element.prototype;void 0!==oL&&(l.before=s(oL)),void 0!==oj&&(l.after=s(oj)),void 0!==ok&&(l.replaceWith=function(n){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var s=[],l=0;l<o.length;l++){var c=o[l];if(r(c,Element)&&oG(c)&&s.push(c),r(c,DocumentFragment))for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}for(l=oG(this),ok.apply(this,o),o=0;o<s.length;o++)oZ(e,s[o]);if(l)for(oZ(e,this),o=0;o<i.length;o++)r(s=i[o],Element)&&oY(e,s)}),void 0!==oR&&(l.remove=function(){var n=oG(this);oR.call(this),n&&oZ(e,this)})}(n),window.CustomElementRegistry=o4,n=new o4(n),document.__CE_registry=n,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:n})}function ia(){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 is(e){var n=e=e.replace(ip,"").replace(i_,""),r=new ia;r.start=0,r.end=n.length;for(var o=r,i=0,s=n.length;i<s;i++)if("{"===n[i]){o.rules||(o.rules=[]);var l=o,c=l.rules[l.rules.length-1]||null;(o=new ia).start=i+1,o.parent=l,o.previous=c,l.rules.push(o)}else"}"===n[i]&&(o.end=i+1,o=o.parent||r);return function e(n,r){var o=r.substring(n.start,n.end-1);if(n.parsedCssText=n.cssText=o.trim(),n.parent&&(o=(o=(o=(o=r.substring(n.previous?n.previous.end:n.parent.start,n.start-1)).replace(/\\([0-9a-f]{1,6})\s/gi,function(e,n){for(n=6-(e=n).length;n--;)e="0"+e;return"\\"+e})).replace(iw," ")).substring(o.lastIndexOf(";")+1),o=n.parsedSelector=n.selector=o.trim(),n.atRule=0===o.indexOf("@"),n.atRule?0===o.indexOf("@media")?n.type=ih:o.match(ib)&&(n.type=iu,n.keyframesName=n.selector.split(iw).pop()):n.type=0===o.indexOf("--")?id:ic),o=n.rules)for(var i=0,s=o.length,l=void 0;i<s&&(l=o[i]);i++)e(l,r);return n}(r,e)}io&&!io.forcePolyfill&&"function"==typeof io.define&&"function"==typeof io.get||ii(),window.__CE_installPolyfill=ii;var il,ic=1,iu=7,ih=4,id=1e3,ip=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,i_=/@import[^;]*;/gim,im=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,iv=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,iy=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,ig=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,ib=/^@[^\s]*keyframes/,iw=/\s+/g,iE=!(window.ShadyDOM&&window.ShadyDOM.inUse);function iN(e){il=(!e||!e.shimcssproperties)&&(iE||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(aH=window.ShadyCSS.cssBuild);var iS=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?il=window.ShadyCSS.nativeCss:window.ShadyCSS?(iN(window.ShadyCSS),window.ShadyCSS=void 0):iN(window.WebComponents&&window.WebComponents.flags);var iC=il,iT=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,iO=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,iD=/(--[\w-]+)\s*([:,;)]|$)/gi,ix=/(animation\s*:)|(animation-name\s*:)/,iP=/@media\s(.*)/,iM=/\{[^}]*\}/g,iA=new Set;function iL(e,n){return e?("string"==typeof e&&(e=is(e)),n&&iR(e,n),function e(n,r,o){o=void 0===o?"":o;var i="";if(n.cssText||n.rules){var s,l=n.rules;if((s=l)&&(s=!((s=l[0])&&s.selector&&0===s.selector.indexOf("--"))),s){s=0;for(var c=l.length,u=void 0;s<c&&(u=l[s]);s++)i=e(u,r,i)}else(i=(r=r?n.cssText:(r=(r=n.cssText).replace(im,"").replace(iv,"")).replace(iy,"").replace(ig,"")).trim())&&(i=" "+i+"\n")}return i&&(n.selector&&(o+=n.selector+" {\n"),o+=i,n.selector&&(o+="}\n\n")),o}(e,iC)):""}function ij(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=is(e.textContent)),e.__cssRules||null}function ik(e){return!!e.parent&&e.parent.type===iu}function iR(e,n,r,o){if(e){var i=!1,s=e.type;if(o&&s===ih){var l=e.selector.match(iP);l&&(window.matchMedia(l[1]).matches||(i=!0))}if(s===ic?n(e):r&&s===iu?r(e):s===id&&(i=!0),(e=e.rules)&&!i)for(i=0,s=e.length,l=void 0;i<s&&(l=e[i]);i++)iR(l,n,r,o)}}function iF(e,n,r,o){var i=document.createElement("style");return n&&i.setAttribute("scope",n),i.textContent=e,iB(i,r,o),i}var iH=null;function iI(e){e=document.createComment(" Shady DOM styles for "+e+" ");var n=document.head;return n.insertBefore(e,(iH?iH.nextSibling:null)||n.firstChild),iH=e}function iB(e,n,r){(n=n||document.head).insertBefore(e,r&&r.nextSibling||n.firstChild),iH?e.compareDocumentPosition(iH)===Node.DOCUMENT_POSITION_PRECEDING&&(iH=e):iH=e}function iU(e,n){for(var r=0,o=e.length;n<o;n++)if("("===e[n])r++;else if(")"===e[n]&&0==--r)return n;return -1}function iq(e,n){iE?e.setAttribute("class",n):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",n)}var iW=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function iG(e){var n=e.localName,r="";return n?-1<n.indexOf("-")||(r=n,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,ja:r}}function iV(e){for(var n=[],r="",o=0;0<=o&&o<e.length;o++)if("("===e[o]){var i=iU(e,o);r+=e.slice(o,i+1),o=i}else","===e[o]?(n.push(r),r=""):r+=e[o];return r&&n.push(r),n}function i$(e){if(void 0!==aH)return aH;if(void 0===e.__cssBuild){var n=e.getAttribute("css-build");if(n)e.__cssBuild=n;else{e:{if(r(n="template"===e.localName?e.content.firstChild:e.firstChild,Comment)&&"css-build"===(n=n.textContent.trim().split(":"))[0]){n=n[1];break e}n=""}if(""!==n){var o="template"===e.localName?e.content.firstChild:e.firstChild;o.parentNode.removeChild(o)}e.__cssBuild=n}}return e.__cssBuild||""}function iz(e){return""!==(e=void 0===e?"":e)&&!!iC&&(iE?"shadow"===e:"shady"===e)}function iX(){}function iK(e,n,r){var o;if(n.nodeType===Node.ELEMENT_NODE&&r(n),o="template"===n.localName?(n.content||n._content||n).childNodes:n.children||n.childNodes)for(n=0;n<o.length;n++)iK(e,o[n],r)}function iJ(e,n,r){if(n){if(e.classList)r?(e.classList.remove("style-scope"),e.classList.remove(n)):(e.classList.add("style-scope"),e.classList.add(n));else if(e.getAttribute){var o=e.getAttribute("class");r?o&&iq(e,n=o.replace("style-scope","").replace(n,"")):iq(e,(o?o+" ":"")+"style-scope "+n)}}}function iY(e,n,r,o,i){var s,l,c,u,h,d;return""===(i=void 0===i?"":i)&&(i=iE||"shady"===(void 0===o?"":o)?iL(n,r):(s=at,l=n,c=(e=iG(e)).is,u=e.ja,h=r,d=iZ(c,u),c=c?"."+c:"",iL(l,function(e){e.i||(e.selector=e.G=iQ(s,e,s.h,c,d),e.i=!0),h&&h(e,c,d)})+"\n\n")),i.trim()}function iZ(e,n){return n?"[is="+e+"]":e}function iQ(e,n,r,o,i){var s=iV(n.selector);if(!ik(n)){n=0;for(var l=s.length,c=void 0;n<l&&(c=s[n]);n++)s[n]=r.call(e,c,o,i)}return s.filter(function(e){return!!e}).join(",")}function i0(e){return e.replace(i3,function(e,n,r){return -1<r.indexOf("+")?r=r.replace(/\+/g,"___"):-1<r.indexOf("___")&&(r=r.replace(/___/g,"+")),":"+n+"("+r+")"})}function i1(e,n){e=e.split(/(\[.+?\])/);for(var r=[],o=0;o<e.length;o++)if(1==o%2)r.push(e[o]);else{var i=e[o];(""!==i||o!==e.length-1)&&(i=i.split(":"),i[0]+=n,r.push(i.join(":")))}return r.join("")}function i2(e){":root"===e.selector&&(e.selector="html")}iX.prototype.h=function(e,n,r){var o,i,s,l=!1;e=e.trim();var c=i3.test(e);c&&(e=i0(e=e.replace(i3,function(e,n,r){return":"+n+"("+r.replace(/\s/g,"")+")"})));var u=ae.test(e);if(u){var h=function(e){for(var n,r=[];n=e.match(ae);){var o=n.index,i=iU(e,o);if(-1===i)throw Error(n.input+" selector missing ')'");n=e.slice(o,i+1),e=e.replace(n,""),r.push(n)}return{Ea:e,matches:r}}(e);e=h.Ea,h=h.matches}return e=(e=e.replace(i4,":host $1")).replace(i6,function(e,o,i){return l||(e=function(e,n,r,o){var i,s,l,c=e.indexOf("::slotted");if(0<=e.indexOf(":host")?(i=e,s=o,e=(l=(l=i.match(i8))&&l[2].trim()||"")?l[0].match(i9)?i.replace(i8,function(e,n,r){return s+r}):l.split(i9)[0]===s?l:"should_not_match":i.replace(":host",s)):0!==c&&(e=r?i1(e,r):e),r=!1,0<=c&&(n="",r=!0),r){var u=!0;r&&(e=e.replace(i7,function(e,n){return" > "+n}))}return{value:e,Ya:n,stop:u}}(i,o,n,r),l=l||e.stop,o=e.Ya,i=e.value),o+i}),u&&(o=e,i=h,s=o.split(""),e=i.reduce(function(e,n,r){return e+n+s[r+1]},s[0])),c&&(e=i0(e)),e.replace(i5,function(e,n,r,o){return'[dir="'+r+'"] '+n+o+", "+n+'[dir="'+r+'"]'+o})},iX.prototype.i=function(e){return e.match(":host")?"":e.match("::slotted")?this.h(e,":not(.style-scope)"):i1(e.trim(),":not(.style-scope)")},i.Object.defineProperties(iX.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var i3=/:(nth[-\w]+)\(([^)]+)\)/,i6=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,i9=/[[.:#*]/,i4=/^(::slotted)/,i8=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,i7=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,i5=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ae=/:(?:matches|any|-(?:webkit|moz)-any)/,at=new iX;function an(e,n,r,o,i){this.M=e||null,this.h=n||null,this.Ca=r||[],this.K=null,this.cssBuild=i||"",this.ja=o||"",this.g=this.L=this.R=null}function ar(e){return e?e.__styleInfo:null}function ao(e,n){return e.__styleInfo=n}function ai(e){var n=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return n&&n.call(this,e)}an.prototype.i=function(){return this.M},an.prototype._getStyleRules=an.prototype.i;var aa=/:host\s*>\s*/,as=navigator.userAgent.match("Trident");function al(){}function ac(e){if(!e.F){var n={},r={};au(e,r)&&(n.P=r,e.rules=null),n.cssText=e.parsedCssText.replace(iM,"").replace(iT,""),e.F=n}}function au(e,n){var r,o=e.F;if(o){if(o.P)return Object.assign(n,o.P),!0}else{for(o=e.parsedCssText;e=iT.exec(o);)("inherit"!==(r=(e[2]||e[3]).trim())||"unset"!==r)&&(n[e[1].trim()]=r),r=!0;return r}}function ah(e,n,r){return n&&(n=0<=n.indexOf(";")?ad(e,n,r):function e(n,r){var o=n.indexOf("var(");if(-1===o)return r(n,"","","");var i=iU(n,o+3),s=n.substring(o+4,i);return o=n.substring(0,o),n=e(n.substring(i+1),r),-1===(i=s.indexOf(","))?r(o,s.trim(),"",n):r(o,s.substring(0,i).trim(),s.substring(i+1).trim(),n)}(n,function(n,o,i,s){return o?((o=ah(e,r[o],r))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=ah(e,r[i]||i,r)||i,n+(o||"")+s):n+s})),n&&n.trim()||""}function ad(e,n,r){n=n.split(";");for(var o,i,s=0;s<n.length;s++)if(o=n[s]){if(iO.lastIndex=0,i=iO.exec(o))o=ah(e,r[i[1]],r);else if(-1!==(i=o.indexOf(":"))){var l=o.substring(i);l=ah(e,l=l.trim(),r)||l,o=o.substring(0,i)+l}n[s]=o&&o.lastIndexOf(";")===o.length-1?o.slice(0,-1):o||""}return n.join(";")}i.Object.defineProperties(al.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var af=new al,ap={},a_=window.customElements;if(a_&&!iE&&!iS){var am=a_.define;a_.define=function(e,n,r){ap[e]||(ap[e]=iI(e)),am.call(a_,e,n,r)}}function av(){this.cache={}}function ay(){}av.prototype.store=function(e,n,r,o){var i=this.cache[e]||[];i.push({P:n,styleElement:r,L:o}),100<i.length&&i.shift(),this.cache[e]=i};var ag=RegExp(at.g+"\\s*([^\\s]*)");function ab(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(ag))?e[1]:""}function aw(e){var n=iW(e).getRootNode();return n===e||n===e.ownerDocument?"":(e=n.host)?iG(e).is:""}function aE(e){for(var n=0;n<e.length;n++){var o=e[n];if(o.target!==document.documentElement&&o.target!==document.head)for(var i=0;i<o.addedNodes.length;i++){var s=o.addedNodes[i];if(s.nodeType===Node.ELEMENT_NODE){var l=s.getRootNode(),c=ab(s);if(c&&l===s.ownerDocument&&("style"!==s.localName&&"template"!==s.localName||""===i$(s)))!function(e,n){iK(at,e,function(e){iJ(e,n||"",!0)})}(s,c);else if(r(l,ShadowRoot))for((l=aw(s))!==c&&function(e,n,r){iK(at,e,function(e){iJ(e,n,!0),iJ(e,r)})}(s,c,l),s=window.ShadyDOM.nativeMethods.querySelectorAll.call(s,":not(."+at.g+")"),c=0;c<s.length;c++){var u=aw(l=s[c]);u&&iJ(l,u)}}}}}if(!(iE||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var aN=new MutationObserver(aE),aS=function(e){aN.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)aS(document);else{var aC=function(){aS(document.body)};window.HTMLImports?window.HTMLImports.whenReady(aC):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){aC(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else aC()})}ay=function(){aE(aN.takeRecords())}}var aT={},aO=Promise.resolve();function aD(e){(e=aT[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function ax(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var aP={},aM=new av;function aA(){this.ea={},this.i=document.documentElement;var e=new ia;e.rules=[],this.u=ao(this.i,new an(e)),this.O=!1,this.g=this.h=null}function aL(e){var n=iG(e),r=n.is;n=n.ja;var o=ap[r]||null,i=aT[r];if(i)return ao(e,n=new an(r=i._styleAst,o,i.g,n,i=i$(i))),n}function aj(e){if(!e.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.h=window.ShadyCSS.ApplyShim,e.h.invalidCallback=aD;var n=!0}else n=!1;return!e.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(n){e.Qa(n)},e.g.validateCallback=function(){requestAnimationFrame(function(){(e.g.enqueued||e.O)&&e.flushCustomStyles()})}),n}function ak(e,n,r){var o,i=iG(n).is;if(r.K){var s,l=r.K;for(s in l)null===s?n.style.removeProperty(s):n.style.setProperty(s,l[s])}!(!(l=aT[i])&&n!==e.i||l&&""!==i$(l))&&l&&l._style&&!ax(l)&&((ax(l)||l._applyShimValidatingVersion!==l._applyShimNextVersion)&&(aj(e),e.h&&e.h.transformRules(l._styleAst,i),l._style.textContent=iY(n,r.M),(o=l)._applyShimValidatingVersion=o._applyShimNextVersion,o._validating||(o._validating=!0,aO.then(function(){o._applyShimCurrentVersion=o._applyShimNextVersion,o._validating=!1}))),iE&&(e=n.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=iY(n,r.M)),r.M=l._styleAst)}function aR(e,n){return(n=iW(n).getRootNode().host)?ar(n)||aL(n)?n:aR(e,n):e.i}function aF(e,n,r){var o,i,s,l,c,u,h,d,f,p=aR(e,n),_=ar(p),m=_.R;for(var v in p===e.i||m||(aF(e,p,_),m=_.R),e=Object.create(m||null),o=n,i=r.M,s=r.cssBuild,l={},c={},iR(i,function(e){!function(e,n,r,o){if(n.F||ac(n),n.F.P){var i=iG(e);e=i.is,i=i.ja,i=e?iZ(e,i):"html";var s=n.parsedSelector,l=!!s.match(aa)||"html"===i&&-1<s.indexOf("html"),c=0===s.indexOf(":host")&&!l;"shady"===r&&(c=!(l=s===i+" > *."+i||-1!==s.indexOf("html"))&&0===s.indexOf(i)),(l||c)&&(r=i,c&&(n.G||(n.G=iQ(at,n,at.h,e?"."+e:"",i)),r=n.G||i),l&&"html"===i&&(r=n.G||n.O),o({Ea:r,gb:c,vb:l}))}}(o,e,s,function(n){ai.call(o._element||o,n.Ea)&&(n.gb?au(e,l):au(e,c))})},null,!0),p={mb:c,eb:l},n=(u=_.M,h=n,d={},f=[],iR(u,function(e){e.F||ac(e);var n=e.G||e.parsedSelector;h&&e.F.P&&n&&ai.call(h,n)&&(au(e,d),f[n=parseInt((e=e.index)/32,10)]=(f[n]||0)|1<<e%32)},null,!0),{P:d,key:f}).P,Object.assign(e,p.eb,n,p.mb),n=r.K)((_=n[v])||0===_)&&(e[v]=_);for(_=0,v=af,n=Object.getOwnPropertyNames(e);_<n.length;_++)e[p=n[_]]=ah(v,e[p],e);r.R=e}(X=aA.prototype).flush=function(){ay()},X.bb=function(e){return ij(e)},X.qb=function(e){return iL(e)},X.prepareTemplate=function(e,n,r){this.prepareTemplateDom(e,n),this.prepareTemplateStyles(e,n,r)},X.prepareTemplateStyles=function(e,n,r){if(!e._prepared&&!iS){iE||ap[n]||(ap[n]=iI(n)),e._prepared=!0,e.name=n,e.extends=r,aT[n]=e;var o=i$(e),i=iz(o);r={is:n,extends:r};for(var s=[],l=e.content.querySelectorAll("style"),c=0;c<l.length;c++){var u=l[c];if(u.hasAttribute("shady-unscoped")){if(!iE){var h=u.textContent;if(!iA.has(h)){iA.add(h);var d=document.createElement("style");d.setAttribute("shady-unscoped",""),d.textContent=h,document.head.appendChild(d)}u.parentNode.removeChild(u)}}else s.push(u.textContent),u.parentNode.removeChild(u)}s=s.join("").trim()+(aP[n]||""),aj(this),i||((l=!o)&&(l=iO.test(s)||iT.test(s),iO.lastIndex=0,iT.lastIndex=0),c=is(s),l&&iC&&this.h&&this.h.transformRules(c,n),e._styleAst=c),l=[],iC||(l=function(e){var n={},r=[],o=0;for(var i in iR(e,function(e){ac(e),e.index=o++,e=e.F.cssText;for(var r;r=iD.exec(e);){var i=r[1];":"!==r[2]&&(n[i]=!0)}},function(e){r.push(e)}),e.h=r,e=[],n)e.push(i);return e}(e._styleAst)),(!l.length||iC)&&(c=iE?e.content:null,n=ap[n]||null,o=(o=iY(r,e._styleAst,null,o,i?s:"")).length?iF(o,r.is,c,n):null,e._style=o),e.g=l}},X.kb=function(e,n){aP[n]=e.join(" ")},X.prepareTemplateDom=function(e,n){if(!iS){var r,o=i$(e);iE||"shady"===o||e._domPrepared||(e._domPrepared=!0,r=e.content,iK(at,r,function(e){iJ(e,n||"")}))}},X.flushCustomStyles=function(){if(!iS){var e=aj(this);if(this.g){var n=this.g.processStyles();if((e||this.g.enqueued)&&!iz(this.u.cssBuild)){if(iC){if(!this.u.cssBuild)for(e=0;e<n.length;e++){var r,o,i=this.g.getStyleForCustomStyle(n[e]);if(i&&iC&&this.h){var s=ij(i);aj(this),this.h.transformRules(s),i.textContent=iL(s)}}}else{for(r=this,(o=(o=n).map(function(e){return r.g.getStyleForCustomStyle(e)}).filter(function(e){return!!e})).sort(function(e,n){return(e=n.compareDocumentPosition(e))&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),r.u.M.rules=o.map(function(e){return ij(e)}),aF(this,this.i,this.u),e=0;e<n.length;e++)(i=this.g.getStyleForCustomStyle(n[e]))&&function(e,n){var r=ij(e);e.textContent=iL(r,function(e){var r=e.cssText=e.parsedCssText;e.F&&e.F.cssText&&(e.cssText=ad(af,r=r.replace(im,"").replace(iv,""),n))})}(i,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},X.styleElement=function(e,n){if(iS){if(n){ar(e)||ao(e,new an(null));var r=ar(e);r.K=r.K||{},Object.assign(r.K,n),ak(this,e,r)}}else if(r=ar(e)||aL(e)){if(e!==this.i&&(this.O=!0),n&&(r.K=r.K||{},Object.assign(r.K,n)),iC)ak(this,e,r);else if(this.flush(),aF(this,e,r),r.Ca&&r.Ca.length){n=iG(e).is;e:{if(f=aM.cache[n])for(var o,i,s,l,c,u,h,d,f,p=f.length-1;0<=p;p--){var _=f[p];t:{for(var m=r.Ca,v=0;v<m.length;v++){var y=m[v];if(_.P[y]!==r.R[y]){m=!1;break t}}m=!0}if(m){f=_;break e}}f=void 0}m=f?f.styleElement:null,p=r.L,(_=f&&f.L)||(_=this.ea[n]=(this.ea[n]||0)+1,_=n+"-"+_),r.L=_,_=r.L,v=af,v=m?m.textContent||"":(o=v,i=r.R,s=_,c=iZ((l=iG(e)).is,l.ja),u=RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+c.slice(0,-1)+"\\]":c)+"($|[.:[\\s>+~])"),l=(h=ar(e)).M,h=h.cssBuild,d=function(e,n){e=e.h;var r={};if(!iE&&e)for(var o=0,i=e[o];o<e.length;i=e[++o]){var s=i;s.u=RegExp("\\b"+s.keyframesName+"(?!\\B|-)","g"),s.g=s.keyframesName+"-"+n,s.G=s.G||s.selector,s.selector=s.G.replace(s.keyframesName,s.g),r[i.keyframesName]=function(e){return function(n){return n.replace(e.u,e.g)}}(i)}return r}(l,s),iY(e,l,function(e){var n="";if(e.F||ac(e),e.F.cssText&&(n=ad(o,e.F.cssText,i)),e.cssText=n,!iE&&!ik(e)&&e.cssText){var r=n=e.cssText;if(null==e.Ma&&(e.Ma=ix.test(n)),e.Ma)if(null==e.ra)for(var l in e.ra=[],d)r=(r=d[l])(n),n!==r&&(n=r,e.ra.push(l));else{for(l=0;l<e.ra.length;++l)n=(r=d[e.ra[l]])(n);r=n}e.cssText=r,e.G=e.G||e.selector,n="."+s,l=iV(e.G),r=0;for(var h=l.length,f=void 0;r<h&&(f=l[r]);r++)l[r]=f.match(u)?f.replace(c,n):n+" "+f;e.selector=l.join(",")}},h));var g=(y=ar(e)).g;g&&!iE&&g!==m&&(g._useCount--,0>=g._useCount&&g.parentNode&&g.parentNode.removeChild(g)),iE?y.g?(y.g.textContent=v,m=y.g):v&&(m=iF(v,_,e.shadowRoot,y.h)):m?m.parentNode||(as&&-1<v.indexOf("@media")&&(m.textContent=v),iB(m,null,y.h)):v&&(m=iF(v,_,null,y.h)),m&&(m._useCount=m._useCount||0,y.g!=m&&m._useCount++,y.g=m),_=m,iE||(m=r.L,y=v=e.getAttribute("class")||"",p&&(y=v.replace(RegExp("\\s*x-scope\\s*"+p+"\\s*","g")," ")),v!==(y+=(y?" ":"")+"x-scope "+m)&&iq(e,y)),f||aM.store(n,r.R,_,r.L)}}},X.styleDocument=function(e){this.styleSubtree(this.i,e)},X.styleSubtree=function(e,n){var r=iW(e),o=r.shadowRoot,i=e===this.i;if((o||i)&&this.styleElement(e,n),e=i?r:o)for(e=Array.from(e.querySelectorAll("*")).filter(function(e){return iW(e).shadowRoot}),n=0;n<e.length;n++)this.styleSubtree(e[n])},X.Qa=function(e){var n=this,r=i$(e);if(r!==this.u.cssBuild&&(this.u.cssBuild=r),!iz(r)){var o=ij(e);iR(o,function(e){iE?i2(e):(e.selector=e.parsedSelector,i2(e),e.selector=e.G=iQ(at,e,at.i,void 0,void 0)),iC&&""===r&&(aj(n),n.h&&n.h.transformRule(e))}),iC?e.textContent=iL(o):this.u.M.rules.push(o)}},X.getComputedStyleValue=function(e,n){var r;return iC||(r=(ar(e)||ar(aR(this,e))).R[n]),(r=r||window.getComputedStyle(e).getPropertyValue(n))?r.trim():""},X.pb=function(e,n){var r=iW(e).getRootNode();if(n=n?("string"==typeof n?n:String(n)).split(/\s/):[],!(r=r.host&&r.host.localName)){var o=e.getAttribute("class");if(o){o=o.split(/\s/);for(var i=0;i<o.length;i++)if(o[i]===at.g){r=o[i+1];break}}}r&&n.push(at.g,r),iC||(r=ar(e))&&r.L&&n.push(af.g,r.L),iq(e,n.join(" "))},X.Xa=function(e){return ar(e)},X.ob=function(e,n){iJ(e,n)},X.rb=function(e,n){iJ(e,n,!0)},X.nb=function(e){return aw(e)},X.$a=function(e){return ab(e)},aA.prototype.flush=aA.prototype.flush,aA.prototype.prepareTemplate=aA.prototype.prepareTemplate,aA.prototype.styleElement=aA.prototype.styleElement,aA.prototype.styleDocument=aA.prototype.styleDocument,aA.prototype.styleSubtree=aA.prototype.styleSubtree,aA.prototype.getComputedStyleValue=aA.prototype.getComputedStyleValue,aA.prototype.setElementClass=aA.prototype.pb,aA.prototype._styleInfoForNode=aA.prototype.Xa,aA.prototype.transformCustomStyleForDocument=aA.prototype.Qa,aA.prototype.getStyleAst=aA.prototype.bb,aA.prototype.styleAstToString=aA.prototype.qb,aA.prototype.flushCustomStyles=aA.prototype.flushCustomStyles,aA.prototype.scopeNode=aA.prototype.ob,aA.prototype.unscopeNode=aA.prototype.rb,aA.prototype.scopeForNode=aA.prototype.nb,aA.prototype.currentScopeForNode=aA.prototype.$a,aA.prototype.prepareAdoptedCssText=aA.prototype.kb,Object.defineProperties(aA.prototype,{nativeShadow:{get:function(){return iE}},nativeCss:{get:function(){return iC}}});var aH,aI,aB,aU=new aA;window.ShadyCSS&&(aI=window.ShadyCSS.ApplyShim,aB=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:aU,prepareTemplate:function(e,n,r){aU.flushCustomStyles(),aU.prepareTemplate(e,n,r)},prepareTemplateDom:function(e,n){aU.prepareTemplateDom(e,n)},prepareTemplateStyles:function(e,n,r){aU.flushCustomStyles(),aU.prepareTemplateStyles(e,n,r)},styleSubtree:function(e,n){aU.flushCustomStyles(),aU.styleSubtree(e,n)},styleElement:function(e){aU.flushCustomStyles(),aU.styleElement(e)},styleDocument:function(e){aU.flushCustomStyles(),aU.styleDocument(e)},flushCustomStyles:function(){aU.flushCustomStyles()},getComputedStyleValue:function(e,n){return aU.getComputedStyleValue(e,n)},nativeCss:iC,nativeShadow:iE,cssBuild:aH,disableRuntime:iS},aI&&(window.ShadyCSS.ApplyShim=aI),aB&&(window.ShadyCSS.CustomStyleInterface=aB),function(e){function n(e){return""==e&&(s.call(this),this.m=!0),e.toLowerCase()}function o(e){var n=e.charCodeAt(0);return 32<n&&127>n&&-1==[34,35,60,62,63,96].indexOf(n)?e:encodeURIComponent(e)}function i(e,r,i){var l=r||"scheme start",c=0,u="",_=!1,m=!1;e:for(;(void 0!=e[c-1]||0==c)&&!this.m;){var v=e[c];switch(l){case"scheme start":if(v&&f.test(v))u+=v.toLowerCase(),l="scheme";else if(r)break e;else{u="",l="no scheme";continue}break;case"scheme":if(v&&p.test(v))u+=v.toLowerCase();else if(":"==v){if(this.l=u,u="",r)break e;void 0!==h[this.l]&&(this.H=!0),l="file"==this.l?"relative":this.H&&i&&i.l==this.l?"relative or authority":this.H?"authority first slash":"scheme data"}else if(r)break e;else{u="",c=0,l="no scheme";continue}break;case"scheme data":"?"==v?(this.A="?",l="query"):"#"==v?(this.C="#",l="fragment"):void 0!=v&&" "!=v&&"\n"!=v&&"\r"!=v&&(this.ya+=o(v));break;case"no scheme":if(i&&void 0!==h[i.l]){l="relative";continue}s.call(this),this.m=!0;break;case"relative or authority":if("/"==v&&"/"==e[c+1])l="authority ignore slashes";else{l="relative";continue}break;case"relative":if(this.H=!0,"file"!=this.l&&(this.l=i.l),void 0==v){this.o=i.o,this.v=i.v,this.s=i.s.slice(),this.A=i.A,this.B=i.B,this.j=i.j;break e}if("/"==v||"\\"==v)l="relative slash";else if("?"==v)this.o=i.o,this.v=i.v,this.s=i.s.slice(),this.A="?",this.B=i.B,this.j=i.j,l="query";else if("#"==v)this.o=i.o,this.v=i.v,this.s=i.s.slice(),this.A=i.A,this.C="#",this.B=i.B,this.j=i.j,l="fragment";else{l=e[c+1];var y=e[c+2];"file"==this.l&&f.test(v)&&(":"==l||"|"==l)&&(void 0==y||"/"==y||"\\"==y||"?"==y||"#"==y)||(this.o=i.o,this.v=i.v,this.B=i.B,this.j=i.j,this.s=i.s.slice(),this.s.pop()),l="relative path";continue}break;case"relative slash":if("/"==v||"\\"==v)l="file"==this.l?"file host":"authority ignore slashes";else{"file"!=this.l&&(this.o=i.o,this.v=i.v,this.B=i.B,this.j=i.j),l="relative path";continue}break;case"authority first slash":if("/"==v)l="authority second slash";else{l="authority ignore slashes";continue}break;case"authority second slash":if(l="authority ignore slashes","/"!=v)continue;break;case"authority ignore slashes":if("/"!=v&&"\\"!=v){l="authority";continue}break;case"authority":if("@"==v){for(_&&(u+="%40"),_=!0,v=0;v<u.length;v++)" "==(y=u[v])||"\n"==y||"\r"==y||(":"==y&&null===this.j?this.j="":(y=o(y),null!==this.j?this.j+=y:this.B+=y));u=""}else if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v){c-=u.length,u="",l="host";continue}else u+=v;break;case"file host":if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v){2==u.length&&f.test(u[0])&&(":"==u[1]||"|"==u[1])?l="relative path":(0!=u.length&&(this.o=n.call(this,u),u=""),l="relative path start");continue}" "==v||"\n"==v||"\r"==v||(u+=v);break;case"host":case"hostname":if(":"!=v||m)if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v){if(this.o=n.call(this,u),u="",l="relative path start",r)break e;continue}else" "!=v&&"\n"!=v&&"\r"!=v&&("["==v?m=!0:"]"==v&&(m=!1),u+=v);else if(this.o=n.call(this,u),u="",l="port","hostname"==r)break e;break;case"port":if(/[0-9]/.test(v))u+=v;else if(void 0==v||"/"==v||"\\"==v||"?"==v||"#"==v||r){if(""!=u&&((u=parseInt(u,10))!=h[this.l]&&(this.v=u+""),u=""),r)break e;l="relative path start";continue}else" "==v||"\n"==v||"\r"==v||(s.call(this),this.m=!0);break;case"relative path start":if(l="relative path","/"!=v&&"\\"!=v)continue;break;case"relative path":void 0!=v&&"/"!=v&&"\\"!=v&&(r||"?"!=v&&"#"!=v)?" "!=v&&"\n"!=v&&"\r"!=v&&(u+=o(v)):((y=d[u.toLowerCase()])&&(u=y),".."==u?(this.s.pop(),"/"!=v&&"\\"!=v&&this.s.push("")):"."==u&&"/"!=v&&"\\"!=v?this.s.push(""):"."!=u&&("file"==this.l&&0==this.s.length&&2==u.length&&f.test(u[0])&&"|"==u[1]&&(u=u[0]+":"),this.s.push(u)),u="","?"==v?(this.A="?",l="query"):"#"==v&&(this.C="#",l="fragment"));break;case"query":r||"#"!=v?void 0!=v&&" "!=v&&"\n"!=v&&"\r"!=v&&(this.A+=function(e){var n=e.charCodeAt(0);return 32<n&&127>n&&-1==[34,35,60,62,96].indexOf(n)?e:encodeURIComponent(e)}(v)):(this.C="#",l="fragment");break;case"fragment":void 0!=v&&" "!=v&&"\n"!=v&&"\r"!=v&&(this.C+=v)}c++}}function s(){this.B=this.ya=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.H=this.m=!1}function l(e,n){void 0===n||r(n,l)||(n=new l(String(n))),this.g=e,s.call(this),i.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,n)}var c=!1;try{var u=new URL("b","http://a");u.pathname="c%20d",c="http://a/c%20d"===u.href}catch(e){}if(!c){var h=Object.create(null);h.ftp=21,h.file=0,h.gopher=70,h.http=80,h.https=443,h.ws=80,h.wss=443;var d=Object.create(null);d["%2e"]=".",d[".%2e"]="..",d["%2e."]="..",d["%2e%2e"]="..";var f=/[a-zA-Z]/,p=/[a-zA-Z0-9+\-.]/;l.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var _="";return(""!=this.B||null!=this.j)&&(_=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.H?"//"+_+this.host:"")+this.pathname+this.A+this.C},set href(t){s.call(this),i.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||i.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.H&&i.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.H&&i.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.H&&i.call(this,t,"port")},get pathname(){return this.m?"":this.H?"/"+this.s.join("/"):this.ya},set pathname(t){!this.m&&this.H&&(this.s=[],i.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.H&&(this.A="?","?"==t[0]&&(t=t.slice(1)),i.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?(this.C="#","#"==t[0]&&(t=t.slice(1)),i.call(this,t,"fragment")):this.C="")},get origin(){var m;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(m=this.host)?this.l+"://"+m:""}};var v=e.URL;v&&(l.createObjectURL=function(e){return v.createObjectURL.apply(v,arguments)},l.revokeObjectURL=function(e){v.revokeObjectURL(e)}),e.URL=l}}(window);var aq=window.customElements,aW=!1,aG=null;function aV(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),aG&&aG(),aW=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}aq.polyfillWrapFlushCallback&&aq.polyfillWrapFlushCallback(function(e){aG=e,aW&&e()}),"complete"!==document.readyState?(window.addEventListener("load",aV),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",aV),aV()})):aV()}).call(self),e=function(){var e="__scoped";null!=self.reactiveElementPolyfillSupport||(self.reactiveElementPolyfillSupport=function(n){var o=n.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var i=o.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(i);var s=i.createRenderRoot;i.createRenderRoot=function(){var n,o,i,l=this.localName;if(window.ShadyCSS.nativeShadow)return s.call(this);if(!this.constructor.hasOwnProperty(e)){this.constructor[e]=!0;var c=this.constructor.elementStyles.map(function(e){return r(e,CSSStyleSheet)?Array.from(e.cssRules).reduce(function(e,n){return e+n.cssText},""):e.cssText});null==(o=null==(n=window.ShadyCSS)?void 0:n.ScopingShim)||o.prepareAdoptedCssText(c,l),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),l)}return null!=(i=this.shadowRoot)?i:this.attachShadow(this.constructor.shadowRootOptions)};var l=i.connectedCallback;i.connectedCallback=function(){l.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var c=i._$AE;i._$AE=function(e){this.hasUpdated||window.ShadyCSS.styleElement(this),c.call(this,e)}}});var n=new Set,o=new Map;null!=self.litHtmlPolyfillSupport||(self.litHtmlPolyfillSupport=function(e,i){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var s=function(e){return void 0!==e&&!n.has(e)},l=function(e){var n=o.get(e);return void 0===n&&o.set(e,n=[]),n},c=new Map,u=e.createElement;e.createElement=function(n,r){var o=u.call(e,n,r),i=null==r?void 0:r.scope;if(void 0!==i&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(o,i),s(i))){var c=l(i),h=o.content.querySelectorAll("style");c.push.apply(c,Array.from(h).map(function(e){var n;return null==(n=e.parentNode)||n.removeChild(e),e.textContent}))}return o};var h=document.createDocumentFragment(),d=document.createComment(""),f=i.prototype,p=f._$AI;f._$AI=function(e,i){void 0===i&&(i=this);var c,u,f=this._$AA.parentNode,_=null==(c=this.options)?void 0:c.scope;if(r(f,ShadowRoot)&&s(_)){var m,v,y,g=this._$AA,b=this._$AB;h.appendChild(d),this._$AA=d,this._$AB=null,p.call(this,e,i);var w=(null==e?void 0:e._$litType$)?this._$AH._$AD.el:document.createElement("template");if((y=0!==(v=l(_)).length)&&((m=document.createElement("style")).textContent=v.join("\n"),w.content.appendChild(m)),n.add(_),o.delete(_),window.ShadyCSS.prepareTemplateStyles(w,_),y&&window.ShadyCSS.nativeShadow&&null!==(m=w.content.querySelector("style"))&&w.content.appendChild(m),h.removeChild(d),null==(u=window.ShadyCSS)?void 0:u.nativeShadow){var E=w.content.querySelector("style");null!==E&&h.appendChild(E.cloneNode(!0))}f.insertBefore(h,b),this._$AA=g,this._$AB=b}else p.call(this,e,i)},f._$AC=function(n){var r,o=null==(r=this.options)?void 0:r.scope,i=c.get(o);void 0===i&&c.set(o,i=new Map);var s=i.get(n.strings);return void 0===s&&i.set(n.strings,s=new e(n,this.options)),s}}}),null!=self.litElementPolyfillSupport||(self.litElementPolyfillSupport=function(e){var n=e.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var r=n.prototype,o=r.createRenderRoot;r.createRenderRoot=function(){return this.renderOptions.scope=this.localName,o.call(this)}}})},"function"==typeof define&&define.amd?define(e):e()}();