| 1 !function(){window.WebComponents=window.WebComponents||{flags:{}};var e="webcomp
   onents-lite.js",t=document.querySelector('script[src*="'+e+'"]'),n={};if(!n.noOp
   ts){if(location.search.slice(1).split("&").forEach(function(e){var t,o=e.split("
   =");o[0]&&(t=o[0].match(/wc-(.+)/))&&(n[t[1]]=o[1]||!0)}),t)for(var o,r=0;o=t.at
   tributes[r];r++)"src"!==o.name&&(n[o.name]=o.value||!0);if(n.log&&n.log.split){v
   ar i=n.log.split(",");n.log={},i.forEach(function(e){n.log[e]=!0})}else n.log={}
   }n.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.Cus
   tomElements.flags.register=n.register),WebComponents.flags=n}(),function(e){"use
    strict";function t(e){return void 0!==h[e]}function n(){s.call(this),this._isIn
   valid=!0}function o(e){return""==e&&n.call(this),e.toLowerCase()}function r(e){v
   ar t=e.charCodeAt(0);return t>32&&127>t&&-1==[34,35,60,62,63,96].indexOf(t)?e:en
   codeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&127>t&&-1==
   [34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function a(e,a,s){function c
   (e){g.push(e)}var d=a||"scheme start",l=0,u="",w=!1,_=!1,g=[];e:for(;(e[l-1]!=p|
   |0==l)&&!this._isInvalid;){var b=e[l];switch(d){case"scheme start":if(!b||!m.tes
   t(b)){if(a){c("Invalid scheme.");break e}u="",d="no scheme";continue}u+=b.toLowe
   rCase(),d="scheme";break;case"scheme":if(b&&v.test(b))u+=b.toLowerCase();else{if
   (":"!=b){if(a){if(p==b)break e;c("Code point not allowed in scheme: "+b);break e
   }u="",l=0,d="no scheme";continue}if(this._scheme=u,u="",a)break e;t(this._scheme
   )&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&s&&
   s._scheme==this._scheme?"relative or authority":this._isRelative?"authority firs
   t slash":"scheme data"}break;case"scheme data":"?"==b?(this._query="?",d="query"
   ):"#"==b?(this._fragment="#",d="fragment"):p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(thi
   s._schemeData+=r(b));break;case"no scheme":if(s&&t(s._scheme)){d="relative";cont
   inue}c("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!
   =b||"/"!=e[l+1]){c("Expected /, got: "+b),d="relative";continue}d="authority ign
   ore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(
   this._scheme=s._scheme),p==b){this._host=s._host,this._port=s._port,this._path=s
   ._path.slice(),this._query=s._query,this._username=s._username,this._password=s.
   _password;break e}if("/"==b||"\\"==b)"\\"==b&&c("\\ is an invalid code point."),
   d="relative slash";else if("?"==b)this._host=s._host,this._port=s._port,this._pa
   th=s._path.slice(),this._query="?",this._username=s._username,this._password=s._
   password,d="query";else{if("#"!=b){var y=e[l+1],E=e[l+2];("file"!=this._scheme||
   !m.test(b)||":"!=y&&"|"!=y||p!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=
   s._host,this._port=s._port,this._username=s._username,this._password=s._password
   ,this._path=s._path.slice(),this._path.pop()),d="relative path";continue}this._h
   ost=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,t
   his._fragment="#",this._username=s._username,this._password=s._password,d="fragm
   ent"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this._scheme&&(this.
   _host=s._host,this._port=s._port,this._username=s._username,this._password=s._pa
   ssword),d="relative path";continue}"\\"==b&&c("\\ is an invalid code point."),d=
   "file"==this._scheme?"file host":"authority ignore slashes";break;case"authority
    first slash":if("/"!=b){c("Expected '/', got: "+b),d="authority ignore slashes"
   ;continue}d="authority second slash";break;case"authority second slash":if(d="au
   thority ignore slashes","/"!=b){c("Expected '/', got: "+b);continue}break;case"a
   uthority ignore slashes":if("/"!=b&&"\\"!=b){d="authority";continue}c("Expected 
   authority, got: "+b);break;case"authority":if("@"==b){w&&(c("@ already seen."),u
   +="%40"),w=!0;for(var L=0;L<u.length;L++){var N=u[L];if("\t"!=N&&"\n"!=N&&"\r"!=
   N)if(":"!=N||null!==this._password){var M=r(N);null!==this._password?this._passw
   ord+=M:this._username+=M}else this._password="";else c("Invalid whitespace in au
   thority.")}u=""}else{if(p==b||"/"==b||"\\"==b||"?"==b||"#"==b){l-=u.length,u="",
   d="host";continue}u+=b}break;case"file host":if(p==b||"/"==b||"\\"==b||"?"==b||"
   #"==b){2!=u.length||!m.test(u[0])||":"!=u[1]&&"|"!=u[1]?0==u.length?d="relative 
   path start":(this._host=o.call(this,u),u="",d="relative path start"):d="relative
    path";continue}"\t"==b||"\n"==b||"\r"==b?c("Invalid whitespace in file host."):
   u+=b;break;case"host":case"hostname":if(":"!=b||_){if(p==b||"/"==b||"\\"==b||"?"
   ==b||"#"==b){if(this._host=o.call(this,u),u="",d="relative path start",a)break e
   ;continue}"\t"!=b&&"\n"!=b&&"\r"!=b?("["==b?_=!0:"]"==b&&(_=!1),u+=b):c("Invalid
    code point in host/hostname: "+b)}else if(this._host=o.call(this,u),u="",d="por
   t","hostname"==a)break e;break;case"port":if(/[0-9]/.test(b))u+=b;else{if(p==b||
   "/"==b||"\\"==b||"?"==b||"#"==b||a){if(""!=u){var T=parseInt(u,10);T!=h[this._sc
   heme]&&(this._port=T+""),u=""}if(a)break e;d="relative path start";continue}"\t"
   ==b||"\n"==b||"\r"==b?c("Invalid code point in port: "+b):n.call(this)}break;cas
   e"relative path start":if("\\"==b&&c("'\\' not allowed in path."),d="relative pa
   th","/"!=b&&"\\"!=b)continue;break;case"relative path":if(p!=b&&"/"!=b&&"\\"!=b&
   &(a||"?"!=b&&"#"!=b))"\t"!=b&&"\n"!=b&&"\r"!=b&&(u+=r(b));else{"\\"==b&&c("\\ no
   t allowed in relative path.");var O;(O=f[u.toLowerCase()])&&(u=O),".."==u?(this.
   _path.pop(),"/"!=b&&"\\"!=b&&this._path.push("")):"."==u&&"/"!=b&&"\\"!=b?this._
   path.push(""):"."!=u&&("file"==this._scheme&&0==this._path.length&&2==u.length&&
   m.test(u[0])&&"|"==u[1]&&(u=u[0]+":"),this._path.push(u)),u="","?"==b?(this._que
   ry="?",d="query"):"#"==b&&(this._fragment="#",d="fragment")}break;case"query":a|
   |"#"!=b?p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._query+=i(b)):(this._fragment="#"
   ,d="fragment");break;case"fragment":p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._frag
   ment+=b)}l++}}function s(){this._scheme="",this._schemeData="",this._username=""
   ,this._password=null,this._host="",this._port="",this._path=[],this._query="",th
   is._fragment="",this._isInvalid=!1,this._isRelative=!1}function c(e,t){void 0===
   t||t instanceof c||(t=new c(String(t))),this._url=e,s.call(this);var n=e.replace
   (/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");a.call(this,n,null,t)}var d=!1;if(!e.forceJU
   RL)try{var l=new URL("b","http://a");l.pathname="c%20d",d="http://a/c%20d"===l.h
   ref}catch(u){}if(!d){var h=Object.create(null);h.ftp=21,h.file=0,h.gopher=70,h.h
   ttp=80,h.https=443,h.ws=80,h.wss=443;var f=Object.create(null);f["%2e"]=".",f[".
   %2e"]="..",f["%2e."]="..",f["%2e%2e"]="..";var p=void 0,m=/[a-zA-Z]/,v=/[a-zA-Z0
   -9\+\-\.]/;c.prototype={toString:function(){return this.href},get href(){if(this
   ._isInvalid)return this._url;var e="";return""==this._username&&null==this._pass
   word||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.p
   rotocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._f
   ragment},set href(e){s.call(this),a.call(this,e)},get protocol(){return this._sc
   heme+":"},set protocol(e){this._isInvalid||a.call(this,e+":","scheme start")},ge
   t host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._ho
   st},set host(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"host")},get h
   ostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&
   &a.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isI
   nvalid&&this._isRelative&&a.call(this,e,"port")},get pathname(){return this._isI
   nvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathna
   me(e){!this._isInvalid&&this._isRelative&&(this._path=[],a.call(this,e,"relative
    path start"))},get search(){return this._isInvalid||!this._query||"?"==this._qu
   ery?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._que
   ry="?","?"==e[0]&&(e=e.slice(1)),a.call(this,e,"query"))},get hash(){return this
   ._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e)
   {this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),a.call(this,e,"f
   ragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch
   (this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}
   return e=this.host,e?this._scheme+"://"+e:""}};var w=e.URL;w&&(c.createObjectURL
   =function(e){return w.createObjectURL.apply(w,arguments)},c.revokeObjectURL=func
   tion(e){w.revokeObjectURL(e)}),e.URL=c}}(self),"undefined"==typeof WeakMap&&!fun
   ction(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__s
   t"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[t
   his.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),thi
   s},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:fu
   nction(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:fu
   nction(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),function
   (e){function t(e){b.push(e),g||(g=!0,m(o))}function n(e){return window.ShadowDOM
   Polyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){g=!1;var e=b;
   b=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(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(function(t){t.obser
   ver===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.pare
   ntNode){var o=v.get(n);if(o)for(var r=0;r<o.length;r++){var i=o[r],a=i.options;i
   f(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){this.callback_=e
   ,this.nodes_=[],this.records_=[],this.uid_=++y}function s(e,t){this.type=e,this.
   target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.
   nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldVa
   lue=null}function c(e){var t=new s(e.type,e.target);return t.addedNodes=e.addedN
   odes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousS
   ibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNa
   mespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function d(e,t){return E=ne
   w s(e,t)}function l(e){return L?L:(L=c(E),L.oldValue=e,L)}function u(){E=L=void 
   0}function h(e){return e===L||e===E}function f(e,t){return e===t?e:L&&h(e)?L:nul
   l}function p(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientO
   bservedNodes=[]}if(!e.JsMutationObserver){var m,v=new WeakMap;if(/Trident|Edge/.
   test(navigator.userAgent))m=setTimeout;else if(window.setImmediate)m=window.setI
   mmediate;else{var w=[],_=String(Math.random());window.addEventListener("message"
   ,function(e){if(e.data===_){var t=w;w=[],t.forEach(function(e){e()})}}),m=functi
   on(e){w.push(e),window.postMessage(_,"*")}}var g=!1,b=[],y=0;a.prototype={observ
   e:function(e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attri
   buteOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.att
   ributes||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.removeListeners(),r.options=t;break}r||(r=new p(this,e,t),o.push(r),this
   .nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach(fun
   ction(e){for(var t=v.get(e),n=0;n<t.length;n++){var o=t[n];if(o.observer===this)
   {o.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:
   function(){var e=this.records_;return this.records_=[],e}};var E,L;p.prototype={
   enqueue:function(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},addLis
   teners:function(){this.addListeners_(this.target)},addListeners_:function(e){var
    t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.ch
   aracterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&
   &e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEv
   entListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeLis
   teners_(this.target)},removeListeners_:function(e){var t=this.options;t.attribut
   es&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEv
   entListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListen
   er("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("D
   OMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){th
   is.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(
   e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientO
   bservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeLis
   teners_(e);for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);b
   reak}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type
   ){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target
   ,r=new d("attributes",o);r.attributeName=t,r.attributeNamespace=n;var a=e.attrCh
   ange===MutationEvent.ADDITION?null:e.prevValue;i(o,function(e){return!e.attribut
   es||e.attributeFilter&&e.attributeFilter.length&&-1===e.attributeFilter.indexOf(
   t)&&-1===e.attributeFilter.indexOf(n)?void 0:e.attributeOldValue?l(a):r});break;
   case"DOMCharacterDataModified":var o=e.target,r=d("characterData",o),a=e.prevVal
   ue;i(o,function(e){return e.characterData?e.characterDataOldValue?l(a):r:void 0}
   );break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeIns
   erted":var s,c,h=e.target;"DOMNodeInserted"===e.type?(s=[h],c=[]):(s=[],c=[h]);v
   ar f=h.previousSibling,p=h.nextSibling,r=d("childList",e.target.parentNode);r.ad
   dedNodes=s,r.removedNodes=c,r.previousSibling=f,r.nextSibling=p,i(e.relatedNode,
   function(e){return e.childList?r:void 0})}u()}},e.JsMutationObserver=a,e.Mutatio
   nObserver||(e.MutationObserver=a,a._isPolyfilled=!0)}}(self),function(){function
    e(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";
   case" ":return" "}}function t(t){return t.replace(u,e)}var n="undefined"==t
   ypeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&!function(){var e
   =document.importNode;document.importNode=function(){var t=e.apply(document,argum
   ents);if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=document.createDocument
   Fragment();return n.appendChild(t),n}return t}}();var o=function(){if(!n){var e=
   document.createElement("template"),t=document.createElement("template");t.conten
   t.appendChild(document.createElement("div")),e.content.appendChild(t);var o=e.cl
   oneNode(!0);return 0===o.content.childNodes.length||0===o.content.firstChild.con
   tent.childNodes.length}}(),r="template",i=function(){};if(n){var a=document.impl
   ementation.createHTMLDocument("template"),s=!0,c=document.createElement("style")
   ;c.textContent=r+"{display:none;}";var d=document.head;d.insertBefore(c,d.firstE
   lementChild),i.prototype=Object.create(HTMLElement.prototype),i.decorate=functio
   n(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChil
   d;)e.content.appendChild(n);if(e.cloneNode=function(e){return i.cloneNode(this,e
   )},s)try{Object.defineProperty(e,"innerHTML",{get:function(){for(var e="",n=this
   .content.firstChild;n;n=n.nextSibling)e+=n.outerHTML||t(n.data);return e},set:fu
   nction(e){for(a.body.innerHTML=e,i.bootstrap(a);this.content.firstChild;)this.co
   ntent.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.
   appendChild(a.body.firstChild)},configurable:!0})}catch(o){s=!1}i.bootstrap(e.co
   ntent)}},i.bootstrap=function(e){for(var t,n=e.querySelectorAll(r),o=0,a=n.lengt
   h;a>o&&(t=n[o]);o++)i.decorate(t)},document.addEventListener("DOMContentLoaded",
   function(){i.bootstrap(document)});var l=document.createElement;document.createE
   lement=function(){"use strict";var e=l.apply(document,arguments);return"template
   "===e.localName&&i.decorate(e),e};var u=/[&\u00A0<>]/g}if(n||o){var h=Node.proto
   type.cloneNode;i.cloneNode=function(e,t){var n=h.call(e,!1);return this.decorate
   &&this.decorate(n),t&&(n.content.appendChild(h.call(e.content,!0)),this.fixClone
   dDom(n.content,e.content)),n},i.fixClonedDom=function(e,t){if(t.querySelectorAll
   )for(var n,o,i=t.querySelectorAll(r),a=e.querySelectorAll(r),s=0,c=a.length;c>s;
   s++)o=i[s],n=a[s],this.decorate&&this.decorate(o),n.parentNode.replaceChild(o.cl
   oneNode(!0),n)};var f=document.importNode;Node.prototype.cloneNode=function(e){v
   ar t=h.call(this,e);return e&&i.fixClonedDom(t,this),t},document.importNode=func
   tion(e,t){if(e.localName===r)return i.cloneNode(e,t);var n=f.call(document,e,t);
   return t&&i.fixClonedDom(n,e),n},o&&(HTMLTemplateElement.prototype.cloneNode=fun
   ction(e){return i.cloneNode(this,e)})}n&&(window.HTMLTemplateElement=i)}(),funct
   ion(e){"use strict";if(!window.performance){var t=Date.now();window.performance=
   {now:function(){return Date.now()-t}}}window.requestAnimationFrame||(window.requ
   estAnimationFrame=function(){var e=window.webkitRequestAnimationFrame||window.mo
   zRequestAnimationFrame;return e?function(t){return e(function(){t(performance.no
   w())})}:function(e){return window.setTimeout(e,1e3/60)}}()),window.cancelAnimati
   onFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnima
   tionFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}}());var 
   n=function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0)
   ,e.preventDefault(),e.defaultPrevented}();if(!n){var o=Event.prototype.preventDe
   fault;Event.prototype.preventDefault=function(){this.cancelable&&(o.call(this),O
   bject.defineProperty(this,"defaultPrevented",{get:function(){return!0},configura
   ble:!0}))}}var r=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||r&
   &"function"!=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=windo
   w.Event.prototype),!window.Event||r&&"function"!=typeof window.Event){var i=wind
   ow.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");
   return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.p
   rototype=i.prototype}}(window.WebComponents),window.HTMLImports=window.HTMLImpor
   ts||{flags:{}},function(e){function t(e,t){t=t||p,o(function(){i(e,t)},t)}functi
   on n(e){return"complete"===e.readyState||e.readyState===w}function o(e,t){if(n(t
   ))e&&e();else{var r=function(){"complete"!==t.readyState&&t.readyState!==w||(t.r
   emoveEventListener(_,r),o(e,t))};t.addEventListener(_,r)}}function r(e){e.target
   .__loaded=!0}function i(e,t){function n(){c==d&&e&&e({allImports:s,loadedImports
   :l,errorImports:u})}function o(e){r(e),l.push(this),c++,n()}function i(e){u.push
   (this),c++,n()}var s=t.querySelectorAll("link[rel=import]"),c=0,d=s.length,l=[],
   u=[];if(d)for(var h,f=0;d>f&&(h=s[f]);f++)a(h)?(l.push(this),c++,n()):(h.addEven
   tListener("load",o),h.addEventListener("error",i));else n()}function a(e){return
    u?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++)c(t)&&d(t)}function c(e
   ){return"link"===e.localName&&"import"===e.rel}function d(e){var t=e["import"];t
   ?r({target:e}):(e.addEventListener("load",r),e.addEventListener("error",r))}var 
   l="import",u=Boolean(l in document.createElement("link")),h=Boolean(window.Shado
   wDOMPolyfill),f=function(e){return h?window.ShadowDOMPolyfill.wrapIfNeeded(e):e}
   ,p=f(document),m={get:function(){var e=window.HTMLImports.currentScript||documen
   t.currentScript||("complete"!==document.readyState?document.scripts[document.scr
   ipts.length-1]:null);return f(e)},configurable:!0};Object.defineProperty(documen
   t,"_currentScript",m),Object.defineProperty(p,"_currentScript",m);var v=/Trident
   /.test(navigator.userAgent),w=v?"complete":"interactive",_="readystatechange";u&
   &(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,{childList:!0}),function(){i
   f("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[re
   l=import]"),n=0,o=t.length;o>n&&(e=t[n]);n++)d(e)}()),t(function(e){window.HTMLI
   mports.ready=!0,window.HTMLImports.readyTime=(new Date).getTime();var t=p.create
   Event("CustomEvent");t.initCustomEvent("HTMLImportsLoaded",!0,!0,e),p.dispatchEv
   ent(t)}),e.IMPORT_LINK_TYPE=l,e.useNative=u,e.rootDocument=p,e.whenReady=t,e.isI
   E=v}(window.HTMLImports),function(e){var t=[],n=function(e){t.push(e)},o=functio
   n(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o}(window.HT
   MLImports),window.HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,
   n=/(@import[\s]+(?!url\())([^;]*)(;)/g,o={resolveUrlsInStyle:function(e,t){var n
   =e.ownerDocument,o=n.createElement("a");return e.textContent=this.resolveUrlsInC
   ssText(e.textContent,t,o),e},resolveUrlsInCssText:function(e,o,r){var i=this.rep
   laceUrls(e,r,o,t);return i=this.replaceUrls(i,r,o,n)},replaceUrls:function(e,t,n
   ,o){return e.replace(o,function(e,o,r,i){var a=r.replace(/["']/g,"");return n&&(
   a=new URL(a,n).href),t.href=a,a=t.href,o+"'"+a+"'"+i})}};e.path=o}),window.HTMLI
   mports.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 XML
   HttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("
   GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.ready
   State){var n=null;try{var a=i.getResponseHeader("Location");a&&(n="/"===a.substr
   (0,1)?location.origin+a:a)}catch(e){console.error(e.message)}o.call(r,!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(fu
   nction(e){var t=e.xhr,n=e.flags,o=function(e,t){this.cache={},this.onload=e,this
   .oncomplete=t,this.inflight=0,this.pending={}};o.prototype={addNodes:function(e)
   {this.inflight+=e.length;for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)this.require
   (t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.c
   heckDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,
   e)||this.fetch(t,e)},dedupe: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(";bas
   e64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,o,nu
   ll,a)}.bind(this),0)}else{var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(th
   is);t.load(e,s)}else setTimeout(function(){this.receive(e,o,{error:"href must be
    specified"},null)}.bind(this),0)},receive:function(e,t,n,o,r){this.cache[e]=o;f
   or(var i,a=this.pending[e],s=0,c=a.length;c>s&&(i=a[s]);s++)this.onload(e,i,o,n,
   r),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkD
   one()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=o}),wind
   ow.HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.m
   o=new MutationObserver(this.handler.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.addedNodes)},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.chi
   ldren.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e
   ,{childList:!0,subtree:!0})}},e.Observer=t}),window.HTMLImports.addModule(functi
   on(e){function t(e){return"link"===e.localName&&e.rel===l}function n(e){var t=o(
   e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}function o(
   e){return e.textContent+r(e)}function r(e){var t=e.ownerDocument;t.__importedScr
   ipts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,o=t.__importedScripts?
   "-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+o+"
   .js\n"}function i(e){var t=e.ownerDocument.createElement("style");return t.textC
   ontent=e.textContent,a.resolveUrlsInStyle(t),t}var a=e.path,s=e.rootDocument,c=e
   .flags,d=e.isIE,l=e.IMPORT_LINK_TYPE,u="link[rel="+l+"]",h={documentSelectors:u,
   importsSelectors:[u,"link[rel=stylesheet]:not([type])","style:not([type])","scri
   pt:not([type])",'script[type="application/javascript"]','script[type="text/javas
   cript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle
   "},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.pars
   e(e)},parse:function(e){if(this.isParsed(e))return void(c.parse&&console.log("[%
   s] is already parsed",e.localName));var t=this[this.map[e.localName]];t&&(this.m
   arkParsing(e),t.call(this,e))},parseDynamic:function(e,t){this.dynamicElements.p
   ush(e),t||this.parseNext()},markParsing:function(e){c.parse&&console.log("parsin
   g",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0
   ,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__impo
   rtParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElem
   ent=null,c.parse&&console.log("completed",e)},markDynamicParsingComplete:functio
   n(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1
   )},parseImport:function(e){if(e["import"]=e.__doc,window.HTMLImports.__importsPa
   rsingHook&&window.HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].
   __importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispat
   chEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("e
   rror",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shi
   ft(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImp
   ort(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(
   e),t.__appliedElement=e,e.__importElement=t,this.parseGeneric(e)},parseGeneric:f
   unction(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForEleme
   nt:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__imp
   ortLink;return t},addElementToDocument:function(e){var t=this.rootImportForEleme
   nt(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e
   ,t){var n=this,o=function(r){e.removeEventListener("load",o),e.removeEventListen
   er("error",o),t&&t(r),n.markParsingComplete(e),n.parseNext()};if(e.addEventListe
   ner("load",o),e.addEventListener("error",o),d&&"style"===e.localName){var r=!1;i
   f(-1==e.textContent.indexOf("@import"))r=!0;else if(e.sheet){r=!0;for(var i,a=e.
   sheet.cssRules,s=a?a.length:0,c=0;s>c&&(i=a[c]);c++)i.type===CSSRule.IMPORT_RULE
   &&(r=r&&Boolean(i.styleSheet))}r&&setTimeout(function(){e.dispatchEvent(new Cust
   omEvent("load",{bubbles:!1}))})}},parseScript:function(t){var o=document.createE
   lement("script");o.__importElement=t,o.src=t.src?t.src:n(t),e.currentScript=t,th
   is.trackElement(o,function(t){o.parentNode&&o.parentNode.removeChild(o),e.curren
   tScript=null}),this.addElementToDocument(o)},nextToParse:function(){return this.
   _mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(s)||this.nextToParseDy
   namic())},nextToParseInDoc:function(e,n){if(e&&this._mayParse.indexOf(e)<0){this
   ._mayParse.push(e);for(var o,r=e.querySelectorAll(this.parseSelectorsForNode(e))
   ,i=0,a=r.length;a>i&&(o=r[i]);i++)if(!this.isParsed(o))return this.hasResource(o
   )?t(o)?this.nextToParseInDoc(o.__doc,o):o:void 0}return n},nextToParseDynamic:fu
   nction(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){var t
   =e.ownerDocument||e;return t===s?this.documentSelectors:this.importsSelectors},i
   sParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){ret
   urn this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return!t(e)||voi
   d 0!==e.__doc}};e.parser=h,e.IMPORT_SELECTOR=u}),window.HTMLImports.addModule(fu
   nction(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName
   &&e.getAttribute("rel")===t}function o(e){return!!Object.getOwnPropertyDescripto
   r(e,"baseURI")}function r(e,t){var n=document.implementation.createHTMLDocument(
   a);n._URL=t;var r=n.createElement("base");r.setAttribute("href",t),n.baseURI||o(
   n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");r
   eturn i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild
   (r),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap
   &&HTMLTemplateElement.bootstrap(n),n}var i=e.flags,a=e.IMPORT_LINK_TYPE,s=e.IMPO
   RT_SELECTOR,c=e.rootDocument,d=e.Loader,l=e.Observer,u=e.parser,h={documents:{},
   documentPreloadSelectors:s,importsPreloadSelectors:[s].join(","),loadNode:functi
   on(e){f.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);f.addNode
   s(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNo
   de(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===c?t
   his.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,o
   ,a,s){if(i.load&&console.log("loaded",e,n),n.__resource=o,n.__error=a,t(n)){var 
   c=this.documents[e];void 0===c&&(c=a?null:r(o,s||e),c&&(c.__importLink=n,this.bo
   otDocument(c)),this.documents[e]=c),n.__doc=c}u.parseNext()},bootDocument:functi
   on(e){this.loadSubtree(e),this.observer.observe(e),u.parseNext()},loadedAll:func
   tion(){u.parseNext()}},f=new d(h.loaded.bind(h),h.loadedAll.bind(h));if(h.observ
   er=new l,!document.baseURI){var p={get:function(){var e=document.querySelector("
   base");return e?e.href:window.location.href},configurable:!0};Object.definePrope
   rty(document,"baseURI",p),Object.defineProperty(c,"baseURI",p)}e.importer=h,e.im
   portLoader=f}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.impor
   ter,o={added:function(e){for(var o,r,i,a,s=0,c=e.length;c>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.parseDynamic(a,i)},shouldLoadNode:function(e){return 1=
   ==e.nodeType&&r.call(e,n.loadSelectorsForNode(e))},shouldParseNode:function(e){r
   eturn 1===e.nodeType&&r.call(e,t.parseSelectorsForNode(e))}};n.observer.addCallb
   ack=o.added.bind(o);var r=HTMLElement.prototype.matches||HTMLElement.prototype.m
   atchesSelector||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototy
   pe.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector}),function(e){fun
   ction t(){window.HTMLImports.importer.bootDocument(o)}var n=e.initializeModules;
   e.isIE;if(!e.useNative){n();var o=e.rootDocument;"complete"===document.readyStat
   e||"interactive"===document.readyState&&!window.attachEvent?t():document.addEven
   tListener("DOMContentLoaded",t)}}(window.HTMLImports),window.CustomElements=wind
   ow.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],o=function(e){n.pus
   h(e)},r=function(){n.forEach(function(t){t(e)})};e.addModule=o,e.initializeModul
   es=r,e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigat
   or.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(
   !window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),windo
   w.CustomElements.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.
   shadowRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){i(e,t,[])}function i(e,
   t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var o,r=e.querySelect
   orAll("link[rel="+a+"]"),s=0,c=r.length;c>s&&(o=r[s]);s++)o["import"]&&i(o["impo
   rt"],t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"no
   ne";e.forDocumentTree=r,e.forSubtree=t}),window.CustomElements.addModule(functio
   n(e){function t(e,t){return n(e,t)||o(e,t)}function n(t,n){return e.upgrade(t,n)
   ?!0:void(n&&a(t))}function o(e,t){g(e,function(e){return n(e,t)?!0:void 0})}func
   tion r(e){L.push(e),E||(E=!0,setTimeout(i))}function i(){E=!1;for(var e,t=L,n=0,
   o=t.length;o>n&&(e=t[n]);n++)e();L=[]}function a(e){y?r(function(){s(e)}):s(e)}f
   unction s(e){ | 1 !function(){window.WebComponents=window.WebComponents||{flags:{}};var e="webcomp
   onents-lite.js",t=document.querySelector('script[src*="'+e+'"]'),n={};if(!n.noOp
   ts){if(location.search.slice(1).split("&").forEach(function(e){var t,o=e.split("
   =");o[0]&&(t=o[0].match(/wc-(.+)/))&&(n[t[1]]=o[1]||!0)}),t)for(var o,r=0;o=t.at
   tributes[r];r++)"src"!==o.name&&(n[o.name]=o.value||!0);if(n.log&&n.log.split){v
   ar i=n.log.split(",");n.log={},i.forEach(function(e){n.log[e]=!0})}else n.log={}
   }n.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.Cus
   tomElements.flags.register=n.register),WebComponents.flags=n}(),function(e){"use
    strict";function t(e){return void 0!==h[e]}function n(){s.call(this),this._isIn
   valid=!0}function o(e){return""==e&&n.call(this),e.toLowerCase()}function r(e){v
   ar t=e.charCodeAt(0);return t>32&&127>t&&-1==[34,35,60,62,63,96].indexOf(t)?e:en
   codeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&127>t&&-1==
   [34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function a(e,a,s){function c
   (e){g.push(e)}var d=a||"scheme start",l=0,u="",w=!1,_=!1,g=[];e:for(;(e[l-1]!=p|
   |0==l)&&!this._isInvalid;){var b=e[l];switch(d){case"scheme start":if(!b||!m.tes
   t(b)){if(a){c("Invalid scheme.");break e}u="",d="no scheme";continue}u+=b.toLowe
   rCase(),d="scheme";break;case"scheme":if(b&&v.test(b))u+=b.toLowerCase();else{if
   (":"!=b){if(a){if(p==b)break e;c("Code point not allowed in scheme: "+b);break e
   }u="",l=0,d="no scheme";continue}if(this._scheme=u,u="",a)break e;t(this._scheme
   )&&(this._isRelative=!0),d="file"==this._scheme?"relative":this._isRelative&&s&&
   s._scheme==this._scheme?"relative or authority":this._isRelative?"authority firs
   t slash":"scheme data"}break;case"scheme data":"?"==b?(this._query="?",d="query"
   ):"#"==b?(this._fragment="#",d="fragment"):p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(thi
   s._schemeData+=r(b));break;case"no scheme":if(s&&t(s._scheme)){d="relative";cont
   inue}c("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!
   =b||"/"!=e[l+1]){c("Expected /, got: "+b),d="relative";continue}d="authority ign
   ore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(
   this._scheme=s._scheme),p==b){this._host=s._host,this._port=s._port,this._path=s
   ._path.slice(),this._query=s._query,this._username=s._username,this._password=s.
   _password;break e}if("/"==b||"\\"==b)"\\"==b&&c("\\ is an invalid code point."),
   d="relative slash";else if("?"==b)this._host=s._host,this._port=s._port,this._pa
   th=s._path.slice(),this._query="?",this._username=s._username,this._password=s._
   password,d="query";else{if("#"!=b){var y=e[l+1],E=e[l+2];("file"!=this._scheme||
   !m.test(b)||":"!=y&&"|"!=y||p!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(this._host=
   s._host,this._port=s._port,this._username=s._username,this._password=s._password
   ,this._path=s._path.slice(),this._path.pop()),d="relative path";continue}this._h
   ost=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,t
   his._fragment="#",this._username=s._username,this._password=s._password,d="fragm
   ent"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this._scheme&&(this.
   _host=s._host,this._port=s._port,this._username=s._username,this._password=s._pa
   ssword),d="relative path";continue}"\\"==b&&c("\\ is an invalid code point."),d=
   "file"==this._scheme?"file host":"authority ignore slashes";break;case"authority
    first slash":if("/"!=b){c("Expected '/', got: "+b),d="authority ignore slashes"
   ;continue}d="authority second slash";break;case"authority second slash":if(d="au
   thority ignore slashes","/"!=b){c("Expected '/', got: "+b);continue}break;case"a
   uthority ignore slashes":if("/"!=b&&"\\"!=b){d="authority";continue}c("Expected 
   authority, got: "+b);break;case"authority":if("@"==b){w&&(c("@ already seen."),u
   +="%40"),w=!0;for(var L=0;L<u.length;L++){var N=u[L];if("\t"!=N&&"\n"!=N&&"\r"!=
   N)if(":"!=N||null!==this._password){var M=r(N);null!==this._password?this._passw
   ord+=M:this._username+=M}else this._password="";else c("Invalid whitespace in au
   thority.")}u=""}else{if(p==b||"/"==b||"\\"==b||"?"==b||"#"==b){l-=u.length,u="",
   d="host";continue}u+=b}break;case"file host":if(p==b||"/"==b||"\\"==b||"?"==b||"
   #"==b){2!=u.length||!m.test(u[0])||":"!=u[1]&&"|"!=u[1]?0==u.length?d="relative 
   path start":(this._host=o.call(this,u),u="",d="relative path start"):d="relative
    path";continue}"\t"==b||"\n"==b||"\r"==b?c("Invalid whitespace in file host."):
   u+=b;break;case"host":case"hostname":if(":"!=b||_){if(p==b||"/"==b||"\\"==b||"?"
   ==b||"#"==b){if(this._host=o.call(this,u),u="",d="relative path start",a)break e
   ;continue}"\t"!=b&&"\n"!=b&&"\r"!=b?("["==b?_=!0:"]"==b&&(_=!1),u+=b):c("Invalid
    code point in host/hostname: "+b)}else if(this._host=o.call(this,u),u="",d="por
   t","hostname"==a)break e;break;case"port":if(/[0-9]/.test(b))u+=b;else{if(p==b||
   "/"==b||"\\"==b||"?"==b||"#"==b||a){if(""!=u){var T=parseInt(u,10);T!=h[this._sc
   heme]&&(this._port=T+""),u=""}if(a)break e;d="relative path start";continue}"\t"
   ==b||"\n"==b||"\r"==b?c("Invalid code point in port: "+b):n.call(this)}break;cas
   e"relative path start":if("\\"==b&&c("'\\' not allowed in path."),d="relative pa
   th","/"!=b&&"\\"!=b)continue;break;case"relative path":if(p!=b&&"/"!=b&&"\\"!=b&
   &(a||"?"!=b&&"#"!=b))"\t"!=b&&"\n"!=b&&"\r"!=b&&(u+=r(b));else{"\\"==b&&c("\\ no
   t allowed in relative path.");var O;(O=f[u.toLowerCase()])&&(u=O),".."==u?(this.
   _path.pop(),"/"!=b&&"\\"!=b&&this._path.push("")):"."==u&&"/"!=b&&"\\"!=b?this._
   path.push(""):"."!=u&&("file"==this._scheme&&0==this._path.length&&2==u.length&&
   m.test(u[0])&&"|"==u[1]&&(u=u[0]+":"),this._path.push(u)),u="","?"==b?(this._que
   ry="?",d="query"):"#"==b&&(this._fragment="#",d="fragment")}break;case"query":a|
   |"#"!=b?p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._query+=i(b)):(this._fragment="#"
   ,d="fragment");break;case"fragment":p!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this._frag
   ment+=b)}l++}}function s(){this._scheme="",this._schemeData="",this._username=""
   ,this._password=null,this._host="",this._port="",this._path=[],this._query="",th
   is._fragment="",this._isInvalid=!1,this._isRelative=!1}function c(e,t){void 0===
   t||t instanceof c||(t=new c(String(t))),this._url=e,s.call(this);var n=e.replace
   (/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");a.call(this,n,null,t)}var d=!1;if(!e.forceJU
   RL)try{var l=new URL("b","http://a");l.pathname="c%20d",d="http://a/c%20d"===l.h
   ref}catch(u){}if(!d){var h=Object.create(null);h.ftp=21,h.file=0,h.gopher=70,h.h
   ttp=80,h.https=443,h.ws=80,h.wss=443;var f=Object.create(null);f["%2e"]=".",f[".
   %2e"]="..",f["%2e."]="..",f["%2e%2e"]="..";var p=void 0,m=/[a-zA-Z]/,v=/[a-zA-Z0
   -9\+\-\.]/;c.prototype={toString:function(){return this.href},get href(){if(this
   ._isInvalid)return this._url;var e="";return""==this._username&&null==this._pass
   word||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.p
   rotocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._f
   ragment},set href(e){s.call(this),a.call(this,e)},get protocol(){return this._sc
   heme+":"},set protocol(e){this._isInvalid||a.call(this,e+":","scheme start")},ge
   t host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._ho
   st},set host(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"host")},get h
   ostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&
   &a.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isI
   nvalid&&this._isRelative&&a.call(this,e,"port")},get pathname(){return this._isI
   nvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathna
   me(e){!this._isInvalid&&this._isRelative&&(this._path=[],a.call(this,e,"relative
    path start"))},get search(){return this._isInvalid||!this._query||"?"==this._qu
   ery?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._que
   ry="?","?"==e[0]&&(e=e.slice(1)),a.call(this,e,"query"))},get hash(){return this
   ._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e)
   {this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),a.call(this,e,"f
   ragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch
   (this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}
   return e=this.host,e?this._scheme+"://"+e:""}};var w=e.URL;w&&(c.createObjectURL
   =function(e){return w.createObjectURL.apply(w,arguments)},c.revokeObjectURL=func
   tion(e){w.revokeObjectURL(e)}),e.URL=c}}(self),"undefined"==typeof WeakMap&&!fun
   ction(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__s
   t"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[t
   his.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),thi
   s},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:fu
   nction(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:fu
   nction(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),function
   (e){function t(e){b.push(e),g||(g=!0,m(o))}function n(e){return window.ShadowDOM
   Polyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){g=!1;var e=b;
   b=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(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(function(t){t.obser
   ver===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.pare
   ntNode){var o=v.get(n);if(o)for(var r=0;r<o.length;r++){var i=o[r],a=i.options;i
   f(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){this.callback_=e
   ,this.nodes_=[],this.records_=[],this.uid_=++y}function s(e,t){this.type=e,this.
   target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.
   nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldVa
   lue=null}function c(e){var t=new s(e.type,e.target);return t.addedNodes=e.addedN
   odes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousS
   ibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNa
   mespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function d(e,t){return E=ne
   w s(e,t)}function l(e){return L?L:(L=c(E),L.oldValue=e,L)}function u(){E=L=void 
   0}function h(e){return e===L||e===E}function f(e,t){return e===t?e:L&&h(e)?L:nul
   l}function p(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientO
   bservedNodes=[]}if(!e.JsMutationObserver){var m,v=new WeakMap;if(/Trident|Edge/.
   test(navigator.userAgent))m=setTimeout;else if(window.setImmediate)m=window.setI
   mmediate;else{var w=[],_=String(Math.random());window.addEventListener("message"
   ,function(e){if(e.data===_){var t=w;w=[],t.forEach(function(e){e()})}}),m=functi
   on(e){w.push(e),window.postMessage(_,"*")}}var g=!1,b=[],y=0;a.prototype={observ
   e:function(e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attri
   buteOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.att
   ributes||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.removeListeners(),r.options=t;break}r||(r=new p(this,e,t),o.push(r),this
   .nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach(fun
   ction(e){for(var t=v.get(e),n=0;n<t.length;n++){var o=t[n];if(o.observer===this)
   {o.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:
   function(){var e=this.records_;return this.records_=[],e}};var E,L;p.prototype={
   enqueue:function(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},addLis
   teners:function(){this.addListeners_(this.target)},addListeners_:function(e){var
    t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.ch
   aracterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&
   &e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEv
   entListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeLis
   teners_(this.target)},removeListeners_:function(e){var t=this.options;t.attribut
   es&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEv
   entListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListen
   er("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("D
   OMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){th
   is.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(
   e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientO
   bservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeLis
   teners_(e);for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);b
   reak}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type
   ){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target
   ,r=new d("attributes",o);r.attributeName=t,r.attributeNamespace=n;var a=e.attrCh
   ange===MutationEvent.ADDITION?null:e.prevValue;i(o,function(e){return!e.attribut
   es||e.attributeFilter&&e.attributeFilter.length&&-1===e.attributeFilter.indexOf(
   t)&&-1===e.attributeFilter.indexOf(n)?void 0:e.attributeOldValue?l(a):r});break;
   case"DOMCharacterDataModified":var o=e.target,r=d("characterData",o),a=e.prevVal
   ue;i(o,function(e){return e.characterData?e.characterDataOldValue?l(a):r:void 0}
   );break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeIns
   erted":var s,c,h=e.target;"DOMNodeInserted"===e.type?(s=[h],c=[]):(s=[],c=[h]);v
   ar f=h.previousSibling,p=h.nextSibling,r=d("childList",e.target.parentNode);r.ad
   dedNodes=s,r.removedNodes=c,r.previousSibling=f,r.nextSibling=p,i(e.relatedNode,
   function(e){return e.childList?r:void 0})}u()}},e.JsMutationObserver=a,e.Mutatio
   nObserver||(e.MutationObserver=a,a._isPolyfilled=!0)}}(self),function(){function
    e(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";
   case" ":return" "}}function t(t){return t.replace(u,e)}var n="undefined"==t
   ypeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&!function(){var e
   =document.importNode;document.importNode=function(){var t=e.apply(document,argum
   ents);if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=document.createDocument
   Fragment();return n.appendChild(t),n}return t}}();var o=function(){if(!n){var e=
   document.createElement("template"),t=document.createElement("template");t.conten
   t.appendChild(document.createElement("div")),e.content.appendChild(t);var o=e.cl
   oneNode(!0);return 0===o.content.childNodes.length||0===o.content.firstChild.con
   tent.childNodes.length}}(),r="template",i=function(){};if(n){var a=document.impl
   ementation.createHTMLDocument("template"),s=!0,c=document.createElement("style")
   ;c.textContent=r+"{display:none;}";var d=document.head;d.insertBefore(c,d.firstE
   lementChild),i.prototype=Object.create(HTMLElement.prototype),i.decorate=functio
   n(e){if(!e.content){e.content=a.createDocumentFragment();for(var n;n=e.firstChil
   d;)e.content.appendChild(n);if(e.cloneNode=function(e){return i.cloneNode(this,e
   )},s)try{Object.defineProperty(e,"innerHTML",{get:function(){for(var e="",n=this
   .content.firstChild;n;n=n.nextSibling)e+=n.outerHTML||t(n.data);return e},set:fu
   nction(e){for(a.body.innerHTML=e,i.bootstrap(a);this.content.firstChild;)this.co
   ntent.removeChild(this.content.firstChild);for(;a.body.firstChild;)this.content.
   appendChild(a.body.firstChild)},configurable:!0})}catch(o){s=!1}i.bootstrap(e.co
   ntent)}},i.bootstrap=function(e){for(var t,n=e.querySelectorAll(r),o=0,a=n.lengt
   h;a>o&&(t=n[o]);o++)i.decorate(t)},document.addEventListener("DOMContentLoaded",
   function(){i.bootstrap(document)});var l=document.createElement;document.createE
   lement=function(){"use strict";var e=l.apply(document,arguments);return"template
   "===e.localName&&i.decorate(e),e};var u=/[&\u00A0<>]/g}if(n||o){var h=Node.proto
   type.cloneNode;i.cloneNode=function(e,t){var n=h.call(e,!1);return this.decorate
   &&this.decorate(n),t&&(n.content.appendChild(h.call(e.content,!0)),this.fixClone
   dDom(n.content,e.content)),n},i.fixClonedDom=function(e,t){if(t.querySelectorAll
   )for(var n,o,i=t.querySelectorAll(r),a=e.querySelectorAll(r),s=0,c=a.length;c>s;
   s++)o=i[s],n=a[s],this.decorate&&this.decorate(o),n.parentNode.replaceChild(o.cl
   oneNode(!0),n)};var f=document.importNode;Node.prototype.cloneNode=function(e){v
   ar t=h.call(this,e);return e&&i.fixClonedDom(t,this),t},document.importNode=func
   tion(e,t){if(e.localName===r)return i.cloneNode(e,t);var n=f.call(document,e,t);
   return t&&i.fixClonedDom(n,e),n},o&&(HTMLTemplateElement.prototype.cloneNode=fun
   ction(e){return i.cloneNode(this,e)})}n&&(window.HTMLTemplateElement=i)}(),funct
   ion(e){"use strict";if(!window.performance){var t=Date.now();window.performance=
   {now:function(){return Date.now()-t}}}window.requestAnimationFrame||(window.requ
   estAnimationFrame=function(){var e=window.webkitRequestAnimationFrame||window.mo
   zRequestAnimationFrame;return e?function(t){return e(function(){t(performance.no
   w())})}:function(e){return window.setTimeout(e,1e3/60)}}()),window.cancelAnimati
   onFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnima
   tionFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}}());var 
   n=function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0)
   ,e.preventDefault(),e.defaultPrevented}();if(!n){var o=Event.prototype.preventDe
   fault;Event.prototype.preventDefault=function(){this.cancelable&&(o.call(this),O
   bject.defineProperty(this,"defaultPrevented",{get:function(){return!0},configura
   ble:!0}))}}var r=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||r&
   &"function"!=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=windo
   w.Event.prototype),!window.Event||r&&"function"!=typeof window.Event){var i=wind
   ow.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");
   return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.p
   rototype=i.prototype}}(window.WebComponents),window.HTMLImports=window.HTMLImpor
   ts||{flags:{}},function(e){function t(e,t){t=t||p,o(function(){i(e,t)},t)}functi
   on n(e){return"complete"===e.readyState||e.readyState===w}function o(e,t){if(n(t
   ))e&&e();else{var r=function(){"complete"!==t.readyState&&t.readyState!==w||(t.r
   emoveEventListener(_,r),o(e,t))};t.addEventListener(_,r)}}function r(e){e.target
   .__loaded=!0}function i(e,t){function n(){c==d&&e&&e({allImports:s,loadedImports
   :l,errorImports:u})}function o(e){r(e),l.push(this),c++,n()}function i(e){u.push
   (this),c++,n()}var s=t.querySelectorAll("link[rel=import]"),c=0,d=s.length,l=[],
   u=[];if(d)for(var h,f=0;d>f&&(h=s[f]);f++)a(h)?(l.push(this),c++,n()):(h.addEven
   tListener("load",o),h.addEventListener("error",i));else n()}function a(e){return
    u?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++)c(t)&&d(t)}function c(e
   ){return"link"===e.localName&&"import"===e.rel}function d(e){var t=e["import"];t
   ?r({target:e}):(e.addEventListener("load",r),e.addEventListener("error",r))}var 
   l="import",u=Boolean(l in document.createElement("link")),h=Boolean(window.Shado
   wDOMPolyfill),f=function(e){return h?window.ShadowDOMPolyfill.wrapIfNeeded(e):e}
   ,p=f(document),m={get:function(){var e=window.HTMLImports.currentScript||documen
   t.currentScript||("complete"!==document.readyState?document.scripts[document.scr
   ipts.length-1]:null);return f(e)},configurable:!0};Object.defineProperty(documen
   t,"_currentScript",m),Object.defineProperty(p,"_currentScript",m);var v=/Trident
   /.test(navigator.userAgent),w=v?"complete":"interactive",_="readystatechange";u&
   &(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,{childList:!0}),function(){i
   f("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[re
   l=import]"),n=0,o=t.length;o>n&&(e=t[n]);n++)d(e)}()),t(function(e){window.HTMLI
   mports.ready=!0,window.HTMLImports.readyTime=(new Date).getTime();var t=p.create
   Event("CustomEvent");t.initCustomEvent("HTMLImportsLoaded",!0,!0,e),p.dispatchEv
   ent(t)}),e.IMPORT_LINK_TYPE=l,e.useNative=u,e.rootDocument=p,e.whenReady=t,e.isI
   E=v}(window.HTMLImports),function(e){var t=[],n=function(e){t.push(e)},o=functio
   n(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o}(window.HT
   MLImports),window.HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,
   n=/(@import[\s]+(?!url\())([^;]*)(;)/g,o={resolveUrlsInStyle:function(e,t){var n
   =e.ownerDocument,o=n.createElement("a");return e.textContent=this.resolveUrlsInC
   ssText(e.textContent,t,o),e},resolveUrlsInCssText:function(e,o,r){var i=this.rep
   laceUrls(e,r,o,t);return i=this.replaceUrls(i,r,o,n)},replaceUrls:function(e,t,n
   ,o){return e.replace(o,function(e,o,r,i){var a=r.replace(/["']/g,"");return n&&(
   a=new URL(a,n).href),t.href=a,a=t.href,o+"'"+a+"'"+i})}};e.path=o}),window.HTMLI
   mports.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 XML
   HttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("
   GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.ready
   State){var n=null;try{var a=i.getResponseHeader("Location");a&&(n="/"===a.substr
   (0,1)?location.origin+a:a)}catch(e){console.error(e.message)}o.call(r,!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(fu
   nction(e){var t=e.xhr,n=e.flags,o=function(e,t){this.cache={},this.onload=e,this
   .oncomplete=t,this.inflight=0,this.pending={}};o.prototype={addNodes:function(e)
   {this.inflight+=e.length;for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)this.require
   (t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.c
   heckDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,
   e)||this.fetch(t,e)},dedupe: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(";bas
   e64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,o,nu
   ll,a)}.bind(this),0)}else{var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(th
   is);t.load(e,s)}else setTimeout(function(){this.receive(e,o,{error:"href must be
    specified"},null)}.bind(this),0)},receive:function(e,t,n,o,r){this.cache[e]=o;f
   or(var i,a=this.pending[e],s=0,c=a.length;c>s&&(i=a[s]);s++)this.onload(e,i,o,n,
   r),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkD
   one()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=o}),wind
   ow.HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.m
   o=new MutationObserver(this.handler.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.addedNodes)},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.chi
   ldren.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e
   ,{childList:!0,subtree:!0})}},e.Observer=t}),window.HTMLImports.addModule(functi
   on(e){function t(e){return"link"===e.localName&&e.rel===l}function n(e){var t=o(
   e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}function o(
   e){return e.textContent+r(e)}function r(e){var t=e.ownerDocument;t.__importedScr
   ipts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,o=t.__importedScripts?
   "-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+o+"
   .js\n"}function i(e){var t=e.ownerDocument.createElement("style");return t.textC
   ontent=e.textContent,a.resolveUrlsInStyle(t),t}var a=e.path,s=e.rootDocument,c=e
   .flags,d=e.isIE,l=e.IMPORT_LINK_TYPE,u="link[rel="+l+"]",h={documentSelectors:u,
   importsSelectors:[u,"link[rel=stylesheet]:not([type])","style:not([type])","scri
   pt:not([type])",'script[type="application/javascript"]','script[type="text/javas
   cript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle
   "},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.pars
   e(e)},parse:function(e){if(this.isParsed(e))return void(c.parse&&console.log("[%
   s] is already parsed",e.localName));var t=this[this.map[e.localName]];t&&(this.m
   arkParsing(e),t.call(this,e))},parseDynamic:function(e,t){this.dynamicElements.p
   ush(e),t||this.parseNext()},markParsing:function(e){c.parse&&console.log("parsin
   g",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0
   ,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__impo
   rtParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElem
   ent=null,c.parse&&console.log("completed",e)},markDynamicParsingComplete:functio
   n(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1
   )},parseImport:function(e){if(e["import"]=e.__doc,window.HTMLImports.__importsPa
   rsingHook&&window.HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].
   __importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispat
   chEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("e
   rror",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shi
   ft(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImp
   ort(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(
   e),t.__appliedElement=e,e.__importElement=t,this.parseGeneric(e)},parseGeneric:f
   unction(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForEleme
   nt:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__imp
   ortLink;return t},addElementToDocument:function(e){var t=this.rootImportForEleme
   nt(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e
   ,t){var n=this,o=function(r){e.removeEventListener("load",o),e.removeEventListen
   er("error",o),t&&t(r),n.markParsingComplete(e),n.parseNext()};if(e.addEventListe
   ner("load",o),e.addEventListener("error",o),d&&"style"===e.localName){var r=!1;i
   f(-1==e.textContent.indexOf("@import"))r=!0;else if(e.sheet){r=!0;for(var i,a=e.
   sheet.cssRules,s=a?a.length:0,c=0;s>c&&(i=a[c]);c++)i.type===CSSRule.IMPORT_RULE
   &&(r=r&&Boolean(i.styleSheet))}r&&setTimeout(function(){e.dispatchEvent(new Cust
   omEvent("load",{bubbles:!1}))})}},parseScript:function(t){var o=document.createE
   lement("script");o.__importElement=t,o.src=t.src?t.src:n(t),e.currentScript=t,th
   is.trackElement(o,function(t){o.parentNode&&o.parentNode.removeChild(o),e.curren
   tScript=null}),this.addElementToDocument(o)},nextToParse:function(){return this.
   _mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(s)||this.nextToParseDy
   namic())},nextToParseInDoc:function(e,n){if(e&&this._mayParse.indexOf(e)<0){this
   ._mayParse.push(e);for(var o,r=e.querySelectorAll(this.parseSelectorsForNode(e))
   ,i=0,a=r.length;a>i&&(o=r[i]);i++)if(!this.isParsed(o))return this.hasResource(o
   )?t(o)?this.nextToParseInDoc(o.__doc,o):o:void 0}return n},nextToParseDynamic:fu
   nction(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){var t
   =e.ownerDocument||e;return t===s?this.documentSelectors:this.importsSelectors},i
   sParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){ret
   urn this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return!t(e)||voi
   d 0!==e.__doc}};e.parser=h,e.IMPORT_SELECTOR=u}),window.HTMLImports.addModule(fu
   nction(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName
   &&e.getAttribute("rel")===t}function o(e){return!!Object.getOwnPropertyDescripto
   r(e,"baseURI")}function r(e,t){var n=document.implementation.createHTMLDocument(
   a);n._URL=t;var r=n.createElement("base");r.setAttribute("href",t),n.baseURI||o(
   n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");r
   eturn i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild
   (r),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap
   &&HTMLTemplateElement.bootstrap(n),n}var i=e.flags,a=e.IMPORT_LINK_TYPE,s=e.IMPO
   RT_SELECTOR,c=e.rootDocument,d=e.Loader,l=e.Observer,u=e.parser,h={documents:{},
   documentPreloadSelectors:s,importsPreloadSelectors:[s].join(","),loadNode:functi
   on(e){f.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);f.addNode
   s(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNo
   de(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===c?t
   his.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,o
   ,a,s){if(i.load&&console.log("loaded",e,n),n.__resource=o,n.__error=a,t(n)){var 
   c=this.documents[e];void 0===c&&(c=a?null:r(o,s||e),c&&(c.__importLink=n,this.bo
   otDocument(c)),this.documents[e]=c),n.__doc=c}u.parseNext()},bootDocument:functi
   on(e){this.loadSubtree(e),this.observer.observe(e),u.parseNext()},loadedAll:func
   tion(){u.parseNext()}},f=new d(h.loaded.bind(h),h.loadedAll.bind(h));if(h.observ
   er=new l,!document.baseURI){var p={get:function(){var e=document.querySelector("
   base");return e?e.href:window.location.href},configurable:!0};Object.definePrope
   rty(document,"baseURI",p),Object.defineProperty(c,"baseURI",p)}e.importer=h,e.im
   portLoader=f}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.impor
   ter,o={added:function(e){for(var o,r,i,a,s=0,c=e.length;c>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.parseDynamic(a,i)},shouldLoadNode:function(e){return 1=
   ==e.nodeType&&r.call(e,n.loadSelectorsForNode(e))},shouldParseNode:function(e){r
   eturn 1===e.nodeType&&r.call(e,t.parseSelectorsForNode(e))}};n.observer.addCallb
   ack=o.added.bind(o);var r=HTMLElement.prototype.matches||HTMLElement.prototype.m
   atchesSelector||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototy
   pe.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector}),function(e){fun
   ction t(){window.HTMLImports.importer.bootDocument(o)}var n=e.initializeModules;
   e.isIE;if(!e.useNative){n();var o=e.rootDocument;"complete"===document.readyStat
   e||"interactive"===document.readyState&&!window.attachEvent?t():document.addEven
   tListener("DOMContentLoaded",t)}}(window.HTMLImports),window.CustomElements=wind
   ow.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],o=function(e){n.pus
   h(e)},r=function(){n.forEach(function(t){t(e)})};e.addModule=o,e.initializeModul
   es=r,e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigat
   or.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(
   !window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),windo
   w.CustomElements.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.
   shadowRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){i(e,t,[])}function i(e,
   t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var o,r=e.querySelect
   orAll("link[rel="+a+"]"),s=0,c=r.length;c>s&&(o=r[s]);s++)o["import"]&&i(o["impo
   rt"],t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"no
   ne";e.forDocumentTree=r,e.forSubtree=t}),window.CustomElements.addModule(functio
   n(e){function t(e,t){return n(e,t)||o(e,t)}function n(t,n){return e.upgrade(t,n)
   ?!0:void(n&&a(t))}function o(e,t){g(e,function(e){return n(e,t)?!0:void 0})}func
   tion r(e){L.push(e),E||(E=!0,setTimeout(i))}function i(){E=!1;for(var e,t=L,n=0,
   o=t.length;o>n&&(e=t[n]);n++)e();L=[]}function a(e){y?r(function(){s(e)}):s(e)}f
   unction s(e){ | 
| 2 e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCa
   llback())}function c(e){d(e),g(e,function(e){d(e)})}function d(e){y?r(function()
   {l(e)}):l(e)}function l(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.deta
   chedCallback&&e.detachedCallback())}function u(e){for(var t=e,n=window.wrap(docu
   ment);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_N
   ODE&&t.host}}function h(e){if(e.shadowRoot&&!e.shadowRoot.__watched){_.dom&&cons
   ole.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)m(t)
   ,t=t.olderShadowRoot}}function f(e,n){if(_.dom){var o=n[0];if(o&&"childList"===o
   .type&&o.addedNodes&&o.addedNodes){for(var r=o.addedNodes[0];r&&r!==document&&!r
   .host;)r=r.parentNode;var i=r&&(r.URL||r._URL||r.host&&r.host.localName)||"";i=i
   .split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.leng
   th,i||"")}var a=u(e);n.forEach(function(e){"childList"===e.type&&(N(e.addedNodes
   ,function(e){e.localName&&t(e,a)}),N(e.removedNodes,function(e){e.localName&&c(e
   )}))}),_.dom&&console.groupEnd()}function p(e){for(e=window.wrap(e),e||(e=window
   .wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(f(e,t.takeR
   ecords()),i())}function m(e){if(!e.__observer){var t=new MutationObserver(f.bind
   (this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function v(e){e
   =window.wrap(e),_.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").po
   p());var n=e===window.wrap(document);t(e,n),m(e),_.dom&&console.groupEnd()}funct
   ion w(e){b(e,v)}var _=e.flags,g=e.forSubtree,b=e.forDocumentTree,y=window.Mutati
   onObserver._isPolyfilled&&_["throttle-attached"];e.hasPolyfillMutations=y,e.hasT
   hrottledAttached=y;var E=!1,L=[],N=Array.prototype.forEach.call.bind(Array.proto
   type.forEach),M=Element.prototype.createShadowRoot;M&&(Element.prototype.createS
   hadowRoot=function(){var e=M.call(this);return window.CustomElements.watchShadow
   (this),e}),e.watchShadow=h,e.upgradeDocumentTree=w,e.upgradeDocument=v,e.upgrade
   Subtree=o,e.upgradeAll=t,e.attached=a,e.takeRecords=p}),window.CustomElements.ad
   dModule(function(e){function t(t,o){if("template"===t.localName&&window.HTMLTemp
   lateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__
   upgraded__&&t.nodeType===Node.ELEMENT_NODE){var r=t.getAttribute("is"),i=e.getRe
   gisteredDefinition(t.localName)||e.getRegisteredDefinition(r);if(i&&(r&&i.tag==t
   .localName||!r&&!i["extends"]))return n(t,i,o)}}function n(t,n,r){return a.upgra
   de&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),o(t,n)
   ,t.__upgraded__=!0,i(t),r&&e.attached(t),e.upgradeSubtree(t,r),a.upgrade&&consol
   e.groupEnd(),t}function o(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.p
   rototype,t["native"]),e.__proto__=t.prototype)}function r(e,t,n){for(var o={},r=
   t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(r),s
   =0;i=a[s];s++)o[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r
   ,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){e.createdCallback&&e.crea
   tedCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPro
   totype=o}),window.CustomElements.addModule(function(e){function t(t,o){var c=o||
   {};if(!t)throw new Error("document.registerElement: first argument `name` must n
   ot be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: fir
   st argument ('name') must contain a dash ('-'). Argument provided was '"+String(
   t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Docume
   nt': Registration failed for type '"+String(t)+"'. The type name is invalid.");i
   f(d(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+
   "' is already registered");return c.prototype||(c.prototype=Object.create(HTMLEl
   ement.prototype)),c.__name=t.toLowerCase(),c["extends"]&&(c["extends"]=c["extend
   s"].toLowerCase()),c.lifecycle=c.lifecycle||{},c.ancestry=i(c["extends"]),a(c),s
   (c),n(c.prototype),l(c.__name,c),c.ctor=u(c),c.ctor.prototype=c.prototype,c.prot
   otype.constructor=c.ctor,e.ready&&v(document),c.ctor}function n(e){if(!e.setAttr
   ibute._polyfilled){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,nul
   l,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=t
   his.getAttribute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attr
   ibuteChangedCallback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){
   for(var t=0;t<y.length;t++)if(e===y[t])return!0}function i(e){var t=d(e);return 
   t?i(t["extends"]).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.creat
   eElement(e.tag);t=Object.getPrototypeOf(n)}for(var o,r=e.prototype,i=!1;r;)r==t&
   &(i=!0),o=Object.getPrototypeOf(r),o&&(r.__proto__=o),r=o;i||console.warn(e.tag+
   " prototype not found in prototype chain for "+e.is),e["native"]=t}}function c(e
   ){return _(N(e.tag),e)}function d(e){return e?E[e.toLowerCase()]:void 0}function
    l(e,t){E[e]=t}function u(e){return function(){return c(e)}}function h(e,t,n){re
   turn e===L?f(t,n):M(e,t)}function f(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerC
   ase());var n=d(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)r
   eturn new n.ctor}var o;return t?(o=f(e),o.setAttribute("is",t),o):(o=N(e),e.inde
   xOf("-")>=0&&g(o,HTMLElement),o)}function p(e,t){var n=e[t];e[t]=function(){var 
   e=n.apply(this,arguments);return w(e),e}}var m,v=(e.isIE,e.upgradeDocumentTree),
   w=e.upgradeAll,_=e.upgradeWithDefinition,g=e.implementPrototype,b=e.useNative,y=
   ["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","f
   ont-face-format","font-face-name","missing-glyph"],E={},L="http://www.w3.org/199
   9/xhtml",N=document.createElement.bind(document),M=document.createElementNS.bind
   (document);m=Object.__proto__||b?function(e,t){return e instanceof t}:function(e
   ,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n._
   _proto__}return!1},p(Node.prototype,"cloneNode"),p(document,"importNode"),docume
   nt.registerElement=t,document.createElement=f,document.createElementNS=h,e.regis
   try=E,e["instanceof"]=m,e.reservedTagList=y,e.getRegisteredDefinition=d,document
   .register=document.registerElement}),function(e){function t(){i(window.wrap(docu
   ment)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||functi
   on(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements
   .readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.
   CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(ne
   w CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.init
   ializeModules;e.isIE;if(n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgr
   adeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e["instanceo
   f"]=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=
   e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.
   ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNe
   eded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(wind
   ow.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"])
   )}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==
   document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports
   .ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":
   "DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements)
   ,function(e){var t=document.createElement("style");t.textContent="body {transiti
   on: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; over
   flow: hidden; position: relative; } \n";var n=document.querySelector("head");n.i
   nsertBefore(t,n.firstChild)}(window.WebComponents);function $$(query,ele){if(!el
   e){ele=document}return Array.prototype.map.call(ele.querySelectorAll(query),func
   tion(e){return e})}function $$$(query,ele){if(!ele){ele=document}return ele.quer
   ySelector(query)}this.sk=this.sk||function(){"use strict";var sk={};sk.clearChil
   dren=function(ele){while(ele.firstChild){ele.removeChild(ele.firstChild)}};sk.fi
   ndParent=function(ele,nodeName){while(ele!=null){if(ele.nodeName==nodeName){retu
   rn ele}ele=ele.parentElement}return null};sk.errorMessage=function(message,durat
   ion){var detail={message:message};detail.duration=duration;document.dispatchEven
   t(new CustomEvent("error-sk",{detail:detail,bubbles:true}))};sk.Importer=functio
   n(){if("currentScript"in document){this.importDoc_=document.currentScript.ownerD
   ocument}else{this.importDoc_=document._currentScript.ownerDocument}};sk.Importer
   .prototype.import=function(id){return document.importNode($$$(id,this.importDoc_
   ).content,true)};sk.elePos=function(ele){var bounds=ele.getBoundingClientRect();
   return{x:bounds.left,y:bounds.top}};sk.request=function(method,url,body,headers)
   {return new Promise(function(resolve,reject){var req=new XMLHttpRequest;req.open
   (method,url);if(headers){for(var k in headers){req.setRequestHeader(k,headers[k]
   )}}req.onload=function(){if(req.status==200){resolve(req.response)}else{reject(r
   eq.response)}};req.onerror=function(){reject(Error("Network Error"))};req.send(b
   ody)})};sk.get=function(url){return sk.request("GET",url)};sk.post=function(url,
   body,content_type){if(!content_type){content_type="application/json"}return sk.r
   equest("POST",url,body,{"Content-Type":content_type})};sk.delete=function(url,bo
   dy){return sk.request("DELETE",url,body)};sk.DomReady=new Promise(function(resol
   ve,reject){if(document.readyState!="loading"){resolve()}else{document.addEventLi
   stener("DOMContentLoaded",resolve)}});sk.WebComponentsReady=new Promise(function
   (resolve,reject){window.addEventListener("polymer-ready",resolve)});var _Mailbox
   =function(){this.boxes={}};_Mailbox.prototype.subscribe=function(addr,cb){var bo
   x=this.boxes[addr]||{callbacks:[],value:null};box.callbacks.push(cb);cb(box.valu
   e);this.boxes[addr]=box};_Mailbox.prototype.unsubscribe=function(addr,cb){var bo
   x=this.boxes[addr]||{callbacks:[],value:null};for(var i=box.callbacks.length-1;i
   >=0;i--){if(box.callbacks[i]==cb){box.callbacks.splice(i,1)}}};_Mailbox.prototyp
   e.send=function(addr,value){var box=this.boxes[addr]||{callbacks:[],value:null};
   box.value=value;this.boxes[addr]=box;box.callbacks.forEach(function(cb){cb(value
   )})};sk.Mailbox=new _Mailbox;sk.human={};var TIME_DELTAS=[{units:"w",delta:7*24*
   60*60},{units:"d",delta:24*60*60},{units:"h",delta:60*60},{units:"m",delta:60},{
   units:"s",delta:1}];sk.KB=1024;sk.MB=sk.KB*1024;sk.GB=sk.MB*1024;sk.TB=sk.GB*102
   4;sk.PB=sk.TB*1024;var BYTES_DELTAS=[{units:" PB",delta:sk.PB},{units:" TB",delt
   a:sk.TB},{units:" GB",delta:sk.GB},{units:" MB",delta:sk.MB},{units:" KB",delta:
   sk.KB},{units:" B",delta:1}];sk.human.pad=function(num,size){var str=num+"";whil
   e(str.length<size)str="0"+str;return str};sk.human.strDuration=function(seconds)
   {if(seconds<0){seconds=-seconds}if(seconds==0){return"  0s"}var rv="";for(var i=
   0;i<TIME_DELTAS.length;i++){if(TIME_DELTAS[i].delta<=seconds){var s=Math.floor(s
   econds/TIME_DELTAS[i].delta)+TIME_DELTAS[i].units;while(s.length<4){s=" "+s}rv+=
   s;seconds=seconds%TIME_DELTAS[i].delta}}return rv};sk.human.diffDate=function(s)
   {var ms=typeof s=="number"?s:Date.parse(s);var diff=(ms-Date.now())/1e3;if(diff<
   0){diff=-1*diff}return humanize(diff,TIME_DELTAS)};sk.human.bytes=function(b,uni
   t){if(Number.isInteger(unit)){b=b*unit}return humanize(b,BYTES_DELTAS)};function
    humanize(n,deltas){for(var i=0;i<deltas.length-1;i++){var nextDeltaRounded=Math
   .round(n/deltas[i+1].delta)*deltas[i+1].delta;if(nextDeltaRounded/deltas[i].delt
   a>=1){return Math.round(n/deltas[i].delta)+deltas[i].units}}var i=deltas.length-
   1;return Math.round(n/deltas[i].delta)+deltas[i].units}sk.human.localeTime=funct
   ion(date){var str=date.toString();var timezone=str.substring(str.indexOf("("));r
   eturn date.toLocaleString()+" "+timezone};sk.now=function(){return Math.round((n
   ew Date).getTime()/1e3)};sk.array={};sk.array.equal=function(a,b){if(a.length!=b
   .length){return false}for(var i=0,len=a.length;i<len;i++){if(a[i]!==b[i]){return
    false}}return true};sk.formatHTML=function(s,linksInNewWindow){var sub='<a href
   ="$&">$&</a>';if(linksInNewWindow){sub='<a href="$&" target="_blank">$&</a>'}s=s
   .replace(/https?:(\/\/|//)[^ \t\n<]*/g,sub).replace(/(?:\r\n|\n|\r)/g,
   "<br/>");return sk.linkifyBugs(s)};var PROJECTS_TO_ISSUETRACKERS={chromium:"http
   ://crbug.com/",skia:"http://skbug.com/"};sk.linkifyBugs=function(s){for(var proj
   ect in PROJECTS_TO_ISSUETRACKERS){var re=new RegExp(project+":[0-9]+","g");var f
   ound_bugs=s.match(re);if(found_bugs){found_bugs.forEach(function(found_bug){var 
   bug_number=found_bug.split(":")[1];var bug_link='<a href="'+PROJECTS_TO_ISSUETRA
   CKERS[project]+bug_number+'" target="_blank">'+found_bug+"</a>";s=s.replace(foun
   d_bug,bug_link)})}}return s};sk.isGoogler=function(email){return email&&email.en
   dsWith("@google.com")};sk.query={};sk.query.fromParamSet=function(o){if(!o){retu
   rn""}var ret=[];var keys=Object.keys(o).sort();keys.forEach(function(key){o[key]
   .forEach(function(value){ret.push(encodeURIComponent(key)+"="+encodeURIComponent
   (value))})});return ret.join("&")};sk.query.toParamSet=function(s){s=s||"";var r
   et={};var vars=s.split("&");for(var i=0;i<vars.length;i++){var pair=vars[i].spli
   t("=",2);if(pair.length==2){var key=decodeURIComponent(pair[0]);var value=decode
   URIComponent(pair[1]);if(ret.hasOwnProperty(key)){ret[key].push(value)}else{ret[
   key]=[value]}}}return ret};sk.query.fromObject=function(o){var ret=[];Object.key
   s(o).forEach(function(key){ret.push(encodeURIComponent(key)+"="+encodeURICompone
   nt(o[key]))});return ret.join("&")};sk.query.toObject=function(s,target){var tar
   get=target||{};var ret={};var vars=s.split("&");for(var i=0;i<vars.length;i++){v
   ar pair=vars[i].split("=",2);if(pair.length==2){var key=decodeURIComponent(pair[
   0]);var value=decodeURIComponent(pair[1]);if(target.hasOwnProperty(key)){switch(
   typeof target[key]){case"boolean":ret[key]=value=="true";break;case"number":ret[
   key]=Number(value);break;case"string":ret[key]=value;break;default:ret[key]=valu
   e}}else{ret[key]=value}}}return ret};sk.query.splitAmp=function(queryStr){queryS
   tr=queryStr||"";return queryStr.split("&").join("\n")};sk.object={};sk.object.ge
   tDelta=function(o,d){var ret={};Object.keys(o).forEach(function(key){if(o[key]!=
   d[key]){ret[key]=o[key]}});return ret};sk.object.applyDelta=function(delta,o){va
   r ret={};Object.keys(o).forEach(function(key){if(delta.hasOwnProperty(key)){ret[
   key]=delta[key]}else{ret[key]=o[key]}});return ret};sk.object.shallowCopy=functi
   on(o){var ret={};for(var k in o){if(o.hasOwnProperty(k)){ret[k]=o[k]}}return ret
   };sk.stateReflector=function(page,cb){var defaultState=JSON.parse(JSON.stringify
   (page.state));var lastState=JSON.parse(JSON.stringify(page.state));setInterval(f
   unction(){if(Object.keys(sk.object.getDelta(lastState,page.state)).length>0){las
   tState=JSON.parse(JSON.stringify(page.state));var q=sk.query.fromObject(sk.objec
   t.getDelta(page.state,defaultState));history.pushState(null,"",window.location.o
   rigin+window.location.pathname+"?"+q)}},100);var stateFromURL=function(){var del
   ta=sk.query.toObject(window.location.search.slice(1),defaultState);page.state=sk
   .object.applyDelta(delta,defaultState);lastState=JSON.parse(JSON.stringify(page.
   state));cb()};if(window["Polymer"]&&Polymer.version[0]=="0"){sk.WebComponentsRea
   dy.then(stateFromURL)}else{sk.DomReady.then(stateFromURL)}window.addEventListene
   r("popstate",stateFromURL)};sk.getRoundNumber=function(min,max,base){if(min>max)
   {throw"sk.getRoundNumber: min > max! ("+min+" > "+max+")"}var multipleOf=[5,2,1]
   ;var val=(max+min)/2;if(!base){base=10}var digits=Math.floor(Math.log(Math.abs(v
   al))/Math.log(base))+1;for(var shift=0;;shift++){var shiftDiv=Math.pow(base,digi
   ts-shift);for(var i=0;i<multipleOf.length;i++){var f=shiftDiv*multipleOf[i];var 
   newVal=Math.round(val/f)*10*f/10;if(newVal>=min&&newVal<=max){return newVal}}}co
   nsole.error("sk.getRoundNumber Couldn't find appropriate rounding "+"value. Retu
   rning midpoint.");return val};sk.sortStrings=function(s){return s.sort(function(
   a,b){return a.localeCompare(b,"en",{sensitivity:"base"})})};sk.toCapWords=functi
   on(s){return s.replace(/\b\w/g,function(firstLetter){return firstLetter.toUpperC
   ase()})};sk.truncate=function(str,len){if(str.length>len){var ellipsis="...";ret
   urn str.substring(0,len-ellipsis.length)+ellipsis}return str};sk.hashString=func
   tion(s){var hash=0;for(var i=s.length-1;i>=0;i--){hash=(hash<<5)-hash+s.charCode
   At(i);hash|=0}return Math.abs(hash)};sk.escapeHTML=function(s){return s.replace(
   /&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").r
   eplace(/'/g,"'").replace(/\//g,"/")};sk.sharesElement=function(a,b){va
   r i=0;var j=0;while(i<a.length&&j<b.length){if(a[i]<b[j]){i++}else if(b[j]<a[i])
   {j++}else{return true}}return false};sk.robust_get=function(obj,idx){if(!idx||!o
   bj){return}for(var i=0,len=idx.length;i<len;i++){if(typeof obj==="undefined"||ty
   peof idx[i]==="undefined"){return}obj=obj[idx[i]]}return obj};function _hexify(i
   ){var s=i.toString(16).toUpperCase();if(s.length<2){s="0"+s}return s}sk.colorHex
   =function(colors,offset){return"#"+_hexify(colors[offset+0])+_hexify(colors[offs
   et+1])+_hexify(colors[offset+2])+_hexify(colors[offset+3])};sk.colorRGB=function
   (colors,offset){return"rgba("+colors[offset]+", "+colors[offset+1]+", "+colors[o
   ffset+2]+", "+colors[offset+3]/255+")"};if(!String.prototype.startsWith){String.
   prototype.startsWith=function(searchString,position){position=position||0;return
    this.indexOf(searchString,position)===position}}return sk}();this.swarming=this
   .swarming||function(){var swarming={};swarming.stableSort=function(arr,comp){if(
   !arr||!comp){console.log("missing arguments to stableSort",arr,comp);return}arr.
   forEach(function(e,i){if(e!==undefined&&e!==null){e.__sortIdx=i}});arr.sort(func
   tion(a,b){if(a===undefined||a===null){if(b===undefined||b===null){return 0}retur
   n 1}if(b===undefined||b===null){return-1}var c=comp(a,b);if(c===0){return a.__so
   rtIdx-b.__sortIdx}return c})};swarming.naturalCompare=function(a,b){var ns=a-b;i
   f(!isNaN(ns)){return ns}return String(a).localeCompare(b)};swarming.postWithToas
   t=function(url,msg,auth_headers){sk.errorMessage(msg,0);sk.request("POST",url,un
   defined,auth_headers).then(function(response){sk.errorMessage("Request sent.  Re
   sponse: "+response,3e3)}).catch(function(reason){console.log("Request failed",re
   ason);sk.errorMessage("Request failed.  Reason: "+reason,5e3)})};return swarming
   }();this.swarming=this.swarming||{};this.swarming.alias=this.swarming.alias||fun
   ction(){var ANDROID_ALIASES={angler:"Nexus 6p",bullhead:"Nexus 5X",flo:"Nexus 7 
   (2013)",flounder:"Nexus 9",foster:"NVIDIA Shield",fugu:"Nexus Player",grouper:"N
   exus 7 (2012)",hammerhead:"Nexus 5",heroqlteatt:"Galaxy S7",m0:"Galaxy S3",mako:
   "Nexus 4",manta:"Nexus 10",shamu:"Nexus 6",sprout:"Android One"};var UNKNOWN="un
   known";var GPU_ALIASES={1002:"AMD","1002:6779":"AMD Radeon HD 6450/7450/8450","1
   002:6821":"AMD Radeon HD 8870M","1002:683d":"AMD Radeon HD 7770/8760","1002:9830
   ":"AMD Radeon HD 8400","102b":"Matrox","102b:0522":"Matrox MGA G200e","102b:0532
   ":"Matrox MGA G200eW","102b:0534":"Matrox G200eR2","10de":"NVIDIA","10de:08a4":"
   NVIDIA GeForce 320M","10de:08aa":"NVIDIA GeForce 320M","10de:0fe9":"NVIDIA GeFor
   ce GT 750M Mac Edition","10de:104a":"NVIDIA GeForce GT 610","10de:11c0":"NVIDIA 
   GeForce GTX 660","10de:1244":"NVIDIA GeForce GTX 550 Ti","10de:1401":"NVIDIA GeF
   orce GTX 960",8086:"Intel","8086:0412":"Intel Haswell Integrated","8086:041a":"I
   ntel Xeon Integrated","8086:0a2e":"Intel Haswell Integrated","8086:0d26":"Intel 
   Crystal Well Integrated","8086:22b1":"Intel Braswell Integrated"};var ALIAS_REGE
   XP=/.+ \((.*)\)/;var alias={};alias.DIMENSIONS_WITH_ALIASES=["device_type","gpu"
   ];alias.android=function(dt){return ANDROID_ALIASES[dt]||UNKNOWN};alias.apply=fu
   nction(orig,type){var aliaser=aliasMap[type];if(!aliaser){return type+" ("+orig+
   ")"}var alias=aliaser(orig);if(alias!=="unknown"){return alias+" ("+orig+")"}ret
   urn orig};alias.gpu=function(gpu){return GPU_ALIASES[gpu]||UNKNOWN};alias.unappl
   y=function(str){var match=ALIAS_REGEXP.exec(str);if(match){return match[1]}retur
   n str};var aliasMap={device_type:alias.android,gpu:alias.gpu};return alias}(); | 2 e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCa
   llback())}function c(e){d(e),g(e,function(e){d(e)})}function d(e){y?r(function()
   {l(e)}):l(e)}function l(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.deta
   chedCallback&&e.detachedCallback())}function u(e){for(var t=e,n=window.wrap(docu
   ment);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_N
   ODE&&t.host}}function h(e){if(e.shadowRoot&&!e.shadowRoot.__watched){_.dom&&cons
   ole.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)m(t)
   ,t=t.olderShadowRoot}}function f(e,n){if(_.dom){var o=n[0];if(o&&"childList"===o
   .type&&o.addedNodes&&o.addedNodes){for(var r=o.addedNodes[0];r&&r!==document&&!r
   .host;)r=r.parentNode;var i=r&&(r.URL||r._URL||r.host&&r.host.localName)||"";i=i
   .split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.leng
   th,i||"")}var a=u(e);n.forEach(function(e){"childList"===e.type&&(N(e.addedNodes
   ,function(e){e.localName&&t(e,a)}),N(e.removedNodes,function(e){e.localName&&c(e
   )}))}),_.dom&&console.groupEnd()}function p(e){for(e=window.wrap(e),e||(e=window
   .wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(f(e,t.takeR
   ecords()),i())}function m(e){if(!e.__observer){var t=new MutationObserver(f.bind
   (this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function v(e){e
   =window.wrap(e),_.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").po
   p());var n=e===window.wrap(document);t(e,n),m(e),_.dom&&console.groupEnd()}funct
   ion w(e){b(e,v)}var _=e.flags,g=e.forSubtree,b=e.forDocumentTree,y=window.Mutati
   onObserver._isPolyfilled&&_["throttle-attached"];e.hasPolyfillMutations=y,e.hasT
   hrottledAttached=y;var E=!1,L=[],N=Array.prototype.forEach.call.bind(Array.proto
   type.forEach),M=Element.prototype.createShadowRoot;M&&(Element.prototype.createS
   hadowRoot=function(){var e=M.call(this);return window.CustomElements.watchShadow
   (this),e}),e.watchShadow=h,e.upgradeDocumentTree=w,e.upgradeDocument=v,e.upgrade
   Subtree=o,e.upgradeAll=t,e.attached=a,e.takeRecords=p}),window.CustomElements.ad
   dModule(function(e){function t(t,o){if("template"===t.localName&&window.HTMLTemp
   lateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__
   upgraded__&&t.nodeType===Node.ELEMENT_NODE){var r=t.getAttribute("is"),i=e.getRe
   gisteredDefinition(t.localName)||e.getRegisteredDefinition(r);if(i&&(r&&i.tag==t
   .localName||!r&&!i["extends"]))return n(t,i,o)}}function n(t,n,r){return a.upgra
   de&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),o(t,n)
   ,t.__upgraded__=!0,i(t),r&&e.attached(t),e.upgradeSubtree(t,r),a.upgrade&&consol
   e.groupEnd(),t}function o(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.p
   rototype,t["native"]),e.__proto__=t.prototype)}function r(e,t,n){for(var o={},r=
   t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(r),s
   =0;i=a[s];s++)o[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r
   ,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){e.createdCallback&&e.crea
   tedCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPro
   totype=o}),window.CustomElements.addModule(function(e){function t(t,o){var c=o||
   {};if(!t)throw new Error("document.registerElement: first argument `name` must n
   ot be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: fir
   st argument ('name') must contain a dash ('-'). Argument provided was '"+String(
   t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Docume
   nt': Registration failed for type '"+String(t)+"'. The type name is invalid.");i
   f(d(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+
   "' is already registered");return c.prototype||(c.prototype=Object.create(HTMLEl
   ement.prototype)),c.__name=t.toLowerCase(),c["extends"]&&(c["extends"]=c["extend
   s"].toLowerCase()),c.lifecycle=c.lifecycle||{},c.ancestry=i(c["extends"]),a(c),s
   (c),n(c.prototype),l(c.__name,c),c.ctor=u(c),c.ctor.prototype=c.prototype,c.prot
   otype.constructor=c.ctor,e.ready&&v(document),c.ctor}function n(e){if(!e.setAttr
   ibute._polyfilled){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,nul
   l,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=t
   his.getAttribute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attr
   ibuteChangedCallback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){
   for(var t=0;t<y.length;t++)if(e===y[t])return!0}function i(e){var t=d(e);return 
   t?i(t["extends"]).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.creat
   eElement(e.tag);t=Object.getPrototypeOf(n)}for(var o,r=e.prototype,i=!1;r;)r==t&
   &(i=!0),o=Object.getPrototypeOf(r),o&&(r.__proto__=o),r=o;i||console.warn(e.tag+
   " prototype not found in prototype chain for "+e.is),e["native"]=t}}function c(e
   ){return _(N(e.tag),e)}function d(e){return e?E[e.toLowerCase()]:void 0}function
    l(e,t){E[e]=t}function u(e){return function(){return c(e)}}function h(e,t,n){re
   turn e===L?f(t,n):M(e,t)}function f(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerC
   ase());var n=d(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)r
   eturn new n.ctor}var o;return t?(o=f(e),o.setAttribute("is",t),o):(o=N(e),e.inde
   xOf("-")>=0&&g(o,HTMLElement),o)}function p(e,t){var n=e[t];e[t]=function(){var 
   e=n.apply(this,arguments);return w(e),e}}var m,v=(e.isIE,e.upgradeDocumentTree),
   w=e.upgradeAll,_=e.upgradeWithDefinition,g=e.implementPrototype,b=e.useNative,y=
   ["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","f
   ont-face-format","font-face-name","missing-glyph"],E={},L="http://www.w3.org/199
   9/xhtml",N=document.createElement.bind(document),M=document.createElementNS.bind
   (document);m=Object.__proto__||b?function(e,t){return e instanceof t}:function(e
   ,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n._
   _proto__}return!1},p(Node.prototype,"cloneNode"),p(document,"importNode"),docume
   nt.registerElement=t,document.createElement=f,document.createElementNS=h,e.regis
   try=E,e["instanceof"]=m,e.reservedTagList=y,e.getRegisteredDefinition=d,document
   .register=document.registerElement}),function(e){function t(){i(window.wrap(docu
   ment)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||functi
   on(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements
   .readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.
   CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(ne
   w CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,o=e.init
   ializeModules;e.isIE;if(n){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgr
   adeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e["instanceo
   f"]=function(e,t){return e instanceof t}}else o();var i=e.upgradeDocumentTree,a=
   e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.
   ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNe
   eded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(wind
   ow.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"])
   )}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==
   document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports
   .ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":
   "DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements)
   ,function(e){var t=document.createElement("style");t.textContent="body {transiti
   on: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; over
   flow: hidden; position: relative; } \n";var n=document.querySelector("head");n.i
   nsertBefore(t,n.firstChild)}(window.WebComponents);function $$(query,ele){if(!el
   e){ele=document}return Array.prototype.map.call(ele.querySelectorAll(query),func
   tion(e){return e})}function $$$(query,ele){if(!ele){ele=document}return ele.quer
   ySelector(query)}this.sk=this.sk||function(){"use strict";var sk={};sk.clearChil
   dren=function(ele){while(ele.firstChild){ele.removeChild(ele.firstChild)}};sk.fi
   ndParent=function(ele,nodeName){while(ele!=null){if(ele.nodeName==nodeName){retu
   rn ele}ele=ele.parentElement}return null};sk.errorMessage=function(message,durat
   ion){var detail={message:message};detail.duration=duration;document.dispatchEven
   t(new CustomEvent("error-sk",{detail:detail,bubbles:true}))};sk.Importer=functio
   n(){if("currentScript"in document){this.importDoc_=document.currentScript.ownerD
   ocument}else{this.importDoc_=document._currentScript.ownerDocument}};sk.Importer
   .prototype.import=function(id){return document.importNode($$$(id,this.importDoc_
   ).content,true)};sk.elePos=function(ele){var bounds=ele.getBoundingClientRect();
   return{x:bounds.left,y:bounds.top}};sk.request=function(method,url,body,headers)
   {return new Promise(function(resolve,reject){var req=new XMLHttpRequest;req.open
   (method,url);if(headers){for(var k in headers){req.setRequestHeader(k,headers[k]
   )}}req.onload=function(){if(req.status==200){resolve(req.response)}else{reject(r
   eq.response)}};req.onerror=function(){reject(Error("Network Error"))};req.send(b
   ody)})};sk.get=function(url){return sk.request("GET",url)};sk.post=function(url,
   body,content_type){if(!content_type){content_type="application/json"}return sk.r
   equest("POST",url,body,{"Content-Type":content_type})};sk.delete=function(url,bo
   dy){return sk.request("DELETE",url,body)};sk.DomReady=new Promise(function(resol
   ve,reject){if(document.readyState!="loading"){resolve()}else{document.addEventLi
   stener("DOMContentLoaded",resolve)}});sk.WebComponentsReady=new Promise(function
   (resolve,reject){window.addEventListener("polymer-ready",resolve)});var _Mailbox
   =function(){this.boxes={}};_Mailbox.prototype.subscribe=function(addr,cb){var bo
   x=this.boxes[addr]||{callbacks:[],value:null};box.callbacks.push(cb);cb(box.valu
   e);this.boxes[addr]=box};_Mailbox.prototype.unsubscribe=function(addr,cb){var bo
   x=this.boxes[addr]||{callbacks:[],value:null};for(var i=box.callbacks.length-1;i
   >=0;i--){if(box.callbacks[i]==cb){box.callbacks.splice(i,1)}}};_Mailbox.prototyp
   e.send=function(addr,value){var box=this.boxes[addr]||{callbacks:[],value:null};
   box.value=value;this.boxes[addr]=box;box.callbacks.forEach(function(cb){cb(value
   )})};sk.Mailbox=new _Mailbox;sk.human={};var TIME_DELTAS=[{units:"w",delta:7*24*
   60*60},{units:"d",delta:24*60*60},{units:"h",delta:60*60},{units:"m",delta:60},{
   units:"s",delta:1}];sk.KB=1024;sk.MB=sk.KB*1024;sk.GB=sk.MB*1024;sk.TB=sk.GB*102
   4;sk.PB=sk.TB*1024;var BYTES_DELTAS=[{units:" PB",delta:sk.PB},{units:" TB",delt
   a:sk.TB},{units:" GB",delta:sk.GB},{units:" MB",delta:sk.MB},{units:" KB",delta:
   sk.KB},{units:" B",delta:1}];sk.human.pad=function(num,size){var str=num+"";whil
   e(str.length<size)str="0"+str;return str};sk.human.strDuration=function(seconds)
   {if(seconds<0){seconds=-seconds}if(seconds==0){return"  0s"}var rv="";for(var i=
   0;i<TIME_DELTAS.length;i++){if(TIME_DELTAS[i].delta<=seconds){var s=Math.floor(s
   econds/TIME_DELTAS[i].delta)+TIME_DELTAS[i].units;while(s.length<4){s=" "+s}rv+=
   s;seconds=seconds%TIME_DELTAS[i].delta}}return rv};sk.human.diffDate=function(s)
   {var ms=typeof s=="number"?s:Date.parse(s);var diff=(ms-Date.now())/1e3;if(diff<
   0){diff=-1*diff}return humanize(diff,TIME_DELTAS)};sk.human.bytes=function(b,uni
   t){if(Number.isInteger(unit)){b=b*unit}return humanize(b,BYTES_DELTAS)};function
    humanize(n,deltas){for(var i=0;i<deltas.length-1;i++){var nextDeltaRounded=Math
   .round(n/deltas[i+1].delta)*deltas[i+1].delta;if(nextDeltaRounded/deltas[i].delt
   a>=1){return Math.round(n/deltas[i].delta)+deltas[i].units}}var i=deltas.length-
   1;return Math.round(n/deltas[i].delta)+deltas[i].units}sk.human.localeTime=funct
   ion(date){var str=date.toString();var timezone=str.substring(str.indexOf("("));r
   eturn date.toLocaleString()+" "+timezone};sk.now=function(){return Math.round((n
   ew Date).getTime()/1e3)};sk.array={};sk.array.equal=function(a,b){if(a.length!=b
   .length){return false}for(var i=0,len=a.length;i<len;i++){if(a[i]!==b[i]){return
    false}}return true};sk.formatHTML=function(s,linksInNewWindow){var sub='<a href
   ="$&">$&</a>';if(linksInNewWindow){sub='<a href="$&" target="_blank">$&</a>'}s=s
   .replace(/https?:(\/\/|//)[^ \t\n<]*/g,sub).replace(/(?:\r\n|\n|\r)/g,
   "<br/>");return sk.linkifyBugs(s)};var PROJECTS_TO_ISSUETRACKERS={chromium:"http
   ://crbug.com/",skia:"http://skbug.com/"};sk.linkifyBugs=function(s){for(var proj
   ect in PROJECTS_TO_ISSUETRACKERS){var re=new RegExp(project+":[0-9]+","g");var f
   ound_bugs=s.match(re);if(found_bugs){found_bugs.forEach(function(found_bug){var 
   bug_number=found_bug.split(":")[1];var bug_link='<a href="'+PROJECTS_TO_ISSUETRA
   CKERS[project]+bug_number+'" target="_blank">'+found_bug+"</a>";s=s.replace(foun
   d_bug,bug_link)})}}return s};sk.isGoogler=function(email){return email&&email.en
   dsWith("@google.com")};sk.query={};sk.query.fromParamSet=function(o){if(!o){retu
   rn""}var ret=[];var keys=Object.keys(o).sort();keys.forEach(function(key){o[key]
   .forEach(function(value){ret.push(encodeURIComponent(key)+"="+encodeURIComponent
   (value))})});return ret.join("&")};sk.query.toParamSet=function(s){s=s||"";var r
   et={};var vars=s.split("&");for(var i=0;i<vars.length;i++){var pair=vars[i].spli
   t("=",2);if(pair.length==2){var key=decodeURIComponent(pair[0]);var value=decode
   URIComponent(pair[1]);if(ret.hasOwnProperty(key)){ret[key].push(value)}else{ret[
   key]=[value]}}}return ret};sk.query.fromObject=function(o){var ret=[];Object.key
   s(o).forEach(function(key){ret.push(encodeURIComponent(key)+"="+encodeURICompone
   nt(o[key]))});return ret.join("&")};sk.query.toObject=function(s,target){var tar
   get=target||{};var ret={};var vars=s.split("&");for(var i=0;i<vars.length;i++){v
   ar pair=vars[i].split("=",2);if(pair.length==2){var key=decodeURIComponent(pair[
   0]);var value=decodeURIComponent(pair[1]);if(target.hasOwnProperty(key)){switch(
   typeof target[key]){case"boolean":ret[key]=value=="true";break;case"number":ret[
   key]=Number(value);break;case"string":ret[key]=value;break;default:ret[key]=valu
   e}}else{ret[key]=value}}}return ret};sk.query.splitAmp=function(queryStr){queryS
   tr=queryStr||"";return queryStr.split("&").join("\n")};sk.object={};sk.object.ge
   tDelta=function(o,d){var ret={};Object.keys(o).forEach(function(key){if(o[key]!=
   d[key]){ret[key]=o[key]}});return ret};sk.object.applyDelta=function(delta,o){va
   r ret={};Object.keys(o).forEach(function(key){if(delta.hasOwnProperty(key)){ret[
   key]=delta[key]}else{ret[key]=o[key]}});return ret};sk.object.shallowCopy=functi
   on(o){var ret={};for(var k in o){if(o.hasOwnProperty(k)){ret[k]=o[k]}}return ret
   };sk.stateReflector=function(page,cb){var defaultState=JSON.parse(JSON.stringify
   (page.state));var lastState=JSON.parse(JSON.stringify(page.state));setInterval(f
   unction(){if(Object.keys(sk.object.getDelta(lastState,page.state)).length>0){las
   tState=JSON.parse(JSON.stringify(page.state));var q=sk.query.fromObject(sk.objec
   t.getDelta(page.state,defaultState));history.pushState(null,"",window.location.o
   rigin+window.location.pathname+"?"+q)}},100);var stateFromURL=function(){var del
   ta=sk.query.toObject(window.location.search.slice(1),defaultState);page.state=sk
   .object.applyDelta(delta,defaultState);lastState=JSON.parse(JSON.stringify(page.
   state));cb()};if(window["Polymer"]&&Polymer.version[0]=="0"){sk.WebComponentsRea
   dy.then(stateFromURL)}else{sk.DomReady.then(stateFromURL)}window.addEventListene
   r("popstate",stateFromURL)};sk.getRoundNumber=function(min,max,base){if(min>max)
   {throw"sk.getRoundNumber: min > max! ("+min+" > "+max+")"}var multipleOf=[5,2,1]
   ;var val=(max+min)/2;if(!base){base=10}var digits=Math.floor(Math.log(Math.abs(v
   al))/Math.log(base))+1;for(var shift=0;;shift++){var shiftDiv=Math.pow(base,digi
   ts-shift);for(var i=0;i<multipleOf.length;i++){var f=shiftDiv*multipleOf[i];var 
   newVal=Math.round(val/f)*10*f/10;if(newVal>=min&&newVal<=max){return newVal}}}co
   nsole.error("sk.getRoundNumber Couldn't find appropriate rounding "+"value. Retu
   rning midpoint.");return val};sk.sortStrings=function(s){return s.sort(function(
   a,b){return a.localeCompare(b,"en",{sensitivity:"base"})})};sk.toCapWords=functi
   on(s){return s.replace(/\b\w/g,function(firstLetter){return firstLetter.toUpperC
   ase()})};sk.truncate=function(str,len){if(str.length>len){var ellipsis="...";ret
   urn str.substring(0,len-ellipsis.length)+ellipsis}return str};sk.hashString=func
   tion(s){var hash=0;for(var i=s.length-1;i>=0;i--){hash=(hash<<5)-hash+s.charCode
   At(i);hash|=0}return Math.abs(hash)};sk.escapeHTML=function(s){return s.replace(
   /&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").r
   eplace(/'/g,"'").replace(/\//g,"/")};sk.sharesElement=function(a,b){va
   r i=0;var j=0;while(i<a.length&&j<b.length){if(a[i]<b[j]){i++}else if(b[j]<a[i])
   {j++}else{return true}}return false};sk.robust_get=function(obj,idx){if(!idx||!o
   bj){return}for(var i=0,len=idx.length;i<len;i++){if(typeof obj==="undefined"||ty
   peof idx[i]==="undefined"){return}obj=obj[idx[i]]}return obj};function _hexify(i
   ){var s=i.toString(16).toUpperCase();if(s.length<2){s="0"+s}return s}sk.colorHex
   =function(colors,offset){return"#"+_hexify(colors[offset+0])+_hexify(colors[offs
   et+1])+_hexify(colors[offset+2])+_hexify(colors[offset+3])};sk.colorRGB=function
   (colors,offset){return"rgba("+colors[offset]+", "+colors[offset+1]+", "+colors[o
   ffset+2]+", "+colors[offset+3]/255+")"};if(!String.prototype.startsWith){String.
   prototype.startsWith=function(searchString,position){position=position||0;return
    this.indexOf(searchString,position)===position}}return sk}();this.swarming=this
   .swarming||function(){var swarming={};swarming.naturalCompare=function(a,b){var 
   ns=a-b;if(!isNaN(ns)){return ns}return String(a).localeCompare(b)};swarming.stab
   leSort=function(arr,comp){if(!arr||!comp){console.log("missing arguments to stab
   leSort",arr,comp);return}arr.forEach(function(e,i){if(e!==undefined&&e!==null){e
   .__sortIdx=i}});arr.sort(function(a,b){if(a===undefined||a===null){if(b===undefi
   ned||b===null){return 0}return 1}if(b===undefined||b===null){return-1}var c=comp
   (a,b);if(c===0){return a.__sortIdx-b.__sortIdx}return c})};swarming.postWithToas
   t=function(url,msg,auth_headers){sk.errorMessage(msg,0);sk.request("POST",url,un
   defined,auth_headers).then(function(response){sk.errorMessage("Request sent.  Re
   sponse: "+response,3e3)}).catch(function(reason){console.log("Request failed",re
   ason);sk.errorMessage("Request failed.  Reason: "+reason,5e3)})};return swarming
   }();this.swarming=this.swarming||{};this.swarming.alias=this.swarming.alias||fun
   ction(){var ANDROID_ALIASES={angler:"Nexus 6p",bullhead:"Nexus 5X",flo:"Nexus 7 
   (2013)",flounder:"Nexus 9",foster:"NVIDIA Shield",fugu:"Nexus Player",grouper:"N
   exus 7 (2012)",hammerhead:"Nexus 5",heroqlteatt:"Galaxy S7",m0:"Galaxy S3",mako:
   "Nexus 4",manta:"Nexus 10",shamu:"Nexus 6",sprout:"Android One"};var UNKNOWN="un
   known";var GPU_ALIASES={1002:"AMD","1002:6779":"AMD Radeon HD 6450/7450/8450","1
   002:6821":"AMD Radeon HD 8870M","1002:683d":"AMD Radeon HD 7770/8760","1002:9830
   ":"AMD Radeon HD 8400","102b":"Matrox","102b:0522":"Matrox MGA G200e","102b:0532
   ":"Matrox MGA G200eW","102b:0534":"Matrox G200eR2","10de":"NVIDIA","10de:08a4":"
   NVIDIA GeForce 320M","10de:08aa":"NVIDIA GeForce 320M","10de:0fe9":"NVIDIA GeFor
   ce GT 750M Mac Edition","10de:104a":"NVIDIA GeForce GT 610","10de:11c0":"NVIDIA 
   GeForce GTX 660","10de:1244":"NVIDIA GeForce GTX 550 Ti","10de:1401":"NVIDIA GeF
   orce GTX 960",8086:"Intel","8086:0412":"Intel Haswell Integrated","8086:041a":"I
   ntel Xeon Integrated","8086:0a2e":"Intel Haswell Integrated","8086:0d26":"Intel 
   Crystal Well Integrated","8086:22b1":"Intel Braswell Integrated"};var ALIAS_REGE
   XP=/.+ \((.*)\)/;var alias={};alias.DIMENSIONS_WITH_ALIASES=["device_type","gpu"
   ];alias.android=function(dt){return ANDROID_ALIASES[dt]||UNKNOWN};alias.apply=fu
   nction(orig,type){var aliaser=aliasMap[type];if(!aliaser){return type+" ("+orig+
   ")"}var alias=aliaser(orig);if(alias!=="unknown"){return alias+" ("+orig+")"}ret
   urn orig};alias.gpu=function(gpu){return GPU_ALIASES[gpu]||UNKNOWN};alias.unappl
   y=function(str){var match=ALIAS_REGEXP.exec(str);if(match){return match[1]}retur
   n str};var aliasMap={device_type:alias.android,gpu:alias.gpu};return alias}(); |