| 11 window.WebComponents=window.WebComponents||{},function(e){var t=e.flags||{},n="w
ebcomponents.js",o=document.querySelector('script[src*="'+n+'"]');if(!t.noOpts){
if(location.search.slice(1).split("&").forEach(function(e){e=e.split("="),e[0]&&
(t[e[0]]=e[1]||!0)}),o)for(var r,i=0;r=o.attributes[i];i++)"src"!==r.name&&(t[r.
name]=r.value||!0);if(t.log){var a=t.log.split(",");t.log={},a.forEach(function(
e){t.log[e]=!0})}else t.log={}}t.shadow=t.shadow||t.shadowdom||t.polyfill,t.shad
ow="native"===t.shadow?!1:t.shadow||!HTMLElement.prototype.createShadowRoot,t.re
gister&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomEl
ements.flags.register=t.register),e.flags=t}(WebComponents),"undefined"==typeof
WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){t
his.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t
,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writ
able:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void
0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0
,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMa
p=n}(),function(e){function t(e){_.push(e),w||(w=!0,h(o))}function n(e){return w
indow.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(
){w=!1;var e=_;_=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEa
ch(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&
&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(func
tion(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var
n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r<o.length;r++){var i=o[r
],a=i.options;if(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){t
his.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++E}function s(e,t){th
is.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSib
ling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=
null,this.oldValue=null}function d(e){var t=new s(e.type,e.target);return t.adde
dNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibl
ing=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeNam
e,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function c(e
,t){return y=new s(e,t)}function u(e){return L?L:(L=d(y),L.oldValue=e,L)}functio
n l(){y=L=void 0}function m(e){return e===L||e===y}function f(e,t){return e===t?
e:L&&m(e)?L:null}function p(e,t,n){this.observer=e,this.target=t,this.options=n,
this.transientObservedNodes=[]}var h,v=new WeakMap;if(/Trident|Edge/.test(naviga
tor.userAgent))h=setTimeout;else if(window.setImmediate)h=window.setImmediate;el
se{var g=[],b=String(Math.random());window.addEventListener("message",function(e
){if(e.data===b){var t=g;g=[],t.forEach(function(e){e()})}}),h=function(e){g.pus
h(e),window.postMessage(b,"*")}}var w=!1,_=[],E=0;a.prototype={observe:function(
e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValu
e&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.
characterDataOldValue&&!t.characterData)throw new SyntaxError;var o=v.get(e);o||
v.set(e,o=[]);for(var r,i=0;i<o.length;i++)if(o[i].observer===this){r=o[i],r.rem
oveListeners(),r.options=t;break}r||(r=new p(this,e,t),o.push(r),this.nodes_.pus
h(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){fo
r(var t=v.get(e),n=0;n<t.length;n++){var o=t[n];if(o.observer===this){o.removeLi
steners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){
var e=this.records_;return this.records_=[],e}};var y,L;p.prototype={enqueue:fun
ction(e){var n=this.observer.records_,o=n.length;if(n.length>0){var r=n[o-1],i=f
(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:func
tion(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.opt
ions;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData
&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEvent
Listener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener
("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(thi
s.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.remov
eEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener
("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNode
Inserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemov
ed",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListe
ners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.p
ush(this)}},removeTransientObservers:function(){var e=this.transientObservedNode
s;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);
for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this
)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMA
ttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target,r=new c("a
ttributes",o);r.attributeName=t,r.attributeNamespace=n;var a=e.attrChange===Muta
tionEvent.ADDITION?null:e.prevValue;i(o,function(e){return!e.attributes||e.attri
buteFilter&&e.attributeFilter.length&&-1===e.attributeFilter.indexOf(t)&&-1===e.
attributeFilter.indexOf(n)?void 0:e.attributeOldValue?u(a):r});break;case"DOMCha
racterDataModified":var o=e.target,r=c("characterData",o),a=e.prevValue;i(o,func
tion(e){return e.characterData?e.characterDataOldValue?u(a):r:void 0});break;cas
e"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var
s,d,o=e.relatedNode,m=e.target;"DOMNodeInserted"===e.type?(s=[m],d=[]):(s=[],d=[
m]);var f=m.previousSibling,p=m.nextSibling,r=c("childList",o);r.addedNodes=s,r.
removedNodes=d,r.previousSibling=f,r.nextSibling=p,i(o,function(e){return e.chil
dList?r:void 0})}l()}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObs
erver=a)}(this),window.HTMLImports=window.HTMLImports||{flags:{}},function(e){fu
nction t(e,t){t=t||p,o(function(){i(e,t)},t)}function n(e){return"complete"===e.
readyState||e.readyState===g}function o(e,t){if(n(t))e&&e();else{var r=function(
){("complete"===t.readyState||t.readyState===g)&&(t.removeEventListener(b,r),o(e
,t))};t.addEventListener(b,r)}}function r(e){e.target.__loaded=!0}function i(e,t
){function n(){s==d&&e&&e()}function o(e){r(e),s++,n()}var i=t.querySelectorAll(
"link[rel=import]"),s=0,d=i.length;if(d)for(var c,u=0;d>u&&(c=i[u]);u++)a(c)?o.c
all(c,{target:c}):(c.addEventListener("load",o),c.addEventListener("error",o));e
lse n()}function a(e){return l?e.__loaded||e["import"]&&"loading"!==e["import"].
readyState:e.__importParsed}function s(e){for(var t,n=0,o=e.length;o>n&&(t=e[n])
;n++)d(t)&&c(t)}function d(e){return"link"===e.localName&&"import"===e.rel}funct
ion c(e){var t=e["import"];t?r({target:e}):(e.addEventListener("load",r),e.addEv
entListener("error",r))}var u="import",l=Boolean(u in document.createElement("li
nk")),m=Boolean(window.ShadowDOMPolyfill),f=function(e){return m?ShadowDOMPolyfi
ll.wrapIfNeeded(e):e},p=f(document),h={get:function(){var e=HTMLImports.currentS
cript||document.currentScript||("complete"!==document.readyState?document.script
s[document.scripts.length-1]:null);return f(e)},configurable:!0};Object.definePr
operty(document,"_currentScript",h),Object.defineProperty(p,"_currentScript",h);
var v=/Trident|Edge/.test(navigator.userAgent),g=v?"complete":"interactive",b="r
eadystatechange";l&&(new MutationObserver(function(e){for(var t,n=0,o=e.length;o
>n&&(t=e[n]);n++)t.addedNodes&&s(t.addedNodes)}).observe(document.head,{childLis
t:!0}),function(){if("loading"===document.readyState)for(var e,t=document.queryS
electorAll("link[rel=import]"),n=0,o=t.length;o>n&&(e=t[n]);n++)c(e)}()),t(funct
ion(){HTMLImports.ready=!0,HTMLImports.readyTime=(new Date).getTime();var e=p.cr
eateEvent("CustomEvent");e.initCustomEvent("HTMLImportsLoaded",!0,!0,{}),p.dispa
tchEvent(e)}),e.IMPORT_LINK_TYPE=u,e.useNative=l,e.rootDocument=p,e.whenReady=t,
e.isIE=v}(HTMLImports),function(e){var t=[],n=function(e){t.push(e)},o=function(
){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o}(HTMLImports
),HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,n=/(@import[\s]+
(?!url\())([^;]*)(;)/g,o={resolveUrlsInStyle:function(e){var t=e.ownerDocument,n
=t.createElement("a");return e.textContent=this.resolveUrlsInCssText(e.textConte
nt,n),e},resolveUrlsInCssText:function(e,o){var r=this.replaceUrls(e,o,t);return
r=this.replaceUrls(r,o,n)},replaceUrls:function(e,t,n){return e.replace(n,funct
ion(e,n,o,r){var i=o.replace(/["']/g,"");return t.href=i,i=t.href,n+"'"+i+"'"+r}
)}};e.path=o}),HTMLImports.addModule(function(e){var t={async:!0,ok:function(e){
return e.status>=200&&e.status<300||304===e.status||0===e.status},load:function(
n,o,r){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Mat
h.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",functi
on(){if(4===i.readyState){var e=i.getResponseHeader("Location"),n=null;if(e)var
n="/"===e.substr(0,1)?location.origin+e:e;o.call(r,!t.ok(i)&&i,i.response||i.res
ponseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).respon
seType="document"}};e.xhr=t}),HTMLImports.addModule(function(e){var t=e.xhr,n=e.
flags,o=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.infligh
t=0,this.pending={}};o.prototype={addNodes:function(e){this.inflight+=e.length;f
or(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)this.require(t);this.checkDone()},addN
ode:function(e){this.inflight++,this.require(e),this.checkDone()},require:functi
on(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedup
e:function(e,t){if(this.pending[e])return this.pending[e].push(t),!0;return this
.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!
1)},fetch:function(e,o){if(n.load&&console.log("fetch",e,o),e)if(e.match(/^data:
/)){var r=e.split(","),i=r[0],a=r[1];a=i.indexOf(";base64")>-1?atob(a):decodeURI
Component(a),setTimeout(function(){this.receive(e,o,null,a)}.bind(this),0)}else{
var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(this);t.load(e,s)}else setTi
meout(function(){this.receive(e,o,{error:"href must be specified"},null)}.bind(t
his),0)},receive:function(e,t,n,o,r){this.cache[e]=o;for(var i,a=this.pending[e]
,s=0,d=a.length;d>s&&(i=a[s]);s++)this.onload(e,i,o,n,r),this.tail();this.pendin
g[e]=null},tail:function(){--this.inflight,this.checkDone()},checkDone:function(
){this.inflight||this.oncomplete()}},e.Loader=o}),HTMLImports.addModule(function
(e){var t=function(e){this.addCallback=e,this.mo=new MutationObserver(this.handl
er.bind(this))};t.prototype={handler:function(e){for(var t,n=0,o=e.length;o>n&&(
t=e[n]);n++)"childList"===t.type&&t.addedNodes.length&&this.addedNodes(t.addedNo
des)},addedNodes:function(e){this.addCallback&&this.addCallback(e);for(var t,n=0
,o=e.length;o>n&&(t=e[n]);n++)t.children&&t.children.length&&this.addedNodes(t.c
hildren)},observe:function(e){this.mo.observe(e,{childList:!0,subtree:!0})}},e.O
bserver=t}),HTMLImports.addModule(function(e){function t(e){return"link"===e.loc
alName&&e.rel===u}function n(e){var t=o(e);return"data:text/javascript;charset=u
tf-8,"+encodeURIComponent(t)}function o(e){return e.textContent+r(e)}function r(
e){var t=e.ownerDocument;t.__importedScripts=t.__importedScripts||0;var n=e.owne
rDocument.baseURI,o=t.__importedScripts?"-"+t.__importedScripts:"";return t.__im
portedScripts++,"\n//# sourceURL="+n+o+".js\n"}function i(e){var t=e.ownerDocume
nt.createElement("style");return t.textContent=e.textContent,a.resolveUrlsInStyl
e(t),t}var a=e.path,s=e.rootDocument,d=e.flags,c=e.isIE,u=e.IMPORT_LINK_TYPE,l="
link[rel="+u+"]",m={documentSelectors:l,importsSelectors:[l,"link[rel=stylesheet
]","style","script:not([type])",'script[type="text/javascript"]'].join(","),map:
{link:"parseLink",script:"parseScript",style:"parseStyle"},dynamicElements:[],pa
rseNext:function(){var e=this.nextToParse();e&&this.parse(e)},parse:function(e){
if(this.isParsed(e))return void(d.parse&&console.log("[%s] is already parsed",e.
localName));var t=this[this.map[e.localName]];t&&(this.markParsing(e),t.call(thi
s,e))},parseDynamic:function(e,t){this.dynamicElements.push(e),t||this.parseNext
()},markParsing:function(e){d.parse&&console.log("parsing",e),this.parsingElemen
t=e},markParsingComplete:function(e){e.__importParsed=!0,this.markDynamicParsing
Complete(e),e.__importElement&&(e.__importElement.__importParsed=!0,this.markDyn
amicParsingComplete(e.__importElement)),this.parsingElement=null,d.parse&&consol
e.log("completed",e)},markDynamicParsingComplete:function(e){var t=this.dynamicE
lements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1)},parseImport:function(
e){if(HTMLImports.__importsParsingHook&&HTMLImports.__importsParsingHook(e),e["i
mport"]&&(e["import"].__importParsed=!0),this.markParsingComplete(e),e.dispatchE
vent(e.__resource&&!e.__error?new CustomEvent("load",{bubbles:!1}):new CustomEve
nt("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pendin
g.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.par
seImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e
;e=i(e),e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.
trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){f
or(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t
},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importEle
ment||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,o
=function(o){t&&t(o),n.markParsingComplete(e),n.parseNext()};if(e.addEventListen
er("load",o),e.addEventListener("error",o),c&&"style"===e.localName){var r=!1;if
(-1==e.textContent.indexOf("@import"))r=!0;else if(e.sheet){r=!0;for(var i,a=e.s
heet.cssRules,s=a?a.length:0,d=0;s>d&&(i=a[d]);d++)i.type===CSSRule.IMPORT_RULE&
&(r=r&&Boolean(i.styleSheet))}r&&e.dispatchEvent(new CustomEvent("load",{bubbles
:!1}))}},parseScript:function(t){var o=document.createElement("script");o.__impo
rtElement=t,o.src=t.src?t.src:n(t),e.currentScript=t,this.trackElement(o,functio
n(){o.parentNode.removeChild(o),e.currentScript=null}),this.addElementToDocument
(o)},nextToParse:function(){return this._mayParse=[],!this.parsingElement&&(this
.nextToParseInDoc(s)||this.nextToParseDynamic())},nextToParseInDoc:function(e,n)
{if(e&&this._mayParse.indexOf(e)<0){this._mayParse.push(e);for(var o,r=e.querySe
lectorAll(this.parseSelectorsForNode(e)),i=0,a=r.length;a>i&&(o=r[i]);i++)if(!th
is.isParsed(o))return this.hasResource(o)?t(o)?this.nextToParseInDoc(o["import"]
,o):o:void 0}return n},nextToParseDynamic:function(){return this.dynamicElements
[0]},parseSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===s?thi
s.documentSelectors:this.importsSelectors},isParsed:function(e){return e.__impor
tParsed},needsDynamicParsing:function(e){return this.dynamicElements.indexOf(e)>
=0},hasResource:function(e){return t(e)&&void 0===e["import"]?!1:!0}};e.parser=m
,e.IMPORT_SELECTOR=l}),HTMLImports.addModule(function(e){function t(e){return n(
e,i)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}funct
ion o(e,t){var n=document.implementation.createHTMLDocument(i);n._URL=t;var o=n.
createElement("base");o.setAttribute("href",t),n.baseURI||Object.defineProperty(
n,"baseURI",{value:t});var r=n.createElement("meta");return r.setAttribute("char
set","utf-8"),n.head.appendChild(r),n.head.appendChild(o),n.body.innerHTML=e,win
dow.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.boot
strap(n),n}var r=e.flags,i=e.IMPORT_LINK_TYPE,a=e.IMPORT_SELECTOR,s=e.rootDocume
nt,d=e.Loader,c=e.Observer,u=e.parser,l={documents:{},documentPreloadSelectors:a
,importsPreloadSelectors:[a].join(","),loadNode:function(e){m.addNode(e)},loadSu
btree:function(e){var t=this.marshalNodes(e);m.addNodes(t)},marshalNodes:functio
n(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNo
de:function(e){var t=e.ownerDocument||e;return t===s?this.documentPreloadSelecto
rs:this.importsPreloadSelectors},loaded:function(e,n,i,a,s){if(r.load&&console.l
og("loaded",e,n),n.__resource=i,n.__error=a,t(n)){var d=this.documents[e];void 0
===d&&(d=a?null:o(i,s||e),d&&(d.__importLink=n,this.bootDocument(d)),this.docume
nts[e]=d),n["import"]=d}u.parseNext()},bootDocument:function(e){this.loadSubtree
(e),this.observer.observe(e),u.parseNext()},loadedAll:function(){u.parseNext()}}
,m=new d(l.loaded.bind(l),l.loadedAll.bind(l));if(l.observer=new c,!document.bas
eURI){var f={get:function(){var e=document.querySelector("base");return e?e.href
:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI"
,f),Object.defineProperty(s,"baseURI",f)}e.importer=l,e.importLoader=m}),HTMLImp
orts.addModule(function(e){var t=e.parser,n=e.importer,o={added:function(e){for(
var o,r,i,a,s=0,d=e.length;d>s&&(a=e[s]);s++)o||(o=a.ownerDocument,r=t.isParsed(
o)),i=this.shouldLoadNode(a),i&&n.loadNode(a),this.shouldParseNode(a)&&r&&t.pars
eDynamic(a,i)},shouldLoadNode:function(e){return 1===e.nodeType&&r.call(e,n.load
SelectorsForNode(e))},shouldParseNode:function(e){return 1===e.nodeType&&r.call(
e,t.parseSelectorsForNode(e))}};n.observer.addCallback=o.added.bind(o);var r=HTM
LElement.prototype.matches||HTMLElement.prototype.matchesSelector||HTMLElement.p
rototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLEl
ement.prototype.msMatchesSelector}),function(e){function t(){HTMLImports.importe
r.bootDocument(r)}var n=e.initializeModules,o=e.isIE;if(!e.useNative){o&&"functi
on"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{};var n=
document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles
),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.p
rototype),n();var r=e.rootDocument;"complete"===document.readyState||"interactiv
e"===document.readyState&&!window.attachEvent?t():document.addEventListener("DOM
ContentLoaded",t)}}(HTMLImports),window.CustomElements=window.CustomElements||{f
lags:{}},function(e){var t=e.flags,n=[],o=function(e){n.push(e)},r=function(){n.
forEach(function(t){t(e)})};e.addModule=o,e.initializeModules=r,e.hasNative=Bool
ean(document.registerElement),e.useNative=!t.register&&e.hasNative&&!window.Shad
owDOMPolyfill&&(!window.HTMLImports||HTMLImports.useNative)}(CustomElements),Cus
tomElements.addModule(function(e){function t(e,t){n(e,function(e){return t(e)?!0
:void o(e,t)}),o(e,t)}function n(e,t,o){var r=e.firstElementChild;if(!r)for(r=e.
firstChild;r&&r.nodeType!==Node.ELEMENT_NODE;)r=r.nextSibling;for(;r;)t(r,o)!==!
0&&n(r,t,o),r=r.nextElementSibling;return null}function o(e,n){for(var o=e.shado
wRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){a=[],i(e,t),a=null}function
i(e,t){if(e=wrap(e),!(a.indexOf(e)>=0)){a.push(e);for(var n,o=e.querySelectorAll
("link[rel="+s+"]"),r=0,d=o.length;d>r&&(n=o[r]);r++)n["import"]&&i(n["import"],
t);t(e)}}var a,s=window.HTMLImports?HTMLImports.IMPORT_LINK_TYPE:"none";e.forDoc
umentTree=r,e.forSubtree=t}),CustomElements.addModule(function(e){function t(e){
return n(e)||o(e)}function n(t){return e.upgrade(t)?!0:void s(t)}function o(e){_
(e,function(e){return n(e)?!0:void 0})}function r(e){s(e),m(e)&&_(e,function(e){
s(e)})}function i(e){M.push(e),L||(L=!0,setTimeout(a))}function a(){L=!1;for(var
e,t=M,n=0,o=t.length;o>n&&(e=t[n]);n++)e();M=[]}function s(e){y?i(function(){d(
e)}):d(e)}function d(e){e.__upgraded__&&(e.attachedCallback||e.detachedCallback)
&&!e.__attached&&m(e)&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback()
)}function c(e){u(e),_(e,function(e){u(e)})}function u(e){y?i(function(){l(e)}):
l(e)}function l(e){e.__upgraded__&&(e.attachedCallback||e.detachedCallback)&&e._
_attached&&!m(e)&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}fun
ction m(e){for(var t=e,n=wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.h
ost}}function f(e){if(e.shadowRoot&&!e.shadowRoot.__watched){w.dom&&console.log(
"watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)v(t),t=t.old
erShadowRoot}}function p(e){if(w.dom){var n=e[0];if(n&&"childList"===n.type&&n.a
ddedNodes&&n.addedNodes){for(var o=n.addedNodes[0];o&&o!==document&&!o.host;)o=o
.parentNode;var r=o&&(o.URL||o._URL||o.host&&o.host.localName)||"";r=r.split("/?
").shift().split("/").pop()}console.group("mutations (%d) [%s]",e.length,r||"")}
e.forEach(function(e){"childList"===e.type&&(T(e.addedNodes,function(e){e.localN
ame&&t(e)}),T(e.removedNodes,function(e){e.localName&&c(e)}))}),w.dom&&console.g
roupEnd()}function h(e){for(e=wrap(e),e||(e=wrap(document));e.parentNode;)e=e.pa
rentNode;var t=e.__observer;t&&(p(t.takeRecords()),a())}function v(e){if(!e.__ob
server){var t=new MutationObserver(p);t.observe(e,{childList:!0,subtree:!0}),e._
_observer=t}}function g(e){e=wrap(e),w.dom&&console.group("upgradeDocument: ",e.
baseURI.split("/").pop()),t(e),v(e),w.dom&&console.groupEnd()}function b(e){E(e,
g)}var w=e.flags,_=e.forSubtree,E=e.forDocumentTree,y=!window.MutationObserver||
window.MutationObserver===window.JsMutationObserver;e.hasPolyfillMutations=y;var
L=!1,M=[],T=Array.prototype.forEach.call.bind(Array.prototype.forEach),N=Elemen
t.prototype.createShadowRoot;Element.prototype.createShadowRoot=function(){var e
=N.call(this);return CustomElements.watchShadow(this),e},e.watchShadow=f,e.upgra
deDocumentTree=b,e.upgradeSubtree=o,e.upgradeAll=t,e.attachedNode=r,e.takeRecord
s=h}),CustomElements.addModule(function(e){function t(t){if(!t.__upgraded__&&t.n
odeType===Node.ELEMENT_NODE){var o=t.getAttribute("is"),r=e.getRegisteredDefinit
ion(o||t.localName);if(r){if(o&&r.tag==t.localName)return n(t,r);if(!o&&!r["exte
nds"])return n(t,r)}}}function n(t,n){return a.upgrade&&console.group("upgrade:"
,t.localName),n.is&&t.setAttribute("is",n.is),o(t,n),t.__upgraded__=!0,i(t),e.at
tachedNode(t),e.upgradeSubtree(t),a.upgrade&&console.groupEnd(),t}function o(e,t
){Object.__proto__?e.__proto__=t.prototype:(r(e,t.prototype,t["native"]),e.__pro
to__=t.prototype)}function r(e,t,n){for(var o={},r=t;r!==n&&r!==HTMLElement.prot
otype;){for(var i,a=Object.getOwnPropertyNames(r),s=0;i=a[s];s++)o[i]||(Object.d
efineProperty(e,i,Object.getOwnPropertyDescriptor(r,i)),o[i]=1);r=Object.getProt
otypeOf(r)}}function i(e){e.createdCallback&&e.createdCallback()}var a=e.flags;e
.upgrade=t,e.upgradeWithDefinition=n,e.implementPrototype=o}),CustomElements.add
Module(function(e){function t(t,o){var d=o||{};if(!t)throw new Error("document.r
egisterElement: first argument `name` must not be empty");if(t.indexOf("-")<0)th
row new Error("document.registerElement: first argument ('name') must contain a
dash ('-'). Argument provided was '"+String(t)+"'.");if(r(t))throw new Error("Fa
iled to execute 'registerElement' on 'Document': Registration failed for type '"
+String(t)+"'. The type name is invalid.");if(c(t))throw new Error("DuplicateDef
initionError: a type with name '"+String(t)+"' is already registered");return d.
prototype||(d.prototype=Object.create(HTMLElement.prototype)),d.__name=t.toLower
Case(),d.lifecycle=d.lifecycle||{},d.ancestry=i(d["extends"]),a(d),s(d),n(d.prot
otype),u(d.__name,d),d.ctor=l(d),d.ctor.prototype=d.prototype,d.prototype.constr
uctor=d.ctor,e.ready&&v(document),d.ctor}function n(e){if(!e.setAttribute._polyf
illed){var t=e.setAttribute;e.setAttribute=function(e,n){o.call(this,e,n,t)};var
n=e.removeAttribute;e.removeAttribute=function(e){o.call(this,e,null,n)},e.setA
ttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=this.getAttri
bute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attributeChanged
Callback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){for(var t=0;
t<E.length;t++)if(e===E[t])return!0}function i(e){var t=c(e);return t?i(t["exten
ds"]).concat([t]):[]}function a(e){for(var t,n=e["extends"],o=0;t=e.ancestry[o];
o++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}function s(e){if(!Object.
__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.t
ag),o=Object.getPrototypeOf(n);o===e.prototype&&(t=o)}for(var r,i=e.prototype;i&
&i!==t;)r=Object.getPrototypeOf(i),i.__proto__=r,i=r;e["native"]=t}}function d(e
){return b(M(e.tag),e)}function c(e){return e?y[e.toLowerCase()]:void 0}function
u(e,t){y[e]=t}function l(e){return function(){return d(e)}}function m(e,t,n){re
turn e===L?f(t,n):T(e,t)}function f(e,t){var n=c(t||e);if(n){if(e==n.tag&&t==n.i
s)return new n.ctor;if(!t&&!n.is)return new n.ctor}var o;return t?(o=f(e),o.setA
ttribute("is",t),o):(o=M(e),e.indexOf("-")>=0&&w(o,HTMLElement),o)}function p(e)
{var t=N.call(this,e);return g(t),t}var h,v=e.upgradeDocumentTree,g=e.upgrade,b=
e.upgradeWithDefinition,w=e.implementPrototype,_=e.useNative,E=["annotation-xml"
,"color-profile","font-face","font-face-src","font-face-uri","font-face-format",
"font-face-name","missing-glyph"],y={},L="http://www.w3.org/1999/xhtml",M=docume
nt.createElement.bind(document),T=document.createElementNS.bind(document),N=Node
.prototype.cloneNode;h=Object.__proto__||_?function(e,t){return e instanceof t}:
function(e,t){for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1
},document.registerElement=t,document.createElement=f,document.createElementNS=m
,Node.prototype.cloneNode=p,e.registry=y,e["instanceof"]=h,e.reservedTagList=E,e
.getRegisteredDefinition=c,document.register=document.registerElement}),function
(e){function t(){a(wrap(document)),window.HTMLImports&&(HTMLImports.__importsPar
singHook=function(e){a(wrap(e["import"]))}),CustomElements.ready=!0,setTimeout(f
unction(){CustomElements.readyTime=Date.now(),window.HTMLImports&&(CustomElement
s.elapsed=CustomElements.readyTime-HTMLImports.readyTime),document.dispatchEvent
(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}var n=e.useNative,o=e.ini
tializeModules,r=/Trident/.test(navigator.userAgent);if(n){var i=function(){};e.
watchShadow=i,e.upgrade=i,e.upgradeAll=i,e.upgradeDocumentTree=i,e.upgradeSubtre
e=i,e.takeRecords=i,e["instanceof"]=function(e,t){return e instanceof t}}else o(
);var a=e.upgradeDocumentTree;if(window.wrap||(window.ShadowDOMPolyfill?(window.
wrap=ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=ShadowDOMPolyfill.unwrapIfNeed
ed):window.wrap=window.unwrap=function(e){return e}),r&&"function"!=typeof windo
w.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEv
ent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cance
lable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),"comple
te"===document.readyState||e.flags.eager)t();else if("interactive"!==document.re
adyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var
s=window.HTMLImports&&!HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded"
;window.addEventListener(s,t)}else t()}(window.CustomElements),"undefined"==type
of HTMLTemplateElement&&!function(){var e="template";HTMLTemplateElement=functio
n(){},HTMLTemplateElement.prototype=Object.create(HTMLElement.prototype),HTMLTem
plateElement.decorate=function(e){if(!e.content){e.content=e.ownerDocument.creat
eDocumentFragment();for(var t;t=e.firstChild;)e.content.appendChild(t)}},HTMLTem
plateElement.bootstrap=function(t){for(var n,o=t.querySelectorAll(e),r=0,i=o.len
gth;i>r&&(n=o[r]);r++)HTMLTemplateElement.decorate(n)},addEventListener("DOMCont
entLoaded",function(){HTMLTemplateElement.bootstrap(document)})}(),function(){va
r e=document.createElement("style");e.textContent="body {transition: opacity eas
e-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; p
osition: relative; } \n";var t=document.querySelector("head");t.insertBefore(e,t
.firstChild)}(window.WebComponents); |