!function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e,n,r,o,i,a){try{var s=t[i](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,o)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function d(t,e,n){return d=h()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&u(o,n.prototype),o},d.apply(null,arguments)}function f(t){var e="function"==typeof Map?new Map:void 0;return f=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return d(t,arguments,c(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,t)},f(t)}function p(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function v(t){var e=h();return function(){var n,r=c(t);if(e){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function m(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}function y(){return y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=m(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},y.apply(this,arguments)}function _(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function g(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||b(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){if(t){if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function E(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=b(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}
/**
  @license @nocompile
  Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
  The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
  Code distributed by Google as part of the polymer project is also
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  */(function(){var t;function e(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var r="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t==Array.prototype||t==Object.prototype||(t[e]=n.value),t};var o,i=function(t){t=["object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis,t,"object"==("undefined"==typeof window?"undefined":n(window))&&window,"object"==("undefined"==typeof self?"undefined":n(self))&&self,"object"==("undefined"==typeof global?"undefined":n(global))&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function a(t,e){if(e)t:{var n=i;t=t.split(".");for(var o=0;o<t.length-1;o++){var a=t[o];if(!(a in n))break t;n=n[a]}(e=e(o=n[t=t[t.length-1]]))!=o&&null!=e&&r(n,t,{configurable:!0,writable:!0,value:e})}}function s(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function l(t){var n="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return n?n.call(t):{next:e(t)}}function c(t){if(!(t instanceof Array)){t=l(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}if(a("Symbol",(function(t){function e(t,e){this.g=t,r(this,"description",{configurable:!0,writable:!0,value:e})}if(t)return t;e.prototype.toString=function(){return this.g};var n=0;return function t(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e("jscomp_symbol_"+(r||"")+"_"+n++,r)}})),a("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var n="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),o=0;o<n.length;o++){var a=i[n[o]];"function"==typeof a&&"function"!=typeof a.prototype[t]&&r(a.prototype,t,{configurable:!0,writable:!0,value:function(){return s(e(this))}})}return t})),"function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var u;t:{var h={};try{h.__proto__={a:!0},u=h.a;break t}catch(A){}u=!1}o=u?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var d=o;function f(){this.u=!1,this.h=null,this.Ka=void 0,this.g=1,this.da=0,this.i=null}function p(t){if(t.u)throw new TypeError("Generator is already running");t.u=!0}function v(t,e){t.i={Wa:e,$a:!0},t.g=t.da}function m(t,e){return t.g=3,{value:e}}function y(t){this.g=new f,this.h=t}function _(t,e,n,r){try{var o=e.call(t.g.h,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.g.u=!1,o;var i=o.value}catch(e){return t.g.h=null,v(t.g,e),g(t)}return t.g.h=null,r.call(t.g,i),g(t)}function g(t){for(;t.g.g;)try{var e=t.h(t.g);if(e)return t.g.u=!1,{value:e.value,done:!1}}catch(e){t.g.Ka=void 0,v(t.g,e)}if(t.g.u=!1,t.g.i){if(e=t.g.i,t.g.i=null,e.$a)throw e.Wa;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function b(t){this.next=function(e){return p(t.g),t.g.h?e=_(t,t.g.h.next,e,t.g.O):(t.g.O(e),e=g(t)),e},this.throw=function(e){return p(t.g),t.g.h?e=_(t,t.g.h.throw,e,t.g.O):(v(t.g,e),e=g(t)),e},this.return=function(e){return function(t,e){p(t.g);var n=t.g.h;return n?_(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.g.return):(t.g.return(e),g(t))}(t,e)},this[Symbol.iterator]=function(){return this}}function w(t,e){return e=new b(new y(e)),d&&t.prototype&&d(e,t.prototype),e}f.prototype.O=function(t){this.Ka=t},f.prototype.return=function(t){this.i={return:t},this.g=this.da},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1),r=0;r<n.length;r++)if(e=n[r])for(var o=t,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];o[s]=e[s]}return t});var E=setTimeout;function S(){}function C(t){if(!(this instanceof C))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.N=0,this.Ea=!1,this.I=void 0,this.ba=[],P(t,this)}function N(t,e){for(;3===t.N;)t=t.I;0===t.N?t.ba.push(e):(t.Ea=!0,F((function(){var n=1===t.N?e.bb:e.cb;if(null===n)(1===t.N?x:T)(e.promise,t.I);else{try{var r=n(t.I)}catch(t){return void T(e.promise,t)}x(e.promise,r)}})))}function x(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"===n(e)||"function"==typeof e)){var r=e.then;if(e instanceof C)return t.N=3,t.I=e,void O(t);if("function"==typeof r)return void P(function(t,e){return function(){t.apply(e,arguments)}}(r,e),t)}t.N=1,t.I=e,O(t)}catch(e){T(t,e)}}function T(t,e){t.N=2,t.I=e,O(t)}function O(t){2===t.N&&0===t.ba.length&&F((function(){t.Ea||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.I)}));for(var e=0,n=t.ba.length;e<n;e++)N(t,t.ba[e]);t.ba=null}function k(t,e,n){this.bb="function"==typeof t?t:null,this.cb="function"==typeof e?e:null,this.promise=n}function P(t,e){var n=!1;try{t((function(t){n||(n=!0,x(e,t))}),(function(t){n||(n=!0,T(e,t))}))}catch(t){n||(n=!0,T(e,t))}}function D(t){return t&&"object"===n(t)&&t.constructor===C?t:new C((function(e){e(t)}))}C.prototype.catch=function(t){return this.then(null,t)},C.prototype.then=function(t,e){var n=new this.constructor(S);return N(this,new k(t,e,n)),n},C.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var A,M,L,j,B,R,F="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){E(t,0)};if(!window.Promise){window.Promise=C,C.prototype.then=C.prototype.then,C.all=function(t){return new C((function(e,r){function o(t,s){try{if(s&&("object"===n(s)||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(e){o(t,e)}),r)}i[t]=s,0==--a&&e(i)}catch(t){r(t)}}if(!t||void 0===t.length)return r(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);for(var a=i.length,s=0;s<i.length;s++)o(s,i[s])}))},C.race=function(t){return new C((function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)D(t[r]).then(e,n)}))},C.resolve=D,C.reject=function(t){return new C((function(e,n){n(t)}))};var I=document.createTextNode(""),H=[];new MutationObserver((function(){for(var t=H.length,e=0;e<t;e++)H[e]();H.splice(0,t)})).observe(I,{characterData:!0}),F=function(t){H.push(t),I.textContent=0<I.textContent.length?"":"a"}}!function(t,e){if(!(e in t)){var r=("undefined"==typeof global?"undefined":n(global))===n(r)?window:global,o=0,i=String(Math.random()),a="__symbol@@"+i,s=t.getOwnPropertyNames,l=t.getOwnPropertyDescriptor,c=t.create,u=t.keys,h=t.freeze||t,d=t.defineProperty,f=t.defineProperties,p=l(t,"getOwnPropertyNames"),v=t.prototype,m=v.hasOwnProperty,y=v.propertyIsEnumerable,_=v.toString,g=function(t,e,n){m.call(t,a)||d(t,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[a]["@@"+e]=n},b=function(t,e){var n=c(t);return s(e).forEach((function(t){C.call(e,t)&&P(n,t,e[t])})),n},w=function(){},E=function(t){return t!=a&&!m.call(T,t)},S=function(t){return t!=a&&m.call(T,t)},C=function(t){var e=String(t);return S(e)?m.call(this,e)&&!!this[a]&&this[a]["@@"+e]:y.call(this,t)},N=function(e){return d(v,e,{enumerable:!1,configurable:!0,get:w,set:function(t){A(this,e,{enumerable:!1,configurable:!0,writable:!0,value:t}),g(this,e,!0)}}),T[e]=d(t(e),"constructor",O),h(T[e])},x=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return N("__symbol:".concat(e||"",i,++o))},T=c(null),O={value:x},k=function(t){return T[t]},P=function(t,e,n){var r=String(e);if(S(r)){if(e=A,n.enumerable){var o=c(n);o.enumerable=!1}else o=n;e(t,r,o),g(t,r,!!n.enumerable)}else d(t,e,n);return t},D=function(t){return s(t).filter(S).map(k)};p.value=P,d(t,"defineProperty",p),p.value=D,d(t,e,p),p.value=function(t){return s(t).filter(E)},d(t,"getOwnPropertyNames",p),p.value=function(t,e){var n=D(e);return n.length?u(e).concat(n).forEach((function(n){C.call(e,n)&&P(t,n,e[n])})):f(t,e),t},d(t,"defineProperties",p),p.value=C,d(v,"propertyIsEnumerable",p),p.value=x,d(r,"Symbol",p),p.value=function(t){return(t="__symbol:".concat("__symbol:",t,i))in v?T[t]:N(t)},d(x,"for",p),p.value=function(t){if(E(t))throw new TypeError(t+" is not a symbol");if(m.call(T,t)&&("__symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==i))return 0<(t=t.slice(0,t.length-i.length)).length?t:void 0},d(x,"keyFor",p),p.value=function(t,e){var n=l(t,e);return n&&S(e)&&(n.enumerable=C.call(t,e)),n},d(t,"getOwnPropertyDescriptor",p),p.value=function(t,e){return 1===arguments.length||void 0===e?c(t):b(t,e)},d(t,"create",p),p.value=function(){var t=_.call(this);return"[object String]"===t&&S(this)?"[object Symbol]":t},d(v,"toString",p);try{if(!0!==c(d({},"__symbol:",{get:function(){return d(this,"__symbol:",{value:!0})["__symbol:"]}}))["__symbol:"])throw"IE11";var A=d}catch(t){A=function(t,e,n){var r=l(v,e);delete v[e],d(t,e,n),d(v,e,r)}}}}(Object,"getOwnPropertySymbols"),A=Object,M=Symbol,j=A.defineProperty,B=A.prototype,R=B.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach((function(t){t in M||(j(M,t,{value:M(t)}),"toStringTag"===t&&((L=A.getOwnPropertyDescriptor(B,"toString")).value=function(){var t=R.call(this),e=null==this?this:this[M.toStringTag];return null==e?t:"[object "+e+"]"},j(B,"toString",L)))})),function(t,e,n){function r(){return this}e[t]||(e[t]=function(){var e=0,n=this,o={next:function(){var t=n.length<=e;return t?{done:t}:{done:t,value:n[e++]}}};return o[t]=r,o}),n[t]||(n[t]=function(){var e=String.fromCodePoint,n=this,o=0,i=n.length,a={next:function(){var t=i<=o,r=t?"":e(n.codePointAt(o));return o+=r.length,t?{done:t}:{done:t,value:r}}};return a[t]=r,a})}(Symbol.iterator,Array.prototype,String.prototype);var U=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":U.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter((function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable}))},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function t(){var e,n=this;return w(t,(function(t){if(1==t.g&&(e=0),3!=t.g)return e<n.length?t=m(t,n[e]):(t.g=0,t=void 0),t;e++,t.g=2}))}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function t(){var e,n,r=this;return w(t,(function(t){if(1==t.g&&(e=[],r.forEach((function(t){e.push(t)})),n=0),3!=t.g)return n<e.length?t=m(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2}))}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function t(){var e,n,r=this;return w(t,(function(t){if(1==t.g&&(e=[],r.forEach((function(t,n){e.push([n,t])})),n=0),3!=t.g)return n<e.length?t=m(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2}))});var V=document.createEvent("Event");if(V.initEvent("foo",!0,!0),V.preventDefault(),!V.defaultPrevented){var q=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(q.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var W=/Trident/.test(navigator.userAgent);if(!window.Event||W&&"function"!=typeof window.Event){var G=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},G){for(var z in G)window.Event[z]=G[z];window.Event.prototype=G.prototype}}if((!window.CustomEvent||W&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||W&&"function"!=typeof window.MouseEvent){var J=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},J)for(var K in J)window.MouseEvent[K]=J[K];window.MouseEvent.prototype=J.prototype}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});var X,$,Y=Element.prototype,Z=null!==(X=Object.getOwnPropertyDescriptor(Y,"attributes"))&&void 0!==X?X:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),Q=null!==($=null==Z?void 0:Z.get)&&void 0!==$?$:function(){return this.attributes},tt=Array.prototype.map;Y.hasOwnProperty("getAttributeNames")||(Y.getAttributeNames=function(){return tt.call(Q.call(this),(function(t){return t.name}))});var et,nt=Element.prototype;nt.hasOwnProperty("matches")||(nt.matches=null!==(et=nt.webkitMatchesSelector)&&void 0!==et?et:nt.msMatchesSelector);var rt=Node.prototype.appendChild;function ot(t){(t=t.prototype).hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,rt.call(this,"string"==typeof n?document.createTextNode(n):n)}})}ot(Document),ot(DocumentFragment),ot(Element);var it,at,st=Node.prototype.insertBefore,lt=null!==(at=null===(it=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===it?void 0:it.get)&&void 0!==at?at:function(){return this.firstChild};function ct(t){(t=t.prototype).hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=lt.call(this);for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,st.call(this,"string"==typeof r?document.createTextNode(r):r,n)}})}ct(Document),ct(DocumentFragment),ct(Element);var ut,ht,dt=Node.prototype.appendChild,ft=Node.prototype.removeChild,pt=null!==(ht=null===(ut=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===ut?void 0:ut.get)&&void 0!==ht?ht:function(){return this.firstChild};function vt(t){(t=t.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=pt.call(this));)ft.call(this,n);for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,dt.call(this,"string"==typeof n?document.createTextNode(n):n)}})}vt(Document),vt(DocumentFragment),vt(Element);var mt,yt,_t,gt,bt=Node.prototype.insertBefore,wt=null!==(yt=null===(mt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===mt?void 0:mt.get)&&void 0!==yt?yt:function(){return this.parentNode},Et=null!==(gt=null===(_t=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===_t?void 0:_t.get)&&void 0!==gt?gt:function(){return this.nextSibling};function St(t){(t=t.prototype).hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=wt.call(this)))for(var r=Et.call(this),o=(e=l(e)).next();!o.done;o=e.next())o=o.value,bt.call(n,"string"==typeof o?document.createTextNode(o):o,r)}})}St(CharacterData),St(Element);var Ct,Nt,xt=Node.prototype.insertBefore,Tt=null!==(Nt=null===(Ct=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Ct?void 0:Ct.get)&&void 0!==Nt?Nt:function(){return this.parentNode};function Ot(t){(t=t.prototype).hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Tt.call(this)))for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,xt.call(n,"string"==typeof r?document.createTextNode(r):r,this)}})}Ot(CharacterData),Ot(Element);var kt,Pt,Dt=Node.prototype.removeChild,At=null!==(Pt=null===(kt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===kt?void 0:kt.get)&&void 0!==Pt?Pt:function(){return this.parentNode};function Mt(t){(t=t.prototype).hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=At.call(this);t&&Dt.call(t,this)}})}Mt(CharacterData),Mt(Element);var Lt,jt,Bt=Node.prototype.insertBefore,Rt=Node.prototype.removeChild,Ft=null!==(jt=null===(Lt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Lt?void 0:Lt.get)&&void 0!==jt?jt:function(){return this.parentNode};function It(t){(t=t.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Ft.call(this))){for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,Bt.call(n,"string"==typeof r?document.createTextNode(r):r,this);Rt.call(n,this)}}})}It(CharacterData),It(Element);var Ht=window.Element.prototype,Ut=window.HTMLElement.prototype,Vt=window.SVGElement.prototype;!Ut.hasOwnProperty("classList")||Ht.hasOwnProperty("classList")||Vt.hasOwnProperty("classList")||Object.defineProperty(Ht,"classList",Object.getOwnPropertyDescriptor(Ut,"classList"));var qt=document.createElement("style");qt.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Wt=document.querySelector("head");Wt.insertBefore(qt,Wt.firstChild);var Gt=window;Gt.WebComponents=Gt.WebComponents||{flags:{}};var zt=document.querySelector('script[src*="webcomponents-bundle"]'),Jt=/wc-(.+)/,Kt={};if(!Kt.noOpts){if(location.search.slice(1).split("&").forEach((function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(Jt))&&(Kt[e[1]]=t[1]||!0)})),zt)for(var Xt=0,$t=void 0;$t=zt.attributes[Xt];Xt++)"src"!==$t.name&&(Kt[$t.name]=$t.value||!0);var Yt={};Kt.log&&Kt.log.split&&Kt.log.split(",").forEach((function(t){Yt[t]=!0})),Kt.log=Yt}Gt.WebComponents.flags=Kt;var Zt=Kt.shadydom;if(Zt){Gt.ShadyDOM=Gt.ShadyDOM||{},Gt.ShadyDOM.force=Zt;var Qt=Kt.noPatch;Gt.ShadyDOM.noPatch="true"===Qt||Qt}var te=Kt.register||Kt.ce;function ee(){}function ne(t){return t.__shady||(t.__shady=new ee),t.__shady}function re(t){return t&&t.__shady}te&&window.customElements&&(Gt.customElements.forcePolyfill=te),function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return v.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return m.call(t,e);default:return p.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),o=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var r;r=t.firstChild;)n.call(this,r,e);else n.call(this,t,e);return t}o=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},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 n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):r.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,l=Node.prototype.removeChild,c=Node.prototype.appendChild,u=Node.prototype.replaceChild,h=DOMParser.prototype.parseFromString,d=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},f=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,v=Document.prototype.querySelectorAll,m=DocumentFragment.prototype.querySelectorAll,y=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||r}}();if(n){var _=document.implementation.createHTMLDocument("template"),g=!0,b=document.createElement("style");b.textContent="template{display:none;}";var w=document.head;w.insertBefore(b,w.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var E=!document.createElement("div").hasOwnProperty("innerHTML");t.Z=function(e){if(!e.content&&e.namespaceURI===document.documentElement.namespaceURI){e.content=_.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(E)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.sa(this,e)},g)try{C(e),N(e)}catch(t){g=!1}t.bootstrap(e.content)}};var S={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},C=function(e){Object.defineProperty(e,"innerHTML",{get:function(){return D(this)},set:function(e){var n=S[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)e="<"+n[r]+">"+e+"</"+n[r]+">";for(_.body.innerHTML=e,t.bootstrap(_);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(e=_.body,n)for(r=0;r<n.length;r++)e=e.lastChild;for(;e.firstChild;)c.call(this.content,e.firstChild)},configurable:!0})},N=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(_.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();_.body.firstChild;)c.call(t,_.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};C(t.prototype),N(t.prototype),t.bootstrap=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o<i&&(r=n[o]);o++)t.Z(r)},document.addEventListener("DOMContentLoaded",(function(){t.bootstrap(document)})),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.Z(e),e},DOMParser.prototype.parseFromString=function(){var e=h.apply(this,arguments);return t.bootstrap(e),e},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return D(this)},set:function(e){d.set.call(this,e),t.bootstrap(this)},configurable:!0,enumerable:!0});var x=/[&\u00A0"]/g,T=/[&\u00A0<>]/g,O=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},k=(b=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),P=b("style script xmp iframe noembed noframes plaintext noscript".split(" ")),D=function t(e,n){"template"===e.localName&&(e=e.content);for(var r,o="",i=n?n(e):f.get.call(e),a=0,s=i.length;a<s&&(r=i[a]);a++){t:{var l=r,c=e,u=n;switch(l.nodeType){case Node.ELEMENT_NODE:for(var h=l.localName,d="<"+h,p=l.attributes,v=0;c=p[v];v++)d+=" "+c.name+'="'+c.value.replace(x,O)+'"';d+=">",l=k[h]?d:d+t(l,u)+"</"+h+">";break t;case Node.TEXT_NODE:l=l.data,l=c&&P[c.localName]?l:l.replace(T,O);break t;case Node.COMMENT_NODE:l="\x3c!--"+l.data+"--\x3e";break t;default:throw window.console.error(l),Error("not implemented")}}o+=l}return o}}if(n||y){t.sa=function(t,e){var n=i.call(t,!1);return this.Z&&this.Z(n),e&&(c.call(n.content,i.call(t.content,!0)),A(n.content,t.content)),n};var A=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=r[a],o=n[a],t&&t.Z&&t.Z(i),u.call(o.parentNode,M.call(i,!0),o)},M=Node.prototype.cloneNode=function(e){if(!o&&r&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=L.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?t.sa(this,e):i.call(this,e);return e&&A(n,this),n},L=Document.prototype.importNode=function(n,r){if(r=r||!1,"template"===n.localName)return t.sa(n,r);var o=s.call(this,n,r);if(r){A(o,n),n=e(o,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,l=0;l<n.length;l++){i=n[l],(r=a.call(document,"script")).textContent=i.textContent;for(var c,h=i.attributes,d=0;d<h.length;d++)c=h[d],r.setAttribute(c.name,c.value);u.call(i.parentNode,r,i)}}return o}}n&&(window.HTMLTemplateElement=t)}(),ee.prototype.toJSON=function(){return{}};var oe=window.ShadyDOM||{};oe.Ya=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ie=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function ae(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function se(t){return(t=re(t))&&void 0!==t.firstChild}function le(t){return t instanceof ShadowRoot}function ce(t){return(t=(t=re(t))&&t.root)&&Xr(t)}oe.H=!!(ie&&ie.configurable&&ie.get),oe.ya=oe.force||!oe.Ya,oe.J=oe.noPatch||!1,oe.fa=oe.preferPerformance,oe.Aa="on-demand"===oe.J,oe.Na=navigator.userAgent.match("Trident");var ue=Element.prototype,he=ue.matches||ue.matchesSelector||ue.mozMatchesSelector||ue.msMatchesSelector||ue.oMatchesSelector||ue.webkitMatchesSelector,de=document.createTextNode(""),fe=0,pe=[];function ve(t){pe.push(t),de.textContent=fe++}new MutationObserver((function(){for(;pe.length;)try{pe.shift()()}catch(t){throw de.textContent=fe++,t}})).observe(de,{characterData:!0});var me=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function ye(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function _e(t){for(var e=t.length-1;0<=e;e--){var n=t[e],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(t[r]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=l(t),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==e)return r;return null},t}function ge(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function be(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function we(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function Ee(t,e,n,r){for(var o in n=void 0===n?"":n,e)r&&0<=r.indexOf(o)||we(t,n+o,e[o])}function Se(t,e){for(var n in e)n in t&&we(t,n,e[n])}function Ce(t){var e={};return Object.getOwnPropertyNames(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e}function Ne(t,e){for(var n,r=Object.getOwnPropertyNames(e),o=0;o<r.length;o++)t[n=r[o]]=e[n]}function xe(t){return t instanceof Node?t:document.createTextNode(""+t)}function Te(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(1===e.length)return xe(e[0]);n=document.createDocumentFragment();for(var r=(e=l(e)).next();!r.done;r=e.next())n.appendChild(xe(r.value));return n}var Oe,ke=[];function Pe(t){Oe||(Oe=!0,ve(De)),ke.push(t)}function De(){Oe=!1;for(var t=!!ke.length;ke.length;)ke.shift()();return t}function Ae(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.oa=new Set}De.list=ke,Ae.prototype.flush=function(){if(this.g){this.g=!1;var t=this.takeRecords();t.length&&this.oa.forEach((function(e){e(t)}))}},Ae.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Me=/[&\u00A0"]/g,Le=/[&\u00A0<>]/g;function je(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Be(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var Re=Be("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Fe=Be("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Ie(t,e){"template"===t.localName&&(t=t.content);for(var n="",r=e?e(t):t.childNodes,o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++){t:{var s=a,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u,h="<"+(l=s.localName),d=s.attributes,f=0;u=d[f];f++)h+=" "+u.name+'="'+u.value.replace(Me,je)+'"';h+=">",s=Re[l]?h:h+Ie(s,c)+"</"+l+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&Fe[l.localName]?s:s.replace(Le,je);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var He=oe.H,Ue={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},Ve={};function qe(t){Ve[t]=function(e){return e["__shady_native_"+t]}}function We(t,e){for(var n in Ee(t,e,"__shady_native_"),e)qe(n)}function Ge(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var r=e[n],o=Object.getOwnPropertyDescriptor(t,r);o&&(Object.defineProperty(t,"__shady_native_"+r,o),o.value?Ue[r]||(Ue[r]=o.value):qe(r))}}var ze=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Je=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Ke=document.implementation.createHTMLDocument("inert");function Xe(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}var $e=["firstElementChild","lastElementChild","children","childElementCount"],Ye=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var Ze=Ce({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}}),Qe=Ce({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){this.__shady_innerHTML=t}}),tn=Ce({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(t){this.__shady_className=t}});function en(t){for(var e in t){var n=t[e];n&&(n.enumerable=!1)}}en(Ze),en(Qe),en(tn);var nn=oe.H||!0===oe.J,rn=nn?function(){}:function(t){var e=ne(t);e.Pa||(e.Pa=!0,Se(t,tn))},on=nn?function(){}:function(t){var e=ne(t);e.Oa||(e.Oa=!0,Se(t,Ze),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!oe.J||Se(t,Qe))},an="__eventWrappers"+Date.now(),sn=function(){var t=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return t?function(e){return t.get.call(e)}:null}(),ln=function(){function t(){}var e=!1,n={get capture(){return e=!0,!1}};return window.addEventListener("test",t,n),window.removeEventListener("test",t,n),e}();function cn(t){if(t&&"object"===n(t))var e=!!t.capture,r=!!t.once,o=!!t.passive,i=t.U;else e=!!t,o=r=!1;return{La:i,capture:e,once:r,passive:o,Ja:ln?t:e}}var un={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},hn={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function dn(t){return t instanceof Node?t.__shady_getRootNode():t}function fn(t,e){var n=[],r=t;for(t=dn(t);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(e||r!==t)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function pn(t,e){if(!le)return t;t=fn(t,!0);for(var n,r,o=0,i=void 0,a=void 0;o<e.length;o++)if((r=dn(n=e[o]))!==i&&(a=t.indexOf(r),i=r),!le(r)||-1<a)return n}function vn(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}var mn={focus:!0,blur:!0};function yn(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function _n(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var r,o=0;(r=n[o])&&(!yn(t)||t.target!==t.relatedTarget)&&(r.call(e,t),!t.__immediatePropagationStopped);o++);}function gn(t){var e=t.composedPath(),n=e.map((function(t){return pn(t,e)})),r=t.bubbles;Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return a}});var o=Event.CAPTURING_PHASE;Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=e.length-1;0<=i;i--){var a=e[i];if(o=a===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,_n(t,a,"capture"),t.ra)return}for(i=0;i<e.length;i++){var s=(a=e[i])===n[i];if((s||r)&&(o=s?Event.AT_TARGET:Event.BUBBLING_PHASE,_n(t,a,"bubble"),t.ra))return}o=0,a=null}function bn(t,e,n,r,o,i){for(var a=0;a<t.length;a++){var s=t[a],l=s.type,c=s.capture,u=s.once,h=s.passive;if(e===s.node&&n===l&&r===c&&o===u&&i===h)return a}return-1}function wn(t){return De(),!oe.fa&&this instanceof Node&&!me(document,this)?(t.__target||Nn(t,this),gn(t)):this.__shady_native_dispatchEvent(t)}function En(t,e,r){var o=cn(r),i=o.capture,a=o.once,s=o.passive,l=o.La;if(o=o.Ja,e){var c=n(e);if(("function"===c||"object"===c)&&("object"!==c||e.handleEvent&&"function"==typeof e.handleEvent)){if(hn[t])return this.__shady_native_addEventListener(t,e,o);var u=l||this;if(l=e[an]){if(-1<bn(l,u,t,i,a,s))return}else e[an]=[];l=function(n){if(a&&this.__shady_removeEventListener(t,e,r),n.__target||Nn(n),u!==this){var o=Object.getOwnPropertyDescriptor(n,"currentTarget");Object.defineProperty(n,"currentTarget",{get:function(){return u},configurable:!0});var s=Object.getOwnPropertyDescriptor(n,"eventPhase");Object.defineProperty(n,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(n.__previousCurrentTarget=n.currentTarget,(!le(u)&&"slot"!==u.localName||-1!=n.composedPath().indexOf(u))&&(n.composed||-1<n.composedPath().indexOf(u)))if(yn(n)&&n.target===n.relatedTarget)n.eventPhase===Event.BUBBLING_PHASE&&n.stopImmediatePropagation();else if(n.eventPhase===Event.CAPTURING_PHASE||n.bubbles||n.target===u||u instanceof Window){var l="function"===c?e.call(u,n):e.handleEvent&&e.handleEvent(n);return u!==this&&(o?(Object.defineProperty(n,"currentTarget",o),o=null):delete n.currentTarget,s?(Object.defineProperty(n,"eventPhase",s),s=null):delete n.eventPhase),l}},e[an].push({node:u,type:t,capture:i,once:a,passive:s,pb:l}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][i?"capture":"bubble"].push(l),mn[t]||this.__shady_native_addEventListener(t,l,o)}}}function Sn(t,e,n){if(e){var r=cn(n);n=r.capture;var o=r.once,i=r.passive,a=r.La;if(r=r.Ja,hn[t])return this.__shady_native_removeEventListener(t,e,r);var s=a||this;a=void 0;var l=null;try{l=e[an]}catch(t){}l&&(-1<(o=bn(l,s,t,n,o,i))&&(a=l.splice(o,1)[0].pb,l.length||(e[an]=void 0))),this.__shady_native_removeEventListener(t,a||e,r),a&&this.__handlers&&this.__handlers[t]&&(-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(a))&&t.splice(e,1))}}var Cn=Ce({get composed(){return void 0===this.__composed&&(sn?this.__composed="focusin"===this.type||"focusout"===this.type||sn(this):!1!==this.isTrusted&&(this.__composed=un[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=fn(this.__target,this.composed)),this.__composedPath},get target(){return pn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=fn(this.__relatedTarget,!0)),pn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ra=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ra=this.__immediatePropagationStopped=!0}});function Nn(t,e){if(e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,oe.H){if(!(e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(e);n.__shady_sourceProto=e,Ee(n,Cn),e.__shady_patchedProto=n}t.__proto__=e.__shady_patchedProto}else Ee(t,Cn)}var xn=vn(Event),Tn=vn(CustomEvent),On=vn(MouseEvent);var kn=Object.getOwnPropertyNames(Element.prototype).filter((function(t){return"on"===t.substring(0,2)})),Pn=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(t){return"on"===t.substring(0,2)}));function Dn(t){return{set:function(e){var n=ne(this),r=t.substring(2);n.T||(n.T={}),n.T[t]&&this.removeEventListener(r,n.T[t]),this.__shady_addEventListener(r,e),n.T[t]=e},get:function(){var e=re(this);return e&&e.T&&e.T[t]},configurable:!0}}function An(t,e){return{index:t,ga:[],na:e}}function Mn(t,e,n,r){var o=0,i=0,a=0,s=0,l=Math.min(e-o,r-i);if(0==o&&0==i)t:{for(a=0;a<l;a++)if(t[a]!==n[a])break t;a=l}if(e==t.length&&r==n.length){s=t.length;for(var c=n.length,u=0;u<l-a&&Ln(t[--s],n[--c]);)u++;s=u}if(i+=a,r-=s,0==(e-=s)-(o+=a)&&0==r-i)return[];if(o==e){for(e=An(o,0);i<r;)e.ga.push(n[i++]);return[e]}if(i==r)return[An(o,e-o)];for(r=r-(a=i)+1,s=e-(l=o)+1,e=Array(r),c=0;c<r;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<r;c++)for(u=1;u<s;u++)if(t[l+u-1]===n[a+c-1])e[c][u]=e[c-1][u-1];else{var h=e[c-1][u]+1,d=e[c][u-1]+1;e[c][u]=h<d?h:d}for(l=e.length-1,a=e[0].length-1,r=e[l][a],t=[];0<l||0<a;)0==l?(t.push(2),a--):0==a?(t.push(3),l--):(s=e[l-1][a-1],(h=(c=e[l-1][a])<(u=e[l][a-1])?c<s?c:s:u<s?u:s)==s?(s==r?t.push(0):(t.push(1),r=s),l--,a--):h==c?(t.push(3),l--,r=c):(t.push(2),a--,r=u));for(t.reverse(),e=void 0,l=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(l.push(e),e=void 0),o++,i++;break;case 1:e||(e=An(o,0)),e.na++,o++,e.ga.push(n[i]),i++;break;case 2:e||(e=An(o,0)),e.na++,o++;break;case 3:e||(e=An(o,0)),e.ga.push(n[i]),i++}return e&&l.push(e),l}function Ln(t,e){return t===e}var jn=Ce({dispatchEvent:wn,addEventListener:En,removeEventListener:Sn}),Bn=null;function Rn(){return Bn||(Bn=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Bn||null}function Fn(t,e,n){var r=Rn();return!(!r||"class"!==e)&&(r.setElementClass(t,n),!0)}function In(t,e){var n=Rn();n&&n.unscopeNode(t,e)}function Hn(t,e){var n=Rn();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)n=n&&Hn(t,e);return n}return t.nodeType!==Node.ELEMENT_NODE||n.currentScopeForNode(t)===e}function Un(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=Rn();return e?e.currentScopeForNode(t):""}function Vn(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&Vn(t,e)}var qn=window.document,Wn=oe.fa,Gn=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),zn=Gn&&Gn.get;function Jn(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function Kn(t){var e=re(t);if(e&&void 0!==e.qa)for(e=t.__shady_firstChild;e;e=e.__shady_nextSibling)Kn(e);(t=re(t))&&(t.qa=void 0)}function Xn(t){var e=t;if(t&&"slot"===t.localName){var n=re(t);(n=n&&n.aa)&&(e=n.length?n[0]:Xn(t.__shady_nextSibling))}return e}function $n(t,e,n){if(t=(t=re(t))&&t.ea){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=e.childNodes.length;r<o;r++)t.addedNodes.push(e.childNodes[r]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),function(t){t.g||(t.g=!0,ve((function(){t.flush()})))}(t)}}var Yn=Ce({get parentNode(){var t=re(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=re(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=re(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=re(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=re(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(se(this)){var t=re(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=re(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:this.__shady_native_parentElement},get isConnected(){if(zn&&zn.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||me(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(le(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(se(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!se(this)&&oe.H){var e=this.__shady_firstChild;(e!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&Jn(this),this.__shady_native_textContent=t}else Jn(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==qn&&t.ownerDocument!==qn)return this.__shady_native_insertBefore(t,e),t;if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=re(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__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(e===t)return t;$n(this,t);var r=[],o=(n=Qr(this))?n.host.localName:Un(this),i=t.__shady_parentNode;if(i){var a=Un(t),s=!!n||!Qr(t)||Wn&&void 0!==this.__noInsertionPoint;i.__shady_removeChild(t,s)}i=!0;var l=(!Wn||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!Hn(t,o),u=n&&!t.__noInsertionPoint&&(!Wn||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(u||l)&&(l&&(a=a||Un(t)),Vn(t,(function(t){if(u&&"slot"===t.localName&&r.push(t),l){var e=a;Rn()&&(e&&In(t,e),(e=Rn())&&e.scopeNode(t,o))}}))),r.length&&(Gr(n),n.i.push.apply(n.i,c(r)),Hr(n)),se(this)&&(function(t,e,n){kr(e,2);var r=ne(e);if(void 0!==r.firstChild&&(r.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)Pr(t,e,r,n);else Pr(t,e,r,n)}(t,this,e),(s=re(this)).root?(i=!1,ce(this)&&Hr(s.root)):n&&"slot"===this.localName&&(i=!1,Hr(n))),i?(n=le(this)?this.host:this,e?(e=Xn(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t),t},appendChild:function(t){if(this!=t||!le(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==qn)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);$n(this,null,t);var n=Qr(t),r=n&&function(t,e){if(t.g){zr(t);var n,r=t.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var a=o[i];if(ye(e,a)){o.splice(i,1);var s=t.g.indexOf(a);if(0<=s&&(t.g.splice(s,1),(s=re(a.__shady_parentNode))&&s.ia&&s.ia--),i--,s=(a=re(a)).aa)for(var l=0;l<s.length;l++){var c=s[l],u=c.__shady_native_parentNode;u&&u.__shady_native_removeChild(c)}a.aa=[],a.assignedNodes=[],s=!0}}return s}}(n,t),o=re(this);if(se(this)&&(function(t,e){var n=ne(t);e=ne(e),t===e.firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var r=n.nextSibling;t&&(ne(t).nextSibling=r),r&&(ne(r).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(t,this),ce(this))){Hr(o.root);var i=!0}if(Rn()&&!e&&n&&t.nodeType!==Node.TEXT_NODE){var a=Un(t);Vn(t,(function(t){In(t,a)}))}return Kn(t),n&&((e="slot"===this.localName)&&(i=!0),(r||e)&&Hr(n)),i||(i=le(this)?this.host:this,(!o.root&&"slot"!==t.localName||i===t.__shady_native_parentNode)&&i.__shady_native_removeChild(t)),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e=this.__shady_native_cloneNode(!1);if(t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.__shady_firstChild;for(var n;t;t=t.__shady_nextSibling)n=t.__shady_cloneNode(!0),e.__shady_appendChild(n)}return e},getRootNode:function(t){if(this&&this.nodeType){var e=ne(this),n=e.qa;return void 0===n&&(le(this)?(n=this,e.qa=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.qa=n))),n}},contains:function(t){return ye(this,t)}}),Zn=Ce({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&Ur(t),(t=re(this))&&t.assignedSlot||null}});function Qn(t,e,n){var r=[];return tr(t,e,n,r),r}function tr(t,e,n,r){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var o;if(o=t.nodeType===Node.ELEMENT_NODE){var i=e,a=n,s=r,l=i(o=t);l&&s.push(o),a&&a(l)?o=l:(tr(o,i,a,s),o=void 0)}if(o)break}}var er={get firstElementChild(){var t=re(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=re(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return se(this)?_e(Array.prototype.filter.call(be(this),(function(t){return t.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}},nr=Ce((er.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Te.apply(null,c(e)),null)},er.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Te.apply(null,c(e)),this.__shady_firstChild)},er.replaceChildren=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(Te.apply(null,c(e)),null)},er)),rr=Ce({querySelector:function(t){return Qn(this,(function(e){return he.call(e,t)}),(function(t){return!!t}))[0]||null},querySelectorAll:function(t,e){if(e){e=Array.prototype.slice.call(this.__shady_native_querySelectorAll(t));var n=this.__shady_getRootNode();return _e(e.filter((function(t){return t.__shady_getRootNode()==n})))}return _e(Qn(this,(function(e){return he.call(e,t)})))}}),or=oe.fa&&!oe.J?Ne({},nr):nr;Ne(nr,rr);var ir=Ce({after:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(Te.apply(null,c(e)),r)}},before:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(Te.apply(null,c(e)),this)},remove:function(){var t=this.__shady_parentNode;null!==t&&t.__shady_removeChild(this)},replaceWith:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(Te.apply(null,c(e)),r)}}}),ar=window.document;function sr(t,e){if("slot"===e)ce(t=t.__shady_parentNode)&&Hr(re(t).root);else if("slot"===t.localName&&"name"===e&&(e=Qr(t))){if(e.g){zr(e);var n=t.Qa,r=Jr(t);if(r!==n){var o=(n=e.h[n]).indexOf(t);0<=o&&n.splice(o,1),(n=e.h[r]||(e.h[r]=[])).push(t),1<n.length&&(e.h[r]=Kr(n))}}Hr(e)}}var lr=Ce({get previousElementSibling(){var t=re(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=re(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==ar?this.__shady_native_setAttribute(t,e):Fn(this,t,e)||(this.__shady_native_setAttribute(t,e),sr(this,t))},removeAttribute:function(t){this.ownerDocument!==ar?this.__shady_native_removeAttribute(t):Fn(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),sr(this,t))}});oe.fa||kn.forEach((function(t){lr[t]=Dn(t)}));var cr=Ce({attachShadow:function(t){if(!this)throw Error("Must provide a host.");if(!t)throw Error("Not enough arguments.");if(t.shadyUpgradeFragment&&!oe.Na){var e=t.shadyUpgradeFragment;if(e.__proto__=ShadowRoot.prototype,Ir(e,this,t),Dr(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length){var n=e;Gr(n),n.i.push.apply(n.i,c(t)),Hr(e)}e.host.__shady_native_appendChild(e)}else e=new Fr(jr,this,t);return this.__CE_shadowRoot=e},get shadowRoot(){var t=re(this);return t&&t.gb||null}});Ne(lr,cr);var ur=document.implementation.createHTMLDocument("inert"),hr=Ce({get innerHTML(){return se(this)?Ie("template"===this.localName?this.content:this,be):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{Jn(this);var e=this.localName||"div";for(e=this.namespaceURI&&this.namespaceURI!==ur.namespaceURI?ur.createElementNS(this.namespaceURI,e):ur.createElement(e),oe.H?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),dr=Ce({blur:function(){var t=re(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}});oe.fa||Pn.forEach((function(t){dr[t]=Dn(t)}));var fr=Ce({assignedNodes:function(t){if("slot"===this.localName){var e=this.__shady_getRootNode();return e&&le(e)&&Ur(e),(e=re(this))&&(t&&t.flatten?e.aa:e.assignedNodes)||[]}},addEventListener:function(t,e,r){if("slot"!==this.localName||"slotchange"===t)En.call(this,t,e,r);else{"object"!==n(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,o.__shady_addEventListener(t,e,r)}},removeEventListener:function(t,e,r){if("slot"!==this.localName||"slotchange"===t)Sn.call(this,t,e,r);else{"object"!==n(r)&&(r={capture:!!r});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,o.__shady_removeEventListener(t,e,r)}}}),pr=Ce({getElementById:function(t){return""===t?null:Qn(this,(function(e){return e.id==t}),(function(t){return!!t}))[0]||null}});function vr(t,e){for(var n;e&&!t.has(n=e.__shady_getRootNode());)e=n.host;return e}var mr="__shady_native_"+ae(),yr=Ce({get activeElement(){var t=oe.H?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!le(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=Qr(t);e&&e!==this;)e=Qr(t=e.host);return this===document?e?null:t:e===this?t:null},elementsFromPoint:function(t,e){t=[].slice.call(document[mr](t,e)),e=function(t){var e=new Set;for(e.add(t);le(t)&&t.host;)t=t.host.__shady_getRootNode(),e.add(t);return e}(this);for(var n=new Set,r=0;r<t.length;r++)n.add(vr(e,t[r]));var o=[];return n.forEach((function(t){return o.push(t)})),o},elementFromPoint:function(t,e){return this.__shady_elementsFromPoint(t,e)[0]||null}}),_r=window.document,gr=Ce({importNode:function(t,e){if(t.ownerDocument!==_r||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),br=Ce({dispatchEvent:wn,addEventListener:En.bind(window),removeEventListener:Sn.bind(window)}),wr={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(wr.parentElement=Yn.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(wr.contains=Yn.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(wr.children=nr.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(wr.innerHTML=hr.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(wr.className=lr.className);var Er={EventTarget:[jn],Node:[Yn,window.EventTarget?null:jn],Text:[Zn],Comment:[Zn],CDATASection:[Zn],ProcessingInstruction:[Zn],Element:[lr,nr,ir,Zn,!oe.H||"innerHTML"in Element.prototype?hr:null,window.HTMLSlotElement?null:fr],HTMLElement:[dr,wr],HTMLSlotElement:[fr],DocumentFragment:[or,pr],Document:[gr,or,pr,yr],Window:[br],CharacterData:[ir]},Sr=oe.H?null:["innerHTML","textContent"];function Cr(t,e,n,r){e.forEach((function(e){return t&&e&&Ee(t,e,n,r)}))}function Nr(t){var e,n=t?null:Sr;for(e in Er)Cr(window[e]&&window[e].prototype,Er[e],t,n)}function xr(t){return t.__shady_protoIsPatched=!0,Cr(t,Er.EventTarget),Cr(t,Er.Node),Cr(t,Er.Element),Cr(t,Er.HTMLElement),Cr(t,Er.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,Cr(n,Er.EventTarget),Cr(n,Er.Node),Er[t]&&Cr(n,Er[t]),e.prototype.__shady_patchedProto=n}));var Tr=oe.Aa,Or=oe.H;function kr(t,e){if(Tr&&!t.__shady_protoIsPatched&&!le(t)){var n=Object.getPrototypeOf(t),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(xr(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(t,r)}Or||(1===e?rn(t):2===e&&on(t))}function Pr(t,e,n,r){kr(t,1),r=r||null;var o=ne(t),i=r?ne(r):null;o.previousSibling=r?i.previousSibling:e.__shady_lastChild,(i=re(o.previousSibling))&&(i.nextSibling=t),(i=re(o.nextSibling=r))&&(i.previousSibling=t),o.parentNode=e,r?r===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function Dr(t,e){var n=ne(t);if(e||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,kr(t,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=ne(n);o.parentNode=e||t,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,kr(n,1)}}}var Ar=Ce({addEventListener:function(t,e,r){"object"!==n(r)&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_addEventListener(t,e,r)},removeEventListener:function(t,e,r){"object"!==n(r)&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_removeEventListener(t,e,r)}});function Mr(t,e){Ee(t,Ar,e),Ee(t,yr,e),Ee(t,hr,e),Ee(t,nr,e),oe.J&&!e?(Ee(t,Yn,e),Ee(t,pr,e)):oe.H||(Ee(t,tn),Ee(t,Ze),Ee(t,Qe))}var Lr,jr={},Br=oe.deferConnectionCallbacks&&"loading"===document.readyState;function Rr(t){var e=[];do{e.unshift(t)}while(t=t.__shady_parentNode);return e}function Fr(t,e,n){if(t!==jr)throw new TypeError("Illegal constructor");this.g=null,Ir(this,e,n)}function Ir(t,e,n){if(t.host=e,t.mode=n&&n.mode,Dr(t.host),(e=ne(t.host)).root=t,e.gb="closed"!==t.mode?t:null,(e=ne(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,oe.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else Hr(t)}function Hr(t){t.Y||(t.Y=!0,Pe((function(){return Ur(t)})))}function Ur(t){var e;if(e=t.Y){for(var n;t;)t.Y&&(n=t),le(t=(e=t).host.__shady_getRootNode())&&(e=re(e.host))&&0<e.ia||(t=void 0);e=n}(n=e)&&n._renderSelf()}function Vr(t,e,n){var r=ne(e),o=r.ua;r.ua=null,n||(n=(t=t.h[e.__shady_slot||"__catchall"])&&t[0]),n?(ne(n).assignedNodes.push(e),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(ne(r.assignedSlot).xa=!0)}function qr(t,e,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=re(o).assignedNodes;i&&i.length&&qr(t,e,i)}else e.push(n[r])}function Wr(t,e){e.__shady_native_dispatchEvent(new Event("slotchange")),(e=re(e)).assignedSlot&&Wr(t,e.assignedSlot)}function Gr(t){t.i=t.i||[],t.g=t.g||[],t.h=t.h||{}}function zr(t){if(t.i&&t.i.length){for(var e,n=t.i,r=0;r<n.length;r++){var o=n[r];Dr(o);var i=o.__shady_parentNode;Dr(i),(i=re(i)).ia=(i.ia||0)+1,i=Jr(o),t.h[i]?((e=e||{})[i]=!0,t.h[i].push(o)):t.h[i]=[o],t.g.push(o)}if(e)for(var a in e)t.h[a]=Kr(t.h[a]);t.i=[]}}function Jr(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Qa=e}function Kr(t){return t.sort((function(t,e){t=Rr(t);for(var n=Rr(e),r=0;r<t.length;r++){e=t[r];var o=n[r];if(e!==o)return(t=be(e.__shady_parentNode)).indexOf(e)-t.indexOf(o)}}))}function Xr(t){return zr(t),!(!t.g||!t.g.length)}if(Fr.prototype._renderSelf=function(){var t=Br;if(Br=!0,this.Y=!1,this.g){zr(this);for(var e,n=0;n<this.g.length;n++){var r=re(e=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.aa=[],r.Ga=o)for(r=0;r<o.length;r++){var i=re(o[r]);i.ua=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)Vr(this,n);for(n=0;n<this.g.length;n++){if(!(o=re(e=this.g[n])).assignedNodes.length)for(r=e.__shady_firstChild;r;r=r.__shady_nextSibling)Vr(this,r,e);if((r=(r=re(e.__shady_parentNode))&&r.root)&&(Xr(r)||r.Y)&&r._renderSelf(),qr(this,o.aa,o.assignedNodes),r=o.Ga){for(i=0;i<r.length;i++)re(r[i]).ua=null;o.Ga=null,r.length>o.assignedNodes.length&&(o.xa=!0)}o.xa&&(o.xa=!1,Wr(this,e))}for(e=this.g,n=[],o=0;o<e.length;o++)(i=re(r=e[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(e=0;e<n.length;e++){for(o=(i=n[e])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var a=re(i).aa,s=0;s<a.length;s++)r.push(a[s]);else r.push(i);i=ge(o),a=Mn(r,r.length,i,i.length);for(var l=s=0,c=void 0;s<a.length&&(c=a[s]);s++){for(var u=0,h=void 0;u<c.ga.length&&(h=c.ga[u]);u++)h.__shady_native_parentNode===o&&o.__shady_native_removeChild(h),i.splice(c.index+l,1);l-=c.na}for(l=0,c=void 0;l<a.length&&(c=a[l]);l++)for(s=i[c.index],u=c.index;u<c.index+c.na;u++)h=r[u],o.__shady_native_insertBefore(h,s),i.splice(u,0,h)}}if(!oe.preferPerformance&&!this.Fa)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)e=re(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&e.assignedSlot||this.host.__shady_native_removeChild(n);this.Fa=!0,Br=t,Lr&&Lr()},function(t){t.__proto__=DocumentFragment.prototype,Mr(t,"__shady_"),Mr(t),Object.defineProperties(t,{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(t,e,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(e){Object.defineProperty(t,e,{get:function(){return this.host[e]},configurable:!0})}))}(Fr.prototype),window.customElements&&window.customElements.define&&oe.ya&&!oe.preferPerformance){var $r=new Map;Lr=function(){var t=[];$r.forEach((function(e,n){t.push([n,e])})),$r.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Br&&document.addEventListener("readystatechange",(function(){Br=!1,Lr()}),{once:!0});var Yr=window.customElements.define,Zr=function(t,e){var n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;Yr.call(window.customElements,t,function(t,e,n){var r=0,o="__isConnected"+r++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){Br?$r.set(this,!0):this[o]||(this[o]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){Br?this.isConnected||$r.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),t}(e,n,r)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=r};window.customElements.define=Zr,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Zr,configurable:!0})}function Qr(t){if(le(t=t.__shady_getRootNode()))return t}function to(t){this.node=t}function eo(t){Object.defineProperty(to.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}(t=to.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},t.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},t.appendChild=function(t){return this.node.__shady_appendChild(t)},t.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},t.removeChild=function(t){return this.node.__shady_removeChild(t)},t.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},t.cloneNode=function(t){return this.node.__shady_cloneNode(t)},t.getRootNode=function(t){return this.node.__shady_getRootNode(t)},t.contains=function(t){return this.node.__shady_contains(t)},t.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},t.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},t.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},t.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},t.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},t.attachShadow=function(t){return this.node.__shady_attachShadow(t)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},t.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},t.elementsFromPoint=function(t,e){return this.node.__shady_elementsFromPoint(t,e)},t.elementFromPoint=function(t,e){return this.node.__shady_elementFromPoint(t,e)},t.querySelector=function(t){return this.node.__shady_querySelector(t)},t.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},t.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},t.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_append.apply(this.node,c(e))},t.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,c(e))},t.after=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_after.apply(this.node,c(e))},t.before=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_before.apply(this.node,c(e))},t.remove=function(){return this.node.__shady_remove()},t.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,c(e))},i.Object.defineProperties(to.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(le(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(le(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(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){this.node.__shady_className=t}}}),kn.forEach((function(t){return eo(t)})),Pn.forEach((function(t){return eo(t)}));var no=new WeakMap;function ro(t){if(le(t)||t instanceof to)return t;var e=no.get(t);return e||(e=new to(t),no.set(t,e)),e}if(oe.ya){var oo=oe.H?function(t){return t}:function(t){return on(t),rn(t),t},io={inUse:oe.ya,patch:oo,isShadyRoot:le,enqueue:Pe,flush:De,flushInitial:function(t){!t.Fa&&t.Y&&Ur(t)},settings:oe,filterMutations:function(t,e){var n=e.getRootNode();return t.map((function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if(e=[].slice.call(t.addedNodes).filter((function(t){return n===t.getRootNode()})),e.length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t})).filter((function(t){return t}))},observeChildren:function(t,e){var n=ne(t);n.ea||(n.ea=new Ae),n.ea.oa.add(e);var r=n.ea;return{Ra:e,X:r,Sa:t,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.X;e&&(e.oa.delete(t.Ra),e.oa.size||(ne(t.Sa).ea=null))},deferConnectionCallbacks:oe.deferConnectionCallbacks,preferPerformance:oe.preferPerformance,handlesDynamicScoping:!0,wrap:oe.J?ro:oo,wrapIfNeeded:!0===oe.J?ro:function(t){return t},Wrapper:to,composedPath:function(t){return t.__composedPath||(t.__composedPath=fn(t.target,!0)),t.__composedPath},noPatch:oe.J,patchOnDemand:oe.Aa,nativeMethods:Ue,nativeTree:Ve,patchElementProto:xr};window.ShadyDOM=io,function(){var t=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(Ge(window.EventTarget.prototype,t),void 0===window.__shady_native_addEventListener&&Ge(Window.prototype,t)):(Ge(Node.prototype,t),Ge(Window.prototype,t)),He?Ge(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):We(Node.prototype,{parentNode:{get:function(){return ze.currentNode=this,ze.parentNode()}},firstChild:{get:function(){return ze.currentNode=this,ze.firstChild()}},lastChild:{get:function(){return ze.currentNode=this,ze.lastChild()}},previousSibling:{get:function(){return ze.currentNode=this,ze.previousSibling()}},nextSibling:{get:function(){return ze.currentNode=this,ze.nextSibling()}},childNodes:{get:function(){var t=[];ze.currentNode=this;for(var e=ze.firstChild();e;)t.push(e),e=ze.nextSibling();return t}},parentElement:{get:function(){return Je.currentNode=this,Je.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Xe(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),Ge(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Ge(HTMLElement.prototype,["parentElement","contains"]),t={firstElementChild:{get:function(){return Je.currentNode=this,Je.firstChild()}},lastElementChild:{get:function(){return Je.currentNode=this,Je.lastChild()}},children:{get:function(){var t=[];Je.currentNode=this;for(var e=Je.firstChild();e;)t.push(e),e=Je.nextSibling();return _e(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},He?(Ge(Element.prototype,$e),Ge(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Ge(HTMLElement.prototype,["children","innerHTML","className"])):(We(Element.prototype,t),We(Element.prototype,{previousElementSibling:{get:function(){return Je.currentNode=this,Je.previousSibling()}},nextElementSibling:{get:function(){return Je.currentNode=this,Je.nextSibling()}},innerHTML:{get:function(){return Ie(this,ge)},set:function(t){var e="template"===this.localName?this.content:this;Xe(e);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==Ke.namespaceURI?Ke.createElementNS(this.namespaceURI,n):Ke.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),Ge(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Ge(Element.prototype,Ye),Ge(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Ge(window.HTMLTemplateElement.prototype,["innerHTML"]),He?Ge(DocumentFragment.prototype,$e):We(DocumentFragment.prototype,t),Ge(DocumentFragment.prototype,Ye),He?(Ge(Document.prototype,$e),Ge(Document.prototype,["activeElement"])):We(Document.prototype,t),Ge(Document.prototype,["importNode","getElementById","elementFromPoint",ae()]),Ge(Document.prototype,Ye)}(),Nr("__shady_"),Object.defineProperty(document,"_activeElement",yr.activeElement),Ee(Window.prototype,br,"__shady_"),oe.J?oe.Aa&&Ee(Element.prototype,cr):(Nr(),function(){if(!sn&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}()),function(){for(var t in mn)window.__shady_native_addEventListener(t,(function(t){t.__target||(Nn(t),gn(t))}),!0)}(),window.Event=xn,window.CustomEvent=Tn,window.MouseEvent=On,window.ShadowRoot=Fr}var ao=window.Document.prototype.createElement,so=window.Document.prototype.createElementNS,lo=window.Document.prototype.importNode,co=window.Document.prototype.prepend,uo=window.Document.prototype.append,ho=window.DocumentFragment.prototype.prepend,fo=window.DocumentFragment.prototype.append,po=window.Node.prototype.cloneNode,vo=window.Node.prototype.appendChild,mo=window.Node.prototype.insertBefore,yo=window.Node.prototype.removeChild,_o=window.Node.prototype.replaceChild,go=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),bo=window.Element.prototype.attachShadow,wo=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Eo=window.Element.prototype.getAttribute,So=window.Element.prototype.setAttribute,Co=window.Element.prototype.removeAttribute,No=window.Element.prototype.getAttributeNS,xo=window.Element.prototype.setAttributeNS,To=window.Element.prototype.removeAttributeNS,Oo=window.Element.prototype.insertAdjacentElement,ko=window.Element.prototype.insertAdjacentHTML,Po=window.Element.prototype.prepend,Do=window.Element.prototype.append,Ao=window.Element.prototype.before,Mo=window.Element.prototype.after,Lo=window.Element.prototype.replaceWith,jo=window.Element.prototype.remove,Bo=window.HTMLElement,Ro=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Fo=window.HTMLElement.prototype.insertAdjacentElement,Io=window.HTMLElement.prototype.insertAdjacentHTML,Ho=new Set;function Uo(t){var e=Ho.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return Ho.add(t)}));var Vo=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function qo(t){var e=t.isConnected;if(void 0!==e)return e;if(Vo(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function Wo(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function Go(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function zo(t,e,n){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;e(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){if(r=o.import,void 0===n&&(n=new Set),r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)zo(r,e,n);r=Go(t,o);continue}if("template"===i){r=Go(t,o);continue}if(o=o.__CE_shadowRoot)for(o=o.firstChild;o;o=o.nextSibling)zo(o,e,n)}r=r.firstChild?r.firstChild:Go(t,r)}}function Jo(){var t=!(null==pi||!pi.noDocumentConstructionObserver),e=!(null==pi||!pi.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=e,this.nb=!t}function Ko(t,e,n,r){var o=window.ShadyDOM;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else zo(e,n,r)}function Xo(t,e){t.W&&Ko(t,e,(function(e){return $o(t,e)}))}function $o(t,e){if(t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e);for(n=0;n<t.g.length;n++)t.g[n](e)}}function Yo(t,e){var n=[];for(Ko(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state?t.connectedCallback(r):ti(t,r)}}function Zo(t,e){var n=[];for(Ko(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state&&t.disconnectedCallback(r)}}function Qo(t,e,n){var r=(n=void 0===n?{}:n).ob,o=n.upgrade||function(e){return ti(t,e)},i=[];for(Ko(t,e,(function(e){if(t.W&&$o(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach((function(t){return i.add(t)})),i.delete(n)),Qo(t,n,{ob:i,upgrade:o})}}))}else i.push(e)}),r),e=0;e<i.length;e++)o(i[e])}function ti(t,e){try{var n=e.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?ui(r,e.localName):void 0;if(o&&void 0===e.__CE_state){o.constructionStack.push(e);try{try{if(new o.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=o,o.attributeChangedCallback&&e.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}qo(e)&&t.connectedCallback(e)}}catch(t){ni(t)}}function ei(t,e,n,r){var o=e.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=ui(o,n)))try{var i=new o.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(o){return ni(o),e=null===r?ao.call(e,n):so.call(e,r,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,$o(t,e),e}return $o(t,e=null===r?ao.call(e,n):so.call(e,r,n)),e}function ni(t){var e=t.message,n=t.sourceURL||t.fileName||"",r=t.line||t.lineNumber||0,o=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:r,colno:o,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,r),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function ri(){var t=this;this.I=void 0,this.Ha=new Promise((function(e){t.g=e}))}function oi(t){var e=document;this.X=void 0,this.S=t,this.g=e,Qo(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 ii(t){t.X&&t.X.disconnect()}function ai(t){this.ka=new Map,this.la=new Map,this.Ca=new Map,this.ta=!1,this.wa=new Map,this.ja=function(t){return t()},this.V=!1,this.ma=[],this.S=t,this.Da=t.nb?new oi(t):void 0}function si(t,e){if(!Uo(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(ui(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.ta)throw Error("A custom element is already being defined.")}function li(t,e,n){var r;t.ta=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=o[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.ta=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:r,observedAttributes:c,constructionStack:[]},t.la.set(e,n),t.Ca.set(n.constructorFunction,n),n}function ci(t){if(!1!==t.V){t.V=!1;for(var e=[],n=t.ma,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(Qo(t.S,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):t.la.has(o)&&e.push(n)}}}),o=0;o<e.length;o++)ti(t.S,e[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),s=0;s<a.length;s++)ti(t.S,a[s]);(i=t.wa.get(i))&&i.resolve(void 0)}n.length=0}}function ui(t,e){var n=t.la.get(e);if(n)return n;if(n=t.ka.get(e)){t.ka.delete(e);try{return li(t,e,n())}catch(t){ni(t)}}}function hi(t,e,n){function r(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&qo(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)Zo(t,i[r]);if(qo(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Yo(t,i)}}void 0!==n.prepend&&(e.prepend=r(n.prepend)),void 0!==n.append&&(e.append=r(n.append))}function di(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var r=this,o=void 0;if(qo(this)&&(o=[],Ko(t,this,(function(t){t!==r&&o.push(t)}))),n.set.call(this,e),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Qo(t,this):Xo(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,r){var o=qo(r);return e=n.call(this,e,r),o&&Zo(t,r),qo(e)&&Yo(t,r),e}}function r(e,n){function r(e,n){for(var r=[];e!==n;e=e.nextSibling)r.push(e);for(n=0;n<r.length;n++)Qo(t,r[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),r(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),r(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),r(this.nextSibling,o)}}}bo&&(Element.prototype.attachShadow=function(e){if(e=bo.call(this,e),t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e)}return this.__CE_shadowRoot=e}),wo&&wo.get?e(Element.prototype,wo):Ro&&Ro.get?e(HTMLElement.prototype,Ro):function(t,e){t.W=!0,t.g.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return po.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,r=so.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<n.childNodes.length;)yo.call(n,n.childNodes[0]);for(t=e?r.content:r;0<t.childNodes.length;)vo.call(n,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return So.call(this,e,n);var r=Eo.call(this,e);So.call(this,e,n),n=Eo.call(this,e),t.attributeChangedCallback(this,e,r,n,null)},Element.prototype.setAttributeNS=function(e,n,r){if(1!==this.__CE_state)return xo.call(this,e,n,r);var o=No.call(this,e,n);xo.call(this,e,n,r),r=No.call(this,e,n),t.attributeChangedCallback(this,n,o,r,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return Co.call(this,e);var n=Eo.call(this,e);Co.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return To.call(this,e,n);var r=No.call(this,e,n);To.call(this,e,n);var o=No.call(this,e,n);r!==o&&t.attributeChangedCallback(this,n,r,o,e)},Fo?n(HTMLElement.prototype,Fo):Oo&&n(Element.prototype,Oo),Io?r(HTMLElement.prototype,Io):ko&&r(Element.prototype,ko),hi(t,Element.prototype,{prepend:Po,append:Do}),function(t){function e(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&qo(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)Zo(t,i[r]);if(qo(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Yo(t,i)}}var n=Element.prototype;void 0!==Ao&&(n.before=e(Ao)),void 0!==Mo&&(n.after=e(Mo)),void 0!==Lo&&(n.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&qo(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=qo(this),Lo.apply(this,n),n=0;n<o.length;n++)Zo(t,o[n]);if(i)for(Zo(t,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&Yo(t,o)}),void 0!==jo&&(n.remove=function(){var e=qo(this);jo.call(this),e&&Zo(t,this)})}(t)}Jo.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){ni(t)}},Jo.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){ni(t)}},Jo.prototype.attributeChangedCallback=function(t,e,n,r,o){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,r,o)}catch(t){ni(t)}},ri.prototype.resolve=function(t){if(this.I)throw Error("Already resolved.");this.I=t,this.g(t)},oi.prototype.h=function(t){var e=this.g.readyState;for("interactive"!==e&&"complete"!==e||ii(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,r=0;r<n.length;r++)Qo(this.S,n[r])},(t=ai.prototype).eb=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");si(this,t),this.ka.set(t,e),this.ma.push(t),this.V||(this.V=!0,this.ja((function(){return ci(n)})))},t.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");si(this,t),li(this,t,e),this.ma.push(t),this.V||(this.V=!0,this.ja((function(){return ci(n)})))},t.upgrade=function(t){Qo(this.S,t)},t.get=function(t){if(t=ui(this,t))return t.constructorFunction},t.whenDefined=function(t){if(!Uo(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.wa.get(t);if(e)return e.Ha;e=new ri,this.wa.set(t,e);var n=this.la.has(t)||this.ka.has(t);return t=-1===this.ma.indexOf(t),n&&t&&e.resolve(void 0),e.Ha},t.polyfillWrapFlushCallback=function(t){this.Da&&ii(this.Da);var e=this.ja;this.ja=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=ai,ai.prototype.define=ai.prototype.define,ai.prototype.upgrade=ai.prototype.upgrade,ai.prototype.get=ai.prototype.get,ai.prototype.whenDefined=ai.prototype.whenDefined,ai.prototype.polyfillDefineLazy=ai.prototype.eb,ai.prototype.polyfillWrapFlushCallback=ai.prototype.polyfillWrapFlushCallback;var fi={};var pi=window.customElements;function vi(){var t=new Jo;!function(t){function e(){var e=this.constructor,n=document.__CE_registry.Ca.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 r=ao.call(document,n.localName),Object.setPrototypeOf(r,e.prototype),r.__CE_state=1,r.__CE_definition=n,$o(t,r),r;var o=r.length-1,i=r[o];if(i===fi)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[o]=fi,Object.setPrototypeOf(i,e.prototype),$o(t,i),i}e.prototype=Bo.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}(t),function(t){Document.prototype.createElement=function(e){return ei(t,this,e,null)},Document.prototype.importNode=function(e,n){return e=lo.call(this,e,!!n),this.__CE_registry?Qo(t,e):Xo(t,e),e},Document.prototype.createElementNS=function(e,n){return ei(t,this,n,e)},hi(t,Document.prototype,{prepend:co,append:uo})}(t),hi(t,DocumentFragment.prototype,{prepend:ho,append:fo}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&qo(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)Zo(t,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var r=Wo(e);if(e=mo.call(this,e,n),qo(this))for(n=0;n<r.length;n++)Yo(t,r[n]);return e}return r=e instanceof Element&&qo(e),n=mo.call(this,e,n),r&&Zo(t,e),qo(this)&&Yo(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=Wo(e);if(e=vo.call(this,e),qo(this))for(var r=0;r<n.length;r++)Yo(t,n[r]);return e}return n=e instanceof Element&&qo(e),r=vo.call(this,e),n&&Zo(t,e),qo(this)&&Yo(t,e),r},Node.prototype.cloneNode=function(e){return e=po.call(this,!!e),this.ownerDocument.__CE_registry?Qo(t,e):Xo(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&qo(e),r=yo.call(this,e);return n&&Zo(t,e),r},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var r=Wo(e);if(e=_o.call(this,e,n),qo(this))for(Zo(t,n),n=0;n<r.length;n++)Yo(t,r[n]);return e}r=e instanceof Element&&qo(e);var o=_o.call(this,e,n),i=qo(this);return i&&Zo(t,n),r&&Zo(t,e),i&&Yo(t,e),o},go&&go.get?e(Node.prototype,go):function(t,e){t.W=!0,t.ca.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)yo.call(this,this.firstChild);null!=t&&""!==t&&vo.call(this,document.createTextNode(t))}})}))}(t),di(t),t=new ai(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function mi(){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 yi(t){var e=t=t.replace(xi,"").replace(Ti,""),n=new mi;n.start=0,n.end=e.length;for(var r=n,o=0,i=e.length;o<i;o++)if("{"===e[o]){r.rules||(r.rules=[]);var a=r,s=a.rules[a.rules.length-1]||null;(r=new mi).start=o+1,r.parent=a,r.previous=s,a.rules.push(r)}else"}"===e[o]&&(r.end=o+1,r=r.parent||n);return _i(n,t)}function _i(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t}))}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1)),n=(n=n.replace(Mi," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=Ci:n.match(Ai)&&(t.type=Si,t.keyframesName=t.selector.split(Mi).pop()):t.type=0===n.indexOf("--")?Ni:Ei),n=t.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)_i(i,e);return t}function gi(t,e,n){n=void 0===n?"":n;var r="";if(t.cssText||t.rules){var o,i=t.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,s=void 0;o<a&&(s=i[o]);o++)r=gi(s,e,r)}else e?e=t.cssText:e=(e=(e=t.cssText).replace(Oi,"").replace(ki,"")).replace(Pi,"").replace(Di,""),(r=e.trim())&&(r="  "+r+"\n")}return r&&(t.selector&&(n+=t.selector+" {\n"),n+=r,t.selector&&(n+="}\n\n")),n}pi&&!pi.forcePolyfill&&"function"==typeof pi.define&&"function"==typeof pi.get||vi(),window.__CE_installPolyfill=vi;var bi,wi,Ei=1,Si=7,Ci=4,Ni=1e3,xi=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Ti=/@import[^;]*;/gim,Oi=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,ki=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Pi=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Di=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Ai=/^@[^\s]*keyframes/,Mi=/\s+/g,Li=!(window.ShadyDOM&&window.ShadyDOM.inUse);function ji(t){bi=(!t||!t.shimcssproperties)&&(Li||!(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&&(wi=window.ShadyCSS.cssBuild);var Bi=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?bi=window.ShadyCSS.nativeCss:window.ShadyCSS?(ji(window.ShadyCSS),window.ShadyCSS=void 0):ji(window.WebComponents&&window.WebComponents.flags);var Ri=bi,Fi=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Ii=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Hi=/(--[\w-]+)\s*([:,;)]|$)/gi,Ui=/(animation\s*:)|(animation-name\s*:)/,Vi=/@media\s(.*)/,qi=/\{[^}]*\}/g,Wi=new Set;function Gi(t,e){return t?("string"==typeof t&&(t=yi(t)),e&&Ki(t,e),gi(t,Ri)):""}function zi(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=yi(t.textContent)),t.__cssRules||null}function Ji(t){return!!t.parent&&t.parent.type===Si}function Ki(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===Ci){var a=t.selector.match(Vi);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===Ei?e(t):n&&i===Si?n(t):i===Ni&&(o=!0),(t=t.rules)&&!o)for(o=0,i=t.length,a=void 0;o<i&&(a=t[o]);o++)Ki(a,e,n,r)}}function Xi(t,e,n,r){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,Yi(o,n,r),o}var $i=null;function Yi(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),$i?t.compareDocumentPosition($i)===Node.DOCUMENT_POSITION_PRECEDING&&($i=t):$i=t}function Zi(t,e){for(var n=0,r=t.length;e<r;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function Qi(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");var r=Zi(t,n+3),o=t.substring(n+4,r);return n=t.substring(0,n),t=Qi(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function ta(t,e){Li?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var ea=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function na(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,ha:n}}function ra(t){for(var e=[],n="",r=0;0<=r&&r<t.length;r++)if("("===t[r]){var o=Zi(t,r);n+=t.slice(r,o+1),r=o}else","===t[r]?(e.push(n),n=""):n+=t[r];return n&&e.push(n),e}function oa(t){if(void 0!==wi)return wi;if(void 0===t.__cssBuild){var e=t.getAttribute("css-build");if(e)t.__cssBuild=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.__cssBuild=e}}return t.__cssBuild||""}function ia(t){return!(""===(t=void 0===t?"":t)||!Ri)&&(Li?"shadow"===t:"shady"===t)}function aa(){}function sa(t,e,n){var r;if(e.nodeType===Node.ELEMENT_NODE&&n(e),r="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<r.length;e++)sa(t,r[e],n)}function la(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var r=t.getAttribute("class");n?r&&ta(t,e=r.replace("style-scope","").replace(e,"")):ta(t,(r?r+" ":"")+"style-scope "+e)}}function ca(t,e,n){sa(Na,t,(function(t){la(t,e,!0),la(t,n)}))}function ua(t,e){sa(Na,t,(function(t){la(t,e||"",!0)}))}function ha(t,e,n,r,o){var i=Na;return""===(o=void 0===o?"":o)&&(Li||"shady"===(void 0===r?"":r)?o=Gi(e,n):o=function(t,e,n,r,o){var i=da(n,r);return n=n?"."+n:"",Gi(e,(function(e){e.i||(e.selector=e.F=fa(t,e,t.h,n,i),e.i=!0),o&&o(e,n,i)}))}(i,e,(t=na(t)).is,t.ha,n)+"\n\n"),o.trim()}function da(t,e){return e?"[is="+t+"]":t}function fa(t,e,n,r,o){var i=ra(e.selector);if(!Ji(e)){e=0;for(var a=i.length,s=void 0;e<a&&(s=i[e]);e++)i[e]=n.call(t,s,r,o)}return i.filter((function(t){return!!t})).join(",")}function pa(t){return t.replace(ya,(function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"}))}function va(t,e){t=t.split(/(\[.+?\])/);for(var n=[],r=0;r<t.length;r++)if(1==r%2)n.push(t[r]);else{var o=t[r];""===o&&r===t.length-1||((o=o.split(":"))[0]+=e,n.push(o.join(":")))}return n.join("")}function ma(t){":root"===t.selector&&(t.selector="html")}aa.prototype.h=function(t,e,n){var r=!1;t=t.trim();var o=ya.test(t);o&&(t=pa(t=t.replace(ya,(function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))));var i=Ca.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(Ca);){var r=e.index,o=Zi(t,r);if(-1===o)throw Error(e.input+" selector missing ')'");e=t.slice(r,o+1),t=t.replace(e,""),n.push(e)}return{Ba:t,matches:n}}(t);t=a.Ba,a=a.matches}return t=(t=t.replace(ba,":host $1")).replace(_a,(function(t,o,i){return r||(t=function(t,e,n,r){var o=t.indexOf("::slotted");if(0<=t.indexOf(":host")?t=function(t,e){var n=t.match(wa);return(n=n&&n[2].trim()||"")?n[0].match(ga)?t.replace(wa,(function(t,n,r){return e+r})):n.split(ga)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,r):0!==o&&(t=n?va(t,n):t),n=!1,0<=o&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(Ea,(function(t,e){return" > "+e})))}return{value:t,Ua:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Ua,i=t.value),o+i})),i&&(t=function(t,e){var n=t.split("");return e.reduce((function(t,e,r){return t+e+n[r+1]}),n[0])}(t,a)),o&&(t=pa(t)),t.replace(Sa,(function(t,e,n,r){return'[dir="'+n+'"] '+e+r+", "+e+'[dir="'+n+'"]'+r}))},aa.prototype.i=function(t){return t.match(":host")?"":t.match("::slotted")?this.h(t,":not(.style-scope)"):va(t.trim(),":not(.style-scope)")},i.Object.defineProperties(aa.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var ya=/:(nth[-\w]+)\(([^)]+)\)/,_a=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,ga=/[[.:#*]/,ba=/^(::slotted)/,wa=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ea=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Sa=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Ca=/:(?:matches|any|-(?:webkit|moz)-any)/,Na=new aa;function xa(t,e,n,r,o){this.M=t||null,this.h=e||null,this.za=n||[],this.K=null,this.cssBuild=o||"",this.ha=r||"",this.g=this.L=this.R=null}function Ta(t){return t?t.__styleInfo:null}function Oa(t,e){return t.__styleInfo=e}function ka(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}xa.prototype.i=function(){return this.M},xa.prototype._getStyleRules=xa.prototype.i;var Pa=/:host\s*>\s*/,Da=navigator.userAgent.match("Trident");function Aa(){}function Ma(t){if(!t.D){var e={},n={};La(t,n)&&(e.P=n,t.rules=null),e.cssText=t.parsedCssText.replace(qi,"").replace(Fi,""),t.D=e}}function La(t,e){var n=t.D;if(!n){n=t.parsedCssText;for(var r;t=Fi.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.P)return Object.assign(e,n.P),!0}function ja(t,e,n){return e&&(e=0<=e.indexOf(";")?Ba(t,e,n):Qi(e,(function(e,r,o,i){return r?((r=ja(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=ja(t,n[o]||o,n)||o,e+(r||"")+i):e+i}))),e&&e.trim()||""}function Ba(t,e,n){e=e.split(";");for(var r,o,i=0;i<e.length;i++)if(r=e[i]){if(Ii.lastIndex=0,o=Ii.exec(r))r=ja(t,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=ja(t,a=a.trim(),n)||a,r=r.substring(0,o)+a}e[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return e.join(";")}function Ra(t,e,n){var r={},o={};return Ki(e,(function(e){!function(t,e,n,r){if(e.D||Ma(e),e.D.P){var o=na(t);t=o.is,o=o.ha,o=t?da(t,o):"html";var i=e.parsedSelector,a=!!i.match(Pa)||"html"===o&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||s)&&(n=o,s&&(e.F||(e.F=fa(Na,e,Na.h,t?"."+t:"",o)),n=e.F||o),a&&"html"===o&&(n=e.F||e.O),r({Ba:n,ab:s,qb:a}))}}(t,e,n,(function(n){ka.call(t._element||t,n.Ba)&&(n.ab?La(e,r):La(e,o))}))}),null,!0),{hb:o,Za:r}}function Fa(t,e,n,r){var o=na(e),i=da(o.is,o.ha),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=Ta(e);o=s.M,s=s.cssBuild;var l=function(t,e){t=t.h;var n={};if(!Li&&t)for(var r=0,o=t[r];r<t.length;o=t[++r]){var i=o,a=e;i.u=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.g=i.keyframesName+"-"+a,i.F=i.F||i.selector,i.selector=i.F.replace(i.keyframesName,i.g),n[o.keyframesName]=Ia(o)}return n}(o,r);return ha(e,o,(function(e){var o="";if(e.D||Ma(e),e.D.cssText&&(o=Ba(t,e.D.cssText,n)),e.cssText=o,!Li&&!Ji(e)&&e.cssText){var s=o=e.cssText;if(null==e.Ia&&(e.Ia=Ui.test(o)),e.Ia)if(null==e.pa)for(var c in e.pa=[],l)o!==(s=(s=l[c])(o))&&(o=s,e.pa.push(c));else{for(c=0;c<e.pa.length;++c)o=(s=l[e.pa[c]])(o);s=o}e.cssText=s,e.F=e.F||e.selector,o="."+r,s=0;for(var u=(c=ra(e.F)).length,h=void 0;s<u&&(h=c[s]);s++)c[s]=h.match(a)?h.replace(i,o):o+" "+h;e.selector=c.join(",")}}),s)}function Ia(t){return function(e){return e.replace(t.u,t.g)}}function Ha(t,e){var n=Ua,r=zi(t);t.textContent=Gi(r,(function(t){var r=t.cssText=t.parsedCssText;t.D&&t.D.cssText&&(r=r.replace(Oi,"").replace(ki,""),t.cssText=Ba(n,r,e))}))}i.Object.defineProperties(Aa.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ua=new Aa,Va={};function qa(){this.cache={}}function Wa(){}qa.prototype.store=function(t,e,n,r){var o=this.cache[t]||[];o.push({P:e,styleElement:n,L:r}),100<o.length&&o.shift(),this.cache[t]=o};var Ga=new RegExp(Na.g+"\\s*([^\\s]*)");function za(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(Ga))?t[1]:""}function Ja(t){var e=ea(t).getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?na(t).is:""}function Ka(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=o.getRootNode(),a=za(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===oa(o)))ua(o,a);else if(i instanceof ShadowRoot)for((i=Ja(o))!==a&&ca(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+Na.g+")"),a=0;a<o.length;a++){var s=Ja(i=o[a]);s&&la(i,s)}}}}}if(!(Li||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Xa=new MutationObserver(Ka),$a=function(t){Xa.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)$a(document);else{var Ya=function(){$a(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ya):requestAnimationFrame((function(){if("loading"===document.readyState){document.addEventListener("readystatechange",(function t(){Ya(),document.removeEventListener("readystatechange",t)}))}else Ya()}))}Wa=function(){Ka(Xa.takeRecords())}}var Za={},Qa=Promise.resolve();function ts(t){(t=Za[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function es(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var ns={},rs=new qa;function os(){this.da={},this.i=document.documentElement;var t=new mi;t.rules=[],this.u=Oa(this.i,new xa(t)),this.O=!1,this.g=this.h=null}function is(t){var e=na(t),n=e.is;e=e.ha;var r=Va[n]||null,o=Za[n];if(o)return Oa(t,e=new xa(n=o._styleAst,r,o.g,e,o=oa(o))),e}function as(t){if(!t.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){t.h=window.ShadyCSS.ApplyShim,t.h.invalidCallback=ts;var e=!0}else e=!1;return function(t){!t.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.g=window.ShadyCSS.CustomStyleInterface,t.g.transformCallback=function(e){t.Ma(e)},t.g.validateCallback=function(){requestAnimationFrame((function(){(t.g.enqueued||t.O)&&t.flushCustomStyles()}))})}(t),e}function ss(t,e,n){var r=na(e).is;if(n.K){var o,i=n.K;for(o in i)null===o?e.style.removeProperty(o):e.style.setProperty(o,i[o])}!(i=Za[r])&&e!==t.i||i&&""!==oa(i)||!i||!i._style||es(i)||((es(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(as(t),t.h&&t.h.transformRules(i._styleAst,r),i._style.textContent=ha(e,n.M),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t._validating||(t._validating=!0,Qa.then((function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t._validating=!1})))}(i)),Li&&(t=e.shadowRoot)&&(t=t.querySelector("style"))&&(t.textContent=ha(e,n.M)),n.M=i._styleAst)}function ls(t,e){return(e=ea(e).getRootNode().host)?Ta(e)||is(e)?e:ls(t,e):t.i}function cs(t,e,n){var r=ls(t,e),o=Ta(r),i=o.R;for(var a in r===t.i||i||(cs(t,r,o),i=o.R),t=Object.create(i||null),r=Ra(e,n.M,n.cssBuild),e=function(t,e){var n={},r=[];return Ki(t,(function(t){t.D||Ma(t);var o=t.F||t.parsedSelector;e&&t.D.P&&o&&ka.call(e,o)&&(La(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<<t%32)}),null,!0),{P:n,key:r}}(o.M,e).P,Object.assign(t,r.Za,e,r.hb),e=n.K)((o=e[a])||0===o)&&(t[a]=o);for(a=Ua,e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++)t[r=e[o]]=ja(a,t[r],t);n.R=t}(t=os.prototype).flush=function(){Wa()},t.Xa=function(t){return zi(t)},t.lb=function(t){return Gi(t)},t.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},t.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!Bi){Li||Va[e]||(Va[e]=function(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,($i?$i.nextSibling:null)||e.firstChild),$i=t}(e)),t._prepared=!0,t.name=e,t.extends=n,Za[e]=t;var r=oa(t),o=ia(r);n={is:e,extends:n};for(var i=[],a=t.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!Li){var c=l.textContent;if(!Wi.has(c)){Wi.add(c);var u=document.createElement("style");u.setAttribute("shady-unscoped",""),u.textContent=c,document.head.appendChild(u)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(ns[e]||""),as(this),o||((a=!r)&&(a=Ii.test(i)||Fi.test(i),Ii.lastIndex=0,Fi.lastIndex=0),s=yi(i),a&&Ri&&this.h&&this.h.transformRules(s,e),t._styleAst=s),a=[],Ri||(a=function(t){var e={},n=[],r=0;for(var o in Ki(t,(function(t){Ma(t),t.index=r++,t=t.D.cssText;for(var n;n=Hi.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}}),(function(t){n.push(t)})),t.h=n,t=[],e)t.push(o);return t}(t._styleAst)),a.length&&!Ri||(s=Li?t.content:null,e=Va[e]||null,r=(r=ha(n,t._styleAst,null,r,o?i:"")).length?Xi(r,n.is,s,e):null,t._style=r),t.g=a}},t.fb=function(t,e){ns[e]=t.join(" ")},t.prepareTemplateDom=function(t,e){if(!Bi){var n=oa(t);Li||"shady"===n||t._domPrepared||(t._domPrepared=!0,function(t,e){sa(Na,t,(function(t){la(t,e||"")}))}(t.content,e))}},t.flushCustomStyles=function(){if(!Bi){var t=as(this);if(this.g){var e=this.g.processStyles();if((t||this.g.enqueued)&&!ia(this.u.cssBuild)){if(Ri){if(!this.u.cssBuild)for(t=0;t<e.length;t++){var n=this.g.getStyleForCustomStyle(e[t]);if(n&&Ri&&this.h){var r=zi(n);as(this),this.h.transformRules(r),n.textContent=Gi(r)}}}else{for(function(t,e){e=e.map((function(e){return t.g.getStyleForCustomStyle(e)})).filter((function(t){return!!t})),e.sort((function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),t.u.M.rules=e.map((function(t){return zi(t)}))}(this,e),cs(this,this.i,this.u),t=0;t<e.length;t++)(n=this.g.getStyleForCustomStyle(e[t]))&&Ha(n,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},t.styleElement=function(t,e){if(Bi){if(e){Ta(t)||Oa(t,new xa(null));var n=Ta(t);n.K=n.K||{},Object.assign(n.K,e),ss(this,t,n)}}else if(n=Ta(t)||is(t))if(t!==this.i&&(this.O=!0),e&&(n.K=n.K||{},Object.assign(n.K,e)),Ri)ss(this,t,n);else if(this.flush(),cs(this,t,n),n.za&&n.za.length){var r;e=na(t).is;t:{if(r=rs.cache[e])for(var o=r.length-1;0<=o;o--){var i=r[o];e:{for(var a=n.za,s=0;s<a.length;s++){var l=a[s];if(i.P[l]!==n.R[l]){a=!1;break e}}a=!0}if(a){r=i;break t}}r=void 0}a=r?r.styleElement:null,o=n.L,(i=r&&r.L)||(i=e+"-"+(i=this.da[e]=(this.da[e]||0)+1)),n.L=i,i=n.L,s=Ua,s=a?a.textContent||"":Fa(s,t,n.R,i);var c=(l=Ta(t)).g;c&&!Li&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),Li?l.g?(l.g.textContent=s,a=l.g):s&&(a=Xi(s,i,t.shadowRoot,l.h)):a?a.parentNode||(Da&&-1<s.indexOf("@media")&&(a.textContent=s),Yi(a,null,l.h)):s&&(a=Xi(s,i,null,l.h)),a&&(a._useCount=a._useCount||0,l.g!=a&&a._useCount++,l.g=a),i=a,Li||(a=n.L,l=s=t.getAttribute("class")||"",o&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&ta(t,l)),r||rs.store(e,n.R,i,n.L)}},t.styleDocument=function(t){this.styleSubtree(this.i,t)},t.styleSubtree=function(t,e){var n=ea(t),r=n.shadowRoot,o=t===this.i;if((r||o)&&this.styleElement(t,e),t=o?n:r)for(t=Array.from(t.querySelectorAll("*")).filter((function(t){return ea(t).shadowRoot})),e=0;e<t.length;e++)this.styleSubtree(t[e])},t.Ma=function(t){var e=this,n=oa(t);if(n!==this.u.cssBuild&&(this.u.cssBuild=n),!ia(n)){var r=zi(t);Ki(r,(function(t){if(Li)ma(t);else{var r=Na;t.selector=t.parsedSelector,ma(t),t.selector=t.F=fa(r,t,r.i,void 0,void 0)}Ri&&""===n&&(as(e),e.h&&e.h.transformRule(t))})),Ri?t.textContent=Gi(r):this.u.M.rules.push(r)}},t.getComputedStyleValue=function(t,e){var n;return Ri||(n=(Ta(t)||Ta(ls(this,t))).R[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.kb=function(t,e){var n=ea(t).getRootNode();if(e=e?("string"==typeof e?e:String(e)).split(/\s/):[],!(n=n.host&&n.host.localName)){var r=t.getAttribute("class");if(r){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===Na.g){n=r[o+1];break}}}n&&e.push(Na.g,n),Ri||(n=Ta(t))&&n.L&&e.push(Ua.g,n.L),ta(t,e.join(" "))},t.Ta=function(t){return Ta(t)},t.jb=function(t,e){la(t,e)},t.mb=function(t,e){la(t,e,!0)},t.ib=function(t){return Ja(t)},t.Va=function(t){return za(t)},os.prototype.flush=os.prototype.flush,os.prototype.prepareTemplate=os.prototype.prepareTemplate,os.prototype.styleElement=os.prototype.styleElement,os.prototype.styleDocument=os.prototype.styleDocument,os.prototype.styleSubtree=os.prototype.styleSubtree,os.prototype.getComputedStyleValue=os.prototype.getComputedStyleValue,os.prototype.setElementClass=os.prototype.kb,os.prototype._styleInfoForNode=os.prototype.Ta,os.prototype.transformCustomStyleForDocument=os.prototype.Ma,os.prototype.getStyleAst=os.prototype.Xa,os.prototype.styleAstToString=os.prototype.lb,os.prototype.flushCustomStyles=os.prototype.flushCustomStyles,os.prototype.scopeNode=os.prototype.jb,os.prototype.unscopeNode=os.prototype.mb,os.prototype.scopeForNode=os.prototype.ib,os.prototype.currentScopeForNode=os.prototype.Va,os.prototype.prepareAdoptedCssText=os.prototype.fb,Object.defineProperties(os.prototype,{nativeShadow:{get:function(){return Li}},nativeCss:{get:function(){return Ri}}});var us,hs,ds=new os;window.ShadyCSS&&(us=window.ShadyCSS.ApplyShim,hs=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ds,prepareTemplate:function(t,e,n){ds.flushCustomStyles(),ds.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){ds.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){ds.flushCustomStyles(),ds.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){ds.flushCustomStyles(),ds.styleSubtree(t,e)},styleElement:function(t){ds.flushCustomStyles(),ds.styleElement(t)},styleDocument:function(t){ds.flushCustomStyles(),ds.styleDocument(t)},flushCustomStyles:function(){ds.flushCustomStyles()},getComputedStyleValue:function(t,e){return ds.getComputedStyleValue(t,e)},nativeCss:Ri,nativeShadow:Li,cssBuild:wi,disableRuntime:Bi},us&&(window.ShadyCSS.ApplyShim=us),hs&&(window.ShadyCSS.CustomStyleInterface=hs),function(t){function e(t){return""==t&&(i.call(this),this.m=!0),t.toLowerCase()}function n(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,a){var s=o||"scheme start",l=0,f="",p=!1,v=!1;t:for(;(null!=t[l-1]||0==l)&&!this.m;){var m=t[l];switch(s){case"scheme start":if(!m||!h.test(m)){if(o)break t;f="",s="no scheme";continue}f+=m.toLowerCase(),s="scheme";break;case"scheme":if(m&&d.test(m))f+=m.toLowerCase();else{if(":"!=m){if(o)break t;f="",l=0,s="no scheme";continue}if(this.l=f,f="",o)break t;void 0!==c[this.l]&&(this.G=!0),s="file"==this.l?"relative":this.G&&a&&a.l==this.l?"relative or authority":this.G?"authority first slash":"scheme data"}break;case"scheme data":"?"==m?(this.A="?",s="query"):"#"==m?(this.C="#",s="fragment"):null!=m&&"\t"!=m&&"\n"!=m&&"\r"!=m&&(this.va+=n(m));break;case"no scheme":if(a&&void 0!==c[a.l]){s="relative";continue}i.call(this),this.m=!0;break;case"relative or authority":if("/"!=m||"/"!=t[l+1]){s="relative";continue}s="authority ignore slashes";break;case"relative":if(this.G=!0,"file"!=this.l&&(this.l=a.l),null==m){this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.B=a.B,this.j=a.j;break t}if("/"==m||"\\"==m)s="relative slash";else if("?"==m)this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A="?",this.B=a.B,this.j=a.j,s="query";else{if("#"!=m){s=t[l+1];var y=t[l+2];("file"!=this.l||!h.test(m)||":"!=s&&"|"!=s||null!=y&&"/"!=y&&"\\"!=y&&"?"!=y&&"#"!=y)&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j,this.s=a.s.slice(),this.s.pop()),s="relative path";continue}this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.C="#",this.B=a.B,this.j=a.j,s="fragment"}break;case"relative slash":if("/"!=m&&"\\"!=m){"file"!=this.l&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j),s="relative path";continue}s="file"==this.l?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=m){s="authority ignore slashes";continue}s="authority second slash";break;case"authority second slash":if(s="authority ignore slashes","/"!=m)continue;break;case"authority ignore slashes":if("/"!=m&&"\\"!=m){s="authority";continue}break;case"authority":if("@"==m){for(p&&(f+="%40"),p=!0,m=0;m<f.length;m++)"\t"==(y=f[m])||"\n"==y||"\r"==y||(":"==y&&null===this.j?this.j="":(y=n(y),null!==this.j?this.j+=y:this.B+=y));f=""}else{if(null==m||"/"==m||"\\"==m||"?"==m||"#"==m){l-=f.length,f="",s="host";continue}f+=m}break;case"file host":if(null==m||"/"==m||"\\"==m||"?"==m||"#"==m){2!=f.length||!h.test(f[0])||":"!=f[1]&&"|"!=f[1]?(0!=f.length&&(this.o=e.call(this,f),f=""),s="relative path start"):s="relative path";continue}"\t"==m||"\n"==m||"\r"==m||(f+=m);break;case"host":case"hostname":if(":"!=m||v){if(null==m||"/"==m||"\\"==m||"?"==m||"#"==m){if(this.o=e.call(this,f),f="",s="relative path start",o)break t;continue}"\t"!=m&&"\n"!=m&&"\r"!=m&&("["==m?v=!0:"]"==m&&(v=!1),f+=m)}else if(this.o=e.call(this,f),f="",s="port","hostname"==o)break t;break;case"port":if(/[0-9]/.test(m))f+=m;else{if(null==m||"/"==m||"\\"==m||"?"==m||"#"==m||o){if(""!=f&&((f=parseInt(f,10))!=c[this.l]&&(this.v=f+""),f=""),o)break t;s="relative path start";continue}"\t"==m||"\n"==m||"\r"==m||(i.call(this),this.m=!0)}break;case"relative path start":if(s="relative path","/"!=m&&"\\"!=m)continue;break;case"relative path":null!=m&&"/"!=m&&"\\"!=m&&(o||"?"!=m&&"#"!=m)?"\t"!=m&&"\n"!=m&&"\r"!=m&&(f+=n(m)):((y=u[f.toLowerCase()])&&(f=y),".."==f?(this.s.pop(),"/"!=m&&"\\"!=m&&this.s.push("")):"."==f&&"/"!=m&&"\\"!=m?this.s.push(""):"."!=f&&("file"==this.l&&0==this.s.length&&2==f.length&&h.test(f[0])&&"|"==f[1]&&(f=f[0]+":"),this.s.push(f)),f="","?"==m?(this.A="?",s="query"):"#"==m&&(this.C="#",s="fragment"));break;case"query":o||"#"!=m?null!=m&&"\t"!=m&&"\n"!=m&&"\r"!=m&&(this.A+=r(m)):(this.C="#",s="fragment");break;case"fragment":null!=m&&"\t"!=m&&"\n"!=m&&"\r"!=m&&(this.C+=m)}l++}}function i(){this.B=this.va=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.G=this.m=!1}function a(t,e){void 0===e||e instanceof a||(e=new a(String(e))),this.g=t,i.call(this),o.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var s=!1;try{var l=new URL("b","http://a");l.pathname="c%20d",s="http://a/c%20d"===l.href}catch(t){}if(!s){var c=Object.create(null);c.ftp=21,c.file=0,c.gopher=70,c.http=80,c.https=443,c.ws=80,c.wss=443;var u=Object.create(null);u["%2e"]=".",u[".%2e"]="..",u["%2e."]="..",u["%2e%2e"]="..";var h=/[a-zA-Z]/,d=/[a-zA-Z0-9+\-.]/;a.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var t="";return""==this.B&&null==this.j||(t=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.G?"//"+t+this.host:"")+this.pathname+this.A+this.C},set href(t){i.call(this),o.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||o.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.G&&o.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.G&&o.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.G&&o.call(this,t,"port")},get pathname(){return this.m?"":this.G?"/"+this.s.join("/"):this.va},set pathname(t){!this.m&&this.G&&(this.s=[],o.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.G&&(this.A="?","?"==t[0]&&(t=t.slice(1)),o.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)),o.call(this,t,"fragment")):this.C="")},get origin(){var t;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.l+"://"+t:""}};var f=t.URL;f&&(a.createObjectURL=function(t){return f.createObjectURL.apply(f,arguments)},a.revokeObjectURL=function(t){f.revokeObjectURL(t)}),t.URL=a}}(window);var fs=window.customElements,ps=!1,vs=null;function ms(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),vs&&vs(),ps=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}fs.polyfillWrapFlushCallback&&fs.polyfillWrapFlushCallback((function(t){vs=t,ps&&t()})),"complete"!==document.readyState?(window.addEventListener("load",ms),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",ms),ms()}))):ms()}).call(window),function(){if(void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var t=HTMLElement;window.HTMLElement={HTMLElement:function(){return Reflect.construct(t,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}}();var S=function(t){var e,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(t,e,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return D()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=h(t,e,n);if("normal"===l.type){if(r=n.done?v:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=v,n.method="throw",n.arg=l.arg)}}}(t,n,a),i}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",p="executing",v="completed",m={};function y(){}function _(){}function g(){}var b={};c(b,a,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(P([])));E&&E!==r&&o.call(E,a)&&(b=E);var S=g.prototype=y.prototype=Object.create(b);function C(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function N(t,e){function r(i,a,s,l){var c=h(t[i],t,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"===n(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,s,l)}),(function(t){r("throw",t,s,l)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return r("throw",t,s,l)}))}l(c.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}}function x(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=h(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:D}}function D(){return{value:e,done:!0}}return _.prototype=g,c(S,"constructor",g),c(g,"constructor",_),_.displayName=c(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},C(N.prototype),c(N.prototype,s,(function(){return this})),t.AsyncIterator=N,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new N(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},C(S),c(S,l,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=P,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}("object"===("undefined"==typeof module?"undefined":n(module))?module.exports:{});try{regeneratorRuntime=S}catch(t){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=S:Function("r","regeneratorRuntime = r")(S)}
/**
   * @license
   * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
   * This code may only be used under the BSD style license found at
   * http://polymer.github.io/LICENSE.txt
   * The complete set of authors may be found at
   * http://polymer.github.io/AUTHORS.txt
   * The complete set of contributors may be found at
   * http://polymer.github.io/CONTRIBUTORS.txt
   * Code distributed by Google as part of the polymer project is also
   * subject to an additional IP rights grant found at
   * http://polymer.github.io/PATENTS.txt
   */var C="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,N=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},x="{{lit-".concat(String(Math.random()).slice(2),"}}"),T="\x3c!--".concat(x,"--\x3e"),O=new RegExp("".concat(x,"|").concat(T)),k="$lit$",P=a((function t(e,n){o(this,t),this.parts=[],this.element=n;for(var r=[],i=[],a=document.createTreeWalker(n.content,133,null,!1),s=0,l=-1,c=0,u=e.strings,h=e.values.length;c<h;){var d=a.nextNode();if(null!==d){if(l++,1===d.nodeType){if(d.hasAttributes()){for(var f=d.attributes,p=f.length,v=0,m=0;m<p;m++)D(f[m].name,k)&&v++;for(;v-- >0;){var y=u[c],_=L.exec(y)[2],g=_.toLowerCase()+k,b=d.getAttribute(g);d.removeAttribute(g);var w=b.split(O);this.parts.push({type:"attribute",index:l,name:_,strings:w}),c+=w.length-1}}"TEMPLATE"===d.tagName&&(i.push(d),a.currentNode=d.content)}else if(3===d.nodeType){var E=d.data;if(E.indexOf(x)>=0){for(var S=d.parentNode,C=E.split(O),N=C.length-1,T=0;T<N;T++){var P=void 0,A=C[T];if(""===A)P=M();else{var j=L.exec(A);null!==j&&D(j[2],k)&&(A=A.slice(0,j.index)+j[1]+j[2].slice(0,-k.length)+j[3]),P=document.createTextNode(A)}S.insertBefore(P,d),this.parts.push({type:"node",index:++l})}""===C[N]?(S.insertBefore(M(),d),r.push(d)):d.data=C[N],c+=N}}else if(8===d.nodeType)if(d.data===x){var B=d.parentNode;null!==d.previousSibling&&l!==s||(l++,B.insertBefore(M(),d)),s=l,this.parts.push({type:"node",index:l}),null===d.nextSibling?d.data="":(r.push(d),l--),c++}else for(var R=-1;-1!==(R=d.data.indexOf(x,R+1));)this.parts.push({type:"node",index:-1}),c++}else a.currentNode=i.pop()}for(var F=0,I=r;F<I.length;F++){var H=I[F];H.parentNode.removeChild(H)}})),D=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},A=function(t){return-1!==t.index},M=function(){return document.createComment("")},L=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,j=133;function B(t,e){for(var n=t.element.content,r=t.parts,o=document.createTreeWalker(n,j,null,!1),i=F(r),a=r[i],s=-1,l=0,c=[],u=null;o.nextNode();){s++;var h=o.currentNode;for(h.previousSibling===u&&(u=null),e.has(h)&&(c.push(h),null===u&&(u=h)),null!==u&&l++;void 0!==a&&a.index===s;)a.index=null!==u?-1:a.index-l,a=r[i=F(r,i)]}c.forEach((function(t){return t.parentNode.removeChild(t)}))}var R=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,j,null,!1);n.nextNode();)e++;return e},F=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(A(r))return n}return-1};
/**
   * @license
   * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
   * This code may only be used under the BSD style license found at
   * http://polymer.github.io/LICENSE.txt
   * The complete set of authors may be found at
   * http://polymer.github.io/AUTHORS.txt
   * The complete set of contributors may be found at
   * http://polymer.github.io/CONTRIBUTORS.txt
   * Code distributed by Google as part of the polymer project is also
   * subject to an additional IP rights grant found at
   * http://polymer.github.io/PATENTS.txt
   */
var I=new WeakMap,H=function(t){return function(){var e=t.apply(void 0,arguments);return I.set(e,!0),e}},U=function(t){return"function"==typeof t&&I.has(t)},V={},q={},W=function(){function t(e,n,r){o(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}return a(t,[{key:"update",value:function(t){var e,n=0,r=E(this.__parts);try{for(r.s();!(e=r.n()).done;){var o=e.value;void 0!==o&&o.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var i,a=E(this.__parts);try{for(a.s();!(i=a.n()).done;){var s=i.value;void 0!==s&&s.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=C?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(t=r[i],A(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===t.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(s.previousSibling),this.__parts.push(l)}else{var c;(c=this.__parts).push.apply(c,g(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return C&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),G=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),z=" ".concat(x," "),J=function(){function t(e,n,r,i){o(this,t),this.strings=e,this.values=n,this.type=r,this.processor=i}return a(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=L.exec(o);e+=null===a?o+(n?z:T):o.substr(0,a.index)+a[1]+a[2]+k+a[3]+x}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==G&&(e=G.createHTML(e)),t.innerHTML=e,t}}]),t}(),K=function(t){return null===t||!("object"===n(t)||"function"==typeof t)},X=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},$=function(){function t(e,n,r){o(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var i=0;i<r.length-1;i++)this.parts[i]=this._createPart()}return a(t,[{key:"_createPart",value:function(){return new Y(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,r=this.parts;if(1===e&&""===t[0]&&""===t[1]){var o=r[0].value;if("symbol"===n(o))return String(o);if("string"==typeof o||!X(o))return o}for(var i="",a=0;a<e;a++){i+=t[a];var s=r[a];if(void 0!==s){var l=s.value;if(K(l)||!X(l))i+="string"==typeof l?l:String(l);else{var c,u=E(l);try{for(u.s();!(c=u.n()).done;){var h=c.value;i+="string"==typeof h?h:String(h)}}catch(t){u.e(t)}finally{u.f()}}}}return i+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),Y=function(){function t(e){o(this,t),this.value=void 0,this.committer=e}return a(t,[{key:"setValue",value:function(t){t===V||K(t)&&t===this.value||(this.value=t,U(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;U(this.value);){var t=this.value;this.value=V,t(this)}this.value!==V&&this.committer.commit()}}]),t}(),Z=function(){function t(e){o(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return a(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(M()),this.endNode=t.appendChild(M())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=M()),t.__insert(this.endNode=M())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=M()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;U(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=V,t(this)}var e=this.__pendingValue;e!==V&&(K(e)?e!==this.value&&this.__commitText(e):e instanceof J?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):X(e)?this.__commitIterable(e):e===q?(this.value=q,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof W&&this.value.template===e)this.value.update(t.values);else{var n=new W(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,a=E(e);try{for(a.s();!(r=a.n()).done;){var s=r.value;void 0===(n=o[i])&&(n=new t(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(s),n.commit(),i++}}catch(t){a.e(t)}finally{a.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;N(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),Q=function(){function t(e,n,r){if(o(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return a(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;U(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=V,t(this)}if(this.__pendingValue!==V){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=V}}}]),t}(),tt=function(t){l(n,t);var e=v(n);function n(t,r,i){var a;return o(this,n),(a=e.call(this,t,r,i)).single=2===i.length&&""===i[0]&&""===i[1],a}return a(n,[{key:"_createPart",value:function(){return new et(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:y(c(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}($),et=function(t){l(n,t);var e=v(n);function n(){return o(this,n),e.apply(this,arguments)}return a(n)}(Y),nt=!1;!function(){try{var t={get capture(){return nt=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var rt=function(){function t(e,n,r){var i=this;o(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return i.handleEvent(t)}}return a(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;U(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=V,t(this)}if(this.__pendingValue!==V){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),o=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=ot(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=V}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),ot=function(t){return t&&(nt?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};
/**
   * @license
   * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
   * This code may only be used under the BSD style license found at
   * http://polymer.github.io/LICENSE.txt
   * The complete set of authors may be found at
   * http://polymer.github.io/AUTHORS.txt
   * The complete set of contributors may be found at
   * http://polymer.github.io/CONTRIBUTORS.txt
   * Code distributed by Google as part of the polymer project is also
   * subject to an additional IP rights grant found at
   * http://polymer.github.io/PATENTS.txt
   */
function it(t){var e=at.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},at.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(x);return void 0===(n=e.keyString.get(r))&&(n=new P(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var at=new Map,st=new WeakMap,lt=new(function(){function t(){o(this,t)}return a(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var o=e[0];return"."===o?new tt(t,e.slice(1),n).parts:"@"===o?[new rt(t,e.slice(1),r.eventContext)]:"?"===o?[new Q(t,e.slice(1),n)]:new $(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new Z(t)}}]),t}());
/**
   * @license
   * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
   * This code may only be used under the BSD style license found at
   * http://polymer.github.io/LICENSE.txt
   * The complete set of authors may be found at
   * http://polymer.github.io/AUTHORS.txt
   * The complete set of contributors may be found at
   * http://polymer.github.io/CONTRIBUTORS.txt
   * Code distributed by Google as part of the polymer project is also
   * subject to an additional IP rights grant found at
   * http://polymer.github.io/PATENTS.txt
   */
/**
   * @license
   * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
   * This code may only be used under the BSD style license found at
   * http://polymer.github.io/LICENSE.txt
   * The complete set of authors may be found at
   * http://polymer.github.io/AUTHORS.txt
   * The complete set of contributors may be found at
   * http://polymer.github.io/CONTRIBUTORS.txt
   * Code distributed by Google as part of the polymer project is also
   * subject to an additional IP rights grant found at
   * http://polymer.github.io/PATENTS.txt
   */
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var ct=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new J(t,n,"html",lt)},ut=function(t,e){return"".concat(t,"--").concat(e)},ht=!0;void 0===window.ShadyCSS?ht=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),ht=!1);var dt=function(t){return function(e){var n=ut(e.type,t),r=at.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},at.set(n,r));var o=r.stringsArray.get(e.strings);if(void 0!==o)return o;var i=e.strings.join(x);if(void 0===(o=r.keyString.get(i))){var a=e.getTemplateElement();ht&&window.ShadyCSS.prepareTemplateDom(a,t),o=new P(e,a),r.keyString.set(i,o)}return r.stringsArray.set(e.strings,o),o}},ft=["html","svg"],pt=new Set,vt=function(t,e,n){pt.add(t);var r=n?n.element:document.createElement("template"),o=e.querySelectorAll("style"),i=o.length;if(0!==i){for(var a=document.createElement("style"),s=0;s<i;s++){var l=o[s];l.parentNode.removeChild(l),a.textContent+=l.textContent}!function(t){ft.forEach((function(e){var n=at.get(ut(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),B(t,n)}))}))}(t);var c=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,o=t.parts;if(null!=n)for(var i=document.createTreeWalker(r,j,null,!1),a=F(o),s=0,l=-1;i.nextNode();){for(l++,i.currentNode===n&&(s=R(e),n.parentNode.insertBefore(e,n));-1!==a&&o[a].index===l;){if(s>0){for(;-1!==a;)o[a].index+=s,a=F(o,a);return}a=F(o,a)}}else r.appendChild(e)}(n,a,c.firstChild):c.insertBefore(a,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var u=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==u)e.insertBefore(u.cloneNode(!0),e.firstChild);else if(n){c.insertBefore(a,c.firstChild);var h=new Set;h.add(a),B(n,h)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};window.JSCompiler_renameProperty=function(t,e){return t};var mt={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},yt=function(t,e){return e!==t&&(e==e||t==t)},_t={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:yt},gt="finalized",bt=function(t){l(c,t);var e,i,s=v(c);function c(){var t;return o(this,c),(t=s.call(this)).initialize(),t}return a(c,[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_t,r=this.constructor,o=r._attributeNameForProperty(t,n);if(void 0!==o){var i=r._propertyValueToAttribute(e,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var o=this.constructor;n=n||o.getPropertyOptions(t),o._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(e=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(null==(e=this.performUpdate())){t.next=12;break}return t.next=12,e;case 12:return t.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return t.stop()}}),t,this,[[1,6]])})),i=function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(t){r(a,o,i,s,l,"next",t)}function l(t){r(a,o,i,s,l,"throw",t)}s(void 0)}))},function(){return i.apply(this,arguments)})},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}},{key:"_getUpdateComplete",value:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var o=t._attributeNameForProperty(r,n);void 0!==o&&(t._attributeToPropertyMap.set(o,r),e.push(o))})),e}},{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_t;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"===n(t)?Symbol():"__".concat(t),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var o=this[t];this[e]=r,this.requestUpdateInternal(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||_t}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(gt)||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=E([].concat(g(Object.getOwnPropertyNames(n)),g("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yt;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||mt,o="function"==typeof r?r:r.fromAttribute;return o?o(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||mt.toAttribute)(t,n)}}}]),c}(f(HTMLElement));bt.finalized=!0;
/**
  @license
  Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
  This code may only be used under the BSD style license found at
  http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
  http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
  found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
  part of the polymer project is also subject to an additional IP rights grant
  found at http://polymer.github.io/PATENTS.txt
  */
var wt=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Et=Symbol(),St=function(){function t(e,n){if(o(this,t),n!==Et)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}return a(t,[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(wt?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}]),t}(),Ct=function(t){if(t instanceof St)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n            take care to ensure page security."))},Nt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=n.reduce((function(e,n,r){return e+Ct(n)+t[r+1]}),t[0]);return new St(o,Et)};(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");var xt={},Tt=function(t){l(n,t);var e=v(n);function n(){return o(this,n),e.apply(this,arguments)}return a(n,[{key:"initialize",value:function(){y(c(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow(this.constructor.shadowRootOptions)}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?wt?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){y(c(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,r=this.render();y(c(n.prototype),"update",this).call(this,t),r!==xt&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return xt}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!wt){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new St(String(e),Et)}return t}))}}}]),n}(bt);Tt.finalized=!0,Tt.render=function(t,e,r){if(!r||"object"!==n(r)||!r.scopeName)throw new Error("The `scopeName` option is required.");var o=r.scopeName,i=st.has(e),a=ht&&11===e.nodeType&&!!e.host,s=a&&!pt.has(o),l=s?document.createDocumentFragment():e;if(function(t,e,n){var r=st.get(e);void 0===r&&(N(e,e.firstChild),st.set(e,r=new Z(Object.assign({templateFactory:it},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,l,Object.assign({templateFactory:dt(o)},r)),s){var c=st.get(l);st.delete(l);var u=c.value instanceof W?c.value.template:void 0;vt(o,l,u),N(e,e.firstChild),e.appendChild(l),st.set(e,c)}!i&&a&&window.ShadyCSS.styleElement(e.host)},Tt.shadowRootOptions={mode:"open"};var Ot=function(){function t(e){o(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=E((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(t){r.e(t)}finally{r.f()}}return a(t,[{key:"add",value:function(t){this.classes.add(t),this.changed=!0}},{key:"remove",value:function(t){this.classes.delete(t),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var t="";this.classes.forEach((function(e){return t+=e+" "})),this.element.setAttribute("class",t)}}}]),t}(),kt=new WeakMap,Pt=H((function(t){return function(e){if(!(e instanceof Y)||e instanceof et||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=e.committer,r=n.element,o=kt.get(e);void 0===o&&(r.setAttribute("class",n.strings.join(" ")),kt.set(e,o=new Set));var i=r.classList||new Ot(r);for(var a in o.forEach((function(e){e in t||(i.remove(e),o.delete(e))})),t){var s=t[a];s!=o.has(a)&&(s?(i.add(a),o.add(a)):(i.remove(a),o.delete(a)))}"function"==typeof i.commit&&i.commit()}})),Dt=new WeakMap,At=H((function(t){return function(e){if(!(e instanceof Y)||e instanceof et||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,o=Dt.get(e);for(var i in void 0===o&&(r.cssText=n.strings.join(" "),Dt.set(e,o=new Set)),o.forEach((function(e){e in t||(o.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)o.add(i),-1===i.indexOf("-")?r[i]=t[i]:r.setProperty(i,t[i])}})),Mt=new WeakMap,Lt=H((function(t){return function(e){var n=Mt.get(e);if(void 0===t&&e instanceof Y){if(void 0!==n||!Mt.has(e)){var r=e.committer.name;e.committer.element.removeAttribute(r)}}else t!==n&&e.setValue(t);Mt.set(e,t)}}));function jt(t,e){return"var(--".concat(t.replace(/(\d+|[A-Z])/g,"-$1").toLowerCase(),", ").concat(e||t,")")}var Bt,Rt,Ft,It,Ht,Ut,Vt,qt,Wt={properties:{m:{type:String},mt:{type:String},mr:{type:String},mb:{type:String},ml:{type:String},mx:{type:String},my:{type:String},p:{type:String},pt:{type:String},pr:{type:String},pb:{type:String},pl:{type:String},px:{type:String},py:{type:String}},map:function(t){var e={};if(t.m&&(e.margin=jt(t.m)),t.mx){var n=jt(t.mx);e.marginRight=n,e.marginLeft=n}if(t.my){var r=jt(t.my);e.marginTop=r,e.marginBottom=r}if(t.mt&&(e.marginTop=jt(t.mt)),t.mr&&(e.marginRight=jt(t.mr)),t.mb&&(e.marginBottom=jt(t.mb)),t.ml&&(e.marginLeft=jt(t.ml)),t.p&&(e.padding=jt(t.p)),t.px){var o=jt(t.px);e.paddingRight=o,e.paddingLeft=o}if(t.py){var i=jt(t.py);e.paddingTop=i,e.paddingBottom=i}return t.pt&&(e.paddingTop=jt(t.pt)),t.pr&&(e.paddingRight=jt(t.pr)),t.pb&&(e.paddingBottom=jt(t.pb)),t.pl&&(e.paddingLeft=jt(t.pl)),e}},Gt=function(t){l(r,t);var n=v(r);function r(){var t;return o(this,r),(t=n.call(this)).appearance="primary",t.disabled=!1,t.size="medium",t.variant="fill",t._setDisabledEventListeners(),t}return a(r,[{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"render",value:function(){var t=this.href&&!this.disabled;return ct(Bt||(Bt=_([" "," "])),t?this._anchor:this._button)}},{key:"_dispatchSubmitEvent",value:function(){var t=document.createElement("input");t.setAttribute("hidden",!0),t.setAttribute("type","submit"),this.appendChild(t),t.click(),this.removeChild(t)}},{key:"_setDisabledEventListeners",value:function(){var t=this,e=function(e){if(t.disabled)return e.stopImmediatePropagation(),!1;"submit"===t.type&&"click"===e.type&&e.target===t&&t._dispatchSubmitEvent()};this.addEventListener("click",e,!0),this.addEventListener("touchstart",e,!0),this.addEventListener("touchend",e,!0),this.addEventListener("keydown",e,!0)}},{key:"_anchor",get:function(){return ct(Rt||(Rt=_(['\n      <a\n        class="','"\n        download="','"\n        href="','"\n        name="','"\n        style="','"\n        target="','"\n        title="','"\n        type="','"\n      >\n        <slot></slot>\n      </a>\n    '])),this._classes,Lt(this.download),this.href,Lt(this.name),this._styles,Lt(this.target),Lt(this.title),Lt(this.type))}},{key:"_button",get:function(){return ct(Ft||(Ft=_(['\n      <button\n        class="','"\n        name="','"\n        style="','"\n        type="','"\n        ?disabled="','"\n      >\n        <slot></slot>\n      </button>\n    '])),this._classes,Lt(this.name),this._styles,Lt(this.type),this.disabled)}},{key:"_classes",get:function(){return Pt({"camp-Button":!0,"camp-Button--destructive":"destructive"===this.appearance,"camp-Button--small":"small"===this.size,"as-fill":"fill"===this.variant,"as-outline":"outline"===this.variant,"as-text":"text"===this.variant})}},{key:"_styles",get:function(){return At(Wt.map(this))}}],[{key:"properties",get:function(){return e({appearance:{type:String},disabled:{type:Boolean,reflect:!0},size:{type:String},variant:{type:String},download:{type:String},href:{type:String},name:{type:String},target:{type:String},title:{type:String},type:{type:String}},Wt.properties)}},{key:"styles",get:function(){return Nt(It||(It=_(["\n      :host {\n        display: inline-flex;\n      }\n\n      :host([disabled]) {\n        cursor: not-allowed;\n      }\n\n      .camp-Button {\n        border-radius: var(--radii-100, 4px);\n        border-style: solid;\n        border-width: var(--b-100, 1px);\n        box-sizing: border-box;\n        cursor: pointer;\n        display: block;\n        height: inherit;\n        margin: 0px;\n        overflow: visible;\n        padding: var(--sp-300, 8px) var(--sp-400, 12px) !important;\n        font-family: var(\n          --ff-standard,\n          'IBM Plex Sans',\n          'Franklin Gothic',\n          'ITC Franklin Gothic',\n          helvetica,\n          arial,\n          sans-serif\n        );\n        font-size: var(--fs-200, 14px);\n        font-weight: var(--fw-medium, 500);\n        line-height: var(--lh-200, 20px);\n        text-decoration: none;\n        text-transform: none;\n        transition-duration: var(--duration-medium, 200ms);\n        transition-property: background, border;\n        transition-timing-function: var(--transition-out, cubic-bezier(0.23, 1, 0.32, 1));\n        width: 100%;\n      }\n\n      :host([disabled]) .camp-Button {\n        pointer-events: none;\n      }\n\n      .camp-Button--small {\n        padding: var(--sp-200, 4px) var(--sp-300, 8px) !important;\n      }\n\n      .camp-Button.as-fill {\n        background-color: var(--camp-Button-backgroundColor, var(--ocean-500, #356ae6));\n        border-color: var(--camp-Button-borderColor, var(--ocean-500, #356ae6));\n        color: var(--camp-Button-color, var(--white, #fff));\n        fill: var(--camp-Button-color, var(--white, #fff));\n      }\n\n      .camp-Button.as-fill:hover,\n      .camp-Button.as-fill:focus {\n        background-color: var(--camp-Button-onFocus-backgroundColor, var(--ocean-600, #1b54d9));\n        border-color: var(--camp-Button-onFocus-borderColor, var(--ocean-600, #1b54d9));\n        color: var(--camp-Button-primary-foreground--focused, var(--white, #fff));\n        fill: var(--camp-Button-onFocus-color, var(--white, #fff));\n      }\n\n      .camp-Button.as-fill:active {\n        background-color: var(--camp-Button-onActive-backgroundColor, var(--ocean-700, #123b99));\n        border-color: var(--camp-Button-onActive-borderColor, var(--ocean-700, #123b99));\n        color: var(--camp-Button-primary-onActive-color, var(--white, #fff));\n        fill: var(--camp-Button-primary-onActive-fill, var(--white, #fff));\n      }\n\n      :host([disabled]) .camp-Button.as-fill {\n        background-color: var(--camp-Button-onDisabled-backgroundColor, var(--ocean-400, #5884ea));\n        border-color: var(--camp-Button-onDisabled-borderColor, var(--ocean-300, #c1d1f7));\n        color: var(--camp-Button-onDisabled-color, var(--white, #fff));\n        fill: var(--camp-Button-onDisabled-color, var(--white, #fff));\n      }\n\n      .camp-Button--destructive.as-fill {\n        background-color: var(\n          --camp-Button--destructive-backgroundColor,\n          var(--strawberry-500, #f3376b)\n        );\n        border-color: var(--camp-Button--destructive-borderColor, var(--strawberry-500, #f3376b));\n        color: var(--camp-Button--destructive-color, var(--white, #fff));\n        fill: var(--camp-Button--destructive-color, var(--white, #fff));\n      }\n\n      .camp-Button--destructive.as-fill:hover,\n      .camp-Button--destructive.as-fill:focus {\n        background-color: var(\n          --camp-Button--destructive-onFocus-backgroundColor,\n          var(--strawberry-600, #e40e49)\n        );\n        border-color: var(\n          --camp-Button--destructive-onFocus-borderColor,\n          var(--strawberry-600, #e40e49)\n        );\n        color: var(--camp-Button--destructive-primary-foreground--focused, var(--white, #fff));\n        fill: var(--camp-Button--destructive-onFocus-color, var(--white, #fff));\n      }\n\n      .camp-Button--destructive.as-fill:active {\n        background-color: var(\n          --camp-Button--destructive-onActive-backgroundColor,\n          var(--strawberry-700, #c60d40)\n        );\n        border-color: var(\n          --camp-Button--destructive-onActive-borderColor,\n          var(--strawberry-700, #c60d40)\n        );\n      }\n\n      :host([disabled]) .camp-Button--destructive.as-fill {\n        background-color: var(\n          --camp-Button--destructive-onDisabled-backgroundColor,\n          var(--strawberry-400, #f56e94)\n        );\n        border-color: var(\n          --camp-Button--destructive-onDisabled-borderColor,\n          var(--strawberry-400, #f56e94)\n        );\n        color: var(--camp-Button--destructive-onDisabled-color, var(--white, #fff));\n        fill: var(--camp-Button--destructive-onDisabled-color, var(--white, #fff));\n      }\n\n      .camp-Button.as-outline {\n        background-color: var(--camp-Button-asOutline-backgroundColor, var(--white, #fff));\n        border-color: var(--camp-Button-asOutline-borderColor, var(--slate-200, #ced3e0));\n        color: var(--camp-Button-asOutline-color, var(--slate-600, #1f2129));\n        fill: var(--camp-Button-asOutline-color, var(--slate-600, #1f2129));\n      }\n\n      .camp-Button.as-outline:hover,\n      .camp-Button.as-outline:focus {\n        background-color: var(\n          --camp-Button-asOutline-onFocus-backgroundColor,\n          var(--slate-150, #edf0f7)\n        );\n        border-color: var(--camp-Button-asOutline-onFocus-borderColor, var(--slate-200, #ced3e0));\n        color: var(--camp-Button-asOutline-onFocus-color, var(--slate-600, #1f2129));\n        fill: var(--camp-Button-asOutline-onFocus-color, var(--slate-600, #1f2129));\n        outline: none;\n      }\n\n      .camp-Button.as-outline:active {\n        background-color: var(\n          --camp-Button-asOutline-onActive-backgroundColor,\n          var(--slate-200, #ced3e0)\n        );\n        border-color: var(--camp-Button-asOutline-onActive-borderColor, var(--slate-200, #ced3e0));\n        color: var(--camp-Button-asOutline-onActive-color, var(--slate-600, #1f2129));\n        fill: var(--camp-Button-asOutline-onActive-color, var(--slate-600, #1f2129));\n      }\n\n      :host([disabled]) .camp-Button.as-outline {\n        background-color: var(\n          --camp-Button-asOutline-onDisabled-backgroundColor,\n          var(--white, #fff)\n        );\n        border-color: var(\n          --camp-Button-asOutline-onDisabled-borderColor,\n          var(--slate-200, #ced3e0)\n        );\n        color: var(--camp-Button-asOutline-onDisabled-color, var(--slate-400, #5f667e));\n        fill: var(--camp-Button-asOutline-onDisabled-color, var(--slate-400, #5f667e));\n      }\n\n      .camp-Button.as-text {\n        background-color: var(\n          --camp-Button-asText-backgroundColor,\n          var(--transparent, transparent)\n        );\n        border-color: var(--camp-Button-asText-borderColor, var(--transparent, transparent));\n        color: var(--camp-Button-asText-color, var(--ocean-500, #356ae6));\n        fill: var(--camp-Button-asText-color, var(--ocean-500, #356ae6));\n      }\n\n      .camp-Button.as-text:hover,\n      .camp-Button.as-text:focus {\n        background-color: var(\n          --camp-Button-asText-onFocus-backgroundColor,\n          var(--ocean-150, #edf3fe)\n        );\n        border-color: var(--camp-Button-asText-onFocus-borderColor, var(--ocean-150, #edf3fe));\n        color: var(--camp-Button-asText-onFocus-color, var(--ocean-500, #356ae6));\n        fill: var(--camp-Button-asText-onFocus-color, var(--ocean-500, #356ae6));\n        outline: none;\n      }\n\n      .camp-Button.as-text:active {\n        background-color: var(\n          --camp-Button-asText-onActive-backgroundColor,\n          var(--ocean-200, #e3ebfc)\n        );\n        border-color: var(--camp-Button-asText-onActive-borderColor, var(--ocean-200, #e3ebfc));\n        color: var(--camp-Button-asText-onActive-color, var(--ocean-500, #356ae6));\n        fill: var(--camp-Button-asText-onActive-color, var(--ocean-500, #356ae6));\n      }\n\n      :host([disabled]) .camp-Button.as-text {\n        background-color: var(\n          --camp-Button-asText-onDisabled-backgroundColor,\n          var(--transparent, transparent)\n        );\n        border-color: var(\n          --camp-Button-asText-onDisabled-borderColor,\n          var(--transparent, transparent)\n        );\n        color: var(--camp-Button-asText-onDisabled-color, var(--ocean-400, #5884ea));\n        fill: var(--camp-Button-asText-onDisabled-color, var(--ocean-400, #5884ea));\n      }\n\n      .camp-Button--destructive.as-text {\n        background-color: var(\n          --camp-Button-asText--destructive-backgroundColor,\n          var(--transparent, transparent)\n        );\n        border-color: var(\n          --camp-Button-asText--destructive-borderColor,\n          var(--transparent, transparent)\n        );\n        color: var(--camp-Button-asText--destructive-color, var(--strawberry-600, #e40e49));\n        fill: var(--camp-Button-asText--destructive-color, var(--strawberry-600, #e40e49));\n      }\n\n      .camp-Button--destructive.as-text:hover,\n      .camp-Button--destructive.as-text:focus {\n        background-color: var(\n          --camp-Button-asText-onFocus--destructive-backgroundColor,\n          var(--strawberry-100, #fff2f6)\n        );\n        border-color: var(\n          --camp-Button-asText-onFocus--destructive-borderColor,\n          var(--strawberry-100, #fff2f6)\n        );\n        color: var(--camp-Button-asText-onFocus--destructive-color, var(--strawberry-600, #e40e49));\n        fill: var(--camp-Button-asText-onFocus--destructive-color, var(--strawberry-600, #e40e49));\n      }\n\n      .camp-Button--destructive.as-text:active {\n        background-color: var(\n          --camp-Button-asText-onActive--destructive-backgroundColor,\n          var(--strawberry-200, #fcdee7)\n        );\n        border-color: var(\n          --camp-Button-asText-onActive--destructive-borderColor,\n          var(--strawberry-200, #fcdee7)\n        );\n        color: var(\n          --camp-Button-asText-onActive--destructive-color,\n          var(--strawberry-600, #e40e49)\n        );\n        fill: var(--camp-Button-asText-onActive--destructive-color, var(--strawberry-600, #e40e49));\n      }\n\n      :host([disabled]) .camp-Button--destructive.as-text {\n        background-color: var(\n          --camp-Button-asText-onDisabled--destructive-backgroundColor,\n          var(--transparent, transparent)\n        );\n        border-color: var(\n          --camp-Button-asText-onDisabled--destructive-borderColor,\n          var(--transparent, transparent)\n        );\n        color: var(\n          --camp-Button-asText-onDisabled--destructive-color,\n          var(--strawberry-400, #f56e94)\n        );\n        fill: var(\n          --camp-Button-asText-onDisabled--destructive-color,\n          var(--strawberry-400, #f56e94)\n        );\n      }\n    "])))}}]),r}(Tt);customElements.define("camp-button",Gt);var zt,Jt,Kt,Xt,$t,Yt,Zt,Qt,te,ee,ne,re=function(t){l(r,t);var n=v(r);function r(){var t;return o(this,r),(t=n.call(this)).actionable=!1,t}return a(r,[{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"render",value:function(){return this.actionable?this.href?this._anchor:this._button:this._box}},{key:"_anchor",get:function(){return ct(Ht||(Ht=_(['\n      <a\n        class="','"\n        href="','"\n        target="','"\n        title="','"\n        style="','"\n      >\n        <slot></slot>\n      </a>\n    '])),this._classes,this.href,Lt(this.target),Lt(this.title),this._styles)}},{key:"_button",get:function(){return ct(Ut||(Ut=_(['\n      <button class="','" type="button" style="','">\n        <slot></slot>\n      </button>\n    '])),this._classes,this._styles)}},{key:"_box",get:function(){return ct(Vt||(Vt=_(['\n      <div class="','" style="','">\n        <slot></slot>\n      </div>\n    '])),this._classes,this._styles)}},{key:"_classes",get:function(){return Pt({"camp-Card":!0,"camp-Card--actionable":this.actionable})}},{key:"_styles",get:function(){return At(Wt.map(this))}}],[{key:"properties",get:function(){return e({actionable:{type:Boolean,reflect:!0},href:{type:String},target:{type:String},title:{type:String}},Wt.properties)}},{key:"styles",get:function(){return Nt(qt||(qt=_(["\n      :host {\n        display: block;\n      }\n\n      .camp-Card {\n        background-color: var(--white, #fff);\n        border-color: var(--camp-Card-borderColor, var(--slate-200, #ced3e0));\n        border-radius: var(--radii-200, 8px);\n        border-style: solid;\n        border-width: var(--b-100, 1px);\n        box-sizing: border-box;\n        color: inherit;\n        display: block;\n        height: inherit;\n        margin: 0px;\n        padding: 0px;\n        text-decoration: none;\n        text-transform: none;\n        width: 100%;\n      }\n\n      .camp-Card--actionable {\n        cursor: pointer;\n      }\n\n      .camp-Card--actionable:hover,\n      .camp-Card--actionable:focus {\n        box-shadow: var(--shadow-200, 0 4px 12px 0 rgba(31, 33, 41, 0.08));\n      }\n    "])))}}]),r}(Tt);customElements.define("camp-card",re);var oe,ie,ae=function(t){l(r,t);var n=v(r);function r(){return o(this,r),n.apply(this,arguments)}return a(r,[{key:"render",value:function(){switch(this.as){case"cite":return ct(zt||(zt=_(['\n          <cite class="','" style="','"><slot></slot></cite>\n        '])),this._classes,this._styles);case"div":return ct(Jt||(Jt=_(['\n          <div class="','" style="','">\n            <slot></slot>\n          </div>\n        '])),this._classes,this._styles);case"h1":return ct(Kt||(Kt=_(['\n          <h1 class="','" style="','">\n            <slot></slot>\n          </h1>\n        '])),this._classes,this._styles);case"h2":return ct(Xt||(Xt=_(['\n          <h2 class="','" style="','">\n            <slot></slot>\n          </h2>\n        '])),this._classes,this._styles);case"h3":return ct($t||($t=_(['\n          <h3 class="','" style="','">\n            <slot></slot>\n          </h3>\n        '])),this._classes,this._styles);case"h4":return ct(Yt||(Yt=_(['\n          <h4 class="','" style="','">\n            <slot></slot>\n          </h4>\n        '])),this._classes,this._styles);case"h5":return ct(Zt||(Zt=_(['\n          <h5 class="','" style="','">\n            <slot></slot>\n          </h5>\n        '])),this._classes,this._styles);case"h6":return ct(Qt||(Qt=_(['\n          <h6 class="','" style="','">\n            <slot></slot>\n          </h6>\n        '])),this._classes,this._styles);case"p":return ct(te||(te=_(['\n          <p class="','" style="','"><slot></slot></p>\n        '])),this._classes,this._styles);default:return ct(ee||(ee=_(['\n          <span class="','" style="','"><slot></slot></span>\n        '])),this._classes,this._styles)}}},{key:"_classes",get:function(){return Pt({"camp-Text":!0,"camp-Text--body1":"body1"===this.appearance,"camp-Text--body2":"body2"===this.appearance,"camp-Text--body3":"body3"===this.appearance,"camp-Text--heading1":"heading1"===this.appearance,"camp-Text--heading2":"heading2"===this.appearance,"camp-Text--heading3":"heading3"===this.appearance,"camp-Text--heading4":"heading4"===this.appearance,"camp-Text--heading5":"heading5"===this.appearance})}},{key:"_styles",get:function(){var t={};return this.color&&(t.color=jt(this.color),t.fill=jt(this.color)),this.height&&(t.lineHeight=jt(this.height)),this.family&&(t.fontFamily=jt(this.family)),this.size&&(t.fontSize=jt(this.size)),this.weight&&(t.fontWeight=jt(this.weight)),this.transform&&(t.textTransform=this.transform),At(e(e({},t),Wt.map(this)))}}],[{key:"properties",get:function(){return e({as:{type:String},appearance:{type:String},color:{type:String},height:{type:String},family:{type:String},size:{type:String},weight:{type:String},transform:{type:String}},Wt.properties)}},{key:"styles",get:function(){return Nt(ne||(ne=_(["\n      :host {\n        box-sizing: border-box;\n        color: inherit;\n        display: inline-flex;\n        fill: inherit;\n        font-family: var(\n          --ff-standard,\n          'IBM Plex Sans',\n          'Franklin Gothic',\n          'ITC Franklin Gothic',\n          helvetica,\n          arial,\n          sans-serif\n        );\n        text-decoration: none;\n        text-transform: none;\n      }\n\n      .camp-Text {\n        margin: 0;\n        padding: 0;\n      }\n\n      .camp-Text--body1 {\n        line-height: var(--lh-100, 16px);\n        font-size: var(--fs-100, 12px);\n        font-weight: var(--fw-regular, 400);\n      }\n\n      .camp-Text--body2 {\n        line-height: var(--lh-200, 20px);\n        font-size: var(--fs-200, 14px);\n        font-weight: var(--fw-regular, 400);\n      }\n\n      .camp-Text--body3 {\n        line-height: var(--lh-300, 24px);\n        font-size: var(--fs-300, 16px);\n        font-weight: var(--fw-regular, 400);\n      }\n\n      .camp-Text--heading1 {\n        line-height: var(--lh-200, 20px);\n        font-size: var(--fs-200, 14px);\n        font-weight: var(--fw-semi-bold, 600);\n      }\n\n      .camp-Text--heading2 {\n        line-height: var(--lh-300, 24px);\n        font-size: var(--fs-300, 16px);\n        font-weight: var(--fw-semi-bold, 600);\n      }\n\n      .camp-Text--heading3 {\n        line-height: var(--lh-400, 28px);\n        font-size: var(--fs-500, 20px);\n        font-weight: var(--fw-semi-bold, 600);\n      }\n\n      .camp-Text--heading4 {\n        line-height: var(--lh-500, 32px);\n        font-size: var(--fs-600, 24px);\n        font-weight: var(--fw-semi-bold, 600);\n      }\n\n      .camp-Text--heading5 {\n        line-height: var(--lh-700, 44px);\n        font-size: var(--fs-800, 32px);\n        font-weight: var(--fw-regular, 400);\n      }\n    "])))}}]),r}(Tt);customElements.define("camp-text",ae);var se=function(t){l(r,t);var n=v(r);function r(){return o(this,r),n.call(this)}return a(r,[{key:"render",value:function(){return ct(oe||(oe=_(['\n      <div class="','" style="','">\n        <slot></slot>\n      </div>\n    '])),this._classes,this._styles)}},{key:"_classes",get:function(){return Pt({"camp-Flex":!0,"as-inline":"inline"===this.variant,"as-item":"item"===this.variant})}},{key:"_styles",get:function(){var t={};return this.direction&&(t.flexDirection=this.direction),this.alignItems&&(t.alignItems=this.alignItems),this.alignContent&&(t.alignContent=this.alignContent),this.justifyContent&&(t.justifyContent=this.justifyContent),this.wrap&&(t.flexWrap=this.wrap),this.order&&(t.order=this.order),this.alignSelf&&(t.alignSelf=this.alignSelf),this.justifySelf&&(t.justifySelf=this.justifySelf),this.grow&&(t.flexGrow=this.grow),this.shrink&&(t.flexShrink=this.shrink),this.basis&&(t.flexBasis=this.basis),At(e(e({},t),Wt.map(this)))}}],[{key:"properties",get:function(){return e({alignItems:{type:String,attribute:"align-items"},alignContent:{type:String,attribute:"align-content"},direction:{type:String},justifyContent:{type:String,attribute:"justify-content"},wrap:{type:String},order:{type:String},alignSelf:{type:String,attribute:"align-self"},justifySelf:{type:String,attribute:"justify-self"},grow:{type:String},shrink:{type:String},basis:{type:String},variant:{type:String}},Wt.properties)}},{key:"styles",get:function(){return Nt(ie||(ie=_(["\n      :host {\n        display: contents;\n      }\n\n      .camp-Flex {\n        display: flex;\n      }\n\n      .as-inline {\n        display: flex-inline;\n      }\n\n      .as-item {\n        display: block;\n      }\n    "])))}}]),r}(Tt);customElements.define("camp-flex",se)}();
//# sourceMappingURL=bundle.js.map
