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