CoreFiles by mySites.guru
webcomponents-sd-ce.min.js1 lines, 85,132 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
e0e7ae7e83abf6396548f4659727e72a
sha1
a8cfe611538f8679538f5c102f87ade4e4f541f1
sha256
4f2beb56b22825c82bc5381428298f684474387928744859bebe0d7a5bf5f1e1
(function(){"use strict";var e;function t(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}(e)}}function n(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function o(){}function i(e){return e.__shady||(e.__shady=new o),e.__shady}function a(e){return e&&e.__shady}o.prototype.toJSON=function(){return{}};var s=window.ShadyDOM||{};s.Aa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var l=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function c(e){return(e=a(e))&&void 0!==e.firstChild}function d(e){return e instanceof ShadowRoot}function u(e){return(e=(e=a(e))&&e.root)&&Ut(e)}s.h=!!(l&&l.configurable&&l.get),s.ca=s.force||!s.Aa,s.j=s.noPatch||!1,s.J=s.preferPerformance,s.ea="on-demand"===s.j,s.qa=navigator.userAgent.match("Trident");var h=Element.prototype,f=h.matches||h.matchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector||h.webkitMatchesSelector,p=document.createTextNode(""),_=0,m=[];function v(e){m.push(e),p.textContent=_++}new MutationObserver(function(){for(;m.length;)try{m.shift()()}catch(e){throw p.textContent=_++,e}}).observe(p,{characterData:!0});var y=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function g(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function b(e){for(var n=e.length-1;0<=n;n--){var r=e[n],o=r.getAttribute("id")||r.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(e[o]=r)}return e.item=function(t){return e[t]},e.namedItem=function(n){if("length"!==n&&isNaN(n)&&e[n])return e[n];for(var r=t(e),o=r.next();!o.done;o=r.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==n)return o;return null},e}function E(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function N(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function w(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function C(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||w(e,n+o,t[o])}function S(e,t){for(var n in t)n in e&&w(e,n,t[n])}function T(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}function O(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}var x,D=[];function M(e){x||(x=!0,v(A)),D.push(e)}function A(){x=!1;for(var e=!!D.length;D.length;)D.shift()();return e}function L(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.T=new Set}A.list=D,L.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.T.forEach(function(t){t(e)})}},L.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var P=/[&\u00A0"]/g,k=/[&\u00A0<>]/g;function R(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function j(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var H=j("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),I=j("style script xmp iframe noembed noframes plaintext noscript".split(" "));function F(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++){e:{var s=a,l=e,c=t;switch(s.nodeType){case Node.ELEMENT_NODE:for(var d,u="<"+(l=s.localName),h=s.attributes,f=0;d=h[f];f++)u+=" "+d.name+'="'+d.value.replace(P,R)+'"';u+=">",s=H[l]?u:u+F(s,c)+"</"+l+">";break e;case Node.TEXT_NODE:s=s.data,s=l&&I[l.localName]?s:s.replace(k,R);break e;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break e;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var B=s.h,U={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},V={};function W(e){V[e]=function(t){return t["__shady_native_"+e]}}function G(e,t){for(var n in C(e,t,"__shady_native_"),t)W(n)}function q(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?U[r]||(U[r]=o.value):W(r))}}var z=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),J=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),K=document.implementation.createHTMLDocument("inert");function X(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var $=["firstElementChild","lastElementChild","children","childElementCount"],Y=["querySelector","querySelectorAll"];var Z=T({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}}),Q=T({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){return this.__shady_innerHTML=e}}),ee=T({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(e){return this.__shady_className=e}});function te(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}te(Z),te(Q),te(ee);var ne,re=s.h||!0===s.j,oe=re?function(){}:function(e){var t=i(e);t.sa||(t.sa=!0,S(e,ee))},ie=re?function(){}:function(e){var t=i(e);t.ra||(t.ra=!0,S(e,Z),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!s.j||S(e,Q))},ae="__eventWrappers"+Date.now(),se=(ne=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return ne.get.call(e)}:null,le=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener("test",e,n),window.removeEventListener("test",e,n),t}();function ce(e){if(e&&"object"==typeof e)var t=!!e.capture,n=!!e.once,r=!!e.passive,o=e.A;else t=!!e,r=n=!1;return{oa:o,capture:t,once:n,passive:r,na:le?e:t}}var de={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},ue={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function he(e){return e instanceof Node?e.__shady_getRootNode():e}function fe(e,t){var n=[],r=e;for(e=he(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function pe(e,t){if(!d)return e;e=fe(e,!0);for(var n,r,o=0,i=void 0,a=void 0;o<t.length;o++)if((r=he(n=t[o]))!==i&&(a=e.indexOf(r),i=r),!d(r)||-1<a)return n}function _e(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var me={focus:!0,blur:!0};function ve(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function ye(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!ve(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}function ge(e){var t=e.composedPath(),n=t.map(function(e){return pe(e,t)}),r=e.bubbles;Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return a}});var o=Event.CAPTURING_PHASE;Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=t.length-1;0<=i;i--){var a=t[i];if(o=a===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,ye(e,a,"capture"),e.X)return}for(i=0;i<t.length;i++){var s=(a=t[i])===n[i];if((s||r)&&(o=s?Event.AT_TARGET:Event.BUBBLING_PHASE,ye(e,a,"bubble"),e.X))return}o=0,a=null}function be(e,t,n,r,o,i){for(var a=0;a<e.length;a++){var s=e[a],l=s.type,c=s.capture,d=s.once,u=s.passive;if(t===s.node&&n===l&&r===c&&o===d&&i===u)return a}return-1}function Ee(e){return A(),!s.J&&this instanceof Node&&!y(document,this)?(e.__target||Se(e,this),ge(e)):this.__shady_native_dispatchEvent(e)}function Ne(e,t,n){var r=ce(n),o=r.capture,i=r.once,a=r.passive,s=r.oa;if(r=r.na,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(ue[e])return this.__shady_native_addEventListener(e,t,r);var c=s||this;if(s=t[ae]){if(-1<be(s,c,e,o,i,a))return}else t[ae]=[];s=function(r){if(i&&this.__shady_removeEventListener(e,t,n),r.__target||Se(r),c!==this){var a=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return c},configurable:!0});var s=Object.getOwnPropertyDescriptor(r,"eventPhase");Object.defineProperty(r,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(r.__previousCurrentTarget=r.currentTarget,(!d(c)&&"slot"!==c.localName||-1!=r.composedPath().indexOf(c))&&(r.composed||-1<r.composedPath().indexOf(c)))if(ve(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===c||c instanceof Window){var u="function"===l?t.call(c,r):t.handleEvent&&t.handleEvent(r);return c!==this&&(a?(Object.defineProperty(r,"currentTarget",a),a=null):delete r.currentTarget,s?(Object.defineProperty(r,"eventPhase",s),s=null):delete r.eventPhase),u}},t[ae].push({node:c,type:e,capture:o,once:i,passive:a,Oa:s}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(s),me[e]||this.__shady_native_addEventListener(e,s,r)}}}function we(e,t,n){if(t){var r=ce(n);n=r.capture;var o=r.once,i=r.passive,a=r.oa;if(r=r.na,ue[e])return this.__shady_native_removeEventListener(e,t,r);var s=a||this;a=void 0;var l=null;try{l=t[ae]}catch(e){}l&&(-1<(o=be(l,s,e,n,o,i))&&(a=l.splice(o,1)[0].Oa,l.length||(t[ae]=void 0))),this.__shady_native_removeEventListener(e,a||t,r),a&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(a))&&e.splice(t,1))}}var Ce=T({get composed(){return void 0===this.__composed&&(se?this.__composed="focusin"===this.type||"focusout"===this.type||se(this):!1!==this.isTrusted&&(this.__composed=de[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=fe(this.__target,this.composed)),this.__composedPath},get target(){return pe(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=fe(this.__relatedTarget,!0)),pe(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.X=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.X=this.__immediatePropagationStopped=!0}});function Se(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,s.h){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,C(n,Ce),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else C(e,Ce)}var Te=_e(Event),Oe=_e(CustomEvent),xe=_e(MouseEvent);var De=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return"on"===e.substring(0,2)}),Me=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return"on"===e.substring(0,2)});function Ae(e){return{set:function(t){var n=i(this),r=e.substring(2);n.w||(n.w={}),n.w[e]&&this.removeEventListener(r,n.w[e]),this.__shady_addEventListener(r,t),n.w[e]=t},get:function(){var t=a(this);return t&&t.w&&t.w[e]},configurable:!0}}function Le(e,t){return{index:e,K:[],S:t}}function Pe(e,t,n,r){var o=0,i=0,a=0,s=0,l=Math.min(t-o,r-i);if(0==o&&0==i)e:{for(a=0;a<l;a++)if(e[a]!==n[a])break e;a=l}if(t==e.length&&r==n.length){s=e.length;for(var c=n.length,d=0;d<l-a&&ke(e[--s],n[--c]);)d++;s=d}if(i+=a,r-=s,0==(t-=s)-(o+=a)&&0==r-i)return[];if(o==t){for(t=Le(o,0);i<r;)t.K.push(n[i++]);return[t]}if(i==r)return[Le(o,t-o)];for(r=r-(a=i)+1,s=t-(l=o)+1,t=Array(r),c=0;c<r;c++)t[c]=Array(s),t[c][0]=c;for(c=0;c<s;c++)t[0][c]=c;for(c=1;c<r;c++)for(d=1;d<s;d++)if(e[l+d-1]===n[a+c-1])t[c][d]=t[c-1][d-1];else{var u=t[c-1][d]+1,h=t[c][d-1]+1;t[c][d]=u<h?u:h}for(l=t.length-1,a=t[0].length-1,r=t[l][a],e=[];0<l||0<a;)0==l?(e.push(2),a--):0==a?(e.push(3),l--):(s=t[l-1][a-1],(u=(c=t[l-1][a])<(d=t[l][a-1])?c<s?c:s:d<s?d:s)==s?(s==r?e.push(0):(e.push(1),r=s),l--,a--):u==c?(e.push(3),l--,r=c):(e.push(2),a--,r=d));for(e.reverse(),t=void 0,l=[],a=0;a<e.length;a++)switch(e[a]){case 0:t&&(l.push(t),t=void 0),o++,i++;break;case 1:t||(t=Le(o,0)),t.S++,o++,t.K.push(n[i]),i++;break;case 2:t||(t=Le(o,0)),t.S++,o++;break;case 3:t||(t=Le(o,0)),t.K.push(n[i]),i++}return t&&l.push(t),l}function ke(e,t){return e===t}var Re=T({dispatchEvent:Ee,addEventListener:Ne,removeEventListener:we}),je=null;function He(){return je||(je=window.ShadyCSS&&window.ShadyCSS.ScopingShim),je||null}function Ie(e,t,n){var r=He();return!(!r||"class"!==t)&&(r.setElementClass(e,n),!0)}function Fe(e,t){var n=He();n&&n.unscopeNode(e,t)}function Be(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=He();return t?t.currentScopeForNode(e):""}function Ue(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&Ue(e,t)}var Ve=window.document,We=s.J,Ge=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),qe=Ge&&Ge.get;function ze(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function Je(e,t,n){if(e=(e=a(e))&&e.I){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=t.childNodes.length;r<o;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,v(function(){e.flush()}))}(e)}}var Ke=T({get parentNode(){var e=a(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=a(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=a(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=a(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=a(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(c(this)){var e=a(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=a(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(qe&&qe.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||y(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(d(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(c(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(void 0!==e&&null!==e||(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!c(this)&&s.h){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&ze(this),this.__shady_native_textContent=e}else ze(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,r){if(this.ownerDocument!==Ve&&e.ownerDocument!==Ve)return this.__shady_native_insertBefore(e,r),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(r){var o=a(r);if(void 0!==(o=o&&o.parentNode)&&o!==this||void 0===o&&r.__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(r===e)return e;Je(this,e);var s=[],l=(o=qt(this))?o.host.localName:Be(this),h=e.__shady_parentNode;if(h){var f=Be(e),p=!!o||!qt(e)||We&&void 0!==this.__noInsertionPoint;h.__shady_removeChild(e,p)}h=!0;var _=(!We||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=He();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,l),m=o&&!e.__noInsertionPoint&&(!We||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(m||_)&&(_&&(f=f||Be(e)),Ue(e,function(e){if(m&&"slot"===e.localName&&s.push(e),_){var t=f;He()&&(t&&Fe(e,t),(t=He())&&t.scopeNode(e,l))}})),s.length&&(Ht(o),o.c.push.apply(o.c,s instanceof Array?s:n(t(s))),Lt(o)),c(this)&&(function(e,t,n){Et(t,2);var r=i(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)Nt(e,t,r,n);else Nt(e,t,r,n)}(e,this,r),(p=a(this)).root?(h=!1,u(this)&&Lt(p.root)):o&&"slot"===this.localName&&(h=!1,Lt(o))),h?(o=d(this)?this.host:this,r?(r=function e(t){var n=t;if(t&&"slot"===t.localName){var r=a(t);(r=r&&r.G)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(r),o.__shady_native_insertBefore(e,r)):o.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!d(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==Ve)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);Je(this,null,e);var n=qt(e),r=n&&function(e,t){if(e.a){It(e);var n,r=e.b;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var s=o[i];if(g(t,s)){o.splice(i,1);var l=e.a.indexOf(s);if(0<=l&&(e.a.splice(l,1),(l=a(s.__shady_parentNode))&&l.M&&l.M--),i--,s=a(s),l=s.G)for(var c=0;c<l.length;c++){var d=l[c],u=d.__shady_native_parentNode;u&&u.__shady_native_removeChild(d)}s.G=[],s.assignedNodes=[],l=!0}}return l}}(n,e),o=a(this);if(c(this)&&(function(e,t){var n=i(e);t=i(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(i(e).nextSibling=r),r&&(i(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),u(this))){Lt(o.root);var s=!0}if(He()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var l=Be(e);Ue(e,function(e){Fe(e,l)})}return function e(t){var n=a(t);if(n&&void 0!==n.W)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=a(t))&&(t.W=void 0)}(e),n&&((t="slot"===this.localName)&&(s=!0),(r||t)&&Lt(n)),s||(s=d(this)?this.host:this,(!o.root&&"slot"!==e.localName||s===e.__shady_native_parentNode)&&s.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=i(this),n=t.W;return void 0===n&&(d(this)?(n=this,t.W=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.W=n))),n}},contains:function(e){return g(this,e)}}),Xe=T({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&Pt(e),(e=a(this))&&e.assignedSlot||null}});function $e(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var a=n,s=r,l=o,c=a(i=t);c&&l.push(i),s&&s(c)?i=c:(e(i,a,s,l),i=void 0)}if(i)break}}(e,t,n,r),r}var Ye=T({get firstElementChild(){var e=a(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=a(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return c(this)?b(Array.prototype.filter.call(N(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}}),Ze=T({querySelector:function(e){return $e(this,function(t){return f.call(t,e)},function(e){return!!e})[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(this.__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return b(t.filter(function(e){return e.__shady_getRootNode()==n}))}return b($e(this,function(t){return f.call(t,e)}))}}),Qe=s.J&&!s.j?O({},Ye):Ye;O(Ye,Ze);var et=window.document;function tt(e,t){if("slot"===t)u(e=e.__shady_parentNode)&&Lt(a(e).root);else if("slot"===e.localName&&"name"===t&&(t=qt(e))){if(t.a){It(t);var n=e.ta,r=Ft(e);if(r!==n){var o=(n=t.b[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.b[r]||(t.b[r]=[])).push(e),1<n.length&&(t.b[r]=Bt(n))}}Lt(t)}}var nt=T({get previousElementSibling(){var e=a(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=a(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==et?this.__shady_native_setAttribute(e,t):Ie(this,e,t)||(this.__shady_native_setAttribute(e,t),tt(this,e))},removeAttribute:function(e){this.ownerDocument!==et?this.__shady_native_removeAttribute(e):Ie(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),tt(this,e))}});s.J||De.forEach(function(e){nt[e]=Ae(e)});var rt=T({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!s.qa){var r=e.shadyUpgradeFragment;if(r.__proto__=ShadowRoot.prototype,At(r,this,e),wt(r,r),e=r.__noInsertionPoint?null:r.querySelectorAll("slot"),r.__noInsertionPoint=void 0,e&&e.length){var o=r;Ht(o),o.c.push.apply(o.c,e instanceof Array?e:n(t(e))),Lt(r)}r.host.__shady_native_appendChild(r)}else r=new Mt(Ot,this,e);return this.__CE_shadowRoot=r},get shadowRoot(){var e=a(this);return e&&e.Fa||null}});O(nt,rt);var ot=document.implementation.createHTMLDocument("inert"),it=T({get innerHTML(){return c(this)?F("template"===this.localName?this.content:this,N):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{ze(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==ot.namespaceURI?ot.createElementNS(this.namespaceURI,t):ot.createElement(t),s.h?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),at=T({blur:function(){var e=a(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});s.J||Me.forEach(function(e){at[e]=Ae(e)});var st=T({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&d(t)&&Pt(t),(t=a(this))&&(e&&e.flatten?t.G:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)Ne.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.A=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)we.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.A=this,r.__shady_removeEventListener(e,t,n)}}}),lt=T({getElementById:function(e){return""===e?null:$e(this,function(t){return t.id==e},function(e){return!!e})[0]||null}}),ct=T({get activeElement(){var e=s.h?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!d(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=qt(e);t&&t!==this;)t=qt(e=t.host);return this===document?t?null:e:t===this?e:null}}),dt=window.document,ut=T({importNode:function(e,t){if(e.ownerDocument!==dt||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),ht=T({dispatchEvent:Ee,addEventListener:Ne.bind(window),removeEventListener:we.bind(window)}),ft={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(ft.parentElement=Ke.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(ft.contains=Ke.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(ft.children=Ye.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(ft.innerHTML=it.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(ft.className=nt.className);var pt={EventTarget:[Re],Node:[Ke,window.EventTarget?null:Re],Text:[Xe],Comment:[Xe],CDATASection:[Xe],ProcessingInstruction:[Xe],Element:[nt,Ye,Xe,!s.h||"innerHTML"in Element.prototype?it:null,window.HTMLSlotElement?null:st],HTMLElement:[at,ft],HTMLSlotElement:[st],DocumentFragment:[Qe,lt],Document:[ut,Qe,lt,ct],Window:[ht]},_t=s.h?null:["innerHTML","textContent"];function mt(e,t,n,r){t.forEach(function(t){return e&&t&&C(e,t,n,r)})}function vt(e){var t,n=e?null:_t;for(t in pt)mt(window[t]&&window[t].prototype,pt[t],e,n)}function yt(e){return e.__shady_protoIsPatched=!0,mt(e,pt.EventTarget),mt(e,pt.Node),mt(e,pt.Element),mt(e,pt.HTMLElement),mt(e,pt.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,mt(n,pt.EventTarget),mt(n,pt.Node),pt[e]&&mt(n,pt[e]),t.prototype.__shady_patchedProto=n});var gt=s.ea,bt=s.h;function Et(e,t){if(gt&&!e.__shady_protoIsPatched&&!d(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(yt(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}bt||(1===t?oe(e):2===t&&ie(e))}function Nt(e,t,n,r){Et(e,1),r=r||null;var o=i(e),s=r?i(r):null;o.previousSibling=r?s.previousSibling:t.__shady_lastChild,(s=a(o.previousSibling))&&(s.nextSibling=e),(s=a(o.nextSibling=r))&&(s.previousSibling=e),o.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function wt(e,t){var n=i(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,Et(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=i(n);o.parentNode=t||e,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,Et(n,1)}}}var Ct=T({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.A=n.A||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.A=n.A||this,this.host.__shady_removeEventListener(e,t,n)}});function St(e,t){C(e,Ct,t),C(e,ct,t),C(e,it,t),C(e,Ye,t),s.j&&!t?(C(e,Ke,t),C(e,lt,t)):s.h||(C(e,ee),C(e,Z),C(e,Q))}var Tt,Ot={},xt=s.deferConnectionCallbacks&&"loading"===document.readyState;function Dt(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function Mt(e,t,n){if(e!==Ot)throw new TypeError("Illegal constructor");this.a=null,At(this,t,n)}function At(e,t,n){if(e.host=t,e.mode=n&&n.mode,wt(e.host),(t=i(e.host)).root=e,t.Fa="closed"!==e.mode?e:null,(t=i(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,s.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else Lt(e)}function Lt(e){e.F||(e.F=!0,M(function(){return Pt(e)}))}function Pt(e){var t;if(t=e.F){for(var n;e;)e.F&&(n=e),d(e=(t=e).host.__shady_getRootNode())&&(t=a(t.host))&&0<t.M||(e=void 0);t=n}(n=t)&&n._renderSelf()}function kt(e,t,n){var r=i(t),o=r.Z;r.Z=null,n||(n=(e=e.b[t.__shady_slot||"__catchall"])&&e[0]),n?(i(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(i(r.assignedSlot).ba=!0)}function Rt(e,t,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=a(o).assignedNodes;i&&i.length&&Rt(e,t,i)}else t.push(n[r])}function jt(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=a(t)).assignedSlot&&jt(e,t.assignedSlot)}function Ht(e){e.c=e.c||[],e.a=e.a||[],e.b=e.b||{}}function It(e){if(e.c&&e.c.length){for(var t,n=e.c,r=0;r<n.length;r++){var o=n[r];wt(o);var i=o.__shady_parentNode;wt(i),(i=a(i)).M=(i.M||0)+1,i=Ft(o),e.b[i]?((t=t||{})[i]=!0,e.b[i].push(o)):e.b[i]=[o],e.a.push(o)}if(t)for(var s in t)e.b[s]=Bt(e.b[s]);e.c=[]}}function Ft(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.ta=t}function Bt(e){return e.sort(function(e,t){e=Dt(e);for(var n=Dt(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=N(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}})}function Ut(e){return It(e),!(!e.a||!e.a.length)}if(Mt.prototype._renderSelf=function(){var e=xt;if(xt=!0,this.F=!1,this.a){It(this);for(var t,n=0;n<this.a.length;n++){var r=a(t=this.a[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.G=[],r.ja=o)for(r=0;r<o.length;r++){var i=a(o[r]);i.Z=i.assignedSlot,i.assignedSlot===t&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)kt(this,n);for(n=0;n<this.a.length;n++){if(!(o=a(t=this.a[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)kt(this,r,t);if((r=(r=a(t.__shady_parentNode))&&r.root)&&(Ut(r)||r.F)&&r._renderSelf(),Rt(this,o.G,o.assignedNodes),r=o.ja){for(i=0;i<r.length;i++)a(r[i]).Z=null;o.ja=null,r.length>o.assignedNodes.length&&(o.ba=!0)}o.ba&&(o.ba=!1,jt(this,t))}for(t=this.a,n=[],o=0;o<t.length;o++)(i=a(r=t[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(i=n[t])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var l=a(i).G,c=0;c<l.length;c++)r.push(l[c]);else r.push(i);i=E(o),l=Pe(r,r.length,i,i.length);for(var d=c=0,u=void 0;c<l.length&&(u=l[c]);c++){for(var h=0,f=void 0;h<u.K.length&&(f=u.K[h]);h++)f.__shady_native_parentNode===o&&o.__shady_native_removeChild(f),i.splice(u.index+d,1);d-=u.S}for(d=0,u=void 0;d<l.length&&(u=l[d]);d++)for(c=i[u.index],h=u.index;h<u.index+u.S;h++)f=r[h],o.__shady_native_insertBefore(f,c),i.splice(h,0,f)}}if(!s.preferPerformance&&!this.ia)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=a(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.ia=!0,xt=e,Tt&&Tt()},function(e){e.__proto__=DocumentFragment.prototype,St(e,"__shady_"),St(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})})}(Mt.prototype),window.customElements&&window.customElements.define&&s.ca&&!s.preferPerformance){var Vt=new Map;Tt=function(){var e=[];Vt.forEach(function(t,n){e.push([n,t])}),Vt.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},xt&&document.addEventListener("readystatechange",function(){xt=!1,Tt()},{once:!0});var Wt=window.customElements.define,Gt=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Wt.call(window.customElements,e,function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){xt?Vt.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){xt?this.isConnected||Vt.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=Gt,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Gt,configurable:!0})}function qt(e){if(d(e=e.__shady_getRootNode()))return e}function zt(e){this.node=e}function Jt(e){Object.defineProperty(zt.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(e=zt.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},e.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},e.appendChild=function(e){return this.node.__shady_appendChild(e)},e.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},e.removeChild=function(e){return this.node.__shady_removeChild(e)},e.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},e.cloneNode=function(e){return this.node.__shady_cloneNode(e)},e.getRootNode=function(e){return this.node.__shady_getRootNode(e)},e.contains=function(e){return this.node.__shady_contains(e)},e.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},e.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},e.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},e.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},e.attachShadow=function(e){return this.node.__shady_attachShadow(e)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},e.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},e.querySelector=function(e){return this.node.__shady_querySelector(e)},e.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},e.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},r.Object.defineProperties(zt.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(d(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(d(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){return this.node.__shady_className=e}}}),De.forEach(function(e){return Jt(e)}),Me.forEach(function(e){return Jt(e)});var Kt=new WeakMap;function Xt(e){if(d(e)||e instanceof zt)return e;var t=Kt.get(e);return t||(t=new zt(e),Kt.set(e,t)),t}if(s.ca){var $t=s.h?function(e){return e}:function(e){return ie(e),oe(e),e},Yt={inUse:s.ca,patch:$t,isShadyRoot:d,enqueue:M,flush:A,flushInitial:function(e){!e.ia&&e.F&&Pt(e)},settings:s,filterMutations:function(e,t){var n=t.getRootNode();return e.map(function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter(function(e){return n===e.getRootNode()})).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var n=i(e);n.I||(n.I=new L),n.I.T.add(t);var r=n.I;return{ua:t,D:r,va:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.D;t&&(t.T.delete(e.ua),t.T.size||(i(e.va).I=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.j?Xt:$t,wrapIfNeeded:!0===s.j?Xt:function(e){return e},Wrapper:zt,composedPath:function(e){return e.__composedPath||(e.__composedPath=fe(e.target,!0)),e.__composedPath},noPatch:s.j,patchOnDemand:s.ea,nativeMethods:U,nativeTree:V,patchElementProto:yt};window.ShadyDOM=Yt,function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?q(window.EventTarget.prototype,e):(q(Node.prototype,e),q(Window.prototype,e)),B?q(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):G(Node.prototype,{parentNode:{get:function(){return z.currentNode=this,z.parentNode()}},firstChild:{get:function(){return z.currentNode=this,z.firstChild()}},lastChild:{get:function(){return z.currentNode=this,z.lastChild()}},previousSibling:{get:function(){return z.currentNode=this,z.previousSibling()}},nextSibling:{get:function(){return z.currentNode=this,z.nextSibling()}},childNodes:{get:function(){var e=[];z.currentNode=this;for(var t=z.firstChild();t;)e.push(t),t=z.nextSibling();return e}},parentElement:{get:function(){return J.currentNode=this,J.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(void 0!==e&&null!==e||(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:X(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),q(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),q(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return J.currentNode=this,J.firstChild()}},lastElementChild:{get:function(){return J.currentNode=this,J.lastChild()}},children:{get:function(){var e=[];J.currentNode=this;for(var t=J.firstChild();t;)e.push(t),t=J.nextSibling();return b(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},B?(q(Element.prototype,$),q(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),q(HTMLElement.prototype,["children","innerHTML","className"])):(G(Element.prototype,e),G(Element.prototype,{previousElementSibling:{get:function(){return J.currentNode=this,J.previousSibling()}},nextElementSibling:{get:function(){return J.currentNode=this,J.nextSibling()}},innerHTML:{get:function(){return F(this,E)},set:function(e){var t="template"===this.localName?this.content:this;X(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==K.namespaceURI?K.createElementNS(this.namespaceURI,n):K.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),q(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),q(Element.prototype,Y),q(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&q(window.HTMLTemplateElement.prototype,["innerHTML"]),B?q(DocumentFragment.prototype,$):G(DocumentFragment.prototype,e),q(DocumentFragment.prototype,Y),B?(q(Document.prototype,$),q(Document.prototype,["activeElement"])):G(Document.prototype,e),q(Document.prototype,["importNode","getElementById"]),q(Document.prototype,Y)}(),vt("__shady_"),Object.defineProperty(document,"_activeElement",ct.activeElement),C(Window.prototype,ht,"__shady_"),s.j?s.ea&&C(Element.prototype,rt):(vt(),function(){if(!se&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in me)window.__shady_native_addEventListener(e,function(e){e.__target||(Se(e),ge(e))},!0)}(),window.Event=Te,window.CustomEvent=Oe,window.MouseEvent=xe,window.ShadowRoot=Mt}var Zt=window.Document.prototype.createElement,Qt=window.Document.prototype.createElementNS,en=window.Document.prototype.importNode,tn=window.Document.prototype.prepend,nn=window.Document.prototype.append,rn=window.DocumentFragment.prototype.prepend,on=window.DocumentFragment.prototype.append,an=window.Node.prototype.cloneNode,sn=window.Node.prototype.appendChild,ln=window.Node.prototype.insertBefore,cn=window.Node.prototype.removeChild,dn=window.Node.prototype.replaceChild,un=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),hn=window.Element.prototype.attachShadow,fn=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),pn=window.Element.prototype.getAttribute,_n=window.Element.prototype.setAttribute,mn=window.Element.prototype.removeAttribute,vn=window.Element.prototype.getAttributeNS,yn=window.Element.prototype.setAttributeNS,gn=window.Element.prototype.removeAttributeNS,bn=window.Element.prototype.insertAdjacentElement,En=window.Element.prototype.insertAdjacentHTML,Nn=window.Element.prototype.prepend,wn=window.Element.prototype.append,Cn=window.Element.prototype.before,Sn=window.Element.prototype.after,Tn=window.Element.prototype.replaceWith,On=window.Element.prototype.remove,xn=window.HTMLElement,Dn=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Mn=window.HTMLElement.prototype.insertAdjacentElement,An=window.HTMLElement.prototype.insertAdjacentHTML,Ln=new Set;function Pn(e){var t=Ln.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(e){return Ln.add(e)});var kn=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function Rn(e){var t=e.isConnected;if(void 0!==t)return t;if(kn(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function jn(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function Hn(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function In(){var e=!(null===ir||void 0===ir||!ir.noDocumentConstructionObserver),t=!(null===ir||void 0===ir||!ir.shadyDomFastWalk);this.H=[],this.a=[],this.C=!1,this.shadyDomFastWalk=t,this.Ma=!e}function Fn(e,t,n,r){var o=window.ShadyDom;if(e.shadyDomFastWalk&&o&&o.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=o.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,r){for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var i=o;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(o=i.import,void 0===r&&(r=new Set),o instanceof Node&&!r.has(o))for(r.add(o),o=o.firstChild;o;o=o.nextSibling)e(o,n,r);o=Hn(t,i);continue}if("template"===a){o=Hn(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,r)}o=o.firstChild?o.firstChild:Hn(t,o)}}(t,n,r)}function Bn(e,t){e.C&&Fn(e,t,function(t){return Un(e,t)})}function Un(e,t){if(e.C&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.H.length;n++)e.H[n](t);for(n=0;n<e.a.length;n++)e.a[n](t)}}function Vn(e,t){var n=[];for(Fn(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state?e.connectedCallback(r):qn(e,r)}}function Wn(e,t){var n=[];for(Fn(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state&&e.disconnectedCallback(r)}}function Gn(e,t,n){var r=(n=void 0===n?{}:n).Na,o=n.upgrade||function(t){return qn(e,t)},i=[];for(Fn(e,t,function(t){if(e.C&&Un(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach(function(e){return i.add(e)}),i.delete(n)),Gn(e,n,{Na:i,upgrade:o})}})}else i.push(t)},r),t=0;t<i.length;t++)o(i[t])}function qn(e,t){try{var n=t.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?tr(r,t.localName):void 0;if(o&&void 0===t.__CE_state){o.constructionStack.push(t);try{try{if(new o.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=o,o.attributeChangedCallback&&t.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],s=t.getAttribute(a);null!==s&&e.attributeChangedCallback(t,a,null,s,null)}}Rn(t)&&e.connectedCallback(t)}}catch(e){Jn(e)}}function zn(e,t,n,r){var o=t.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=tr(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!==t)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 Jn(o),t=null===r?Zt.call(t,n):Qt.call(t,r,n),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,Un(e,t),t}return Un(e,t=null===r?Zt.call(t,n):Qt.call(t,r,n)),t}function Jn(e){var t=e.message,n=e.sourceURL||e.fileName||"",r=e.line||e.lineNumber||0,o=e.column||e.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:r,colno:o,error:e}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,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 e}}),window.dispatchEvent(i),i.defaultPrevented||console.error(e)}function Kn(){var e=this;this.a=void 0,this.ka=new Promise(function(t){e.b=t})}function Xn(e){var t=document;this.D=void 0,this.v=e,this.a=t,Gn(this.v,this.a),"loading"===this.a.readyState&&(this.D=new MutationObserver(this.b.bind(this)),this.D.observe(this.a,{childList:!0,subtree:!0}))}function $n(e){e.D&&e.D.disconnect()}function Yn(e){this.O=new Map,this.P=new Map,this.ga=new Map,this.Y=!1,this.aa=new Map,this.N=function(e){return e()},this.B=!1,this.R=[],this.v=e,this.ha=e.Ma?new Xn(e):void 0}function Zn(e,t){if(!Pn(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(tr(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.Y)throw Error("A custom element is already being defined.")}function Qn(e,t,n){var r;e.Y=!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(e){var t=o[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(e){throw e}finally{e.Y=!1}return n={localName:t,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:r,observedAttributes:c,constructionStack:[]},e.P.set(t,n),e.ga.set(n.constructorFunction,n),n}function er(e){if(!1!==e.B){e.B=!1;for(var t=[],n=e.R,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(Gn(e.v,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):e.P.has(o)&&t.push(n)}}}),o=0;o<t.length;o++)qn(e.v,t[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),s=0;s<a.length;s++)qn(e.v,a[s]);(i=e.aa.get(i))&&i.resolve(void 0)}n.length=0}}function tr(e,t){var n=e.P.get(t);if(n)return n;if(n=e.O.get(t)){e.O.delete(t);try{return Qn(e,t,n())}catch(e){Jn(e)}}}function nr(e,t,n){function r(t){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&&Rn(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(t.apply(this,r),r=0;r<i.length;r++)Wn(e,i[r]);if(Rn(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Vn(e,i)}}void 0!==n.prepend&&(t.prepend=r(n.prepend)),void 0!==n.append&&(t.append=r(n.append))}function rr(e){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var r=this,o=void 0;if(Rn(this)&&(o=[],Fn(e,this,function(e){e!==r&&o.push(e)})),n.set.call(this,t),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&e.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Gn(e,this):Bn(e,this),t}})}function n(t,n){t.insertAdjacentElement=function(t,r){var o=Rn(r);return t=n.call(this,t,r),o&&Wn(e,r),Rn(t)&&Vn(e,r),t}}function r(t,n){function r(t,n){for(var r=[];t!==n;t=t.nextSibling)r.push(t);for(n=0;n<r.length;n++)Gn(e,r[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var o=this.previousSibling;n.call(this,e,t),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===e)o=this.firstChild,n.call(this,e,t),r(this.firstChild,o);else if("beforeend"===e)o=this.lastChild,n.call(this,e,t),r(o||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,e,t),r(this.nextSibling,o)}}}hn&&(Element.prototype.attachShadow=function(t){if(t=hn.call(this,t),e.C&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.H.length;n++)e.H[n](t)}return this.__CE_shadowRoot=t}),fn&&fn.get?t(Element.prototype,fn):Dn&&Dn.get?t(HTMLElement.prototype,Dn):function(e,t){e.C=!0,e.a.push(t)}(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return an.call(this,!0).innerHTML},set:function(e){var t="template"===this.localName,n=t?this.content:this,r=Qt.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<n.childNodes.length;)cn.call(n,n.childNodes[0]);for(e=t?r.content:r;0<e.childNodes.length;)sn.call(n,e.childNodes[0])}})}),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return _n.call(this,t,n);var r=pn.call(this,t);_n.call(this,t,n),n=pn.call(this,t),e.attributeChangedCallback(this,t,r,n,null)},Element.prototype.setAttributeNS=function(t,n,r){if(1!==this.__CE_state)return yn.call(this,t,n,r);var o=vn.call(this,t,n);yn.call(this,t,n,r),r=vn.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return mn.call(this,t);var n=pn.call(this,t);mn.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return gn.call(this,t,n);var r=vn.call(this,t,n);gn.call(this,t,n);var o=vn.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)},Mn?n(HTMLElement.prototype,Mn):bn&&n(Element.prototype,bn),An?r(HTMLElement.prototype,An):En&&r(Element.prototype,En),nr(e,Element.prototype,{prepend:Nn,append:wn}),function(e){function t(t){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&&Rn(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(t.apply(this,r),r=0;r<i.length;r++)Wn(e,i[r]);if(Rn(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Vn(e,i)}}var n=Element.prototype;void 0!==Cn&&(n.before=t(Cn)),void 0!==Sn&&(n.after=t(Sn)),void 0!==Tn&&(n.replaceWith=function(t){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&&Rn(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=Rn(this),Tn.apply(this,n),n=0;n<o.length;n++)Wn(e,o[n]);if(i)for(Wn(e,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&Vn(e,o)}),void 0!==On&&(n.remove=function(){var t=Rn(this);On.call(this),t&&Wn(e,this)})}(e)}In.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(e){Jn(e)}},In.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(e){Jn(e)}},In.prototype.attributeChangedCallback=function(e,t,n,r,o){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,r,o)}catch(e){Jn(e)}},Kn.prototype.resolve=function(e){if(this.a)throw Error("Already resolved.");this.a=e,this.b(e)},Xn.prototype.b=function(e){var t=this.a.readyState;for("interactive"!==t&&"complete"!==t||$n(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)Gn(this.v,n[r])},(e=Yn.prototype).Da=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Zn(this,e),this.O.set(e,t),this.R.push(e),this.B||(this.B=!0,this.N(function(){return er(n)}))},e.define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Zn(this,e),Qn(this,e,t),this.R.push(e),this.B||(this.B=!0,this.N(function(){return er(n)}))},e.upgrade=function(e){Gn(this.v,e)},e.get=function(e){if(e=tr(this,e))return e.constructorFunction},e.whenDefined=function(e){if(!Pn(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.aa.get(e);if(t)return t.ka;t=new Kn,this.aa.set(e,t);var n=this.P.has(e)||this.O.has(e);return e=-1===this.R.indexOf(e),n&&e&&t.resolve(void 0),t.ka},e.polyfillWrapFlushCallback=function(e){this.ha&&$n(this.ha);var t=this.N;this.N=function(n){return e(function(){return t(n)})}},window.CustomElementRegistry=Yn,Yn.prototype.define=Yn.prototype.define,Yn.prototype.upgrade=Yn.prototype.upgrade,Yn.prototype.get=Yn.prototype.get,Yn.prototype.whenDefined=Yn.prototype.whenDefined,Yn.prototype.polyfillDefineLazy=Yn.prototype.Da,Yn.prototype.polyfillWrapFlushCallback=Yn.prototype.polyfillWrapFlushCallback;var or={};var ir=window.customElements;function ar(){var e=new In;!function(e){function t(){var t=this.constructor,n=document.__CE_registry.ga.get(t);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=Zt.call(document,n.localName),Object.setPrototypeOf(r,t.prototype),r.__CE_state=1,r.__CE_definition=n,Un(e,r),r;var o=r.length-1,i=r[o];if(i===or)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[o]=or,Object.setPrototypeOf(i,t.prototype),Un(e,i),i}t.prototype=xn.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t}(e),function(e){Document.prototype.createElement=function(t){return zn(e,this,t,null)},Document.prototype.importNode=function(t,n){return t=en.call(this,t,!!n),this.__CE_registry?Gn(e,t):Bn(e,t),t},Document.prototype.createElementNS=function(t,n){return zn(e,this,n,t)},nr(e,Document.prototype,{prepend:tn,append:nn})}(e),nr(e,DocumentFragment.prototype,{prepend:rn,append:on}),function(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&Rn(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,t),r)for(t=0;t<r.length;t++)Wn(e,r[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var r=jn(t);if(t=ln.call(this,t,n),Rn(this))for(n=0;n<r.length;n++)Vn(e,r[n]);return t}return r=t instanceof Element&&Rn(t),n=ln.call(this,t,n),r&&Wn(e,t),Rn(this)&&Vn(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=jn(t);if(t=sn.call(this,t),Rn(this))for(var r=0;r<n.length;r++)Vn(e,n[r]);return t}return n=t instanceof Element&&Rn(t),r=sn.call(this,t),n&&Wn(e,t),Rn(this)&&Vn(e,t),r},Node.prototype.cloneNode=function(t){return t=an.call(this,!!t),this.ownerDocument.__CE_registry?Gn(e,t):Bn(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&Rn(t),r=cn.call(this,t);return n&&Wn(e,t),r},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var r=jn(t);if(t=dn.call(this,t,n),Rn(this))for(Wn(e,n),n=0;n<r.length;n++)Vn(e,r[n]);return t}r=t instanceof Element&&Rn(t);var o=dn.call(this,t,n),i=Rn(this);return i&&Wn(e,n),r&&Wn(e,t),i&&Vn(e,t),o},un&&un.get?t(Node.prototype,un):function(e,t){e.C=!0,e.H.push(t)}(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")},set:function(e){for(;this.firstChild;)cn.call(this,this.firstChild);null!=e&&""!==e&&sn.call(this,document.createTextNode(e))}})})}(e),rr(e),e=new Yn(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}function sr(){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 lr(e){var t=e=e.replace(_r,"").replace(mr,""),n=new sr;n.start=0,n.end=t.length;for(var r=n,o=0,i=t.length;o<i;o++)if("{"===t[o]){r.rules||(r.rules=[]);var a=r,s=a.rules[a.rules.length-1]||null;(r=new sr).start=o+1,r.parent=a,r.previous=s,a.rules.push(r)}else"}"===t[o]&&(r.end=o+1,r=r.parent||n);return function e(t,n){var r=n.substring(t.start,t.end-1);t.parsedCssText=t.cssText=r.trim();t.parent&&(r=n.substring(t.previous?t.previous.end:t.parent.start,t.start-1),r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e})}(r),r=r.replace(Nr," "),r=r.substring(r.lastIndexOf(";")+1),r=t.parsedSelector=t.selector=r.trim(),t.atRule=0===r.indexOf("@"),t.atRule?0===r.indexOf("@media")?t.type=fr:r.match(Er)&&(t.type=hr,t.keyframesName=t.selector.split(Nr).pop()):t.type=0===r.indexOf("--")?pr:ur);if(r=t.rules)for(var o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++)e(a,n);return t}(n,e)}ir&&!ir.forcePolyfill&&"function"==typeof ir.define&&"function"==typeof ir.get||ar(),window.__CE_installPolyfill=ar;var cr,dr,ur=1,hr=7,fr=4,pr=1e3,_r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,mr=/@import[^;]*;/gim,vr=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,yr=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,gr=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,br=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Er=/^@[^\s]*keyframes/,Nr=/\s+/g,wr=!(window.ShadyDOM&&window.ShadyDOM.inUse);function Cr(e){cr=(!e||!e.shimcssproperties)&&(wr||!(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&&(dr=window.ShadyCSS.cssBuild);var Sr=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?cr=window.ShadyCSS.nativeCss:window.ShadyCSS?(Cr(window.ShadyCSS),window.ShadyCSS=void 0):Cr(window.WebComponents&&window.WebComponents.flags);var Tr=cr,Or=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,xr=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Dr=/(--[\w-]+)\s*([:,;)]|$)/gi,Mr=/(animation\s*:)|(animation-name\s*:)/,Ar=/@media\s(.*)/,Lr=/\{[^}]*\}/g,Pr=new Set;function kr(e,t){return e?("string"==typeof e&&(e=lr(e)),t&&Hr(e,t),function e(t,n,r){r=void 0===r?"":r;var o="";if(t.cssText||t.rules){var i,a=t.rules;if((i=a)&&(i=!((i=a[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var s=a.length,l=void 0;i<s&&(l=a[i]);i++)o=e(l,n,o)}else n=n?t.cssText:(n=(n=t.cssText).replace(vr,"").replace(yr,"")).replace(gr,"").replace(br,""),(o=n.trim())&&(o="  "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" {\n"),r+=o,t.selector&&(r+="}\n\n")),r}(e,Tr)):""}function Rr(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=lr(e.textContent)),e.__cssRules||null}function jr(e){return!!e.parent&&e.parent.type===hr}function Hr(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===fr){var a=e.selector.match(Ar);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===ur?t(e):n&&i===hr?n(e):i===pr&&(o=!0),(e=e.rules)&&!o)for(o=0,i=e.length,a=void 0;o<i&&(a=e[o]);o++)Hr(a,t,n,r)}}function Ir(e,t,n,r){var o=document.createElement("style");return t&&o.setAttribute("scope",t),o.textContent=e,Ur(o,n,r),o}var Fr=null;function Br(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(Fr?Fr.nextSibling:null)||t.firstChild),Fr=e}function Ur(e,t,n){(t=t||document.head).insertBefore(e,n&&n.nextSibling||t.firstChild),Fr?e.compareDocumentPosition(Fr)===Node.DOCUMENT_POSITION_PRECEDING&&(Fr=e):Fr=e}function Vr(e,t){for(var n=0,r=e.length;t<r;t++)if("("===e[t])n++;else if(")"===e[t]&&0==--n)return t;return-1}function Wr(e,t){wr?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var Gr=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function qr(e){var t=e.localName,n="";return t?-1<t.indexOf("-")||(n=t,t=e.getAttribute&&e.getAttribute("is")||""):(t=e.is,n=e.extends),{is:t,L:n}}function zr(e){for(var t=[],n="",r=0;0<=r&&r<e.length;r++)if("("===e[r]){var o=Vr(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function Jr(e){if(void 0!==dr)return dr;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}function Kr(e){return!(""===(e=void 0===e?"":e)||!Tr)&&(wr?"shadow"===e:"shady"===e)}function Xr(){}function $r(e,t,n){var r;if(t.nodeType===Node.ELEMENT_NODE&&n(t),r="template"===t.localName?(t.content||t._content||t).childNodes:t.children||t.childNodes)for(t=0;t<r.length;t++)$r(e,r[t],n)}function Yr(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute("class");n?r&&Wr(e,t=r.replace("style-scope","").replace(t,"")):Wr(e,(r?r+" ":"")+"style-scope "+t)}}function Zr(e,t,n){$r(_o,e,function(e){Yr(e,t,!0),Yr(e,n)})}function Qr(e,t){$r(_o,e,function(e){Yr(e,t||"",!0)})}function eo(e,t,n,r,o){var i=_o;return""===(o=void 0===o?"":o)&&(wr||"shady"===(void 0===r?"":r)?o=kr(t,n):o=function(e,t,n,r,o){var i=to(n,r);return n=n?"."+n:"",kr(t,function(t){t.c||(t.selector=t.g=no(e,t,e.b,n,i),t.c=!0),o&&o(t,n,i)})}(i,t,(e=qr(e)).is,e.L,n)+"\n\n"),o.trim()}function to(e,t){return t?"[is="+e+"]":e}function no(e,t,n,r,o){var i=zr(t.selector);if(!jr(t)){t=0;for(var a=i.length,s=void 0;t<a&&(s=i[t]);t++)i[t]=n.call(e,s,r,o)}return i.filter(function(e){return!!e}).join(",")}function ro(e){return e.replace(ao,function(e,t,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+t+"("+n+")"})}function oo(e,t){e=e.split(/(\[.+?\])/);for(var n=[],r=0;r<e.length;r++)if(1==r%2)n.push(e[r]);else{var o=e[r];""===o&&r===e.length-1||((o=o.split(":"))[0]+=t,n.push(o.join(":")))}return n.join("")}function io(e){":root"===e.selector&&(e.selector="html")}Xr.prototype.b=function(e,t,n){var r=!1;e=e.trim();var o=ao.test(e);o&&(e=ro(e=e.replace(ao,function(e,t,n){return":"+t+"("+n.replace(/\s/g,"")+")"})));var i=po.test(e);if(i){var a=function(e){for(var t,n=[];t=e.match(po);){var r=t.index,o=Vr(e,r);if(-1===o)throw Error(t.input+" selector missing ')'");t=e.slice(r,o+1),e=e.replace(t,""),n.push(t)}return{fa:e,matches:n}}(e);e=a.fa,a=a.matches}return e=(e=e.replace(co,":host $1")).replace(so,function(e,o,i){return r||(e=function(e,t,n,r){var o=e.indexOf("::slotted");if(0<=e.indexOf(":host")?e=function(e,t){var n=e.match(uo);return(n=n&&n[2].trim()||"")?n[0].match(lo)?e.replace(uo,function(e,n,r){return t+r}):n.split(lo)[0]===t?n:"should_not_match":e.replace(":host",t)}(e,r):0!==o&&(e=n?oo(e,n):e),n=!1,0<=o&&(t="",n=!0),n){var i=!0;n&&(e=e.replace(ho,function(e,t){return" > "+t}))}return{value:e,xa:t,stop:i}}(i,o,t,n),r=r||e.stop,o=e.xa,i=e.value),o+i}),i&&(e=function(e,t){var n=e.split("");return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}(e,a)),o&&(e=ro(e)),e.replace(fo,function(e,t,n,r){return'[dir="'+n+'"] '+t+r+", "+t+'[dir="'+n+'"]'+r})},Xr.prototype.c=function(e){return e.match(":host")?"":e.match("::slotted")?this.b(e,":not(.style-scope)"):oo(e.trim(),":not(.style-scope)")},r.Object.defineProperties(Xr.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var ao=/:(nth[-\w]+)\(([^)]+)\)/,so=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,lo=/[[.:#*]/,co=/^(::slotted)/,uo=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ho=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,fo=/(.*):dir\((?:(ltr|rtl))\)(.*)/,po=/:(?:matches|any|-(?:webkit|moz)-any)/,_o=new Xr;function mo(e,t,n,r,o){this.o=e||null,this.b=t||null,this.da=n||[],this.l=null,this.cssBuild=o||"",this.L=r||"",this.a=this.m=this.u=null}function vo(e){return e?e.__styleInfo:null}function yo(e,t){return e.__styleInfo=t}function go(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}mo.prototype.c=function(){return this.o},mo.prototype._getStyleRules=mo.prototype.c;var bo=/:host\s*>\s*/,Eo=navigator.userAgent.match("Trident");function No(){}function wo(e){if(!e.f){var t={},n={};Co(e,n)&&(t.s=n,e.rules=null),t.cssText=e.parsedCssText.replace(Lr,"").replace(Or,""),e.f=t}}function Co(e,t){var n=e.f;if(!n){n=e.parsedCssText;for(var r;e=Or.exec(n);)"inherit"===(r=(e[2]||e[3]).trim())&&"unset"===r||(t[e[1].trim()]=r),r=!0;return r}if(n.s)return Object.assign(t,n.s),!0}function So(e,t,n){return t&&(t=0<=t.indexOf(";")?To(e,t,n):function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=Vr(t,r+3),i=t.substring(r+4,o);return r=t.substring(0,r),t=e(t.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",t):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),t)}(t,function(t,r,o,i){return r?((r=So(e,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=So(e,n[o]||o,n)||o,t+(r||"")+i):t+i})),t&&t.trim()||""}function To(e,t,n){t=t.split(";");for(var r,o,i=0;i<t.length;i++)if(r=t[i]){if(xr.lastIndex=0,o=xr.exec(r))r=So(e,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=So(e,a=a.trim(),n)||a,r=r.substring(0,o)+a}t[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return t.join(";")}function Oo(e,t,n){var r={},o={};return Hr(t,function(t){!function(e,t,n,r){if(t.f||wo(t),t.f.s){var o=qr(e);e=o.is,o=o.L,o=e?to(e,o):"html";var i=t.parsedSelector,a=!!i.match(bo)||"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&&(t.g||(t.g=no(_o,t,_o.b,e?"."+e:"",o)),n=t.g||o),a&&"html"===o&&(n=t.g||t.U),r({fa:n,Ca:s,Pa:a}))}}(e,t,n,function(n){go.call(e._element||e,n.fa)&&(n.Ca?Co(t,r):Co(t,o))})},null,!0),{Ga:o,Ba:r}}function xo(e,t,n,r){var o=qr(t),i=to(o.is,o.L),a=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=vo(t);o=s.o,s=s.cssBuild;var l=function(e,t){e=e.b;var n={};if(!wr&&e)for(var r=0,o=e[r];r<e.length;o=e[++r]){var i=o,a=t;i.i=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.a=i.keyframesName+"-"+a,i.g=i.g||i.selector,i.selector=i.g.replace(i.keyframesName,i.a),n[o.keyframesName]=Do(o)}return n}(o,r);return eo(t,o,function(t){var o="";if(t.f||wo(t),t.f.cssText&&(o=To(e,t.f.cssText,n)),t.cssText=o,!wr&&!jr(t)&&t.cssText){var s=o=t.cssText;if(null==t.ma&&(t.ma=Mr.test(o)),t.ma)if(null==t.V)for(var c in t.V=[],l)o!==(s=(s=l[c])(o))&&(o=s,t.V.push(c));else{for(c=0;c<t.V.length;++c)o=(s=l[t.V[c]])(o);s=o}t.cssText=s,t.g=t.g||t.selector,o="."+r,s=0;for(var d=(c=zr(t.g)).length,u=void 0;s<d&&(u=c[s]);s++)c[s]=u.match(a)?u.replace(i,o):o+" "+u;t.selector=c.join(",")}},s)}function Do(e){return function(t){return t.replace(e.i,e.a)}}function Mo(e,t){var n=Ao,r=Rr(e);e.textContent=kr(r,function(e){var r=e.cssText=e.parsedCssText;e.f&&e.f.cssText&&(r=r.replace(vr,"").replace(yr,""),e.cssText=To(n,r,t))})}r.Object.defineProperties(No.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ao=new No,Lo={},Po=window.customElements;if(Po&&!wr&&!Sr){var ko=Po.define;Po.define=function(e,t,n){Lo[e]||(Lo[e]=Br(e)),ko.call(Po,e,t,n)}}function Ro(){this.cache={}}function jo(){}Ro.prototype.store=function(e,t,n,r){var o=this.cache[e]||[];o.push({s:t,styleElement:n,m:r}),100<o.length&&o.shift(),this.cache[e]=o};var Ho=new RegExp(_o.a+"\\s*([^\\s]*)");function Io(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(Ho))?e[1]:""}function Fo(e){var t=Gr(e).getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?qr(e).is:""}function Bo(e){for(var t=0;t<e.length;t++){var n=e[t];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=Io(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===Jr(o)))Qr(o,a);else if(i instanceof ShadowRoot)for((i=Fo(o))!==a&&Zr(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+_o.a+")"),a=0;a<o.length;a++){var s=Fo(i=o[a]);s&&Yr(i,s)}}}}}if(!(wr||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Uo=new MutationObserver(Bo),Vo=function(e){Uo.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Vo(document);else{var Wo=function(){Vo(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Wo):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){Wo(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else Wo()})}jo=function(){Bo(Uo.takeRecords())}}var Go={},qo=Promise.resolve();function zo(e){(e=Go[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Jo(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var Ko={},Xo=new Ro;function $o(){this.la={},this.c=document.documentElement;var e=new sr;e.rules=[],this.i=yo(this.c,new mo(e)),this.U=!1,this.a=this.b=null}function Yo(e){var t=qr(e),n=t.is;t=t.L;var r=Lo[n]||null,o=Go[n];if(o)return yo(e,t=new mo(n=o._styleAst,r,o.a,t,o=Jr(o))),t}function Zo(e){if(!e.b&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.b=window.ShadyCSS.ApplyShim,e.b.invalidCallback=zo;var t=!0}else t=!1;return function(e){!e.a&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.a=window.ShadyCSS.CustomStyleInterface,e.a.transformCallback=function(t){e.pa(t)},e.a.validateCallback=function(){requestAnimationFrame(function(){(e.a.enqueued||e.U)&&e.flushCustomStyles()})})}(e),t}function Qo(e,t,n){var r=qr(t).is;if(n.l){var o,i=n.l;for(o in i)null===o?t.style.removeProperty(o):t.style.setProperty(o,i[o])}!(i=Go[r])&&t!==e.c||i&&""!==Jr(i)||!i||!i._style||Jo(i)||((Jo(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(Zo(e),e.b&&e.b.transformRules(i._styleAst,r),i._style.textContent=eo(t,n.o),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,qo.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}(i)),wr&&(e=t.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=eo(t,n.o)),n.o=i._styleAst)}function ei(e,t){return(t=Gr(t).getRootNode().host)?vo(t)||Yo(t)?t:ei(e,t):e.c}function ti(e,t,n){var r=ei(e,t),o=vo(r),i=o.u;for(var a in r===e.c||i||(ti(e,r,o),i=o.u),e=Object.create(i||null),r=Oo(t,n.o,n.cssBuild),t=function(e,t){var n={},r=[];return Hr(e,function(e){e.f||wo(e);var o=e.g||e.parsedSelector;t&&e.f.s&&o&&go.call(t,o)&&(Co(e,n),e=e.index,o=parseInt(e/32,10),r[o]=(r[o]||0)|1<<e%32)},null,!0),{s:n,key:r}}(o.o,t).s,Object.assign(e,r.Ba,t,r.Ga),t=n.l)((o=t[a])||0===o)&&(e[a]=o);for(a=Ao,t=Object.getOwnPropertyNames(e),o=0;o<t.length;o++)e[r=t[o]]=So(a,e[r],e);n.u=e}(e=$o.prototype).flush=function(){jo()},e.za=function(e){return Rr(e)},e.Ka=function(e){return kr(e)},e.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},e.prepareTemplateStyles=function(e,t,n){if(!e._prepared&&!Sr){wr||Lo[t]||(Lo[t]=Br(t)),e._prepared=!0,e.name=t,e.extends=n,Go[t]=e;var r=Jr(e),o=Kr(r);n={is:t,extends:n};for(var i=[],a=e.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!wr){var c=l.textContent;if(!Pr.has(c)){Pr.add(c);var d=document.createElement("style");d.setAttribute("shady-unscoped",""),d.textContent=c,document.head.appendChild(d)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(Ko[t]||""),Zo(this),o||((a=!r)&&(a=xr.test(i)||Or.test(i),xr.lastIndex=0,Or.lastIndex=0),s=lr(i),a&&Tr&&this.b&&this.b.transformRules(s,t),e._styleAst=s),a=[],Tr||(a=function(e){var t={},n=[],r=0;for(var o in Hr(e,function(e){wo(e),e.index=r++,e=e.f.cssText;for(var n;n=Dr.exec(e);){var o=n[1];":"!==n[2]&&(t[o]=!0)}},function(e){n.push(e)}),e.b=n,e=[],t)e.push(o);return e}(e._styleAst)),a.length&&!Tr||(s=wr?e.content:null,t=Lo[t]||null,r=(r=eo(n,e._styleAst,null,r,o?i:"")).length?Ir(r,n.is,s,t):null,e._style=r),e.a=a}},e.Ea=function(e,t){Ko[t]=e.join(" ")},e.prepareTemplateDom=function(e,t){if(!Sr){var n=Jr(e);wr||"shady"===n||e._domPrepared||(e._domPrepared=!0,function(e,t){$r(_o,e,function(e){Yr(e,t||"")})}(e.content,t))}},e.flushCustomStyles=function(){if(!Sr){var e=Zo(this);if(this.a){var t=this.a.processStyles();if((e||this.a.enqueued)&&!Kr(this.i.cssBuild)){if(Tr){if(!this.i.cssBuild)for(e=0;e<t.length;e++){var n=this.a.getStyleForCustomStyle(t[e]);if(n&&Tr&&this.b){var r=Rr(n);Zo(this),this.b.transformRules(r),n.textContent=kr(r)}}}else{for(function(e,t){(t=t.map(function(t){return e.a.getStyleForCustomStyle(t)}).filter(function(e){return!!e})).sort(function(e,t){return(e=t.compareDocumentPosition(e))&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),e.i.o.rules=t.map(function(e){return Rr(e)})}(this,t),ti(this,this.c,this.i),e=0;e<t.length;e++)(n=this.a.getStyleForCustomStyle(t[e]))&&Mo(n,this.i.u);this.U&&this.styleDocument()}this.a.enqueued=!1}}}},e.styleElement=function(e,t){if(Sr){if(t){vo(e)||yo(e,new mo(null));var n=vo(e);n.l=n.l||{},Object.assign(n.l,t),Qo(this,e,n)}}else if(n=vo(e)||Yo(e))if(e!==this.c&&(this.U=!0),t&&(n.l=n.l||{},Object.assign(n.l,t)),Tr)Qo(this,e,n);else if(this.flush(),ti(this,e,n),n.da&&n.da.length){var r;t=qr(e).is;e:{if(r=Xo.cache[t])for(var o=r.length-1;0<=o;o--){var i=r[o];t:{for(var a=n.da,s=0;s<a.length;s++){var l=a[s];if(i.s[l]!==n.u[l]){a=!1;break t}}a=!0}if(a){r=i;break e}}r=void 0}a=r?r.styleElement:null,o=n.m,(i=r&&r.m)||(i=t+"-"+(i=this.la[t]=(this.la[t]||0)+1)),n.m=i,i=n.m,s=Ao,s=a?a.textContent||"":xo(s,e,n.u,i);var c=(l=vo(e)).a;c&&!wr&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),wr?l.a?(l.a.textContent=s,a=l.a):s&&(a=Ir(s,i,e.shadowRoot,l.b)):a?a.parentNode||(Eo&&-1<s.indexOf("@media")&&(a.textContent=s),Ur(a,null,l.b)):s&&(a=Ir(s,i,null,l.b)),a&&(a._useCount=a._useCount||0,l.a!=a&&a._useCount++,l.a=a),i=a,wr||(a=n.m,l=s=e.getAttribute("class")||"",o&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&Wr(e,l)),r||Xo.store(t,n.u,i,n.m)}},e.styleDocument=function(e){this.styleSubtree(this.c,e)},e.styleSubtree=function(e,t){var n=Gr(e),r=n.shadowRoot,o=e===this.c;if((r||o)&&this.styleElement(e,t),e=o?n:r)for(e=Array.from(e.querySelectorAll("*")).filter(function(e){return Gr(e).shadowRoot}),t=0;t<e.length;t++)this.styleSubtree(e[t])},e.pa=function(e){var t=this,n=Jr(e);if(n!==this.i.cssBuild&&(this.i.cssBuild=n),!Kr(n)){var r=Rr(e);Hr(r,function(e){if(wr)io(e);else{var r=_o;e.selector=e.parsedSelector,io(e),e.selector=e.g=no(r,e,r.c,void 0,void 0)}Tr&&""===n&&(Zo(t),t.b&&t.b.transformRule(e))}),Tr?e.textContent=kr(r):this.i.o.rules.push(r)}},e.getComputedStyleValue=function(e,t){var n;return Tr||(n=(vo(e)||vo(ei(this,e))).u[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""},e.Ja=function(e,t){var n,r=Gr(e).getRootNode();if(n=t?("string"==typeof t?t:String(t)).split(/\s/):[],!(t=r.host&&r.host.localName)&&(r=e.getAttribute("class"))){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===_o.a){t=r[o+1];break}}t&&n.push(_o.a,t),Tr||(t=vo(e))&&t.m&&n.push(Ao.a,t.m),Wr(e,n.join(" "))},e.wa=function(e){return vo(e)},e.Ia=function(e,t){Yr(e,t)},e.La=function(e,t){Yr(e,t,!0)},e.Ha=function(e){return Fo(e)},e.ya=function(e){return Io(e)},$o.prototype.flush=$o.prototype.flush,$o.prototype.prepareTemplate=$o.prototype.prepareTemplate,$o.prototype.styleElement=$o.prototype.styleElement,$o.prototype.styleDocument=$o.prototype.styleDocument,$o.prototype.styleSubtree=$o.prototype.styleSubtree,$o.prototype.getComputedStyleValue=$o.prototype.getComputedStyleValue,$o.prototype.setElementClass=$o.prototype.Ja,$o.prototype._styleInfoForNode=$o.prototype.wa,$o.prototype.transformCustomStyleForDocument=$o.prototype.pa,$o.prototype.getStyleAst=$o.prototype.za,$o.prototype.styleAstToString=$o.prototype.Ka,$o.prototype.flushCustomStyles=$o.prototype.flushCustomStyles,$o.prototype.scopeNode=$o.prototype.Ia,$o.prototype.unscopeNode=$o.prototype.La,$o.prototype.scopeForNode=$o.prototype.Ha,$o.prototype.currentScopeForNode=$o.prototype.ya,$o.prototype.prepareAdoptedCssText=$o.prototype.Ea,Object.defineProperties($o.prototype,{nativeShadow:{get:function(){return wr}},nativeCss:{get:function(){return Tr}}});var ni,ri,oi=new $o;window.ShadyCSS&&(ni=window.ShadyCSS.ApplyShim,ri=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:oi,prepareTemplate:function(e,t,n){oi.flushCustomStyles(),oi.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){oi.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){oi.flushCustomStyles(),oi.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){oi.flushCustomStyles(),oi.styleSubtree(e,t)},styleElement:function(e){oi.flushCustomStyles(),oi.styleElement(e)},styleDocument:function(e){oi.flushCustomStyles(),oi.styleDocument(e)},flushCustomStyles:function(){oi.flushCustomStyles()},getComputedStyleValue:function(e,t){return oi.getComputedStyleValue(e,t)},nativeCss:Tr,nativeShadow:wr,cssBuild:dr,disableRuntime:Sr},ni&&(window.ShadyCSS.ApplyShim=ni),ri&&(window.ShadyCSS.CustomStyleInterface=ri)}).call(this);

The same content is in 2 releases, Joomla 4.0.0-beta4 to 4.0.0-beta5. See them all, or every version of this file.