Files
webcomponentsjs/webcomponents-hi-sd-ce.js
Daniel Freedman b6b2d5d348 rebuild
2017-02-17 15:42:35 -08:00

7 lines
83 KiB
JavaScript

(function(){'use strict';function _(Ut){return Ut=$(Ut),te(ee(Ut),Ut)}function $(Ut){return Ut.replace(De.comments,'').replace(De.port,'')}function ee(Ut){let qt=new xe;qt.start=0,qt.end=Ut.length;let Wt=qt;for(let Bt=0,jt=Ut.length;Bt<jt;Bt++)if(Ut[Bt]===Oe){Wt.rules||(Wt.rules=[]);let Kt=Wt,Gt=Kt.rules[Kt.rules.length-1]||null;Wt=new xe,Wt.start=Bt+1,Wt.parent=Kt,Wt.previous=Gt,Kt.rules.push(Wt)}else Ut[Bt]===Me&&(Wt.end=Bt+1,Wt=Wt.parent||qt);return qt}function te(Ut,qt){let Wt=qt.substring(Ut.start,Ut.end-1);if(Ut.parsedCssText=Ut.cssText=Wt.trim(),Ut.parent){let jt=Ut.previous?Ut.previous.end:Ut.parent.start;Wt=qt.substring(jt,Ut.start-1),Wt=oe(Wt),Wt=Wt.replace(De.multipleSpaces,' '),Wt=Wt.substring(Wt.lastIndexOf(';')+1);let Kt=Ut.parsedSelector=Ut.selector=Wt.trim();Ut.atRule=0===Kt.indexOf('@'),Ut.atRule?0===Kt.indexOf('@media')?Ut.type=Ie.MEDIA_RULE:Kt.match(De.keyframesRule)&&(Ut.type=Ie.KEYFRAMES_RULE,Ut.keyframesName=Ut.selector.split(De.multipleSpaces).pop()):0===Kt.indexOf(we)?Ut.type=Ie.MIXIN_RULE:Ut.type=Ie.STYLE_RULE}let Bt=Ut.rules;if(Bt)for(let Gt,jt=0,Kt=Bt.length;jt<Kt&&(Gt=Bt[jt]);jt++)te(Gt,qt);return Ut}function oe(Ut){return Ut.replace(/\\([0-9a-f]{1,6})\s/gi,function(){let qt=arguments[1],Wt=6-qt.length;for(;Wt--;)qt='0'+qt;return'\\'+qt})}function re(Ut,qt,Wt=''){let Bt='';if(Ut.cssText||Ut.rules){let jt=Ut.rules;if(jt&&!ne(jt))for(let Vt,Kt=0,Gt=jt.length;Kt<Gt&&(Vt=jt[Kt]);Kt++)Bt=re(Vt,qt,Bt);else Bt=qt?Ut.cssText:se(Ut.cssText),Bt=Bt.trim(),Bt&&(Bt=' '+Bt+'\n')}return Bt&&(Ut.selector&&(Wt+=Ut.selector+' '+Oe+'\n'),Wt+=Bt,Ut.selector&&(Wt+=Me+'\n\n')),Wt}function ne(Ut){let qt=Ut[0];return!!qt&&!!qt.selector&&0===qt.selector.indexOf(we)}function se(Ut){return Ut=le(Ut),ae(Ut)}function le(Ut){return Ut.replace(De.customProp,'').replace(De.mixinProp,'')}function ae(Ut){return Ut.replace(De.mixinApply,'').replace(De.varApply,'')}function de(Ut){Ut&&(He=He&&!Ut.nativeCss&&!Ut.shimcssproperties,Fe=Fe&&!Ut.nativeShadow&&!Ut.shimshadow)}function ie(Ut,qt){return'string'==typeof Ut&&(Ut=_(Ut)),qt&&he(Ut,qt),re(Ut,He)}function pe(Ut){return!Ut.__cssRules&&Ut.textContent&&(Ut.__cssRules=_(Ut.textContent)),Ut.__cssRules}function ce(Ut){return!!Ut.parent&&Ut.parent.type===Ie.KEYFRAMES_RULE}function he(Ut,qt,Wt,Bt){if(Ut){let jt=!1,Kt=Ut.type;if(Bt&&Kt===Ie.MEDIA_RULE){let Vt=Ut.selector.match(je);Vt&&!window.matchMedia(Vt[1]).matches&&(jt=!0)}Kt===Ie.STYLE_RULE?qt(Ut):Wt&&Kt===Ie.KEYFRAMES_RULE?Wt(Ut):Kt===Ie.MIXIN_RULE&&(jt=!0);let Gt=Ut.rules;if(Gt&&!jt)for(let Yt,Vt=0,Xt=Gt.length;Vt<Xt&&(Yt=Gt[Vt]);Vt++)he(Yt,qt,Wt,Bt)}}function ue(Ut,qt,Wt,Bt){let jt=_e(Ut,qt);return me(jt,Wt,Bt),jt}function _e(Ut,qt){let Wt=document.createElement('style');return qt&&Wt.setAttribute('scope',qt),Wt.textContent=Ut,Wt}function ye(Ut){let qt=document.createComment(' Shady DOM styles for '+Ut+' '),Wt=Xe?Xe.nextSibling:null,Bt=document.head;return Bt.insertBefore(qt,Wt||Bt.firstChild),Xe=qt,qt}function me(Ut,qt,Wt){qt=qt||document.head;let Bt=Wt&&Wt.nextSibling||qt.firstChild;if(qt.insertBefore(Ut,Bt),!Xe)Xe=Ut;else{let jt=Ut.compareDocumentPosition(Xe);jt===Node.DOCUMENT_POSITION_PRECEDING&&(Xe=Ut)}}function ge(Ut,qt){let Wt=0;for(let Bt=qt,jt=Ut.length;Bt<jt;Bt++)if('('===Ut[Bt])Wt++;else if(')'===Ut[Bt]&&0==--Wt)return Bt;return-1}function fe(Ut,qt){let Wt=Ut.indexOf('var(');if(-1===Wt)return qt(Ut,'','','');let Bt=ge(Ut,Wt+3),jt=Ut.substring(Wt+4,Bt),Kt=Ut.substring(0,Wt),Gt=fe(Ut.substring(Bt+1),qt),Vt=jt.indexOf(',');if(-1===Vt)return qt(Kt,jt.trim(),'',Gt);let Xt=jt.substring(0,Vt).trim(),Yt=jt.substring(Vt+1).trim();return qt(Kt,Xt,Yt,Gt)}function Se(Ut,qt){Fe?Ut.setAttribute('class',qt):window.ShadyDOM.nativeMethods.setAttribute.call(Ut,'class',qt)}function be(Ut){let qt=Ut.localName,Wt='',Bt='';return qt?-1<qt.indexOf('-')?Wt=qt:(Bt=qt,Wt=Ut.getAttribute&&Ut.getAttribute('is')||''):(Wt=Ut.is,Bt=Ut.extends),{is:Wt,typeExtension:Bt}}function Ne(Ut,qt){let Wt=parseInt(Ut/32,10);qt[Wt]=(qt[Wt]||0)|1<<Ut%32}function Ce(Ut){let qt=Et[Ut];qt&&Ee(qt)}function Ee(Ut){Ut._applyShimInvalid=!0}function ve(Ut){return!Ut._applyShimInvalid}function Pe(Ut){return Ut._validating}function Te(Ut){Ut._validating||(Ut._validating=!0,vt.then(function(){Ut._applyShimInvalid=!1,Ut._validating=!1}))}function Re(Ut){Tt?Tt(Ut):(!Pt&&(Pt=new Promise(qt=>{Rt=qt}),'complete'===document.readyState?Rt():document.addEventListener('readystatechange',()=>{'complete'===document.readyState&&Rt()})),Pt.then(function(){Ut&&Ut()}))}function Ae(Ut,qt){for(let Wt in qt)null===Wt?Ut.style.removeProperty(Wt):Ut.style.setProperty(Wt,qt[Wt])}(Ut=>{const qt=!!('import'in document.createElement('link'));let Wt=null;!1=='currentScript'in document&&Object.defineProperty(document,'currentScript',{get(){return Wt||('complete'===document.readyState?null:document.scripts[document.scripts.length-1])},configurable:!0});const Bt=/(^\/)|(^#)|(^[\w-\d]*:)/,jt=/(url\()([^)]*)(\))/g,Kt=/(@import[\s]+(?!url\())([^;]*)(;)/g,Gt=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,Vt={fixUrls(ho,uo){ho.href&&ho.setAttribute('href',Vt.replaceAttrUrl(ho.getAttribute('href'),uo)),ho.src&&ho.setAttribute('src',Vt.replaceAttrUrl(ho.getAttribute('src'),uo)),'style'===ho.localName&&Vt.resolveUrlsInStyle(ho,uo)},fixUrlAttributes(ho,uo){const _o=['action','src','href','url','style'];for(let mo,yo=0;yo<_o.length&&(mo=_o[yo]);yo++){const go=ho.attributes[mo],fo=go&&go.value;fo&&0>fo.search(/({{|\[\[)/)&&(go.value='style'===mo?Vt.resolveUrlsInCssText(fo,uo):Vt.replaceAttrUrl(fo,uo))}},fixUrlsInTemplates(ho,uo){const _o=ho.querySelectorAll('template');for(let yo=0;yo<_o.length;yo++)Vt.fixUrlsInTemplate(_o[yo],uo)},fixUrlsInTemplate(ho,uo){const _o=ho.content||ho,yo=_o.querySelectorAll('style, form[action], [src], [href], [url], [style]');for(let mo=0;mo<yo.length;mo++){const go=yo[mo];'style'==go.localName?Vt.resolveUrlsInStyle(go,uo):Vt.fixUrlAttributes(go,uo)}Vt.fixUrlsInTemplates(_o,uo)},resolveUrlsInStyle(ho,uo){ho.textContent=Vt.resolveUrlsInCssText(ho.textContent,uo)},resolveUrlsInCssText(ho,uo){let _o=Vt.replaceUrls(ho,uo,jt);return _o=Vt.replaceUrls(_o,uo,Kt),_o},replaceUrls(ho,uo,_o){return ho.replace(_o,(yo,mo,go,fo)=>{let So=go.replace(/["']/g,'');return uo&&(So=Vt.resolveUrl(So,uo)),mo+'\''+So+'\''+fo})},replaceAttrUrl(ho,uo){return ho&&Bt.test(ho)?ho:Vt.resolveUrl(ho,uo)},resolveUrl(ho,uo){if(void 0===Vt.__workingURL){Vt.__workingURL=!1;try{const yo=new URL('b','http://a');yo.pathname='c%20d',Vt.__workingURL='http://a/c%20d'===yo.href}catch(yo){}}if(Vt.__workingURL)return new URL(ho,uo).href;let _o=Vt.__tempDoc;return _o||(_o=document.implementation.createHTMLDocument('temp'),Vt.__tempDoc=_o,_o.__base=_o.createElement('base'),_o.head.appendChild(_o.__base),_o.__anchor=_o.createElement('a')),_o.__base.href=uo,_o.__anchor.href=ho,_o.__anchor.href||ho}},Xt={async:!0,load(ho,uo,_o){if(!ho)_o('error: href must be specified');else if(ho.match(/^data:/)){const yo=ho.split(','),mo=yo[0];let go=yo[1];go=-1<mo.indexOf(';base64')?atob(go):decodeURIComponent(go),uo(go)}else{const yo=new XMLHttpRequest;yo.open('GET',ho,Xt.async),yo.onload=()=>{let mo=yo.getResponseHeader('Location');if(mo&&0===mo.indexOf('/')){const fo=location.origin||location.protocol+'//'+location.host;mo=fo+mo}const go=yo.response||yo.responseText;304===yo.status||0===yo.status||200<=yo.status&&300>yo.status?uo(go,mo):_o(go)},yo.send()}}},Yt=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent),zt='link[rel=import]',$t='import-disable',Zt=`link[rel=stylesheet][href][type=${$t}]`,Qt=`${zt}, ${Zt},
style:not([type]), link[rel=stylesheet][href]:not([type]),
script:not([type]), script[type="application/javascript"],
script[type="text/javascript"]`,Jt='import-dependency',eo=`${zt}:not(${Jt})`,to=`script[${Jt}]`,oo=`style[${Jt}],
link[rel=stylesheet][${Jt}]`;const no=ho=>{return ho.nodeType===Node.ELEMENT_NODE&&'link'===ho.localName&&'import'===ho.rel},so=(ho,uo)=>{if(ho.__loaded)uo&&uo();else if('script'===ho.localName&&!ho.src)ho.__loaded=!0,uo&&uo();else{const _o=yo=>{ho.removeEventListener(yo.type,_o),ho.__loaded=!0,uo&&uo()};ho.addEventListener('load',_o),Yt&&'style'===ho.localName||ho.addEventListener('error',_o)}},lo=ho=>{ao(()=>io(()=>ho&&ho()))},ao=ho=>{if('loading'!==document.readyState)ho();else{const uo=()=>{'loading'!==document.readyState&&(document.removeEventListener('readystatechange',uo),ho())};document.addEventListener('readystatechange',uo)}},io=ho=>{let uo=document.querySelectorAll(eo),_o=uo.length;if(!_o)return void ho();for(let go,yo=0,mo=uo.length;yo<mo&&(go=uo[yo]);yo++)so(go,()=>{0==--_o&&ho()})},po=ho=>{if(qt)return ho.ownerDocument===document?null:ho.ownerDocument;let uo=ho.__importDoc;if(!uo&&ho.parentNode){if(uo=ho.parentNode,'function'==typeof uo.closest)uo=uo.closest(zt);else for(;!no(uo)&&(uo=uo.parentNode););ho.__importDoc=uo}return uo},co=(ho,uo)=>{if('function'==typeof window.CustomEvent)return new CustomEvent(ho,uo);const _o=document.createEvent('CustomEvent');return _o.initCustomEvent(ho,!!uo.bubbles,!!uo.cancelable,uo.detail),_o};if(qt){const ho=document.querySelectorAll(zt);for(let mo,_o=0,yo=ho.length;_o<yo&&(mo=ho[_o]);_o++)mo.import&&'loading'===mo.import.readyState||(mo.__loaded=!0);const uo=_o=>{const yo=_o.target;no(yo)&&(yo.__loaded=!0)};document.addEventListener('load',uo,!0),document.addEventListener('error',uo,!0)}else new class{constructor(){this.documents={},this.inflight=0,this.dynamicImportsMO=new MutationObserver(ho=>this.handleMutations(ho)),ao(()=>{this.dynamicImportsMO.observe(document.head,{childList:!0,subtree:!0}),this.loadImports(document)})}loadImports(ho){const uo=ho.querySelectorAll(zt);for(let _o=0,yo=uo.length;_o<yo;_o++)this.loadImport(uo[_o])}loadImport(ho){const uo=ho.href;if(void 0!==this.documents[uo]){const _o=this.documents[uo];return void(_o&&_o.__loaded&&(ho.import=_o,this.fireEventIfNeeded(ho)))}this.inflight++,this.documents[uo]='pending',Xt.load(uo,(_o,yo)=>{const mo=this.makeDocument(_o,yo||uo);this.documents[uo]=mo,this.inflight--,this.loadImports(mo),this.processImportsIfLoadingDone()},()=>{this.documents[uo]=null,this.inflight--,this.processImportsIfLoadingDone()})}makeDocument(ho,uo){if(!ho)return document.createDocumentFragment();Yt&&(ho=ho.replace(Gt,(So,bo,No)=>{return-1===So.indexOf('type=')?`${bo} type=${$t} ${No}`:So}));let _o;const yo=document.createElement('template');if(yo.innerHTML=ho,yo.content)_o=yo.content;else for(_o=document.createDocumentFragment();yo.firstChild;)_o.appendChild(yo.firstChild);const mo=_o.querySelector('base');mo&&(uo=Vt.replaceAttrUrl(mo.getAttribute('href'),uo),mo.removeAttribute('href'));const go=_o.querySelectorAll(Qt);let fo=0;for(let No,So=0,bo=go.length;So<bo&&(No=go[So]);So++)if(so(No),Vt.fixUrls(No,uo),No.setAttribute(Jt,''),'script'===No.localName&&!No.src&&No.textContent){const Co=fo?`-${fo}`:'',Eo=No.textContent+`\n//# sourceURL=${uo}${Co}.js\n`;No.setAttribute('src','data:text/javascript;charset=utf-8,'+encodeURIComponent(Eo)),No.textContent='',fo++}return Vt.fixUrlsInTemplates(_o,uo),_o}processImportsIfLoadingDone(){if(!this.inflight){this.dynamicImportsMO.disconnect(),this.flatten(document);let ho=!1,uo=!1;const _o=()=>{uo&&ho&&(this.dynamicImportsMO.observe(document.head,{childList:!0,subtree:!0}),this.fireEvents())};this.waitForStyles(()=>{uo=!0,_o()}),this.runScripts(()=>{ho=!0,_o()})}}flatten(ho){const uo=ho.querySelectorAll(zt);for(let mo,_o=0,yo=uo.length;_o<yo&&(mo=uo[_o]);_o++){const go=this.documents[mo.href];mo.import=go,go&&go.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(this.documents[mo.href]=mo,mo.readyState='loading',mo.import=mo,Object.defineProperty(mo,'baseURI',{get:()=>mo.href,configurable:!0,enumerable:!0}),this.flatten(go),mo.appendChild(go))}}runScripts(ho){const uo=document.querySelectorAll(to),_o=uo.length,yo=mo=>{if(mo<_o){const go=uo[mo],fo=document.createElement('script');go.removeAttribute(Jt);for(let So=0,bo=go.attributes.length;So<bo;So++)fo.setAttribute(go.attributes[So].name,go.attributes[So].value);Wt=fo,go.parentNode.replaceChild(fo,go),so(fo,()=>{Wt=null,yo(mo+1)})}else ho()};yo(0)}waitForStyles(ho){const uo=document.querySelectorAll(oo);let _o=uo.length;if(!_o)return void ho();const yo=Yt&&!!document.querySelector(Zt);for(let fo,mo=0,go=uo.length;mo<go&&(fo=uo[mo]);mo++)if(so(fo,()=>{fo.removeAttribute(Jt),0==--_o&&ho()}),yo&&fo.parentNode!==document.head){const So=document.createElement(fo.localName);So.__appliedElement=fo,So.setAttribute('type','import-placeholder'),fo.parentNode.insertBefore(So,fo.nextSibling);let bo=po(fo);for(;bo&&po(bo);)bo=po(bo);bo.parentNode!==document.head&&(bo=null),document.head.insertBefore(fo,bo),fo.removeAttribute('type')}}fireEvents(){const ho=document.querySelectorAll(zt);for(let _o,uo=ho.length-1;0<=uo&&(_o=ho[uo]);uo--)this.fireEventIfNeeded(_o)}fireEventIfNeeded(ho){if(!ho.__loaded){ho.__loaded=!0,ho.import&&(ho.import.readyState='complete');const uo=ho.import?'load':'error';ho.dispatchEvent(co(uo,{bubbles:!1,cancelable:!1,detail:void 0}))}}handleMutations(ho){for(let uo=0;uo<ho.length;uo++){const _o=ho[uo];if(_o.addedNodes)for(let yo=0;yo<_o.addedNodes.length;yo++){const mo=_o.addedNodes[yo];mo&&mo.nodeType===Node.ELEMENT_NODE&&(no(mo)?this.loadImport(mo):this.loadImports(mo))}}}};lo(()=>document.dispatchEvent(co('HTMLImportsLoaded',{cancelable:!0,bubbles:!0,detail:void 0}))),Ut.useNative=qt,Ut.whenReady=lo,Ut.importForElement=po})(window.HTMLImports=window.HTMLImports||{}),function(){'use strict';function Ut(Ir,Or,Mr){return{index:Ir,removed:Or,addedCount:Mr}}function qt(Ir){return'ShadyRoot'===Ir.__localName}function Wt(Ir,Or){if(Ir&&Or)for(var wr,Mr=Object.getOwnPropertyNames(Or),Dr=0;Dr<Mr.length&&(wr=Mr[Dr]);Dr++){var Lr=wr,Fr=Object.getOwnPropertyDescriptor(Or,Lr);Fr&&Object.defineProperty(Ir,Lr,Fr)}return Ir||Or}function Bt(){Do=!1;for(var Ir=!!Mo.length;Mo.length;)Mo.shift()();return Ir}function jt(Ir,Or){return Ir.__shady&&Ir.__shady[Or]}function Kt(Ir){return'&'===Ir?'&amp;':'<'===Ir?'&lt;':'>'===Ir?'&gt;':'"'===Ir?'&quot;':'\xA0'===Ir?'&nbsp;':void 0}function Gt(Ir){for(var Or={},Mr=0;Mr<Ir.length;Mr++)Or[Ir[Mr]]=!0;return Or}function Vt(Ir,Or,Mr){switch(Ir.nodeType){case Node.ELEMENT_NODE:Or=Ir.localName;for(var kr,Dr='<'+Or,wr=Ir.attributes,Lr=0;kr=wr[Lr];Lr++)Dr+=' '+kr.name+'="'+kr.value.replace(ko,Kt)+'"';return Dr+='>',Ho[Or]?Dr:Dr+Xt(Ir,Mr)+'</'+Or+'>';case Node.TEXT_NODE:return Ir=Ir.data,Or&&Uo[Or.localName]?Ir:Ir.replace(Fo,Kt);case Node.COMMENT_NODE:return'<!--'+Ir.data+'-->';default:throw window.console.error(Ir),Error('not implemented');}}function Xt(Ir,Or){'template'===Ir.localName&&(Ir=Ir.content);for(var kr,Mr='',Dr=Or?Or(Ir):Ir.childNodes,wr=0,Lr=Dr.length;wr<Lr&&(kr=Dr[wr]);wr++)Mr+=Vt(kr,Ir,Or);return Mr}function Yt(Ir){var Or=[];for(Wo.currentNode=Ir,Ir=Wo.firstChild();Ir;)Or.push(Ir),Ir=Wo.nextSibling();return Or}function zt(Ir){return{get:function(){var Or=wo.getProperty(this,Ir);return void 0===Or?qo[Ir](this):Or},configurable:!0}}function $t(Ir,Or,Mr){for(var Dr in Or){var wr=Object.getOwnPropertyDescriptor(Ir,Dr);wr&&wr.configurable||!wr&&Mr?Object.defineProperty(Ir,Dr,Or[Dr]):Mr&&console.warn('Could not define',Dr,'on',Ir)}}function Zt(Ir,Or,Mr){jo.patchOutsideElementAccessors(Ir),Mr=Mr||null,Ir.__shady=Ir.__shady||{},Or.__shady=Or.__shady||{},Mr&&(Mr.__shady=Mr.__shady||{}),Ir.__shady.previousSibling=Mr?Mr.__shady.previousSibling:Or.lastChild;var Dr=Ir.__shady.previousSibling;Dr&&Dr.__shady&&(Dr.__shady.nextSibling=Ir),(Dr=Ir.__shady.nextSibling=Mr)&&Dr.__shady&&(Dr.__shady.previousSibling=Ir),Ir.__shady.parentNode=Or,Mr?Mr===Or.__shady.firstChild&&(Or.__shady.firstChild=Ir):(Or.__shady.lastChild=Ir,Or.__shady.firstChild||(Or.__shady.firstChild=Ir)),Or.__shady.childNodes=null}function Qt(Ir){this.root=Ir,this.insertionPointTag='slot'}function Jt(Ir,Or){if(Ir!==hr)throw new TypeError('Illegal constructor');return Ir=document.createDocumentFragment(),Ir.__proto__=Jt.prototype,Ir._init(Or),Ir}function eo(Ir){var Mr,Or=wo.hasProperty(Ir,'parentNode')&&wo.getProperty(Ir,'parentNode'),Dr=Eo.ownerShadyRootForNode(Ir);if(Or||Dr){Mr=so(Ir),Or&&Jo.recordRemoveChild(Ir,Or);var wr;if(wr=Dr){var Lr;wr=Dr._insertionPoints;for(var kr=0;kr<wr.length;kr++){var Hr,Fr=wr[kr];a:{for(Hr=Fr;Hr;){if(Hr==Ir){Hr=!0;break a}Hr=Hr.parentNode}Hr=void 0}if(Hr)for(Fr=Fr.assignedNodes({flatten:!0}),Hr=0;Hr<Fr.length;Hr++){Lr=!0;var Ur=Fr[Hr],qr=qo.parentNode(Ur);qr&&er.removeChild.call(qr,Ur)}}wr=Lr}Lr=wr,Or=Or&&Dr&&Or.localName===Dr.getInsertionPointTag(),(Lr||Or)&&(Dr._skipUpdateInsertionPoints=!1,lo(Dr))}return no(Ir),Mr}function to(Ir,Or,Mr){(Ir=Ir.__shady&&Ir.__shady.observer)&&(Or&&Ir.addedNodes.push(Or),Mr&&Ir.removedNodes.push(Mr),Ir.schedule())}function oo(Ir){if(Ir&&Ir.nodeType){var Or=Ir.__ownerShadyRoot;return void 0===Or&&(Or=Eo.isShadyRoot(Ir)?Ir:(Or=Ir.parentNode)?oo(Or):Ir,document.documentElement.contains(Ir)&&(Ir.__ownerShadyRoot=Or)),Or}}function ro(Ir,Or,Mr){var Dr,wr=Mr.getInsertionPointTag();if(Ir.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||Ir.__noInsertionPoint)Ir.localName===wr&&(Jo.recordChildNodes(Or),Jo.recordChildNodes(Ir),Dr=!0);else for(var kr,Fr,wr=Ir.querySelectorAll(wr),Lr=0;Lr<wr.length&&(kr=wr[Lr]);Lr++)Fr=kr.parentNode,Fr===Ir&&(Fr=Or),Fr=ro(kr,Fr,Mr),Dr=Dr||Fr;return Dr}function no(Ir){if(void 0!==Ir.__ownerShadyRoot)for(var wr,Or=Ir.childNodes,Mr=0,Dr=Or.length;Mr<Dr&&(wr=Or[Mr]);Mr++)no(wr);Ir.__ownerShadyRoot=void 0}function so(Ir){if((Ir=Ir.parentNode)&&Ir.shadyRoot&&Ir.shadyRoot.hasInsertionPoint())return lo(Ir.shadyRoot),!0}function lo(Ir){Ir._changePending=!0,Ir.update()}function ao(Ir,Or){'slot'===Or?so(Ir):'slot'===Ir.localName&&'name'==Or&&(Ir=Eo.ownerShadyRootForNode(Ir))&&Ir.update()}function io(Ir,Or,Mr,Dr){for(var kr,wr=0,Lr=Ir.length;wr<Lr&&(kr=Ir[wr]);wr++){var Fr;if(Fr=kr.nodeType===Node.ELEMENT_NODE){Fr=kr;var Hr=Or,Ur=Mr,qr=Dr,Wr=Hr(Fr);Wr&&qr.push(Fr),Ur&&Ur(Wr)?Fr=Wr:(io(Fr.childNodes,Hr,Ur,qr),Fr=void 0)}if(Fr)return!0}}function po(Ir,Or){if(Ir.ownerDocument!==document)return er.importNode.call(document,Ir,Or);var Mr=er.importNode.call(document,Ir,!1);if(Or){Ir=Ir.childNodes,Or=0;for(var Dr;Or<Ir.length;Or++)Dr=po(Ir[Or],!0),Mr.appendChild(Dr)}return Mr}function co(){this._scheduled=!1,this.addedNodes=[],this.removedNodes=[],this.callbacks=new Set}function ho(Ir,Or){var Mr=[],Dr=Ir;for(Ir=Ir===window?window:Ir.getRootNode();Dr;)Mr.push(Dr),Dr=Dr.assignedSlot?Dr.assignedSlot:Dr.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Dr.host&&(Or||Dr!==Ir)?Dr.host:Dr.parentNode;return Mr[Mr.length-1]===document&&Mr.push(window),Mr}function uo(Ir,Or){if(!Eo.isShadyRoot)return Ir;Ir=ho(Ir,!0);for(var Dr,wr,Lr,kr,Mr=0;Mr<Or.length;Mr++)if(Dr=Or[Mr],Lr=Dr===window?window:Dr.getRootNode(),Lr!==wr&&(kr=Ir.indexOf(Lr),wr=Lr),!Eo.isShadyRoot(Lr)||-1<kr)return Dr}function _o(Ir){function Or(Mr,Dr){return Mr=new Ir(Mr,Dr),Mr.__composed=Dr&&!!Dr.composed,Mr}return Eo.mixin(Or,Ir),Or.prototype=Ir.prototype,Or}function yo(Ir,Or,Mr){if(Mr=Or.__handlers&&Or.__handlers[Ir.type]&&Or.__handlers[Ir.type][Mr])for(var wr,Dr=0;(wr=Mr[Dr])&&(wr.call(Or,Ir),!Ir.__immediatePropagationStopped);Dr++);}function mo(Ir){var Mr,Or=Ir.composedPath();Object.defineProperty(Ir,'currentTarget',{get:function(){return Mr},configurable:!0});for(var Dr=Or.length-1;0<=Dr;Dr--)if(Mr=Or[Dr],yo(Ir,Mr,'capture'),Ir.__propagationStopped)return;Object.defineProperty(Ir,'eventPhase',{value:Event.AT_TARGET});for(var wr,Dr=0;Dr<Or.length&&!((Mr=Or[Dr],0===Dr||Mr.shadowRoot&&Mr.shadowRoot===wr)&&(yo(Ir,Mr,'bubble'),Mr!==window&&(wr=Mr.getRootNode()),Ir.__propagationStopped));Dr++);}function go(){for(var Ir in Sr)window.addEventListener(Ir,function(Or){Or.__target||(fo(Or),mo(Or),Or.stopImmediatePropagation())},!0)}function fo(Ir){Ir.__target=Ir.target,Ir.__relatedTarget=Ir.relatedTarget,Eo.settings.hasDescriptors?Eo.patchPrototype(Ir,fr):Eo.extend(Ir,fr)}function So(Ir){return ur.renderRootNode(Ir),wo.getProperty(Ir,'assignedSlot')||null}function bo(Ir,Or){for(var Mr=Object.getOwnPropertyNames(Or),Dr=0;Dr<Mr.length;Dr++){var wr=Mr[Dr],Lr=Object.getOwnPropertyDescriptor(Or,wr);Lr.value?Ir[wr]=Lr.value:Object.defineProperty(Ir,wr,Lr)}}var No={},Co={calcEditDistances:function(Ir,Or,Mr,Dr,wr,Lr){Lr=Lr-wr+1,Mr=Mr-Or+1;for(var kr=Array(Lr),Fr=0;Fr<Lr;Fr++)kr[Fr]=Array(Mr),kr[Fr][0]=Fr;for(Fr=0;Fr<Mr;Fr++)kr[0][Fr]=Fr;for(Fr=1;Fr<Lr;Fr++)for(var Hr=1;Hr<Mr;Hr++)if(this.equals(Ir[Or+Hr-1],Dr[wr+Fr-1]))kr[Fr][Hr]=kr[Fr-1][Hr-1];else{var Ur=kr[Fr-1][Hr]+1,qr=kr[Fr][Hr-1]+1;kr[Fr][Hr]=Ur<qr?Ur:qr}return kr},spliceOperationsFromEditDistances:function(Ir){for(var Or=Ir.length-1,Mr=Ir[0].length-1,Dr=Ir[Or][Mr],wr=[];0<Or||0<Mr;)if(0==Or)wr.push(2),Mr--;else if(0==Mr)wr.push(3),Or--;else{var Hr,Lr=Ir[Or-1][Mr-1],kr=Ir[Or-1][Mr],Fr=Ir[Or][Mr-1];Hr=kr<Fr?kr<Lr?kr:Lr:Fr<Lr?Fr:Lr,Hr==Lr?(Lr==Dr?wr.push(0):(wr.push(1),Dr=Lr),Or--,Mr--):Hr==kr?(wr.push(3),Or--,Dr=kr):(wr.push(2),Mr--,Dr=Fr)}return wr.reverse(),wr},calcSplices:function(Ir,Or,Mr,Dr,wr,Lr){var kr=0,Fr=0,Hr=Math.min(Mr-Or,Lr-wr);if(0==Or&&0==wr&&(kr=this.sharedPrefix(Ir,Dr,Hr)),Mr==Ir.length&&Lr==Dr.length&&(Fr=this.sharedSuffix(Ir,Dr,Hr-kr)),Or+=kr,wr+=kr,Mr-=Fr,Lr-=Fr,0==Mr-Or&&0==Lr-wr)return[];if(Or==Mr){for(Ir=Ut(Or,[],0);wr<Lr;)Ir.removed.push(Dr[wr++]);return[Ir]}if(wr==Lr)return[Ut(Or,[],Mr-Or)];for(Lr=this.spliceOperationsFromEditDistances(this.calcEditDistances(Ir,Or,Mr,Dr,wr,Lr)),Ir=void 0,Mr=[],kr=0;kr<Lr.length;kr++)switch(Lr[kr]){case 0:Ir&&(Mr.push(Ir),Ir=void 0),Or++,wr++;break;case 1:Ir||(Ir=Ut(Or,[],0)),Ir.addedCount++,Or++,Ir.removed.push(Dr[wr]),wr++;break;case 2:Ir||(Ir=Ut(Or,[],0)),Ir.addedCount++,Or++;break;case 3:Ir||(Ir=Ut(Or,[],0)),Ir.removed.push(Dr[wr]),wr++;}return Ir&&Mr.push(Ir),Mr},sharedPrefix:function(Ir,Or,Mr){for(var Dr=0;Dr<Mr;Dr++)if(!this.equals(Ir[Dr],Or[Dr]))return Dr;return Mr},sharedSuffix:function(Ir,Or,Mr){for(var Dr=Ir.length,wr=Or.length,Lr=0;Lr<Mr&&this.equals(Ir[--Dr],Or[--wr]);)Lr++;return Lr},calculateSplices:function(Ir,Or){return this.calcSplices(Ir,0,Ir.length,Or,0,Or.length)},equals:function(Ir,Or){return Ir===Or}};No.calculateSplices=function(Ir,Or){return Co.calculateSplices(Ir,Or)};var Eo={},vo=window.ShadyDOM||{};vo.hasNativeShadowDOM=Element.prototype.attachShadow&&Node.prototype.getRootNode;var Po=Object.getOwnPropertyDescriptor(Node.prototype,'firstChild');vo.hasDescriptors=!!(Po&&Po.configurable&&Po.get),vo.inUse=vo.force||!vo.hasNativeShadowDOM;var To=Element.prototype,Ro=To.matches||To.matchesSelector||To.mozMatchesSelector||To.msMatchesSelector||To.oMatchesSelector||To.webkitMatchesSelector,Ao=document.createTextNode(''),xo=0,Io=[];new MutationObserver(function(){for(;Io.length;)try{Io.shift()()}catch(Ir){throw Ao.textContent=xo++,Ir}}).observe(Ao,{characterData:!0}),Eo.settings=vo,Eo.isShadyRoot=qt,Eo.ownerShadyRootForNode=function(Ir){if(Ir=Ir.getRootNode(),qt(Ir))return Ir},Eo.matchesSelector=function(Ir,Or){return Ro.call(Ir,Or)},Eo.extend=Wt,Eo.extendAll=function(Ir){for(var Mr=[],Dr=1;Dr<arguments.length;++Dr)Mr[Dr-1]=arguments[Dr];for(Dr=0;Dr<Mr.length;Dr++)Wt(Ir,Mr[Dr]);return Ir},Eo.mixin=function(Ir,Or){for(var Mr in Or)Ir[Mr]=Or[Mr];return Ir},Eo.patchPrototype=function(Ir,Or){var Mr=Object.getPrototypeOf(Ir);if(!Mr.hasOwnProperty('__patchProto')){var Dr=Object.create(Mr);Dr.__sourceProto=Mr,Wt(Dr,Or),Mr.__patchProto=Dr}Ir.__proto__=Mr.__patchProto},Eo.microtask=function(Ir){Io.push(Ir),Ao.textContent=xo++};var Do,Oo={},Mo=[];Bt.list=Mo,Oo.enqueue=function(Ir){Do||(Do=!0,Eo.microtask(Bt)),Mo.push(Ir)},Oo.flush=Bt;var wo={};wo.getProperty=jt,wo.hasProperty=function(Ir,Or){return void 0!==jt(Ir,Or)};var Lo={},ko=/[&\u00A0"]/g,Fo=/[&\u00A0<>]/g,Ho=Gt('area base br col command embed hr img input keygen link meta param source track wbr'.split(' ')),Uo=Gt('style script xmp iframe noembed noframes plaintext noscript'.split(' '));Lo.getOuterHTML=Vt,Lo.getInnerHTML=Xt;var qo={},Wo=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Bo=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);qo.parentNode=function(Ir){return Wo.currentNode=Ir,Wo.parentNode()},qo.firstChild=function(Ir){return Wo.currentNode=Ir,Wo.firstChild()},qo.lastChild=function(Ir){return Wo.currentNode=Ir,Wo.lastChild()},qo.previousSibling=function(Ir){return Wo.currentNode=Ir,Wo.previousSibling()},qo.nextSibling=function(Ir){return Wo.currentNode=Ir,Wo.nextSibling()},qo.childNodes=Yt,qo.parentElement=function(Ir){return Bo.currentNode=Ir,Bo.parentNode()},qo.firstElementChild=function(Ir){return Bo.currentNode=Ir,Bo.firstChild()},qo.lastElementChild=function(Ir){return Bo.currentNode=Ir,Bo.lastChild()},qo.previousElementSibling=function(Ir){return Bo.currentNode=Ir,Bo.previousSibling()},qo.nextElementSibling=function(Ir){return Bo.currentNode=Ir,Bo.nextSibling()},qo.children=function(Ir){var Or=[];for(Bo.currentNode=Ir,Ir=Bo.firstChild();Ir;)Or.push(Ir),Ir=Bo.nextSibling();return Or},qo.innerHTML=function(Ir){return Lo.getInnerHTML(Ir,function(Or){return Yt(Or)})},qo.textContent=function(Ir){if(Ir.nodeType!==Node.ELEMENT_NODE)return Ir.nodeValue;Ir=document.createTreeWalker(Ir,NodeFilter.SHOW_TEXT,null,!1);for(var Mr,Or='';Mr=Ir.nextNode();)Or+=Mr.nodeValue;return Or};var jo={},Ko=Object.getOwnPropertyDescriptor(Element.prototype,'innerHTML')||Object.getOwnPropertyDescriptor(HTMLElement.prototype,'innerHTML'),Go=document.implementation.createHTMLDocument('inert').createElement('div'),Vo=Object.getOwnPropertyDescriptor(Document.prototype,'activeElement'),Xo={parentElement:zt('parentElement'),parentNode:zt('parentNode'),nextSibling:zt('nextSibling'),previousSibling:zt('previousSibling'),className:{get:function(){return this.getAttribute('class')},set:function(Ir){this.setAttribute('class',Ir)},configurable:!0},nextElementSibling:{get:function(){if(wo.hasProperty(this,'nextSibling')){for(var Ir=this.nextSibling;Ir&&Ir.nodeType!==Node.ELEMENT_NODE;)Ir=Ir.nextSibling;return Ir}return qo.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){if(wo.hasProperty(this,'previousSibling')){for(var Ir=this.previousSibling;Ir&&Ir.nodeType!==Node.ELEMENT_NODE;)Ir=Ir.previousSibling;return Ir}return qo.previousElementSibling(this)},configurable:!0}},Yo={childNodes:{get:function(){if(wo.hasProperty(this,'firstChild')){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var Ir=this.firstChild;Ir;Ir=Ir.nextSibling)this.__shady.childNodes.push(Ir)}return this.__shady.childNodes}return qo.childNodes(this)},configurable:!0},firstChild:zt('firstChild'),lastChild:zt('lastChild'),textContent:{get:function(){if(wo.hasProperty(this,'firstChild')){for(var Dr,Ir=[],Or=0,Mr=this.childNodes;Dr=Mr[Or];Or++)Dr.nodeType!==Node.COMMENT_NODE&&Ir.push(Dr.textContent);return Ir.join('')}return qo.textContent(this)},set:function(Ir){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=Ir;else{for(;this.firstChild;)this.removeChild(this.firstChild);Ir&&this.appendChild(document.createTextNode(Ir))}},configurable:!0},firstElementChild:{get:function(){if(wo.hasProperty(this,'firstChild')){for(var Ir=this.firstChild;Ir&&Ir.nodeType!==Node.ELEMENT_NODE;)Ir=Ir.nextSibling;return Ir}return qo.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(wo.hasProperty(this,'lastChild')){for(var Ir=this.lastChild;Ir&&Ir.nodeType!==Node.ELEMENT_NODE;)Ir=Ir.previousSibling;return Ir}return qo.lastElementChild(this)},configurable:!0},children:{get:function(){return wo.hasProperty(this,'firstChild')?Array.prototype.filter.call(this.childNodes,function(Ir){return Ir.nodeType===Node.ELEMENT_NODE}):qo.children(this)},configurable:!0},innerHTML:{get:function(){var Ir='template'===this.localName?this.content:this;return wo.hasProperty(this,'firstChild')?Lo.getInnerHTML(Ir):qo.innerHTML(Ir)},set:function(Ir){for(var Or='template'===this.localName?this.content:this;Or.firstChild;)Or.removeChild(Or.firstChild);for(Ko&&Ko.set?Ko.set.call(Go,Ir):Go.innerHTML=Ir;Go.firstChild;)Or.appendChild(Go.firstChild)},configurable:!0}},zo={shadowRoot:{get:function(){return this.shadyRoot},set:function(Ir){this.shadyRoot=Ir},configurable:!0}},$o={activeElement:{get:function(){var Ir;if(Ir=Vo&&Vo.get?Vo.get.call(document):Eo.settings.hasDescriptors?void 0:document.activeElement,Ir){var Or=!!Eo.isShadyRoot(this);if(this===document||Or&&this.host!==Ir&&this.host.contains(Ir)){for(Or=Eo.ownerShadyRootForNode(Ir);Or&&Or!==this;)Ir=Or.host,Or=Eo.ownerShadyRootForNode(Ir);Ir=this===document?Or?null:Ir:Or===this?Ir:null}else Ir=null}else Ir=null;return Ir},set:function(){},configurable:!0}},Zo=Eo.settings.hasDescriptors?function(){}:function(Ir){Ir.__shady&&Ir.__shady.__outsideAccessors||(Ir.__shady=Ir.__shady||{},Ir.__shady.__outsideAccessors=!0,$t(Ir,Xo,!0))},Qo=Eo.settings.hasDescriptors?function(){}:function(Ir){Ir.__shady&&Ir.__shady.__insideAccessors||(Ir.__shady=Ir.__shady||{},Ir.__shady.__insideAccessors=!0,$t(Ir,Yo,!0),$t(Ir,zo,!0))};jo.ShadowRootAccessor=zo,jo.ActiveElementAccessor=$o,jo.patchAccessors=function(Ir){$t(Ir,Xo),$t(Ir,Yo),$t(Ir,$o)},jo.patchShadowRootAccessors=function(Ir){$t(Ir,Yo,!0),$t(Ir,$o,!0)},jo.patchOutsideElementAccessors=Zo,jo.patchInsideElementAccessors=Qo;var Jo={};Jo.recordInsertBefore=function(Ir,Or,Mr){if(jo.patchInsideElementAccessors(Or),Or.__shady=Or.__shady||{},wo.hasProperty(Or,'firstChild')&&(Or.__shady.childNodes=null),Ir.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var Dr=Ir.childNodes,wr=0;wr<Dr.length;wr++)Zt(Dr[wr],Or,Mr);Ir.__shady=Ir.__shady||{},Or=wo.hasProperty(Ir,'firstChild')?null:void 0,Ir.__shady.firstChild=Ir.__shady.lastChild=Or,Ir.__shady.childNodes=Or}else Zt(Ir,Or,Mr)},Jo.recordRemoveChild=function(Ir,Or){Ir.__shady=Ir.__shady||{},Or.__shady=Or.__shady||{},Ir===Or.__shady.firstChild&&(Or.__shady.firstChild=Ir.__shady.nextSibling),Ir===Or.__shady.lastChild&&(Or.__shady.lastChild=Ir.__shady.previousSibling);var Mr=Ir.__shady.previousSibling,Dr=Ir.__shady.nextSibling;Mr&&(Mr.__shady=Mr.__shady||{},Mr.__shady.nextSibling=Dr),Dr&&(Dr.__shady=Dr.__shady||{},Dr.__shady.previousSibling=Mr),Ir.__shady.parentNode=Ir.__shady.previousSibling=Ir.__shady.nextSibling=void 0,wo.hasProperty(Or,'childNodes')&&(Or.__shady.childNodes=null)},Jo.recordChildNodes=function(Ir){if(!wo.hasProperty(Ir,'firstChild')){Ir.__shady=Ir.__shady||{},Ir.__shady.firstChild=qo.firstChild(Ir),Ir.__shady.lastChild=qo.lastChild(Ir),jo.patchInsideElementAccessors(Ir);for(var Dr,Or=Ir.__shady.childNodes=qo.childNodes(Ir),Mr=0;Mr<Or.length&&(Dr=Or[Mr]);Mr++)Dr.__shady=Dr.__shady||{},Dr.__shady.parentNode=Ir,Dr.__shady.nextSibling=Or[Mr+1]||null,Dr.__shady.previousSibling=Or[Mr-1]||null,jo.patchOutsideElementAccessors(Dr)}};var er={},tr=Element.prototype.insertBefore,or=Element.prototype.removeChild,rr=Element.prototype.setAttribute,nr=Element.prototype.removeAttribute,sr=Element.prototype.cloneNode,lr=Document.prototype.importNode,ar=Element.prototype.addEventListener,dr=Element.prototype.removeEventListener;er.appendChild=Element.prototype.appendChild,er.insertBefore=tr,er.removeChild=or,er.setAttribute=rr,er.removeAttribute=nr,er.cloneNode=sr,er.importNode=lr,er.addEventListener=ar,er.removeEventListener=dr;var ir={},pr='function'==typeof Event?Event:function(Ir,Or){Or=Or||{};var Mr=document.createEvent('Event');return Mr.initEvent(Ir,!!Or.bubbles,!!Or.cancelable),Mr};Qt.prototype.getInsertionPoints=function(){return this.root.querySelectorAll(this.insertionPointTag)},Qt.prototype.hasInsertionPoint=function(){return this.root._insertionPoints&&this.root._insertionPoints.length},Qt.prototype.isInsertionPoint=function(Ir){return Ir.localName&&Ir.localName==this.insertionPointTag},Qt.prototype.distribute=function(){return this.hasInsertionPoint()?this.distributePool(this.root,this.collectPool()):[]},Qt.prototype.collectPool=function(){for(var Ir=[],Or=0,Mr=this.root.host.firstChild;Mr;Mr=Mr.nextSibling)Ir[Or++]=Mr;return Ir},Qt.prototype.distributePool=function(Ir,Or){Ir=[];for(var Lr,Mr=this.root._insertionPoints,Dr=0,wr=Mr.length;Dr<wr&&(Lr=Mr[Dr]);Dr++){this.distributeInsertionPoint(Lr,Or);var kr=Lr.parentNode;kr&&kr.shadyRoot&&this.hasInsertionPoint(kr.shadyRoot)&&Ir.push(kr.shadyRoot)}for(Mr=0;Mr<Or.length;Mr++)(Lr=Or[Mr])&&(Lr.__shady=Lr.__shady||{},Lr.__shady.assignedSlot=void 0,(Dr=qo.parentNode(Lr))&&er.removeChild.call(Dr,Lr));return Ir},Qt.prototype.distributeInsertionPoint=function(Ir,Or){var Mr=Ir.__shady.assignedNodes;Mr&&this.clearAssignedSlots(Ir,!0),Ir.__shady.assignedNodes=[];for(var Fr,Dr=!1,wr=!1,Lr=0,kr=Or.length;Lr<kr;Lr++)(Fr=Or[Lr])&&this.matchesInsertionPoint(Fr,Ir)&&(Fr.__shady._prevAssignedSlot!=Ir&&(Dr=!0),this.distributeNodeInto(Fr,Ir),Or[Lr]=void 0,wr=!0);if(!wr)for(Or=Ir.childNodes,wr=0;wr<Or.length;wr++)Fr=Or[wr],Fr.__shady._prevAssignedSlot!=Ir&&(Dr=!0),this.distributeNodeInto(Fr,Ir);if(Mr){for(Fr=0;Fr<Mr.length;Fr++)Mr[Fr].__shady._prevAssignedSlot=null;Ir.__shady.assignedNodes.length<Mr.length&&(Dr=!0)}this.setDistributedNodesOnInsertionPoint(Ir),Dr&&this._fireSlotChange(Ir)},Qt.prototype.clearAssignedSlots=function(Ir,Or){var Mr=Ir.__shady.assignedNodes;if(Mr)for(var wr,Dr=0;Dr<Mr.length;Dr++)wr=Mr[Dr],Or&&(wr.__shady._prevAssignedSlot=wr.__shady.assignedSlot),wr.__shady.assignedSlot===Ir&&(wr.__shady.assignedSlot=null)},Qt.prototype.matchesInsertionPoint=function(Ir,Or){return Or=(Or=Or.getAttribute('name'))?Or.trim():'',Ir=(Ir=Ir.getAttribute&&Ir.getAttribute('slot'))?Ir.trim():'',Ir==Or},Qt.prototype.distributeNodeInto=function(Ir,Or){Or.__shady.assignedNodes.push(Ir),Ir.__shady.assignedSlot=Or},Qt.prototype.setDistributedNodesOnInsertionPoint=function(Ir){var Or=Ir.__shady.assignedNodes;Ir.__shady.distributedNodes=[];for(var Dr,Mr=0;Mr<Or.length&&(Dr=Or[Mr]);Mr++)if(this.isInsertionPoint(Dr)){var wr=Dr.__shady.distributedNodes;if(wr)for(var Lr=0;Lr<wr.length;Lr++)Ir.__shady.distributedNodes.push(wr[Lr])}else Ir.__shady.distributedNodes.push(Or[Mr])},Qt.prototype._fireSlotChange=function(Ir){Ir.dispatchEvent(new pr('slotchange')),Ir.__shady.assignedSlot&&this._fireSlotChange(Ir.__shady.assignedSlot)},Qt.prototype.isFinalDestination=function(Ir){return!Ir.__shady.assignedSlot},ir.default=Qt;var cr={},hr={};Jt.prototype=Object.create(DocumentFragment.prototype),Eo.extendAll(Jt.prototype,{_init:function(Ir){this.__localName='ShadyRoot',Jo.recordChildNodes(Ir),Jo.recordChildNodes(this),Ir.shadowRoot=this,this.host=Ir,this._changePending=this._hasRendered=this._renderPending=!1,this._distributor=new ir.default(this),this.update()},update:function(){var Ir=this;this._renderPending||(this._renderPending=!0,Oo.enqueue(function(){return Ir.render()}))},_getRenderRoot:function(){for(var Ir=this,Or=this;Or;)Or._renderPending&&(Ir=Or),Or=Or._rendererForHost();return Ir},_rendererForHost:function(){var Ir=this.host.getRootNode();if(Eo.isShadyRoot(Ir))for(var Dr,Or=this.host.childNodes,Mr=0;Mr<Or.length;Mr++)if(Dr=Or[Mr],this._distributor.isInsertionPoint(Dr))return Ir},render:function(){this._renderPending&&this._getRenderRoot()._render()},_render:function(){this._changePending=this._renderPending=!1,this._skipUpdateInsertionPoints?this._hasRendered||(this._insertionPoints=[]):this.updateInsertionPoints(),this._skipUpdateInsertionPoints=!1,this.distribute(),this.compose(),this._hasRendered=!0},forceRender:function(){this._renderPending=!0,this.render()},distribute:function(){for(var Ir=this._distributor.distribute(),Or=0;Or<Ir.length;Or++)Ir[Or]._render()},updateInsertionPoints:function(){var Ir=this.__insertionPoints;if(Ir)for(var Mr,Or=0;Or<Ir.length;Or++)Mr=Ir[Or],Mr.getRootNode()!==this&&this._distributor.clearAssignedSlots(Mr);for(Ir=this._insertionPoints=this._distributor.getInsertionPoints(),Or=0;Or<Ir.length;Or++)Mr=Ir[Or],Mr.__shady=Mr.__shady||{},Jo.recordChildNodes(Mr),Jo.recordChildNodes(Mr.parentNode)},get _insertionPoints(){return this.__insertionPoints||this.updateInsertionPoints(),this.__insertionPoints||(this.__insertionPoints=[])},set _insertionPoints(Ir){this.__insertionPoints=Ir},hasInsertionPoint:function(){return this._distributor.hasInsertionPoint()},compose:function(){this._composeTree()},_composeTree:function(){this._updateChildNodes(this.host,this._composeNode(this.host));for(var Dr,wr,Ir=this._insertionPoints||[],Or=0,Mr=Ir.length;Or<Mr&&(Dr=Ir[Or]);Or++)wr=Dr.parentNode,wr!==this.host&&wr!==this&&this._updateChildNodes(wr,this._composeNode(wr))},_composeNode:function(Ir){var Or=[];Ir=(Ir.shadyRoot||Ir).childNodes;for(var Dr,Mr=0;Mr<Ir.length;Mr++)if(Dr=Ir[Mr],this._distributor.isInsertionPoint(Dr))for(var kr,wr=Dr.__shady.distributedNodes||(Dr.__shady.distributedNodes=[]),Lr=0;Lr<wr.length;Lr++)kr=wr[Lr],this.isFinalDestination(Dr,kr)&&Or.push(kr);else Or.push(Dr);return Or},isFinalDestination:function(Ir,Or){return this._distributor.isFinalDestination(Ir,Or)},_updateChildNodes:function(Ir,Or){for(var kr,Mr=qo.childNodes(Ir),Dr=No.calculateSplices(Or,Mr),wr=0,Lr=0;wr<Dr.length&&(kr=Dr[wr]);wr++){for(var Hr,Fr=0;Fr<kr.removed.length&&(Hr=kr.removed[Fr]);Fr++)qo.parentNode(Hr)===Ir&&er.removeChild.call(Ir,Hr),Mr.splice(kr.index+Lr,1);Lr-=kr.addedCount}for(wr=0;wr<Dr.length&&(kr=Dr[wr]);wr++)for(Lr=Mr[kr.index],Fr=kr.index;Fr<kr.index+kr.addedCount;Fr++)Hr=Or[Fr],er.insertBefore.call(Ir,Hr,Lr),Mr.splice(Fr,0,Hr)},getInsertionPointTag:function(){return this._distributor.insertionPointTag}}),jo.patchShadowRootAccessors(Jt.prototype),cr.ShadyRoot=Jt,cr.attachShadow=function(Ir,Or){if(!Ir)throw'Must provide a host.';if(!Or)throw'Not enough arguments.';return new Jt(hr,Ir)};var ur={},_r=null;ur.getRootNode=oo,ur.query=function(Ir,Or,Mr){var Dr=[];return io(Ir.childNodes,Or,Mr,Dr),Dr},ur.renderRootNode=function(Ir){Ir=Ir.getRootNode(),Eo.isShadyRoot(Ir)&&Ir.render()},ur.setAttribute=function(Ir,Or,Mr){_r||(_r=window.ShadyCSS&&window.ShadyCSS.ScopingShim),_r&&'class'===Or&&Ir.ownerDocument===document?_r.setElementClass(Ir,Mr):(er.setAttribute.call(Ir,Or,Mr),ao(Ir,Or))},ur.removeAttribute=function(Ir,Or){er.removeAttribute.call(Ir,Or),ao(Ir,Or)},ur.insertBefore=function(Ir,Or,Mr){if(Mr){var Dr=wo.getProperty(Mr,'parentNode');if(void 0!==Dr&&Dr!==Ir)throw Error('The ref_node to be inserted before is not a child of this node')}Or.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(Dr=wo.getProperty(Or,'parentNode'),Dr?(to(Dr,null,Or),eo(Or)):(Or.parentNode&&er.removeChild.call(Or.parentNode,Or),no(Or)));var Lr,wr=Mr,Dr=Eo.ownerShadyRootForNode(Ir);Dr&&(Or.__noInsertionPoint&&!Dr._changePending&&(Dr._skipUpdateInsertionPoints=!0),Lr=ro(Or,Ir,Dr))&&(Dr._skipUpdateInsertionPoints=!1),wo.hasProperty(Ir,'firstChild')&&Jo.recordInsertBefore(Or,Ir,wr);var wr=Lr,kr=Dr&&Dr.getInsertionPointTag()||'',Fr=Or.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!Or.__noInsertionPoint&&kr&&Or.querySelector(kr);if(Lr=Fr&&Fr.parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE,((Fr=Fr||Or.localName===kr)||Ir.localName===kr||wr)&&Dr&&lo(Dr),(Dr=Ir&&Ir.shadyRoot&&Ir.shadyRoot.hasInsertionPoint())&&lo(Ir.shadyRoot),!(Dr||Fr&&!Lr||Ir.shadyRoot)){if(Mr&&(Dr=Eo.ownerShadyRootForNode(Mr))){var Hr;if(Mr.localName===Dr.getInsertionPointTag())a:{for(Dr=Mr.assignedNodes({flatten:!0}),Lr=oo(Mr),wr=0,kr=Dr.length;wr<kr&&(Hr=Dr[wr]);wr++)if(Lr.isFinalDestination(Mr,Hr))break a;Hr=void 0}else Hr=Mr;Mr=Hr}Hr=Eo.isShadyRoot(Ir)?Ir.host:Ir,Mr?er.insertBefore.call(Hr,Or,Mr):er.appendChild.call(Hr,Or)}return to(Ir,Or),Or},ur.removeChild=function(Ir,Or){if(Or.parentNode!==Ir)throw Error('The node to be removed is not a child of this node: '+Or);if(!eo(Or)){var Mr=Eo.isShadyRoot(Ir)?Ir.host:Ir,Dr=qo.parentNode(Or);Mr===Dr&&er.removeChild.call(Mr,Or)}return to(Ir,null,Or),Or},ur.cloneNode=function(Ir,Or){if('template'==Ir.localName)return er.cloneNode.call(Ir,Or);var Mr=er.cloneNode.call(Ir,!1);if(Or){Ir=Ir.childNodes,Or=0;for(var Dr;Or<Ir.length;Or++)Dr=Ir[Or].cloneNode(!0),Mr.appendChild(Dr)}return Mr},ur.importNode=po;var yr={};co.prototype.schedule=function(){var Ir=this;this._scheduled||(this._scheduled=!0,Eo.microtask(function(){Ir.flush()}))},co.prototype.flush=function(){if(this._scheduled){this._scheduled=!1;var Ir=this.takeRecords();Ir.length&&this.callbacks.forEach(function(Or){Or(Ir)})}},co.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var Ir=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],Ir}return[]},yr.observeChildren=function(Ir,Or){Ir.__shady=Ir.__shady||{},Ir.__shady.observer||(Ir.__shady.observer=new co),Ir.__shady.observer.callbacks.add(Or);var Mr=Ir.__shady.observer;return{_callback:Or,_observer:Mr,_node:Ir,takeRecords:function(){return Mr.takeRecords()}}},yr.unobserveChildren=function(Ir){var Or=Ir&&Ir._observer;Or&&(Or.callbacks.delete(Ir._callback),Or.callbacks.size||(Ir._node.__shady.observer=null))},yr.filterMutations=function(Ir,Or){var Mr=Or.getRootNode();return Ir.map(function(Dr){var wr=Mr===Dr.target.getRootNode();if(wr&&Dr.addedNodes){if(wr=Array.from(Dr.addedNodes).filter(function(Lr){return Mr===Lr.getRootNode()}),wr.length)return Dr=Object.create(Dr),Object.defineProperty(Dr,'addedNodes',{value:wr,configurable:!0}),Dr;}else if(wr)return Dr}).filter(function(Dr){return Dr})};var mr={},gr={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},fr={get composed(){return this.isTrusted&&void 0===this.__composed&&(this.__composed=gr[this.type]),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=ho(this.__target,this.composed)),this.__composedPath},get target(){return uo(this.currentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=ho(this.__relatedTarget,!0)),uo(this.currentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.__propagationStopped=this.__immediatePropagationStopped=!0}},Sr={focus:!0,blur:!0},br=_o(window.Event),Nr=_o(window.CustomEvent),Cr=_o(window.MouseEvent);mr.addEventListener=function(Ir,Or,Mr){if(Or){var Dr,wr,Lr;if('object'==typeof Mr?(Dr=!!Mr.capture,wr=!!Mr.once,Lr=!!Mr.passive):(Dr=!!Mr,Lr=wr=!1),Or.__eventWrappers){for(var kr=0;kr<Or.__eventWrappers.length;kr++)if(Or.__eventWrappers[kr].node===this&&Or.__eventWrappers[kr].type===Ir&&Or.__eventWrappers[kr].capture===Dr&&Or.__eventWrappers[kr].once===wr&&Or.__eventWrappers[kr].passive===Lr)return;}else Or.__eventWrappers=[];kr=function(Fr){if(wr&&this.removeEventListener(Ir,Or,Mr),Fr.__target||fo(Fr),Fr.composed||-1<Fr.composedPath().indexOf(this))if(Fr.eventPhase===Event.BUBBLING_PHASE&&Fr.target===Fr.relatedTarget)Fr.stopImmediatePropagation();else return Or(Fr)},Or.__eventWrappers.push({node:this,type:Ir,capture:Dr,once:wr,passive:Lr,wrapperFn:kr}),Sr[Ir]?(this.__handlers=this.__handlers||{},this.__handlers[Ir]=this.__handlers[Ir]||{capture:[],bubble:[]},this.__handlers[Ir][Dr?'capture':'bubble'].push(kr)):er.addEventListener.call(this,Ir,kr,Mr)}},mr.removeEventListener=function(Ir,Or,Mr){if(Or){var Dr,wr,Lr;'object'==typeof Mr?(Dr=!!Mr.capture,wr=!!Mr.once,Lr=!!Mr.passive):(Dr=!!Mr,Lr=wr=!1);var kr;if(Or.__eventWrappers)for(var Fr=0;Fr<Or.__eventWrappers.length;Fr++)if(Or.__eventWrappers[Fr].node===this&&Or.__eventWrappers[Fr].type===Ir&&Or.__eventWrappers[Fr].capture===Dr&&Or.__eventWrappers[Fr].once===wr&&Or.__eventWrappers[Fr].passive===Lr){kr=Or.__eventWrappers.splice(Fr,1)[0].wrapperFn,Or.__eventWrappers.length||(Or.__eventWrappers=void 0);break}er.removeEventListener.call(this,Ir,kr||Or,Mr),kr&&Sr[Ir]&&this.__handlers&&this.__handlers[Ir]&&(Ir=this.__handlers[Ir][Dr?'capture':'bubble'],kr=Ir.indexOf(kr),-1<kr&&Ir.splice(kr,1))}},mr.patchEvents=function(){window.Event=br,window.CustomEvent=Nr,window.MouseEvent=Cr,go()};var Er={},vr={addEventListener:mr.addEventListener,removeEventListener:mr.removeEventListener,appendChild:function(Ir){return ur.insertBefore(this,Ir)},insertBefore:function(Ir,Or){return ur.insertBefore(this,Ir,Or)},removeChild:function(Ir){return ur.removeChild(this,Ir)},replaceChild:function(Ir,Or){return this.insertBefore(Ir,Or),this.removeChild(Or),Ir},cloneNode:function(Ir){return ur.cloneNode(this,Ir)},getRootNode:function(Ir){return ur.getRootNode(this,Ir)},get isConnected(){var Ir=this.ownerDocument;if(Ir&&Ir.contains&&Ir.contains(this)||(Ir=Ir.documentElement)&&Ir.contains&&Ir.contains(this))return!0;for(Ir=this;Ir&&!(Ir instanceof Document);)Ir=Ir.parentNode||(Ir instanceof cr.ShadyRoot?Ir.host:void 0);return!!(Ir&&Ir instanceof Document)}},Pr={get assignedSlot(){return So(this)}},Tr={querySelector:function(Ir){return ur.query(this,function(Or){return Eo.matchesSelector(Or,Ir)},function(Or){return!!Or})[0]||null},querySelectorAll:function(Ir){return ur.query(this,function(Or){return Eo.matchesSelector(Or,Ir)})}},Rr={assignedNodes:function(Ir){if('slot'===this.localName)return ur.renderRootNode(this),this.__shady?(Ir&&Ir.flatten?this.__shady.distributedNodes:this.__shady.assignedNodes)||[]:[]}},Ar=Eo.extendAll({setAttribute:function(Ir,Or){ur.setAttribute(this,Ir,Or)},removeAttribute:function(Ir){ur.removeAttribute(this,Ir)},attachShadow:function(Ir){return cr.attachShadow(this,Ir)},get slot(){return this.getAttribute('slot')},set slot(Ir){this.setAttribute('slot',Ir)},get assignedSlot(){return So(this)}},Tr,Rr);Object.defineProperties(Ar,jo.ShadowRootAccessor);var xr=Eo.extendAll({importNode:function(Ir,Or){return ur.importNode(Ir,Or)}},Tr);Object.defineProperties(xr,{_activeElement:jo.ActiveElementAccessor.activeElement}),Er.patchBuiltins=function(){bo(window.Node.prototype,vr),bo(window.Text.prototype,Pr),bo(window.DocumentFragment.prototype,Tr),bo(window.Element.prototype,Ar),bo(window.Document.prototype,xr),window.HTMLSlotElement&&bo(window.HTMLSlotElement.prototype,Rr),Eo.settings.hasDescriptors&&(jo.patchAccessors(window.Node.prototype),jo.patchAccessors(window.Text.prototype),jo.patchAccessors(window.DocumentFragment.prototype),jo.patchAccessors(window.Element.prototype),jo.patchAccessors((window.customElements&&customElements.nativeHTMLElement||HTMLElement).prototype),jo.patchAccessors(window.Document.prototype),window.HTMLSlotElement&&jo.patchAccessors(window.HTMLSlotElement.prototype))},Eo.settings.inUse&&(window.ShadyDOM={inUse:Eo.settings.inUse,patch:function(Ir){return Ir},isShadyRoot:Eo.isShadyRoot,enqueue:Oo.enqueue,flush:Oo.flush,settings:Eo.settings,filterMutations:yr.filterMutations,observeChildren:yr.observeChildren,unobserveChildren:yr.unobserveChildren,nativeMethods:er,nativeTree:qo},mr.patchEvents(),Er.patchBuiltins(),window.ShadowRoot=cr.ShadyRoot)}.call(void 0),function(){'use strict';function Ut(Go){var Vo=ho.has(Go);return Go=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(Go),!Vo&&Go}function qt(Go){var Vo=Go.isConnected;if(void 0!==Vo)return Vo;for(;Go&&!(Go.__CE_isImportDocument||Go instanceof Document);)Go=Go.parentNode||(window.ShadowRoot&&Go instanceof ShadowRoot?Go.host:void 0);return Go&&(Go.__CE_isImportDocument||Go instanceof Document)}function Wt(Go,Vo){for(;Vo&&Vo!==Go&&!Vo.nextSibling;)Vo=Vo.parentNode;return Vo&&Vo!==Go?Vo.nextSibling:null}function Bt(Go,Vo,Xo){Xo=Xo?Xo:new Set;for(var Yo=Go;Yo;){if(Yo.nodeType===Node.ELEMENT_NODE){var zo=Yo;Vo(zo);var $o=zo.localName;if('link'===$o&&'import'===zo.getAttribute('rel')){if(Yo=zo.import,Yo instanceof Node&&!Xo.has(Yo))for(Xo.add(Yo),Yo=Yo.firstChild;Yo;Yo=Yo.nextSibling)Bt(Yo,Vo,Xo);Yo=Wt(Go,zo);continue}else if('template'===$o){Yo=Wt(Go,zo);continue}if(zo=zo.__CE_shadowRoot)for(zo=zo.firstChild;zo;zo=zo.nextSibling)Bt(zo,Vo,Xo)}Yo=Yo.firstChild?Yo.firstChild:Wt(Go,Yo)}}function jt(Go,Vo,Xo){Go[Vo]=Xo}function Kt(){this.a=new Map,this.f=new Map,this.c=[],this.b=!1}function Gt(Go,Vo,Xo){Go.a.set(Vo,Xo),Go.f.set(Xo.constructor,Xo)}function Vt(Go,Vo){Go.b=!0,Go.c.push(Vo)}function Xt(Go,Vo){Go.b&&Bt(Vo,function(Xo){return Yt(Go,Xo)})}function Yt(Go,Vo){if(Go.b&&!Vo.__CE_patched){Vo.__CE_patched=!0;for(var Xo=0;Xo<Go.c.length;Xo++)Go.c[Xo](Vo)}}function zt(Go,Vo){var Xo=[];for(Bt(Vo,function(zo){return Xo.push(zo)}),Vo=0;Vo<Xo.length;Vo++){var Yo=Xo[Vo];1===Yo.__CE_state?Go.connectedCallback(Yo):Qt(Go,Yo)}}function $t(Go,Vo){var Xo=[];for(Bt(Vo,function(zo){return Xo.push(zo)}),Vo=0;Vo<Xo.length;Vo++){var Yo=Xo[Vo];1===Yo.__CE_state&&Go.disconnectedCallback(Yo)}}function Zt(Go,Vo,Xo){Xo=Xo?Xo:new Set;var Yo=[];if(Bt(Vo,function(zo){if('link'===zo.localName&&'import'===zo.getAttribute('rel')){var $o=zo.import;$o instanceof Node&&'complete'===$o.readyState?($o.__CE_isImportDocument=!0,$o.__CE_hasRegistry=!0):zo.addEventListener('load',function(){var Zo=zo.import;Zo.__CE_documentLoadHandled||(Zo.__CE_documentLoadHandled=!0,Zo.__CE_isImportDocument=!0,Zo.__CE_hasRegistry=!0,new Set(Xo),Xo.delete(Zo),Zt(Go,Zo,Xo))})}else Yo.push(zo)},Xo),Go.b)for(Vo=0;Vo<Yo.length;Vo++)Yt(Go,Yo[Vo]);for(Vo=0;Vo<Yo.length;Vo++)Qt(Go,Yo[Vo])}function Qt(Go,Vo){if(void 0===Vo.__CE_state){var Xo=Go.a.get(Vo.localName);if(Xo){Xo.constructionStack.push(Vo);var Yo=Xo.constructor;try{try{if(new Yo!==Vo)throw Error('The custom element constructor did not produce the element being upgraded.')}finally{Xo.constructionStack.pop()}}catch(Zo){throw Vo.__CE_state=2,Zo}if(Vo.__CE_state=1,Vo.__CE_definition=Xo,Xo.attributeChangedCallback)for(Xo=Xo.observedAttributes,Yo=0;Yo<Xo.length;Yo++){var zo=Xo[Yo],$o=Vo.getAttribute(zo);null!==$o&&Go.attributeChangedCallback(Vo,zo,null,$o,null)}qt(Vo)&&Go.connectedCallback(Vo)}}}function Jt(Go,Vo){this.c=Go,this.a=Vo,this.b=void 0,Zt(this.c,this.a),'loading'===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function eo(Go){Go.b&&Go.b.disconnect()}function to(){var Go=this;this.b=this.a=void 0,this.c=new Promise(function(Vo){Go.b=Vo,Go.a&&Vo(Go.a)})}function oo(Go){if(Go.a)throw Error('Already resolved.');Go.a=void 0,Go.b&&Go.b(void 0)}function ro(Go){this.f=!1,this.a=Go,this.h=new Map,this.g=function(Vo){return Vo()},this.b=!1,this.c=[],this.j=new Jt(Go,document)}function no(){var Go=jo;window.HTMLElement=function(){function Vo(){var Xo=this.constructor,Yo=Go.f.get(Xo);if(!Yo)throw Error('The custom element being constructed was not registered with `customElements`.');var zo=Yo.constructionStack;if(!zo.length)return zo=uo.call(document,Yo.localName),Object.setPrototypeOf(zo,Xo.prototype),zo.__CE_state=1,zo.__CE_definition=Yo,Yt(Go,zo),zo;var Yo=zo.length-1,$o=zo[Yo];if($o===co)throw Error('The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.');return zo[Yo]=co,Object.setPrototypeOf($o,Xo.prototype),Yt(Go,$o),$o}return Vo.prototype=Uo.prototype,Vo}()}function so(Go,Vo,Xo){Vo.prepend=function(){for(var zo=[],$o=0;$o<arguments.length;++$o)zo[$o-0]=arguments[$o];$o=zo.filter(function(Qo){return Qo instanceof Node&&qt(Qo)}),Xo.i.apply(this,zo);for(var Zo=0;Zo<$o.length;Zo++)$t(Go,$o[Zo]);if(qt(this))for($o=0;$o<zo.length;$o++)Zo=zo[$o],Zo instanceof Element&&zt(Go,Zo)},Vo.append=function(){for(var zo=[],$o=0;$o<arguments.length;++$o)zo[$o-0]=arguments[$o];$o=zo.filter(function(Qo){return Qo instanceof Node&&qt(Qo)}),Xo.append.apply(this,zo);for(var Zo=0;Zo<$o.length;Zo++)$t(Go,$o[Zo]);if(qt(this))for($o=0;$o<zo.length;$o++)Zo=zo[$o],Zo instanceof Element&&zt(Go,Zo)}}function lo(){var Go=jo;jt(Document.prototype,'createElement',function(Vo){if(this.__CE_hasRegistry){var Xo=Go.a.get(Vo);if(Xo)return new Xo.constructor}return Vo=uo.call(this,Vo),Yt(Go,Vo),Vo}),jt(Document.prototype,'importNode',function(Vo,Xo){return Vo=yo.call(this,Vo,Xo),this.__CE_hasRegistry?Zt(Go,Vo):Xt(Go,Vo),Vo}),jt(Document.prototype,'createElementNS',function(Vo,Xo){if(this.__CE_hasRegistry&&(null===Vo||'http://www.w3.org/1999/xhtml'===Vo)){var Yo=Go.a.get(Xo);if(Yo)return new Yo.constructor}return Vo=_o.call(this,Vo,Xo),Yt(Go,Vo),Vo}),so(Go,Document.prototype,{i:mo,append:go})}function ao(){function Go(Xo,Yo){Object.defineProperty(Xo,'textContent',{enumerable:Yo.enumerable,configurable:!0,get:Yo.get,set:function(zo){if(this.nodeType===Node.TEXT_NODE)Yo.set.call(this,zo);else{var $o;if(this.firstChild){var Zo=this.childNodes,Qo=Zo.length;if(0<Qo&&qt(this))for(var $o=Array(Qo),Jo=0;Jo<Qo;Jo++)$o[Jo]=Zo[Jo]}if(Yo.set.call(this,zo),$o)for(zo=0;zo<$o.length;zo++)$t(Vo,$o[zo])}}})}var Vo=jo;jt(Node.prototype,'insertBefore',function(Xo,Yo){if(Xo instanceof DocumentFragment){var zo=Array.prototype.slice.apply(Xo.childNodes);if(Xo=bo.call(this,Xo,Yo),qt(this))for(Yo=0;Yo<zo.length;Yo++)zt(Vo,zo[Yo]);return Xo}return zo=qt(Xo),Yo=bo.call(this,Xo,Yo),zo&&$t(Vo,Xo),qt(this)&&zt(Vo,Xo),Yo}),jt(Node.prototype,'appendChild',function(Xo){if(Xo instanceof DocumentFragment){var Yo=Array.prototype.slice.apply(Xo.childNodes);if(Xo=So.call(this,Xo),qt(this))for(var zo=0;zo<Yo.length;zo++)zt(Vo,Yo[zo]);return Xo}return Yo=qt(Xo),zo=So.call(this,Xo),Yo&&$t(Vo,Xo),qt(this)&&zt(Vo,Xo),zo}),jt(Node.prototype,'cloneNode',function(Xo){return Xo=fo.call(this,Xo),this.ownerDocument.__CE_hasRegistry?Zt(Vo,Xo):Xt(Vo,Xo),Xo}),jt(Node.prototype,'removeChild',function(Xo){var Yo=qt(Xo),zo=No.call(this,Xo);return Yo&&$t(Vo,Xo),zo}),jt(Node.prototype,'replaceChild',function(Xo,Yo){if(Xo instanceof DocumentFragment){var zo=Array.prototype.slice.apply(Xo.childNodes);if(Xo=Co.call(this,Xo,Yo),qt(this))for($t(Vo,Yo),Yo=0;Yo<zo.length;Yo++)zt(Vo,zo[Yo]);return Xo}var zo=qt(Xo),$o=Co.call(this,Xo,Yo),Zo=qt(this);return Zo&&$t(Vo,Yo),zo&&$t(Vo,Xo),Zo&&zt(Vo,Xo),$o}),Eo&&Eo.get?Go(Node.prototype,Eo):Vt(Vo,function(Xo){Go(Xo,{enumerable:!0,configurable:!0,get:function(){for(var Yo=[],zo=0;zo<this.childNodes.length;zo++)Yo.push(this.childNodes[zo].textContent);return Yo.join('')},set:function(Yo){for(;this.firstChild;)No.call(this,this.firstChild);So.call(this,document.createTextNode(Yo))}})})}function io(Go){var Vo=Element.prototype;Vo.before=function(){for(var Yo=[],zo=0;zo<arguments.length;++zo)Yo[zo-0]=arguments[zo];zo=Yo.filter(function(Zo){return Zo instanceof Node&&qt(Zo)}),Lo.apply(this,Yo);for(var $o=0;$o<zo.length;$o++)$t(Go,zo[$o]);if(qt(this))for(zo=0;zo<Yo.length;zo++)$o=Yo[zo],$o instanceof Element&&zt(Go,$o)},Vo.after=function(){for(var Yo=[],zo=0;zo<arguments.length;++zo)Yo[zo-0]=arguments[zo];zo=Yo.filter(function(Zo){return Zo instanceof Node&&qt(Zo)}),ko.apply(this,Yo);for(var $o=0;$o<zo.length;$o++)$t(Go,zo[$o]);if(qt(this))for(zo=0;zo<Yo.length;zo++)$o=Yo[zo],$o instanceof Element&&zt(Go,$o)},Vo.replaceWith=function(){for(var Yo=[],zo=0;zo<arguments.length;++zo)Yo[zo-0]=arguments[zo];var zo=Yo.filter(function(Qo){return Qo instanceof Node&&qt(Qo)}),$o=qt(this);Fo.apply(this,Yo);for(var Zo=0;Zo<zo.length;Zo++)$t(Go,zo[Zo]);if($o)for($t(Go,this),zo=0;zo<Yo.length;zo++)$o=Yo[zo],$o instanceof Element&&zt(Go,$o)},Vo.remove=function(){var Xo=qt(this);Ho.call(this),Xo&&$t(Go,this)}}function po(){function Go(zo,$o){Object.defineProperty(zo,'innerHTML',{enumerable:$o.enumerable,configurable:!0,get:$o.get,set:function(Zo){var Jo,Qo=this;if(qt(this)&&(Jo=[],Bt(this,function(or){or!==Qo&&Jo.push(or)})),$o.set.call(this,Zo),Jo)for(var tr,er=0;er<Jo.length;er++)tr=Jo[er],1===tr.__CE_state&&Xo.disconnectedCallback(tr);return this.ownerDocument.__CE_hasRegistry?Zt(Xo,this):Xt(Xo,this),Zo}})}function Vo(zo,$o){jt(zo,'insertAdjacentElement',function(Zo,Qo){var Jo=qt(Qo);return Zo=$o.call(this,Zo,Qo),Jo&&$t(Xo,Qo),qt(Zo)&&zt(Xo,Qo),Zo})}var Xo=jo;if(vo?jt(Element.prototype,'attachShadow',function(zo){return this.__CE_shadowRoot=zo=vo.call(this,zo)}):console.warn('Custom Elements: `Element#attachShadow` was not patched.'),Po&&Po.get)Go(Element.prototype,Po);else if(qo&&qo.get)Go(HTMLElement.prototype,qo);else{var Yo=uo.call(document,'div');Vt(Xo,function(zo){Go(zo,{enumerable:!0,configurable:!0,get:function(){return fo.call(this,!0).innerHTML},set:function($o){var Zo='template'===this.localName?this.content:this;for(Yo.innerHTML=$o;0<Zo.childNodes.length;)No.call(Zo,Zo.childNodes[0]);for(;0<Yo.childNodes.length;)So.call(Zo,Yo.childNodes[0])}})})}jt(Element.prototype,'setAttribute',function(zo,$o){if(1!==this.__CE_state)return Ro.call(this,zo,$o);var Zo=To.call(this,zo);Ro.call(this,zo,$o),$o=To.call(this,zo),Zo!==$o&&Xo.attributeChangedCallback(this,zo,Zo,$o,null)}),jt(Element.prototype,'setAttributeNS',function(zo,$o,Zo){if(1!==this.__CE_state)return Io.call(this,zo,$o,Zo);var Qo=xo.call(this,zo,$o);Io.call(this,zo,$o,Zo),Zo=xo.call(this,zo,$o),Qo!==Zo&&Xo.attributeChangedCallback(this,$o,Qo,Zo,zo)}),jt(Element.prototype,'removeAttribute',function(zo){if(1!==this.__CE_state)return Ao.call(this,zo);var $o=To.call(this,zo);Ao.call(this,zo),null!==$o&&Xo.attributeChangedCallback(this,zo,$o,null,null)}),jt(Element.prototype,'removeAttributeNS',function(zo,$o){if(1!==this.__CE_state)return Oo.call(this,zo,$o);var Zo=xo.call(this,zo,$o);Oo.call(this,zo,$o);var Qo=xo.call(this,zo,$o);Zo!==Qo&&Xo.attributeChangedCallback(this,$o,Zo,Qo,zo)}),Wo?Vo(HTMLElement.prototype,Wo):Mo?Vo(Element.prototype,Mo):console.warn('Custom Elements: `Element#insertAdjacentElement` was not patched.'),so(Xo,Element.prototype,{i:Do,append:wo}),io(Xo)}var co=new function(){},ho=new Set('annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph'.split(' '));Kt.prototype.connectedCallback=function(Go){var Vo=Go.__CE_definition;Vo.connectedCallback&&Vo.connectedCallback.call(Go)},Kt.prototype.disconnectedCallback=function(Go){var Vo=Go.__CE_definition;Vo.disconnectedCallback&&Vo.disconnectedCallback.call(Go)},Kt.prototype.attributeChangedCallback=function(Go,Vo,Xo,Yo,zo){var $o=Go.__CE_definition;$o.attributeChangedCallback&&-1<$o.observedAttributes.indexOf(Vo)&&$o.attributeChangedCallback.call(Go,Vo,Xo,Yo,zo)},Jt.prototype.f=function(Go){var Vo=this.a.readyState;for('interactive'!==Vo&&'complete'!==Vo||eo(this),Vo=0;Vo<Go.length;Vo++)for(var Xo=Go[Vo].addedNodes,Yo=0;Yo<Xo.length;Yo++)Zt(this.c,Xo[Yo])},ro.prototype.l=function(Go,Vo){var Xo=this;if(!(Vo instanceof Function))throw new TypeError('Custom element constructors must be functions.');if(!Ut(Go))throw new SyntaxError('The element name \''+Go+'\' is not valid.');if(this.a.a.get(Go))throw Error('A custom element with name \''+Go+'\' has already been defined.');if(this.f)throw Error('A custom element is already being defined.');this.f=!0;var Yo,zo,$o,Zo,Qo;try{var Jo=function(tr){var or=er[tr];if(void 0!==or&&!(or instanceof Function))throw Error('The \''+tr+'\' callback must be a function.');return or},er=Vo.prototype;if(!(er instanceof Object))throw new TypeError('The custom element constructor\'s prototype is not an object.');Yo=Jo('connectedCallback'),zo=Jo('disconnectedCallback'),$o=Jo('adoptedCallback'),Zo=Jo('attributeChangedCallback'),Qo=Vo.observedAttributes||[]}catch(tr){return}finally{this.f=!1}Gt(this.a,Go,{localName:Go,constructor:Vo,connectedCallback:Yo,disconnectedCallback:zo,adoptedCallback:$o,attributeChangedCallback:Zo,observedAttributes:Qo,constructionStack:[]}),this.c.push(Go),this.b||(this.b=!0,this.g(function(){if(!1!==Xo.b)for(Xo.b=!1,Zt(Xo.a,document);0<Xo.c.length;){var tr=Xo.c.shift();(tr=Xo.h.get(tr))&&oo(tr)}}))},ro.prototype.get=function(Go){if(Go=this.a.a.get(Go))return Go.constructor},ro.prototype.o=function(Go){if(!Ut(Go))return Promise.reject(new SyntaxError('\''+Go+'\' is not a valid custom element name.'));var Vo=this.h.get(Go);return Vo?Vo.c:(Vo=new to,this.h.set(Go,Vo),this.a.a.get(Go)&&-1===this.c.indexOf(Go)&&oo(Vo),Vo.c)},ro.prototype.m=function(Go){eo(this.j);var Vo=this.g;this.g=function(Xo){return Go(function(){return Vo(Xo)})}},window.CustomElementRegistry=ro,ro.prototype.define=ro.prototype.l,ro.prototype.get=ro.prototype.get,ro.prototype.whenDefined=ro.prototype.o,ro.prototype.polyfillWrapFlushCallback=ro.prototype.m;var uo=window.Document.prototype.createElement,_o=window.Document.prototype.createElementNS,yo=window.Document.prototype.importNode,mo=window.Document.prototype.prepend,go=window.Document.prototype.append,fo=window.Node.prototype.cloneNode,So=window.Node.prototype.appendChild,bo=window.Node.prototype.insertBefore,No=window.Node.prototype.removeChild,Co=window.Node.prototype.replaceChild,Eo=Object.getOwnPropertyDescriptor(window.Node.prototype,'textContent'),vo=window.Element.prototype.attachShadow,Po=Object.getOwnPropertyDescriptor(window.Element.prototype,'innerHTML'),To=window.Element.prototype.getAttribute,Ro=window.Element.prototype.setAttribute,Ao=window.Element.prototype.removeAttribute,xo=window.Element.prototype.getAttributeNS,Io=window.Element.prototype.setAttributeNS,Oo=window.Element.prototype.removeAttributeNS,Mo=window.Element.prototype.insertAdjacentElement,Do=window.Element.prototype.prepend,wo=window.Element.prototype.append,Lo=window.Element.prototype.before,ko=window.Element.prototype.after,Fo=window.Element.prototype.replaceWith,Ho=window.Element.prototype.remove,Uo=window.HTMLElement,qo=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,'innerHTML'),Wo=window.HTMLElement.prototype.insertAdjacentElement,Bo=window.customElements;if(!Bo||Bo.forcePolyfill||'function'!=typeof Bo.define||'function'!=typeof Bo.get){var jo=new Kt;no(),lo(),ao(),po(),document.__CE_hasRegistry=!0;var Ko=new ro(jo);Object.defineProperty(window,'customElements',{configurable:!0,enumerable:!0,value:Ko})}}.call(self);class xe{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText='',this.cssText='',this.atRule=!1,this.type=0,this.keyframesName='',this.selector='',this.parsedSelector=''}}const Ie={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},Oe='{',Me='}',De={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},we='--';let Fe=!(window.ShadyDOM&&window.ShadyDOM.inUse),He=!navigator.userAgent.match('AppleWebKit/601')&&window.CSS&&CSS.supports&&CSS.supports('box-shadow','0 0 0 var(--foo)');window.ShadyCSS?de(window.ShadyCSS):window.WebComponents&&de(window.WebComponents.flags);const Ue=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,qe=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,We=/(--[\w-]+)\s*([:,;)]|$)/gi,Be=/(animation\s*:)|(animation-name\s*:)/,je=/@media[^(]*(\([^)]*\))/,Ke=/\{[^}]*\}/g;let Xe=null;const Ye='style-scope';class ze{get SCOPE_NAME(){return Ye}dom(Ut,qt,Wt){Ut.__styleScoped?Ut.__styleScoped=null:this._transformDom(Ut,qt||'',Wt)}_transformDom(Ut,qt,Wt){Ut.nodeType===Node.ELEMENT_NODE&&this.element(Ut,qt,Wt);let Bt='template'===Ut.localName?(Ut.content||Ut._content).childNodes:Ut.children||Ut.childNodes;if(Bt)for(let jt=0;jt<Bt.length;jt++)this._transformDom(Bt[jt],qt,Wt)}element(Ut,qt,Wt){if(qt)if(Ut.classList)Wt?(Ut.classList.remove(Ye),Ut.classList.remove(qt)):(Ut.classList.add(Ye),Ut.classList.add(qt));else if(Ut.getAttribute){let Bt=Ut.getAttribute('class');if(!Wt){let jt=(Bt?Bt+' ':'')+Ye+' '+qt;Se(Ut,jt)}else if(Bt){let jt=Bt.replace(Ye,'').replace(qt,'');Se(Ut,jt)}}}elementStyles(Ut,qt,Wt){let Bt=Ut.__cssBuild,jt='';if(Fe||'shady'===Bt)jt=ie(qt,Wt);else{let{is:Kt,typeExtension:Gt}=be(Ut);jt=this.css(qt,Kt,Gt,Wt)+'\n\n'}return jt.trim()}css(Ut,qt,Wt,Bt){let jt=this._calcHostScope(qt,Wt);qt=this._calcElementScope(qt);let Kt=this;return ie(Ut,function(Gt){Gt.isScoped||(Kt.rule(Gt,qt,jt),Gt.isScoped=!0),Bt&&Bt(Gt,qt,jt)})}_calcElementScope(Ut){return Ut?'.'+Ut:''}_calcHostScope(Ut,qt){return qt?`[is=${Ut}]`:Ut}rule(Ut,qt,Wt){this._transformRule(Ut,this._transformComplexSelector,qt,Wt)}_transformRule(Ut,qt,Wt,Bt){Ut.selector=Ut.transformedSelector=this._transformRuleCss(Ut,qt,Wt,Bt)}_transformRuleCss(Ut,qt,Wt,Bt){let jt=Ut.selector.split(Qe);if(!ce(Ut))for(let Vt,Kt=0,Gt=jt.length;Kt<Gt&&(Vt=jt[Kt]);Kt++)jt[Kt]=qt.call(this,Vt,Wt,Bt);return jt.join(Qe)}_transformComplexSelector(Ut,qt,Wt){let Bt=!1;return Ut=Ut.trim(),Ut=Ut.replace($e,(jt,Kt,Gt)=>`:${Kt}(${Gt.replace(/\s/g,'')})`),Ut=Ut.replace(nt,`${tt} $1`),Ut=Ut.replace(Je,(jt,Kt,Gt)=>{if(!Bt){let Vt=this._transformCompoundSelector(Gt,Kt,qt,Wt);Bt=Bt||Vt.stop,Kt=Vt.combinator,Gt=Vt.value}return Kt+Gt}),Ut}_transformCompoundSelector(Ut,qt,Wt,Bt){let jt=Ut.indexOf(rt);0<=Ut.indexOf(tt)?Ut=this._transformHostSelector(Ut,Bt):0!==jt&&(Ut=Wt?this._transformSimpleSelector(Ut,Wt):Ut);let Kt=!1;0<=jt&&(qt='',Kt=!0);let Gt;return Kt&&(Gt=!0,Kt&&(Ut=Ut.replace(lt,(Vt,Xt)=>` > ${Xt}`))),Ut=Ut.replace(dt,(Vt,Xt,Yt)=>`[dir="${Yt}"] ${Xt}, ${Xt}[dir="${Yt}"]`),{value:Ut,combinator:qt,stop:Gt}}_transformSimpleSelector(Ut,qt){let Wt=Ut.split(pt);return Wt[0]+=qt,Wt.join(pt)}_transformHostSelector(Ut,qt){let Wt=Ut.match(st),Bt=Wt&&Wt[2].trim()||'';if(Bt){if(!Bt[0].match(et)){let jt=Bt.split(et)[0];return jt===qt?Bt:'should_not_match'}return Ut.replace(st,function(jt,Kt,Gt){return qt+Gt})}return Ut.replace(tt,qt)}documentRule(Ut){Ut.selector=Ut.parsedSelector,this.normalizeRootSelector(Ut),this._transformRule(Ut,this._transformDocumentSelector)}normalizeRootSelector(Ut){Ut.selector===':root'&&(Ut.selector='html')}_transformDocumentSelector(Ut){return Ut.match(rt)?this._transformComplexSelector(Ut,Ze):this._transformSimpleSelector(Ut.trim(),Ze)}}let $e=/:(nth[-\w]+)\(([^)]+)\)/,Ze=`:not(.${Ye})`,Qe=',',Je=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,et=/[[.:#*]/,tt=':host',rt='::slotted',nt=/^(::slotted)/,st=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,lt=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,dt=/(.*):dir\((?:(ltr|rtl))\)/,pt=':';var ut=new ze;const _t='__styleInfo';class yt{static get(Ut){return Ut?Ut[_t]:null}static set(Ut,qt){return Ut[_t]=qt,qt}constructor(Ut,qt,Wt,Bt,jt,Kt){this.styleRules=Ut||null,this.placeholder=qt||null,this.ownStylePropertyNames=Wt||[],this.overrideStyleProperties=null,this.elementName=Bt||'',this.cssBuild=Kt||'',this.typeExtension=jt||'',this.styleProperties=null,this.scopeSelector=null,this.customStyle=null}_getStyleRules(){return this.styleRules}}yt.prototype._getStyleRules=yt.prototype._getStyleRules;const mt=(Ut=>Ut.matches||Ut.matchesSelector||Ut.mozMatchesSelector||Ut.msMatchesSelector||Ut.oMatchesSelector||Ut.webkitMatchesSelector)(window.Element.prototype),gt=navigator.userAgent.match('Trident'),ft='x-scope';class St{get XSCOPE_NAME(){return ft}decorateStyles(Ut){let qt=this,Wt={},Bt=[],jt=0;he(Ut,function(Gt){qt.decorateRule(Gt),Gt.index=jt++,qt.collectPropertiesInCssText(Gt.propertyInfo.cssText,Wt)},function(Vt){Bt.push(Vt)}),Ut._keyframes=Bt;let Kt=[];for(let Gt in Wt)Kt.push(Gt);return Kt}decorateRule(Ut){if(Ut.propertyInfo)return Ut.propertyInfo;let qt={},Wt={},Bt=this.collectProperties(Ut,Wt);return Bt&&(qt.properties=Wt,Ut.rules=null),qt.cssText=this.collectCssText(Ut),Ut.propertyInfo=qt,qt}collectProperties(Ut,qt){let Wt=Ut.propertyInfo;if(!Wt){let Bt,Kt=Ut.parsedCssText,Gt,Vt;for(;Bt=Ue.exec(Kt);)Gt=(Bt[2]||Bt[3]).trim(),('inherit'!==Gt||'unset'!==Gt)&&(qt[Bt[1].trim()]=Gt),Vt=!0;return Vt}else if(Wt.properties)return Object.assign(qt,Wt.properties),!0}collectCssText(Ut){return this.collectConsumingCssText(Ut.parsedCssText)}collectConsumingCssText(Ut){return Ut.replace(Ke,'').replace(Ue,'')}collectPropertiesInCssText(Ut,qt){for(let Wt,Bt;Wt=We.exec(Ut);)Bt=Wt[1],':'!==Wt[2]&&(qt[Bt]=!0)}reify(Ut){let qt=Object.getOwnPropertyNames(Ut);for(let Bt,Wt=0;Wt<qt.length;Wt++)Bt=qt[Wt],Ut[Bt]=this.valueForProperty(Ut[Bt],Ut)}valueForProperty(Ut,qt){if(Ut)if(0<=Ut.indexOf(';'))Ut=this.valueForProperties(Ut,qt);else{let Wt=this;Ut=fe(Ut,function(jt,Kt,Gt,Vt){if(!Kt)return jt+Vt;let Xt=Wt.valueForProperty(qt[Kt],qt);return Xt&&'initial'!==Xt?'apply-shim-inherit'===Xt&&(Xt='inherit'):Xt=Wt.valueForProperty(qt[Gt]||Gt,qt)||Gt,jt+(Xt||'')+Vt})}return Ut&&Ut.trim()||''}valueForProperties(Ut,qt){let Wt=Ut.split(';');for(let jt,Kt,Bt=0;Bt<Wt.length;Bt++)if(jt=Wt[Bt]){if(qe.lastIndex=0,Kt=qe.exec(jt),Kt)jt=this.valueForProperty(qt[Kt[1]],qt);else{let Gt=jt.indexOf(':');if(-1!==Gt){let Vt=jt.substring(Gt);Vt=Vt.trim(),Vt=this.valueForProperty(Vt,qt)||Vt,jt=jt.substring(0,Gt)+Vt}}Wt[Bt]=jt&&jt.lastIndexOf(';')===jt.length-1?jt.slice(0,-1):jt||''}return Wt.join(';')}applyProperties(Ut,qt){let Wt='';Ut.propertyInfo||this.decorateRule(Ut),Ut.propertyInfo.cssText&&(Wt=this.valueForProperties(Ut.propertyInfo.cssText,qt)),Ut.cssText=Wt}applyKeyframeTransforms(Ut,qt){let Wt=Ut.cssText,Bt=Ut.cssText;if(null==Ut.hasAnimations&&(Ut.hasAnimations=Be.test(Wt)),Ut.hasAnimations){let jt;if(null==Ut.keyframeNamesToTransform)for(let Kt in Ut.keyframeNamesToTransform=[],qt)jt=qt[Kt],Bt=jt(Wt),Wt!==Bt&&(Wt=Bt,Ut.keyframeNamesToTransform.push(Kt));else{for(let Kt=0;Kt<Ut.keyframeNamesToTransform.length;++Kt)jt=qt[Ut.keyframeNamesToTransform[Kt]],Wt=jt(Wt);Bt=Wt}}Ut.cssText=Bt}propertyDataFromStyles(Ut,qt){let Wt={},Bt=this,jt=[];return he(Ut,function(Kt){Kt.propertyInfo||Bt.decorateRule(Kt);let Gt=Kt.transformedSelector||Kt.parsedSelector;qt&&Kt.propertyInfo.properties&&Gt&&mt.call(qt,Gt)&&(Bt.collectProperties(Kt,Wt),Ne(Kt.index,jt))},null,!0),{properties:Wt,key:jt}}whenHostOrRootRule(Ut,qt,Wt,Bt){if(qt.propertyInfo||this.decorateRule(qt),!!qt.propertyInfo.properties){let{is:jt,typeExtension:Kt}=be(Ut),Gt=Ut.is?ut._calcHostScope(jt,Kt):'html',Vt=qt.parsedSelector,Xt=':host > *'===Vt||'html'===Vt,Yt=0===Vt.indexOf(':host')&&!Xt;if('shady'===Wt&&(Xt=Vt===Gt+' > *.'+Gt||-1!==Vt.indexOf('html'),Yt=!Xt&&0===Vt.indexOf(Gt)),'shadow'===Wt&&(Xt=':host > *'===Vt||'html'===Vt,Yt=Yt&&!Xt),Xt||Yt){let zt=Gt;Yt&&(Fe&&!qt.transformedSelector&&(qt.transformedSelector=ut._transformRuleCss(qt,ut._transformComplexSelector,ut._calcElementScope(jt),Gt)),zt=qt.transformedSelector||Gt),Bt({selector:zt,isHost:Yt,isRoot:Xt})}}}hostAndRootPropertiesForScope(Ut,qt){let Wt={},Bt={},jt=this,Kt=qt&&qt.__cssBuild;return he(qt,function(Gt){jt.whenHostOrRootRule(Ut,Gt,Kt,function(Vt){let Xt=Ut._element||Ut;mt.call(Xt,Vt.selector)&&(Vt.isHost?jt.collectProperties(Gt,Wt):jt.collectProperties(Gt,Bt))})},null,!0),{rootProps:Bt,hostProps:Wt}}transformStyles(Ut,qt,Wt){let Bt=this,{is:jt,typeExtension:Kt}=be(Ut),Gt=ut._calcHostScope(jt,Kt),Vt=Ut.extends?'\\'+Gt.slice(0,-1)+'\\]':Gt,Xt=new RegExp('(?:^|[^.#[:])'+Vt+'($|[.:[\\s>+~])'),Yt=yt.get(Ut).styleRules,zt=this._elementKeyframeTransforms(Ut,Yt,Wt);return ut.elementStyles(Ut,Yt,function($t){Bt.applyProperties($t,qt),Fe||ce($t)||!$t.cssText||(Bt.applyKeyframeTransforms($t,zt),Bt._scopeSelector($t,Xt,Gt,Wt))})}_elementKeyframeTransforms(Ut,qt,Wt){let Bt=qt._keyframes,jt={};if(!Fe&&Bt)for(let Kt=0,Gt=Bt[Kt];Kt<Bt.length;Gt=Bt[++Kt])this._scopeKeyframes(Gt,Wt),jt[Gt.keyframesName]=this._keyframesRuleTransformer(Gt);return jt}_keyframesRuleTransformer(Ut){return function(qt){return qt.replace(Ut.keyframesNameRx,Ut.transformedKeyframesName)}}_scopeKeyframes(Ut,qt){Ut.keyframesNameRx=new RegExp(Ut.keyframesName,'g'),Ut.transformedKeyframesName=Ut.keyframesName+'-'+qt,Ut.transformedSelector=Ut.transformedSelector||Ut.selector,Ut.selector=Ut.transformedSelector.replace(Ut.keyframesName,Ut.transformedKeyframesName)}_scopeSelector(Ut,qt,Wt,Bt){Ut.transformedSelector=Ut.transformedSelector||Ut.selector;let jt=Ut.transformedSelector,Kt='.'+Bt,Gt=jt.split(',');for(let Yt,Vt=0,Xt=Gt.length;Vt<Xt&&(Yt=Gt[Vt]);Vt++)Gt[Vt]=Yt.match(qt)?Yt.replace(Wt,Kt):Kt+' '+Yt;Ut.selector=Gt.join(',')}applyElementScopeSelector(Ut,qt,Wt){let Bt=Ut.getAttribute('class')||'',jt=Bt;Wt&&(jt=Bt.replace(new RegExp('\\s*'+ft+'\\s*'+Wt+'\\s*','g'),' ')),jt+=(jt?' ':'')+ft+' '+qt,Bt!==jt&&Se(Ut,jt)}applyElementStyle(Ut,qt,Wt,Bt){let jt=Bt?Bt.textContent||'':this.transformStyles(Ut,qt,Wt),Kt=yt.get(Ut),Gt=Kt.customStyle;return Gt&&!Fe&&Gt!==Bt&&(Gt._useCount--,0>=Gt._useCount&&Gt.parentNode&&Gt.parentNode.removeChild(Gt)),Fe?Kt.customStyle?(Kt.customStyle.textContent=jt,Bt=Kt.customStyle):jt&&(Bt=ue(jt,Wt,Ut.shadowRoot,Kt.placeholder)):Bt?!Bt.parentNode&&me(Bt,null,Kt.placeholder):jt&&(Bt=ue(jt,Wt,null,Kt.placeholder)),Bt&&(Bt._useCount=Bt._useCount||0,Kt.customStyle!=Bt&&Bt._useCount++,Kt.customStyle=Bt),gt&&(Bt.textContent=Bt.textContent),Bt}applyCustomStyle(Ut,qt){let Wt=pe(Ut),Bt=this;Ut.textContent=ie(Wt,function(jt){let Kt=jt.cssText=jt.parsedCssText;jt.propertyInfo&&jt.propertyInfo.cssText&&(Kt=le(Kt),jt.cssText=Bt.valueForProperties(Kt,qt))})}}var bt=new St;let Ct=function(){};if(!Fe){let Ut=Kt=>{return Kt.classList&&!Kt.classList.contains(ut.SCOPE_NAME)||Kt instanceof window.SVGElement&&(!Kt.hasAttribute('class')||0>Kt.getAttribute('class').indexOf(ut.SCOPE_NAME))},qt=Kt=>{for(let Vt,Gt=0;Gt<Kt.length;Gt++)if(Vt=Kt[Gt],Vt.target!==document.documentElement&&Vt.target!==document.head){for(let Yt,Xt=0;Xt<Vt.addedNodes.length;Xt++)if(Yt=Vt.addedNodes[Xt],Ut(Yt)){let zt=Yt.getRootNode();if(zt.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let $t=zt.host;if($t){let{is:Zt}=be($t);ut.dom(Yt,Zt)}}}for(let Yt,Xt=0;Xt<Vt.removedNodes.length;Xt++)if(Yt=Vt.removedNodes[Xt],Yt.nodeType===Node.ELEMENT_NODE){let zt;if(Yt.classList?zt=Array.from(Yt.classList):Yt.hasAttribute('class')&&(zt=Yt.getAttribute('class').split(/\s+/)),void 0!=zt){let $t=zt.indexOf(ut.SCOPE_NAME);if(0<=$t){let Zt=zt[$t+1];Zt&&ut.dom(Yt,Zt,!0)}}}}},Wt=new MutationObserver(qt),Bt=Kt=>{Wt.observe(Kt,{childList:!0,subtree:!0})},jt=window.customElements&&!window.customElements.flush;if(jt)Bt(document);else{let Kt=()=>{Bt(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Kt):requestAnimationFrame(function(){if('loading'===document.readyState){let Gt=function(){Kt(),document.removeEventListener('readystatechange',Gt)};document.addEventListener('readystatechange',Gt)}else Kt()})}Ct=function(){qt(Wt.takeRecords())}}const Et={},vt=Promise.resolve();let Pt=null,Tt=window.HTMLImports&&window.HTMLImports.whenReady||null,Rt;const At='__processedByShadyCSS',xt='__seenByShadyCSS';let It=null,Ot=null;class Mt{constructor(){this.customStyles=[],this.enqueued=!1}enqueueDocumentValidation(){this.enqueued||!Ot||(this.enqueued=!0,Re(Ot))}addCustomStyle(Ut){Ut[xt]||(Ut[xt]=!0,this.customStyles.push(Ut),this.enqueueDocumentValidation())}getStyleForCustomStyle(Ut){let qt;return qt=Ut.getStyle?Ut.getStyle():Ut,qt}processStyles(){let Ut=this.customStyles;for(let Wt,qt=0;qt<Ut.length;qt++)if(Wt=Ut[qt],!Wt[At]){let Bt=this.getStyleForCustomStyle(Wt);if(Bt){Wt[At]=!0;let jt=Bt.__appliedElement;if(jt)for(let Gt,Kt=0;Kt<Bt.attributes.length;Kt++)Gt=Bt.attributes[Kt],jt.setAttribute(Gt.name,Gt.value);It&&It(jt||Bt)}}return Ut}}Mt.prototype.addCustomStyle=Mt.prototype.addCustomStyle,Mt.prototype.getStyleForCustomStyle=Mt.prototype.getStyleForCustomStyle,Mt.prototype.processStyles=Mt.prototype.processStyles,Object.defineProperties(Mt.prototype,{transformCallback:{get(){return It},set(Ut){It=Ut}},validateCallback:{get(){return Ot},set(Ut){let qt=!1;Ot||(qt=!0),Ot=Ut,qt&&this.enqueueDocumentValidation()}}});const Dt=new class{constructor(Ut=100){this.cache={},this.typeMax=Ut}_validate(Ut,qt,Wt){for(let jt,Bt=0;Bt<Wt.length;Bt++)if(jt=Wt[Bt],Ut.properties[jt]!==qt[jt])return!1;return!0}store(Ut,qt,Wt,Bt){let jt=this.cache[Ut]||[];jt.push({properties:qt,styleElement:Wt,scopeSelector:Bt}),jt.length>this.typeMax&&jt.shift(),this.cache[Ut]=jt}fetch(Ut,qt,Wt){let Bt=this.cache[Ut];if(Bt)for(let Kt,jt=Bt.length-1;0<=jt;jt--)if(Kt=Bt[jt],this._validate(Kt,qt,Wt))return Kt}},wt={};class Lt{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;let Ut=new xe;Ut.rules=[],this._documentOwnerStyleInfo=yt.set(this._documentOwner,new yt(Ut)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null,Re(()=>{this._ensure()})}flush(){Ct()}_generateScopeSelector(Ut){let qt=this._scopeCounter[Ut]=(this._scopeCounter[Ut]||0)+1;return`${Ut}-${qt}`}getStyleAst(Ut){return pe(Ut)}styleAstToString(Ut){return ie(Ut)}_gatherStyles(Ut){let qt=Ut.content.querySelectorAll('style'),Wt=[];for(let jt,Bt=0;Bt<qt.length;Bt++)jt=qt[Bt],Wt.push(jt.textContent),jt.parentNode.removeChild(jt);return Wt.join('').trim()}_getCssBuild(Ut){let qt=Ut.content.querySelector('style');return qt?qt.getAttribute('css-build')||'':''}prepareTemplate(Ut,qt,Wt){if(!Ut._prepared){Ut._prepared=!0,Ut.name=qt,Ut.extends=Wt,Et[qt]=Ut;let Bt=this._getCssBuild(Ut),jt=this._gatherStyles(Ut),Kt={is:qt,extends:Wt,__cssBuild:Bt};Fe||(wt[Kt.is]=ye(Kt.is),ut.dom(Ut.content,qt)),this._ensure();let Gt=this._applyShim.detectMixin(jt),Vt=_(jt);Gt&&He&&this._applyShim.transformRules(Vt,qt),Ut._styleAst=Vt,Ut._cssBuild=Bt;let Xt=[];if(He||(Xt=bt.decorateStyles(Ut._styleAst,Kt)),!Xt.length||He){let Yt=Fe?Ut.content:null,zt=wt[qt],$t=this._generateStaticStyle(Kt,Ut._styleAst,Yt,zt);Ut._style=$t}Ut._ownPropertyNames=Xt}}_generateStaticStyle(Ut,qt,Wt,Bt){let jt=ut.elementStyles(Ut,qt);if(jt.length)return ue(jt,Ut.is,Wt,Bt)}_prepareHost(Ut){let Kt,Gt,Vt,{is:qt,typeExtension:Wt}=be(Ut),Bt=wt[qt],jt=Et[qt];return jt&&(Kt=jt._styleAst,Gt=jt._ownPropertyNames,Vt=jt._cssBuild),yt.set(Ut,new yt(Kt,Bt,Gt,qt,Wt,Vt))}_ensureApplyShim(){this._applyShim||(window.ShadyCSS.ApplyShim?(this._applyShim=window.ShadyCSS.ApplyShim,this._applyShim.invalidCallback=Ce):this._applyShim={['detectMixin'](){return!1},['transformRule'](){},['transformRules'](){}})}_ensureCustomStyleInterface(){this._customStyleInterface||(window.ShadyCSS.CustomStyleInterface?(this._customStyleInterface=window.ShadyCSS.CustomStyleInterface,this._customStyleInterface.transformCallback=Ut=>{this.transformCustomStyleForDocument(Ut)},this._customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})}):this._customStyleInterface={['processStyles'](){},enqueued:!1,['getStyleForCustomStyle'](){return null}})}_ensure(){this._ensureApplyShim(),this._ensureCustomStyleInterface()}flushCustomStyles(){this._ensure();let Ut=this._customStyleInterface.processStyles();this._customStyleInterface.enqueued&&(He?this._revalidateCustomStyleApplyShim(Ut):(this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(Ut)),this._customStyleInterface.enqueued=!1,this._elementsHaveApplied&&!He&&this.styleDocument())}styleElement(Ut,qt){let{is:Wt}=be(Ut),Bt=yt.get(Ut);if(Bt||(Bt=this._prepareHost(Ut)),this._isRootOwner(Ut)||(this._elementsHaveApplied=!0),qt&&(Bt.overrideStyleProperties=Bt.overrideStyleProperties||{},Object.assign(Bt.overrideStyleProperties,qt)),!He)this._updateProperties(Ut,Bt),Bt.ownStylePropertyNames&&Bt.ownStylePropertyNames.length&&this._applyStyleProperties(Ut,Bt);else{Bt.overrideStyleProperties&&Ae(Ut,Bt.overrideStyleProperties);let jt=Et[Wt];if(!jt&&!this._isRootOwner(Ut))return;if(jt&&jt._style&&!ve(jt)){if(Pe(jt)||(this._ensure(),this._applyShim.transformRules(jt._styleAst,Wt),jt._style.textContent=ut.elementStyles(Ut,Bt.styleRules),Te(jt)),Fe){let Kt=Ut.shadowRoot;if(Kt){let Gt=Kt.querySelector('style');Gt.textContent=ut.elementStyles(Ut,Bt.styleRules)}}Bt.styleRules=jt._styleAst}}}_styleOwnerForNode(Ut){let qt=Ut.getRootNode(),Wt=qt.host;return Wt?yt.get(Wt)?Wt:this._styleOwnerForNode(Wt):this._documentOwner}_isRootOwner(Ut){return Ut===this._documentOwner}_applyStyleProperties(Ut,qt){let Wt=be(Ut).is,Bt=Dt.fetch(Wt,qt.styleProperties,qt.ownStylePropertyNames),jt=Bt&&Bt.scopeSelector,Kt=Bt?Bt.styleElement:null,Gt=qt.scopeSelector;qt.scopeSelector=jt||this._generateScopeSelector(Wt);let Vt=bt.applyElementStyle(Ut,qt.styleProperties,qt.scopeSelector,Kt);return Fe||bt.applyElementScopeSelector(Ut,qt.scopeSelector,Gt),Bt||Dt.store(Wt,qt.styleProperties,Vt,qt.scopeSelector),Vt}_updateProperties(Ut,qt){let Wt=this._styleOwnerForNode(Ut),Bt=yt.get(Wt),jt=Bt.styleProperties,Kt=Object.create(jt||null),Gt=bt.hostAndRootPropertiesForScope(Ut,qt.styleRules),Vt=bt.propertyDataFromStyles(Bt.styleRules,Ut),Xt=Vt.properties;Object.assign(Kt,Gt.hostProps,Xt,Gt.rootProps),this._mixinOverrideStyles(Kt,qt.overrideStyleProperties),bt.reify(Kt),qt.styleProperties=Kt}_mixinOverrideStyles(Ut,qt){for(let Wt in qt){let Bt=qt[Wt];(Bt||0===Bt)&&(Ut[Wt]=Bt)}}styleDocument(Ut){this.styleSubtree(this._documentOwner,Ut)}styleSubtree(Ut,qt){let Wt=Ut.shadowRoot;(Wt||this._isRootOwner(Ut))&&this.styleElement(Ut,qt);let Bt=Wt&&(Wt.children||Wt.childNodes);if(Bt)for(let Kt,jt=0;jt<Bt.length;jt++)Kt=Bt[jt],this.styleSubtree(Kt);else{let jt=Ut.children||Ut.childNodes;if(jt)for(let Gt,Kt=0;Kt<jt.length;Kt++)Gt=jt[Kt],this.styleSubtree(Gt)}}_revalidateCustomStyleApplyShim(Ut){for(let qt=0;qt<Ut.length;qt++){let Wt=Ut[qt],Bt=this._customStyleInterface.getStyleForCustomStyle(Wt);Bt&&this._revalidateApplyShim(Bt)}}_applyCustomStyles(Ut){for(let qt=0;qt<Ut.length;qt++){let Wt=Ut[qt],Bt=this._customStyleInterface.getStyleForCustomStyle(Wt);Bt&&bt.applyCustomStyle(Bt,this._documentOwnerStyleInfo.styleProperties)}}transformCustomStyleForDocument(Ut){let qt=pe(Ut);he(qt,Wt=>{Fe?ut.normalizeRootSelector(Wt):ut.documentRule(Wt),He&&(this._ensure(),this._applyShim.transformRule(Wt))}),He?Ut.textContent=ie(qt):this._documentOwnerStyleInfo.styleRules.rules.push(qt)}_revalidateApplyShim(Ut){if(He){let qt=pe(Ut);this._ensure(),this._applyShim.transformRules(qt),Ut.textContent=ie(qt)}}getComputedStyleValue(Ut,qt){let Wt;if(!He){let Bt=yt.get(Ut)||yt.get(this._styleOwnerForNode(Ut));Wt=Bt.styleProperties[qt]}return Wt=Wt||window.getComputedStyle(Ut).getPropertyValue(qt),Wt.trim()}setElementClass(Ut,qt){let Wt=Ut.getRootNode(),Bt=qt?qt.split(/\s/):[],jt=Wt.host&&Wt.host.localName;if(!jt){var Kt=Ut.getAttribute('class');if(Kt){let Gt=Kt.split(/\s/);for(let Vt=0;Vt<Gt.length;Vt++)if(Gt[Vt]===ut.SCOPE_NAME){jt=Gt[Vt+1];break}}}if(jt&&Bt.push(ut.SCOPE_NAME,jt),!He){let Gt=yt.get(Ut);Gt&&Gt.scopeSelector&&Bt.push(bt.XSCOPE_NAME,Gt.scopeSelector)}Se(Ut,Bt.join(' '))}_styleInfoForNode(Ut){return yt.get(Ut)}}Lt.prototype.flush=Lt.prototype.flush,Lt.prototype.prepareTemplate=Lt.prototype.prepareTemplate,Lt.prototype.styleElement=Lt.prototype.styleElement,Lt.prototype.styleDocument=Lt.prototype.styleDocument,Lt.prototype.styleSubtree=Lt.prototype.styleSubtree,Lt.prototype.getComputedStyleValue=Lt.prototype.getComputedStyleValue,Lt.prototype.setElementClass=Lt.prototype.setElementClass,Lt.prototype._styleInfoForNode=Lt.prototype._styleInfoForNode,Lt.prototype.transformCustomStyleForDocument=Lt.prototype.transformCustomStyleForDocument,Lt.prototype.getStyleAst=Lt.prototype.getStyleAst,Lt.prototype.styleAstToString=Lt.prototype.styleAstToString,Lt.prototype.flushCustomStyles=Lt.prototype.flushCustomStyles,Object.defineProperties(Lt.prototype,{nativeShadow:{get(){return Fe}},nativeCss:{get(){return He}}});const kt=new Lt;let Ft,Ht;window.ShadyCSS&&(Ft=window.ShadyCSS.ApplyShim,Ht=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:kt,prepareTemplate(Ut,qt,Wt){kt.flushCustomStyles(),kt.prepareTemplate(Ut,qt,Wt)},styleSubtree(Ut,qt){kt.flushCustomStyles(),kt.styleSubtree(Ut,qt)},styleElement(Ut){kt.flushCustomStyles(),kt.styleElement(Ut)},styleDocument(Ut){kt.flushCustomStyles(),kt.styleDocument(Ut)},getComputedStyleValue(Ut,qt){return kt.getComputedStyleValue(Ut,qt)},nativeCss:He,nativeShadow:Fe},Ft&&(window.ShadyCSS.ApplyShim=Ft),Ht&&(window.ShadyCSS.CustomStyleInterface=Ht),function(){'use strict';if(customElements&&customElements.polyfillWrapFlushCallback){function qt(){if(Wt){let jt=Wt;return Wt=null,jt(),!0}}let Wt,Bt=HTMLImports.whenReady;customElements.polyfillWrapFlushCallback(function(jt){Wt=jt,Bt(qt)}),HTMLImports.whenReady=function(jt){Bt(function(){qt()?HTMLImports.whenReady(jt):jt()})}}HTMLImports.whenReady(function(){requestAnimationFrame(function(){window.dispatchEvent(new CustomEvent('WebComponentsReady'))})})}(window.WebComponents),function(){var qt=document.createElement('style');qt.textContent='body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n';var Wt=document.querySelector('head');Wt.insertBefore(qt,Wt.firstChild)}(window.WebComponents)})();
//# sourceMappingURL=webcomponents-hi-sd-ce.js.map