querySelector:function(t){varr=n(t),i=r!==t;t=r;vara,s=g(this),c=v(this).root;if(cinstanceofe.wrappers.ShadowRoot)returno(this,t);if(sinstanceofN)a=b(E.call(s,t));else{if(!(sinstanceofC))returno(this,t);a=b(y.call(s,t))}returna&&!i&&(c=v(a).root)&&cinstanceofe.wrappers.ShadowRoot?o(this,t):a},querySelectorAll:function(e){vart=n(e),r=t!==e;e=t;varo=neww;returno.length=p.call(this,i,0,o,e,r),o}},H={matches:function(t){returnt=r(t),e.originalMatches.call(g(this),t)}},x={getElementsByTagName:function(e){vart=newm,n="*"===e?s:a;returnt.length=h.call(this,n,0,t,e,e.toLowerCase()),t},getElementsByClassName:function(e){returnthis.querySelectorAll("."+e)},getElementsByTagNameNS:function(e,t){varn=newm,r=null;returnr="*"===e?"*"===t?s:c:"*"===t?l:u,n.length=f.call(this,r,0,n,e||null,t),n}};e.GetElementsByInterface=x,e.SelectorsInterface=D,e.MatchesInterface=H}(window.ShadowDOMPolyfill),function(e){"use strict";functiont(e){for(;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;returne}functionn(e){for(;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;returne}varr=e.wrappers.NodeList,o={getfirstElementChild(){returnt(this.firstChild)},getlastElementChild(){returnn(this.lastChild)},getchildElementCount(){for(vare=0,t=this.firstElementChild;t;t=t.nextElementSibling)e++;returne},getchildren(){for(vare=newr,t=0,n=this.firstElementChild;n;n=n.nextElementSibling)e[t++]=n;returne.length=t,e},remove:function(){vare=this.parentNode;e&&e.removeChild(this)}},i={getnextElementSibling(){returnt(this.nextSibling)},getpreviousElementSibling(){returnn(this.previousSibling)}},a={getElementById:function(e){return/[ \t\n\r\f]/.test(e)?null:this.querySelector('[id="'+e+'"]')}};e.ChildNodeInterface=i,e.NonElementParentNodeInterface=a,e.ParentNodeInterface=o}(window.ShadowDOMPolyfill),function(e){"use strict";functiont(e){r.call(this,e)}varn=e.ChildNodeInterface,r=e.wrappers.Node,o=e.enqueueMutation,i=e.mixin,a=e.registerWrapper,s=e.unsafeUnwrap,c=window.CharacterData;t.prototype=Object.create(r.prototype),i(t.prototype,{getnodeValue(){returnthis.data},setnodeValue(e){this.data=e},gettextContent(){returnthis.data},settextContent(e){this.data=e},getdata(){returns(this).data},setdata(e){vart=s(this).data;o(this,"characterData",{oldValue:t}),s(this).data=e}}),i(t.prototype,n),a(c,t,document.createTextNode("")),e.wrappers.CharacterData=t}(window.ShadowDOMPolyfill),function(e){"use strict";functiont(e){returne>>>0}functionn(e){r.call(this,e)}varr=e.wrappers.CharacterData,o=(e.enqueueMutation,e.mixin),i=e.registerWrapper,a=window.Text;n.prototype=Object.create(r.prototype),o(n.prototype,{splitText:function(e){e=t(e);varn=this.data;if(e>n.length)thrownewError("IndexSizeError");varr=n.slice(0,e),o=n.slice(e);this.data=r;vari=this.ownerDocument.createTextNode(o);returnthis.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}}),i(a,n,document.createTextNode("")),e.wrappers.Text=n}(window.ShadowDOMPolyfill),function(e){"use strict";functiont(e){returni(e).getAttribute("class")}functionn(e,t){a(e,"attributes",{name:"class",namespace:null,oldValue:t})}functionr(t){e.invalidateRendererBasedOnAttribute(t,"class")}functiono(e,o,i){vara=e.ownerElement_;if(null==a)returno.apply(e,i);vars=t(a),c=o.apply(e,i);returnt(a)!==s&&(n(a,s),r(a)),c}if(!window.DOMTokenList)returnvoidconsole.warn("Missing DOMTokenList prototype, please include a compatible classList polyfill such as http://goo.gl/uTcepH.");vari=e.unsafeUnwrap,a=e.enqueueMutation,s=DOMTokenList.prototype.add;DOMTokenList.prototype.add=function(){o(this,s,arguments)};varc=DOMTokenList.prototype.remove;DOMTokenList.prototype.remove=function(){o(this,c,arguments)};varl=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(){returno(this,l,arguments)}}(window.ShadowDOMPolyfill),function(e){"use strict";functiont(t,n){varr=t.parentNode;if(r&&r.shadowRoot){varo=e.getRendererForHost(r);o.dependsOnAttribute(n)&&o.invalidate()}}functionn(e,t,n){u(e,"attributes",{name:t,namespace:null,oldValue:n})}functionr
if(l)for(varp,h=0;l>h&&(p=s[h]);h++)a(p)?(u.push(this),c++,n()):(p.addEventListener("load",r),p.addEventListener("error",i));elsen()}functiona(e){returnd?e.__loaded||e["import"]&&"loading"!==e["import"].readyState:e.__importParsed}functions(e){for(vart,n=0,r=e.length;r>n&&(t=e[n]);n++)c(t)&&l(t)}functionc(e){return"link"===e.localName&&"import"===e.rel}functionl(e){vart=e["import"];t?o({target:e}):(e.addEventListener("load",o),e.addEventListener("error",o))}varu="import",d=Boolean(uindocument.createElement("link")),p=Boolean(window.ShadowDOMPolyfill),h=function(e){returnp?window.ShadowDOMPolyfill.wrapIfNeeded(e):e},f=h(document),m={get:function(){vare=window.HTMLImports.currentScript||document.currentScript||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null);returnh(e)},configurable:!0};Object.defineProperty(document,"_currentScript",m),Object.defineProperty(f,"_currentScript",m);varw=/Trident/.test(navigator.userAgent),v=w?"complete":"interactive",g="readystatechange";d&&(newMutationObserver(function(e){for(vart,n=0,r=e.length;r>n&&(t=e[n]);n++)t.addedNodes&&s(t.addedNodes)}).observe(document.head,{childList:!0}),function(){if("loading"===document.readyState)for(vare,t=document.querySelectorAll("link[rel=import]"),n=0,r=t.length;r>n&&(e=t[n]);n++)l(e)}()),t(function(e){window.HTMLImports.ready=!0,window.HTMLImports.readyTime=(newDate).getTime();vart=f.createEvent("CustomEvent");t.initCustomEvent("HTMLImportsLoaded",!0,!0,e),f.dispatchEvent(t)}),e.IMPORT_LINK_TYPE=u,e.useNative=d,e.rootDocument=f,e.whenReady=t,e.isIE=w}(window.HTMLImports),function(e){vart=[],n=function(e){t.push(e)},r=function(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=r}(window.HTMLImports),window.HTMLImports.addModule(function(e){vart=/(url\()([^)]*)(\))/g,n=/(@import[\s]+(?!url\())([^;]*)(;)/g,r={resolveUrlsInStyle:function(e,t){varn=e.ownerDocument,r=n.createElement("a");returne.textContent=this.resolveUrlsInCssText(e.textContent,t,r),e},resolveUrlsInCssText:function(e,r,o){vari=this.replaceUrls(e,o,r,t);returni=this.replaceUrls(i,o,r,n)},replaceUrls:function(e,t,n,r){returne.replace(r,function(e,r,o,i){vara=o.replace(/["']/g,"");returnn&&(a=newURL(a,n).href),t.href=a,a=t.href,r+"'"+a+"'"+i})}};e.path=r}),window.HTMLImports.addModule(function(e){vart={async:!0,ok:function(e){returne.status>=200&&e.status<300||304===e.status||0===e.status},load:function(n,r,o){vari=newXMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.readyState){varn=null;try{vara=i.getResponseHeader("Location");a&&(n="/"===a.substr(0,1)?location.origin+a:a)}catch(e){console.error(e.message)}r.call(o,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),window.HTMLImports.addModule(function(e){vart=e.xhr,n=e.flags,r=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};r.prototype={addNodes:function(e){this.inflight+=e.length;for(vart,n=0,r=e.length;r>n&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){vart=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){if(this.pending[e])returnthis.pending[e].push(t),!0;returnthis.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!1)},fetch:function(e,r){if(n.load&&console.log("fetch",e,r),e)if(e.match(/^data:/)){varo=e.split(","),i=o[0],a=o[1];a=i.indexOf(";base64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,r,null,a)}.bind(this),0)}else{vars=function(t,n,o){this.receive(e,r,t,n,o)}.bind(this);t.load(e,s)}elsesetTimeout(function(){this.receive(e,r,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,r,o){this.cache[e]=r;for(vari,a=this.pending[e],s=0,c=a.length;c>s&&(i=a[s]);s++)this.onload(e,i,r,n,o),this.tail();this.