!function(t,e){"use strict";function n(){var t=M.splice(0,M.length);for(Qt=0;t.length;)t.shift().call(null,t.shift())}function o(t,e){for(var n=0,o=t.length;n1)&&y(this)}}}),Pt(i,q,{value:function(t){-1>0,x="__"+k+P,j="addEventListener",I="attached",R="Callback",V="detached",U="extends",q="attributeChanged"+R,B=I+R,W="connected"+R,z="disconnected"+R,Z="created"+R,G=V+R,X="ADDITION",$="REMOVAL",K="DOMAttrModified",Q="DOMContentLoaded",Y="DOMSubtreeModified",J="<",tt="=",et=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,nt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ot=[],rt=[],it="",lt=T.documentElement,at=ot.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},ct=C.prototype,ut=ct.hasOwnProperty,st=ct.isPrototypeOf,ft=C.defineProperty,dt=[],pt=C.getOwnPropertyDescriptor,ht=C.getOwnPropertyNames,mt=C.getPrototypeOf,Et=C.setPrototypeOf,vt=!!C.__proto__,gt="__dreCEv1",yt=t.customElements,wt=!/^force/.test(e.type)&&!!(yt&&yt.define&&yt.get&&yt.whenDefined),bt=C.create||C,Tt=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[at.call(e,t)]},set:function(o,r){(t=at.call(e,o))<0?n[e.push(o)-1]=r:n[t]=r}}},Ct=t.Promise||function(t){function e(t){for(o=!0;n.length;)n.shift()(t)}var n=[],o=!1,r={catch:function(){return r},then:function(t){return n.push(t),o&&setTimeout(e,1),r}};return t(e),r},Lt=!1,Mt=bt(null),_t=bt(null),Ht=new Tt,Nt=function(t){return t.toLowerCase()},At=C.create||function t(e){return e?(t.prototype=e,new t):this},Dt=Et||(vt?function(t,e){return t.__proto__=e,t}:ht&&pt?function(){function t(t,e){for(var n,o=ht(e),r=0,i=o.length;r
",new Ot(function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(F=pt(Ft,"innerHTML"))&&F.set;n&&ft(Ft,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),F=null}).observe(F,{childList:!0,subtree:!0}),F.innerHTML=""),Yt||(Et||vt?(O=function(t,e){st.call(e,t)||d(t,e)},S=d):S=O=function(t,e){t[x]||(t[x]=C(!0),d(t,e))},kt?(ee=!1,function(){var t=pt(Ft,j),e=t.value,n=function(t){var e=new CustomEvent(K,{bubbles:!0});e.attrName=t,e.prevValue=qt.call(this,t),e.newValue=null,e[$]=e.attrChange=2,Wt.call(this,t),Ut.call(this,e)},o=function(t,e){var n=Bt.call(this,t),o=n&&qt.call(this,t),r=new CustomEvent(K,{bubbles:!0});zt.call(this,t,e),r.attrName=t,r.prevValue=n?o:null,r.newValue=e,n?r.MODIFICATION=r.attrChange=1:r[X]=r.attrChange=0,Ut.call(this,r)},r=function(t){var e,n=t.currentTarget,o=n[x],r=t.propertyName;o.hasOwnProperty(r)&&(o=o[r],(e=new CustomEvent(K,{bubbles:!0})).attrName=o.name,e.prevValue=o.value||null,e.newValue=o.value=n[r]||null,null==e.prevValue?e[X]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,Ut.call(n,e))};t.value=function(t,i,l){t===K&&this[q]&&this.setAttribute!==o&&(this[x]={className:{name:"class",value:this.className}},this.setAttribute=o,this.removeAttribute=n,e.call(this,"propertychange",r)),e.call(this,t,i,l)},ft(Ft,j,t)}()):Ot||(lt[j](K,Kt),lt.setAttribute(x,1),lt.removeAttribute(x),ee&&(_=function(t){var e,n,o,r=this;if(r===t.target){for(o in e=r[x],r[x]=n=N(r),n){if(!(o in e))return H(0,r,o,e[o],n[o],X);if(n[o]!==e[o])return H(1,r,o,e[o],n[o],"MODIFICATION")}for(o in e)if(!(o in n))return H(2,r,o,e[o],n[o],$)}},H=function(t,e,n,o,r,i){var l={attrChange:t,currentTarget:e,attrName:n,prevValue:o,newValue:r};l[i]=t,a(l)},N=function(t){for(var e,n,o={},r=t.attributes,i=0,l=r.length;i$");if(n[U]="a",(e.prototype=At(St.prototype)).constructor=e,t.customElements.define(o,e,n),!r.test(T.createElement("a",{is:o}).outerHTML)||!r.test((new e).outerHTML))throw n}(function t(){return Reflect.construct(St,[],t)},{},"document-register-element-a"+P)}catch(re){b()}if(!e.noBuiltIn)try{if(Zt.call(T,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(ie){Nt=function(t){return{is:t.toLowerCase()}}}}(window),(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,l=window.DocumentFragment.prototype.append,a=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,u=window.Node.prototype.insertBefore,s=window.Node.prototype.removeChild,f=window.Node.prototype.replaceChild,d=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),p=window.Element.prototype.attachShadow,h=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,E=window.Element.prototype.setAttribute,v=window.Element.prototype.removeAttribute,g=window.Element.prototype.getAttributeNS,y=window.Element.prototype.setAttributeNS,w=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,T=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,L=window.Element.prototype.append,M=window.Element.prototype.before,_=window.Element.prototype.after,H=window.Element.prototype.replaceWith,N=window.Element.prototype.remove,A=window.HTMLElement,D=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),O=window.HTMLElement.prototype.insertAdjacentElement,S=window.HTMLElement.prototype.insertAdjacentHTML,F=new Set;function k(t){var e=F.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return F.add(t)});var P=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(P(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function j(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function R(t,e,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,void 0===n&&(n=new Set),o instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)R(o,e,n);o=I(t,r);continue}if("template"===i){o=I(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)R(r,e,n)}o=o.firstChild?o.firstChild:I(t,o)}}function V(){var t=!(null==lt||!lt.noDocumentConstructionObserver),e=!(null==lt||!lt.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function U(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e