Advertisement
Guest User

ps-theme.html (Riot)

a guest
Apr 26th, 2017
1,741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 360.02 KB | None | 0 0
  1. <html><head><meta charset="UTF-8"></head><body><div hidden="" by-vulcanize=""><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Open+Sans:300,400,400i,500,500i,600,600i,700,700i,800,800i|Roboto+Condensed:300,bold,600"><script>!function(){function e(){document.body.removeAttribute("unresolved")}window.WebComponents?addEventListener("WebComponentsReady",e):"interactive"===document.readyState||"complete"===document.readyState?e():addEventListener("DOMContentLoaded",e)}(),window.Polymer={Settings:function(){var e=window.Polymer||{};if(!e.noUrlSettings)for(var t,r=location.search.slice(1).split("&"),i=0;i<r.length&&(t=r[i]);i++)t=t.split("="),t[0]&&(e[t[0]]=t[1]||!0);return e.wantShadow="shadow"===e.dom,e.hasShadow=Boolean(Element.prototype.createShadowRoot),e.nativeShadow=e.hasShadow&&!window.ShadowDOMPolyfill,e.useShadow=e.wantShadow&&e.hasShadow,e.hasNativeImports=Boolean("import"in document.createElement("link")),e.useNativeImports=e.hasNativeImports,e.useNativeCustomElements=!window.CustomElements||window.CustomElements.useNative,e.useNativeShadow=e.useShadow&&e.nativeShadow,e.usePolyfillProto=!e.useNativeCustomElements&&!Object.__proto__,e.hasNativeCSSProperties=!navigator.userAgent.match("AppleWebKit/601")&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)"),e.useNativeCSSProperties=e.hasNativeCSSProperties&&e.lazyRegister&&e.useNativeCSSProperties,e.isIE=navigator.userAgent.match("Trident"),e}()},function(){var e=window.Polymer;window.Polymer=function(e){"function"==typeof e&&(e=e.prototype),e||(e={}),e=t(e);var r=e===e.constructor.prototype?e.constructor:null,i={prototype:e};e.extends&&(i.extends=e.extends),Polymer.telemetry._registrate(e);var o=document.registerElement(e.is,i);return r||o};var t=function(e){var t=Polymer.Base;return e.extends&&(t=Polymer.Base._getExtendedPrototype(e.extends)),e=Polymer.Base.chainObject(e,t),e.registerCallback(),e};if(e)for(var r in e)Polymer[r]=e[r];Polymer.Class=function(e){return e.factoryImpl||(e.factoryImpl=function(){}),t(e).constructor}}(),Polymer.telemetry={registrations:[],_regLog:function(e){console.log("["+e.is+"]: registered")},_registrate:function(e){this.registrations.push(e),Polymer.log&&this._regLog(e)},dumpRegistrations:function(){this.registrations.forEach(this._regLog)}},Object.defineProperty(window,"currentImport",{enumerable:!0,configurable:!0,get:function(){return(document._currentScript||document.currentScript||{}).ownerDocument}}),Polymer.RenderStatus={_ready:!1,_callbacks:[],whenReady:function(e){this._ready?e():this._callbacks.push(e)},_makeReady:function(){this._ready=!0;for(var e=0;e<this._callbacks.length;e++)this._callbacks[e]();this._callbacks=[]},_catchFirstRender:function(){requestAnimationFrame(function(){Polymer.RenderStatus._makeReady()})},_afterNextRenderQueue:[],_waitingNextRender:!1,afterNextRender:function(e,t,r){this._watchNextRender(),this._afterNextRenderQueue.push([e,t,r])},hasRendered:function(){return this._ready},_watchNextRender:function(){if(!this._waitingNextRender){this._waitingNextRender=!0;var e=function(){Polymer.RenderStatus._flushNextRender()};this._ready?requestAnimationFrame(e):this.whenReady(e)}},_flushNextRender:function(){var e=this;setTimeout(function(){e._flushRenderCallbacks(e._afterNextRenderQueue),e._afterNextRenderQueue=[],e._waitingNextRender=!1})},_flushRenderCallbacks:function(e){for(var t,r=0;r<e.length;r++)t=e[r],t[1].apply(t[0],t[2]||Polymer.nar)}},window.HTMLImports?HTMLImports.whenReady(function(){Polymer.RenderStatus._catchFirstRender()}):Polymer.RenderStatus._catchFirstRender(),Polymer.ImportStatus=Polymer.RenderStatus,Polymer.ImportStatus.whenLoaded=Polymer.ImportStatus.whenReady,function(){"use strict";var e=Polymer.Settings;Polymer.Base={__isPolymerInstance__:!0,_addFeature:function(e){this.mixin(this,e)},registerCallback:function(){if("max"===e.lazyRegister)this.beforeRegister&&this.beforeRegister();else{this._desugarBehaviors();for(var t,r=0;r<this.behaviors.length;r++)t=this.behaviors[r],t.beforeRegister&&t.beforeRegister.call(this);this.beforeRegister&&this.beforeRegister()}this._registerFeatures(),e.lazyRegister||this.ensureRegisterFinished()},createdCallback:function(){if(e.disableUpgradeEnabled){if(this.hasAttribute("disable-upgrade"))return this._propertySetter=t,this._configValue=null,void(this.__data__={});this.__hasInitialized=!0}this.__initialize()},__initialize:function(){this.__hasRegisterFinished||this._ensureRegisterFinished(this.__proto__),Polymer.telemetry.instanceCount++,this.root=this;for(var e,t=0;t<this.behaviors.length;t++)e=this.behaviors[t],e.created&&e.created.call(this);this.created&&this.created(),this._initFeatures()},ensureRegisterFinished:function(){this._ensureRegisterFinished(this)},_ensureRegisterFinished:function(t){if(t.__hasRegisterFinished!==t.is||!t.is){if("max"===e.lazyRegister){t._desugarBehaviors();for(var r,i=0;i<t.behaviors.length;i++)r=t.behaviors[i],r.beforeRegister&&r.beforeRegister.call(t)}t.__hasRegisterFinished=t.is,t._finishRegisterFeatures&&t._finishRegisterFeatures();for(var o,s=0;s<t.behaviors.length;s++)o=t.behaviors[s],o.registered&&o.registered.call(t);t.registered&&t.registered(),e.usePolyfillProto&&t!==this&&t.extend(this,t)}},attachedCallback:function(){var e=this;Polymer.RenderStatus.whenReady(function(){e.isAttached=!0;for(var t,r=0;r<e.behaviors.length;r++)t=e.behaviors[r],t.attached&&t.attached.call(e);e.attached&&e.attached()})},detachedCallback:function(){var e=this;Polymer.RenderStatus.whenReady(function(){e.isAttached=!1;for(var t,r=0;r<e.behaviors.length;r++)t=e.behaviors[r],t.detached&&t.detached.call(e);e.detached&&e.detached()})},attributeChangedCallback:function(e,t,r){this._attributeChangedImpl(e);for(var i,o=0;o<this.behaviors.length;o++)i=this.behaviors[o],i.attributeChanged&&i.attributeChanged.call(this,e,t,r);this.attributeChanged&&this.attributeChanged(e,t,r)},_attributeChangedImpl:function(e){this._setAttributeToProperty(this,e)},extend:function(e,t){if(e&&t)for(var r,i=Object.getOwnPropertyNames(t),o=0;o<i.length&&(r=i[o]);o++)this.copyOwnProperty(r,t,e);return e||t},mixin:function(e,t){for(var r in t)e[r]=t[r];return e},copyOwnProperty:function(e,t,r){var i=Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(r,e,i)},_logger:function(e,t){switch(1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e].apply(console,t)}},_log:function(){var e=Array.prototype.slice.call(arguments,0);this._logger("log",e)},_warn:function(){var e=Array.prototype.slice.call(arguments,0);this._logger("warn",e)},_error:function(){var e=Array.prototype.slice.call(arguments,0);this._logger("error",e)},_logf:function(){return this._logPrefix.concat(this.is).concat(Array.prototype.slice.call(arguments,0))}},Polymer.Base._logPrefix=function(){return window.chrome&&!/edge/i.test(navigator.userAgent)||/firefox/i.test(navigator.userAgent)?["%c[%s::%s]:","font-weight: bold; background-color:#EEEE00;"]:["[%s::%s]:"]}(),Polymer.Base.chainObject=function(e,t){return e&&t&&e!==t&&(Object.__proto__||(e=Polymer.Base.extend(Object.create(t),e)),e.__proto__=t),e},Polymer.Base=Polymer.Base.chainObject(Polymer.Base,HTMLElement.prototype),Polymer.BaseDescriptors={};var t;if(e.disableUpgradeEnabled){t=function(e,t){this.__data__[e]=t};var r=Polymer.Base.attributeChangedCallback;Polymer.Base.attributeChangedCallback=function(e,t,i){this.__hasInitialized||"disable-upgrade"!==e||(this.__hasInitialized=!0,this._propertySetter=Polymer.Bind._modelApi._propertySetter,this._configValue=Polymer.Base._configValue,this.__initialize()),r.call(this,e,t,i)}}window.CustomElements?Polymer.instanceof=CustomElements.instanceof:Polymer.instanceof=function(e,t){return e instanceof t},Polymer.isInstance=function(e){return Boolean(e&&e.__isPolymerInstance__)},Polymer.telemetry.instanceCount=0}(),function(){function e(){if(s)for(var e,t=document._currentScript||document.currentScript,r=t&&t.ownerDocument||document,i=r.querySelectorAll("dom-module"),o=i.length-1;o>=0&&(e=i[o]);o--){if(e.__upgraded__)return;CustomElements.upgrade(e)}}var t={},r={},i=function(e){return t[e]||r[e.toLowerCase()]},o=function(){return document.createElement("dom-module")};o.prototype=Object.create(HTMLElement.prototype),Polymer.Base.mixin(o.prototype,{createdCallback:function(){this.register()},register:function(e){(e=e||this.id||this.getAttribute("name")||this.getAttribute("is"))&&(this.id=e,t[e]=this,r[e.toLowerCase()]=this)},import:function(t,r){if(t){var o=i(t);return o||(e(),o=i(t)),o&&r&&(o=o.querySelector(r)),o}}}),Object.defineProperty(o.prototype,"constructor",{value:o,configurable:!0,writable:!0});var s=window.CustomElements&&!CustomElements.useNative;document.registerElement("dom-module",o)}(),Polymer.Base._addFeature({_prepIs:function(){if(!this.is){var e=(document._currentScript||document.currentScript).parentNode;if("dom-module"===e.localName){var t=e.id||e.getAttribute("name")||e.getAttribute("is");this.is=t}}this.is&&(this.is=this.is.toLowerCase())}}),Polymer.Base._addFeature({behaviors:[],_desugarBehaviors:function(){this.behaviors.length&&(this.behaviors=this._desugarSomeBehaviors(this.behaviors))},_desugarSomeBehaviors:function(e){var t=[];e=this._flattenBehaviorsList(e);for(var r=e.length-1;r>=0;r--){var i=e[r];-1===t.indexOf(i)&&(this._mixinBehavior(i),t.unshift(i))}return t},_flattenBehaviorsList:function(e){for(var t=[],r=0;r<e.length;r++){var i=e[r];i instanceof Array?t=t.concat(this._flattenBehaviorsList(i)):i?t.push(i):this._warn(this._logf("_flattenBehaviorsList","behavior is null, check for missing or 404 import"))}return t},_mixinBehavior:function(e){for(var t,r=Object.getOwnPropertyNames(e),i=e._noAccessors,o=0;o<r.length&&(t=r[o]);o++)Polymer.Base._behaviorProperties[t]||this.hasOwnProperty(t)||(i?this[t]=e[t]:this.copyOwnProperty(t,e,this))},_prepBehaviors:function(){this._prepFlattenedBehaviors(this.behaviors)},_prepFlattenedBehaviors:function(e){for(var t=0,r=e.length;t<r;t++)this._prepBehavior(e[t]);this._prepBehavior(this)},_marshalBehaviors:function(){for(var e=0;e<this.behaviors.length;e++)this._marshalBehavior(this.behaviors[e]);this._marshalBehavior(this)}}),Polymer.Base._behaviorProperties={hostAttributes:!0,beforeRegister:!0,registered:!0,properties:!0,observers:!0,listeners:!0,created:!0,attached:!0,detached:!0,attributeChanged:!0,ready:!0,_noAccessors:!0},Polymer.Base._addFeature({_getExtendedPrototype:function(e){return this._getExtendedNativePrototype(e)},_nativePrototypes:{},_getExtendedNativePrototype:function(e){var t=this._nativePrototypes[e];if(!t){t=Object.create(this.getNativePrototype(e));for(var r,i=Object.getOwnPropertyNames(Polymer.Base),o=0;o<i.length&&(r=i[o]);o++)Polymer.BaseDescriptors[r]||(t[r]=Polymer.Base[r]);Object.defineProperties(t,Polymer.BaseDescriptors),this._nativePrototypes[e]=t}return t},getNativePrototype:function(e){return Object.getPrototypeOf(document.createElement(e))}}),Polymer.Base._addFeature({_prepConstructor:function(){this._factoryArgs=this.extends?[this.extends,this.is]:[this.is];var e=function(){return this._factory(arguments)};this.hasOwnProperty("extends")&&(e.extends=this.extends),Object.defineProperty(this,"constructor",{value:e,writable:!0,configurable:!0}),e.prototype=this},_factory:function(e){var t=document.createElement.apply(document,this._factoryArgs);return this.factoryImpl&&this.factoryImpl.apply(t,e),t}}),Polymer.nob=Object.create(null),Polymer.Base._addFeature({getPropertyInfo:function(e){var t=this._getPropertyInfo(e,this.properties);if(!t)for(var r=0;r<this.behaviors.length;r++)if(t=this._getPropertyInfo(e,this.behaviors[r].properties))return t;return t||Polymer.nob},_getPropertyInfo:function(e,t){var r=t&&t[e];return"function"==typeof r&&(r=t[e]={type:r}),r&&(r.defined=!0),r},_prepPropertyInfo:function(){this._propertyInfo={};for(var e=0;e<this.behaviors.length;e++)this._addPropertyInfo(this._propertyInfo,this.behaviors[e].properties);this._addPropertyInfo(this._propertyInfo,this.properties),this._addPropertyInfo(this._propertyInfo,this._propertyEffects)},_addPropertyInfo:function(e,t){if(t){var r,i;for(var o in t)r=e[o],i=t[o],("_"!==o[0]||i.readOnly)&&(e[o]?(r.type||(r.type=i.type),r.readOnly||(r.readOnly=i.readOnly)):e[o]={type:"function"==typeof i?i:i.type,readOnly:i.readOnly,attribute:Polymer.CaseMap.camelToDashCase(o)})}}}),function(){var e={configurable:!0,writable:!0,enumerable:!0,value:{}};Polymer.BaseDescriptors.properties=e,Object.defineProperty(Polymer.Base,"properties",e)}(),Polymer.CaseMap={_caseMap:{},_rx:{dashToCamel:/-[a-z]/g,camelToDash:/([A-Z])/g},dashToCamelCase:function(e){return this._caseMap[e]||(this._caseMap[e]=e.indexOf("-")<0?e:e.replace(this._rx.dashToCamel,function(e){return e[1].toUpperCase()}))},camelToDashCase:function(e){return this._caseMap[e]||(this._caseMap[e]=e.replace(this._rx.camelToDash,"-$1").toLowerCase())}},Polymer.Base._addFeature({_addHostAttributes:function(e){this._aggregatedAttributes||(this._aggregatedAttributes={}),e&&this.mixin(this._aggregatedAttributes,e)},_marshalHostAttributes:function(){this._aggregatedAttributes&&this._applyAttributes(this,this._aggregatedAttributes)},_applyAttributes:function(e,t){for(var r in t)if(!this.hasAttribute(r)&&"class"!==r){var i=t[r];this.serializeValueToAttribute(i,r,this)}},_marshalAttributes:function(){this._takeAttributesToModel(this)},_takeAttributesToModel:function(e){if(this.hasAttributes())for(var t in this._propertyInfo){var r=this._propertyInfo[t];this.hasAttribute(r.attribute)&&this._setAttributeToProperty(e,r.attribute,t,r)}},_setAttributeToProperty:function(e,t,r,i){if(!this._serializing&&(r=r||Polymer.CaseMap.dashToCamelCase(t),(i=i||this._propertyInfo&&this._propertyInfo[r])&&!i.readOnly)){var o=this.getAttribute(t);e[r]=this.deserialize(o,i.type)}},_serializing:!1,reflectPropertyToAttribute:function(e,t,r){this._serializing=!0,r=void 0===r?this[e]:r,this.serializeValueToAttribute(r,t||Polymer.CaseMap.camelToDashCase(e)),this._serializing=!1},serializeValueToAttribute:function(e,t,r){var i=this.serialize(e);r=r||this,void 0===i?r.removeAttribute(t):r.setAttribute(t,i)},deserialize:function(e,t){switch(t){case Number:e=Number(e);break;case Boolean:e=null!=e;break;case Object:try{e=JSON.parse(e)}catch(e){}break;case Array:try{e=JSON.parse(e)}catch(t){e=null,console.warn("Polymer::Attributes: couldn`t decode Array as JSON")}break;case Date:e=new Date(e);break;case String:}return e},serialize:function(e){switch(typeof e){case"boolean":return e?"":void 0;case"object":if(e instanceof Date)return e.toString();if(e)try{return JSON.stringify(e)}catch(e){return""}default:return null!=e?e:void 0}}}),Polymer.version="1.9.1",Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepBehaviors(),this._prepConstructor(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHostAttributes(e.hostAttributes)},_marshalBehavior:function(e){},_initFeatures:function(){this._marshalHostAttributes(),this._marshalBehaviors()}})</script><script>!function(){function e(e,t){return e.replace(a,function(e,i,n,s){return i+"'"+o(n.replace(/["']/g,""),t)+"'"+s})}function t(t,i){for(var n in l)for(var s,r,d,a=l[n],h=0,c=a.length;h<c&&(s=a[h]);h++)"*"!==n&&t.localName!==n||(r=t.attributes[s],(d=r&&r.value)&&d.search(u)<0&&(r.value="style"===s?e(d,i):o(d,i)))}function o(e,t){if(e&&h.test(e))return e;var o=n(t);return o.href=e,o.href||e}function i(e,t){return r||(r=document.implementation.createHTMLDocument("temp"),d=r.createElement("base"),r.head.appendChild(d)),d.href=t,o(e,r)}function n(e){return e.body.__urlResolver||(e.body.__urlResolver=e.createElement("a"))}function s(e){return e.substring(0,e.lastIndexOf("/")+1)}var r,d,a=/(url\()([^)]*)(\))/g,l={"*":["href","src","style","url"],form:["action"]},h=/(^\/)|(^#)|(^[\w-\d]*:)/,u=/\{\{|\[\[/;Polymer.ResolveUrl={resolveCss:e,resolveAttrs:t,resolveUrl:i,pathFromUrl:s},Polymer.rootPath=Polymer.Settings.rootPath||s(document.baseURI||window.location.href)}(),Polymer.Base._addFeature({_prepTemplate:function(){var e;if(void 0===this._template&&(e=Polymer.DomModule.import(this.is),this._template=e&&e.querySelector("template")),e){var t=e.getAttribute("assetpath")||"",o=Polymer.ResolveUrl.resolveUrl(t,e.ownerDocument.baseURI);this._importPath=Polymer.ResolveUrl.pathFromUrl(o)}else this._importPath="";this._template&&this._template.hasAttribute("is")&&this._warn(this._logf("_prepTemplate","top-level Polymer template must not be a type-extension, found",this._template,"Move inside simple <template>.")),this._template&&!this._template.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(this._template)},_stampTemplate:function(){this._template&&(this.root=this.instanceTemplate(this._template))},instanceTemplate:function(e){return document.importNode(e._content||e.content,!0)}}),function(){var e=Polymer.Base.attachedCallback;Polymer.Base._addFeature({_hostStack:[],ready:function(){},_registerHost:function(e){this.dataHost=e=e||Polymer.Base._hostStack[Polymer.Base._hostStack.length-1],e&&e._clients&&e._clients.push(this),this._clients=null,this._clientsReadied=!1},_beginHosting:function(){Polymer.Base._hostStack.push(this),this._clients||(this._clients=[])},_endHosting:function(){Polymer.Base._hostStack.pop()},_tryReady:function(){this._readied=!1,this._canReady()&&this._ready()},_canReady:function(){return!this.dataHost||this.dataHost._clientsReadied},_ready:function(){this._beforeClientsReady(),this._template&&(this._setupRoot(),this._readyClients()),this._clientsReadied=!0,this._clients=null,this._afterClientsReady(),this._readySelf()},_readyClients:function(){this._beginDistribute();var e=this._clients;if(e)for(var t,o=0,i=e.length;o<i&&(t=e[o]);o++)t._ready();this._finishDistribute()},_readySelf:function(){for(var e,t=0;t<this.behaviors.length;t++)e=this.behaviors[t],e.ready&&e.ready.call(this);this.ready&&this.ready(),this._readied=!0,this._attachedPending&&(this._attachedPending=!1,this.attachedCallback())},_beforeClientsReady:function(){},_afterClientsReady:function(){},_beforeAttached:function(){},attachedCallback:function(){this._readied?(this._beforeAttached(),e.call(this)):this._attachedPending=!0}})}(),Polymer.ArraySplice=function(){function e(e,t,o){return{index:e,removed:t,addedCount:o}}function t(){}return t.prototype={calcEditDistances:function(e,t,o,i,n,s){for(var r=s-n+1,d=o-t+1,a=new Array(r),l=0;l<r;l++)a[l]=new Array(d),a[l][0]=l;for(var h=0;h<d;h++)a[0][h]=h;for(l=1;l<r;l++)for(h=1;h<d;h++)if(this.equals(e[t+h-1],i[n+l-1]))a[l][h]=a[l-1][h-1];else{var u=a[l-1][h]+1,c=a[l][h-1]+1;a[l][h]=u<c?u:c}return a},spliceOperationsFromEditDistances:function(e){for(var t=e.length-1,o=e[0].length-1,i=e[t][o],n=[];t>0||o>0;)if(0!=t)if(0!=o){var s,r=e[t-1][o-1],d=e[t-1][o],a=e[t][o-1];s=d<a?d<r?d:r:a<r?a:r,s==r?(r==i?n.push(0):(n.push(1),i=r),t--,o--):s==d?(n.push(3),t--,i=d):(n.push(2),o--,i=a)}else n.push(3),t--;else n.push(2),o--;return n.reverse(),n},calcSplices:function(t,o,i,n,s,r){var d=0,a=0,l=Math.min(i-o,r-s);if(0==o&&0==s&&(d=this.sharedPrefix(t,n,l)),i==t.length&&r==n.length&&(a=this.sharedSuffix(t,n,l-d)),o+=d,s+=d,i-=a,r-=a,i-o==0&&r-s==0)return[];if(o==i){for(var h=e(o,[],0);s<r;)h.removed.push(n[s++]);return[h]}if(s==r)return[e(o,[],i-o)];var u=this.spliceOperationsFromEditDistances(this.calcEditDistances(t,o,i,n,s,r));h=void 0;for(var c=[],_=o,f=s,m=0;m<u.length;m++)switch(u[m]){case 0:h&&(c.push(h),h=void 0),_++,f++;break;case 1:h||(h=e(_,[],0)),h.addedCount++,_++,h.removed.push(n[f]),f++;break;case 2:h||(h=e(_,[],0)),h.addedCount++,_++;break;case 3:h||(h=e(_,[],0)),h.removed.push(n[f]),f++}return h&&c.push(h),c},sharedPrefix:function(e,t,o){for(var i=0;i<o;i++)if(!this.equals(e[i],t[i]))return i;return o},sharedSuffix:function(e,t,o){for(var i=e.length,n=t.length,s=0;s<o&&this.equals(e[--i],t[--n]);)s++;return s},calculateSplices:function(e,t){return this.calcSplices(e,0,e.length,t,0,t.length)},equals:function(e,t){return e===t}},new t}(),Polymer.domInnerHTML=function(){function e(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function t(t){return t.replace(r,e)}function o(t){return t.replace(d,e)}function i(e){for(var t={},o=0;o<e.length;o++)t[e[o]]=!0;return t}function n(e,i,n){switch(e.nodeType){case Node.ELEMENT_NODE:for(var r,d=e.localName,h="<"+d,u=e.attributes,c=0;r=u[c];c++)h+=" "+r.name+'="'+t(r.value)+'"';return h+=">",a[d]?h:h+s(e,n)+"</"+d+">";case Node.TEXT_NODE:var _=e.data;return i&&l[i.localName]?_:o(_);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw console.error(e),new Error("not implemented")}}function s(e,t){e instanceof HTMLTemplateElement&&(e=e.content);for(var o,i="",s=Polymer.dom(e).childNodes,r=0,d=s.length;r<d&&(o=s[r]);r++)i+=n(o,e,t);return i}var r=/[&\u00A0"]/g,d=/[&\u00A0<>]/g,a=i(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),l=i(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);return{getInnerHTML:s}}(),function(){"use strict";var e=Element.prototype.insertBefore,t=Element.prototype.appendChild,o=Element.prototype.removeChild;Polymer.TreeApi={arrayCopyChildNodes:function(e){for(var t=[],o=0,i=e.firstChild;i;i=i.nextSibling)t[o++]=i;return t},arrayCopyChildren:function(e){for(var t=[],o=0,i=e.firstElementChild;i;i=i.nextElementSibling)t[o++]=i;return t},arrayCopy:function(e){for(var t=e.length,o=new Array(t),i=0;i<t;i++)o[i]=e[i];return o}},Polymer.TreeApi.Logical={hasParentNode:function(e){return Boolean(e.__dom&&e.__dom.parentNode)},hasChildNodes:function(e){return Boolean(e.__dom&&void 0!==e.__dom.childNodes)},getChildNodes:function(e){return this.hasChildNodes(e)?this._getChildNodes(e):e.childNodes},_getChildNodes:function(e){if(!e.__dom.childNodes){e.__dom.childNodes=[];for(var t=e.__dom.firstChild;t;t=t.__dom.nextSibling)e.__dom.childNodes.push(t)}return e.__dom.childNodes},getParentNode:function(e){return e.__dom&&void 0!==e.__dom.parentNode?e.__dom.parentNode:e.parentNode},getFirstChild:function(e){return e.__dom&&void 0!==e.__dom.firstChild?e.__dom.firstChild:e.firstChild},getLastChild:function(e){return e.__dom&&void 0!==e.__dom.lastChild?e.__dom.lastChild:e.lastChild},getNextSibling:function(e){return e.__dom&&void 0!==e.__dom.nextSibling?e.__dom.nextSibling:e.nextSibling},getPreviousSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling?e.__dom.previousSibling:e.previousSibling},getFirstElementChild:function(e){return e.__dom&&void 0!==e.__dom.firstChild?this._getFirstElementChild(e):e.firstElementChild},_getFirstElementChild:function(e){for(var t=e.__dom.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.nextSibling;return t},getLastElementChild:function(e){return e.__dom&&void 0!==e.__dom.lastChild?this._getLastElementChild(e):e.lastElementChild},_getLastElementChild:function(e){for(var t=e.__dom.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},getNextElementSibling:function(e){return e.__dom&&void 0!==e.__dom.nextSibling?this._getNextElementSibling(e):e.nextElementSibling},_getNextElementSibling:function(e){for(var t=e.__dom.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.nextSibling;return t},getPreviousElementSibling:function(e){return e.__dom&&void 0!==e.__dom.previousSibling?this._getPreviousElementSibling(e):e.previousElementSibling},_getPreviousElementSibling:function(e){for(var t=e.__dom.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__dom.previousSibling;return t},saveChildNodes:function(e){if(!this.hasChildNodes(e)){e.__dom=e.__dom||{},e.__dom.firstChild=e.firstChild,e.__dom.lastChild=e.lastChild,e.__dom.childNodes=[];for(var t=e.firstChild;t;t=t.nextSibling)t.__dom=t.__dom||{},t.__dom.parentNode=e,e.__dom.childNodes.push(t),t.__dom.nextSibling=t.nextSibling,t.__dom.previousSibling=t.previousSibling}},recordInsertBefore:function(e,t,o){if(t.__dom.childNodes=null,e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var i=e.firstChild;i;i=i.nextSibling)this._linkNode(i,t,o);else this._linkNode(e,t,o)},_linkNode:function(e,t,o){e.__dom=e.__dom||{},t.__dom=t.__dom||{},o&&(o.__dom=o.__dom||{}),e.__dom.previousSibling=o?o.__dom.previousSibling:t.__dom.lastChild,e.__dom.previousSibling&&(e.__dom.previousSibling.__dom.nextSibling=e),e.__dom.nextSibling=o||null,e.__dom.nextSibling&&(e.__dom.nextSibling.__dom.previousSibling=e),e.__dom.parentNode=t,o?o===t.__dom.firstChild&&(t.__dom.firstChild=e):(t.__dom.lastChild=e,t.__dom.firstChild||(t.__dom.firstChild=e)),t.__dom.childNodes=null},recordRemoveChild:function(e,t){e.__dom=e.__dom||{},t.__dom=t.__dom||{},e===t.__dom.firstChild&&(t.__dom.firstChild=e.__dom.nextSibling),e===t.__dom.lastChild&&(t.__dom.lastChild=e.__dom.previousSibling);var o=e.__dom.previousSibling,i=e.__dom.nextSibling;o&&(o.__dom.nextSibling=i),i&&(i.__dom.previousSibling=o),e.__dom.parentNode=e.__dom.previousSibling=e.__dom.nextSibling=void 0,t.__dom.childNodes=null}},Polymer.TreeApi.Composed={getChildNodes:function(e){return Polymer.TreeApi.arrayCopyChildNodes(e)},getParentNode:function(e){return e.parentNode},clearChildNodes:function(e){e.textContent=""},insertBefore:function(t,o,i){return e.call(t,o,i||null)},appendChild:function(e,o){return t.call(e,o)},removeChild:function(e,t){return o.call(e,t)}}}(),Polymer.DomApi=function(){"use strict";var e=Polymer.Settings,t=Polymer.TreeApi,o=function(e){this.node=i?o.wrap(e):e},i=e.hasShadow&&!e.nativeShadow;o.wrap=window.wrap?window.wrap:function(e){return e},o.prototype={flush:function(){Polymer.dom.flush()},deepContains:function(e){if(this.node.contains(e))return!0;for(var t=e,o=e.ownerDocument;t&&t!==o&&t!==this.node;)t=Polymer.dom(t).parentNode||t.host;return t===this.node},queryDistributedElements:function(e){for(var t,i=this.getEffectiveChildNodes(),n=[],s=0,r=i.length;s<r&&(t=i[s]);s++)t.nodeType===Node.ELEMENT_NODE&&o.matchesSelector.call(t,e)&&n.push(t);return n},getEffectiveChildNodes:function(){for(var e,t=[],o=this.childNodes,i=0,r=o.length;i<r&&(e=o[i]);i++)if(e.localName===n)for(var d=s(e).getDistributedNodes(),a=0;a<d.length;a++)t.push(d[a]);else t.push(e);return t},observeNodes:function(e){if(e)return this.observer||(this.observer=this.node.localName===n?new o.DistributedNodesObserver(this):new o.EffectiveNodesObserver(this)),this.observer.addListener(e)},unobserveNodes:function(e){this.observer&&this.observer.removeListener(e)},notifyObserver:function(){this.observer&&this.observer.notify()},_query:function(e,o,i){o=o||this.node;var n=[];return this._queryElements(t.Logical.getChildNodes(o),e,i,n),n},_queryElements:function(e,t,o,i){for(var n,s=0,r=e.length;s<r&&(n=e[s]);s++)if(n.nodeType===Node.ELEMENT_NODE&&this._queryElement(n,t,o,i))return!0},_queryElement:function(e,o,i,n){var s=o(e);if(s&&n.push(e),i&&i(s))return s;this._queryElements(t.Logical.getChildNodes(e),o,i,n)}};var n=o.CONTENT="content",s=o.factory=function(e){return e=e||document,e.__domApi||(e.__domApi=new o.ctor(e)),e.__domApi};o.hasApi=function(e){return Boolean(e.__domApi)},o.ctor=o,Polymer.dom=function(e,t){return e instanceof Event?Polymer.EventApi.factory(e):o.factory(e,t)};var r=Element.prototype;return o.matchesSelector=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector,o}(),function(){"use strict";var e=Polymer.Settings,t=Polymer.DomApi,o=t.factory,i=Polymer.TreeApi,n=Polymer.domInnerHTML.getInnerHTML,s=t.CONTENT;if(!e.useShadow){var r=Element.prototype.cloneNode,d=Document.prototype.importNode;Polymer.Base.mixin(t.prototype,{_lazyDistribute:function(e){e.shadyRoot&&e.shadyRoot._distributionClean&&(e.shadyRoot._distributionClean=!1,Polymer.dom.addDebouncer(e.debounce("_distribute",e._distributeContent)))},appendChild:function(e){return this.insertBefore(e)},insertBefore:function(e,n){if(n&&i.Logical.getParentNode(n)!==this.node)throw Error("The ref_node to be inserted before is not a child of this node");if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=i.Logical.getParentNode(e);r?(t.hasApi(r)&&o(r).notifyObserver(),this._removeNode(e)):this._removeOwnerShadyRoot(e)}if(!this._addNode(e,n)){n&&(n=n.localName===s?this._firstComposedNode(n):n);var d=this.node._isShadyRoot?this.node.host:this.node;n?i.Composed.insertBefore(d,e,n):i.Composed.appendChild(d,e)}return this.notifyObserver(),e},_addNode:function(e,t){var o=this.getOwnerRoot();if(o){var n=this._maybeAddInsertionPoint(e,this.node);o._invalidInsertionPoints||(o._invalidInsertionPoints=n),this._addNodeToHost(o.host,e)}i.Logical.hasChildNodes(this.node)&&i.Logical.recordInsertBefore(e,this.node,t);var s=this._maybeDistribute(e)||this.node.shadyRoot;if(s)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(;e.firstChild;)i.Composed.removeChild(e,e.firstChild);else{var r=i.Composed.getParentNode(e);r&&i.Composed.removeChild(r,e)}return s},removeChild:function(e){if(i.Logical.getParentNode(e)!==this.node)throw Error("The node to be removed is not a child of this node: "+e);if(!this._removeNode(e)){var t=this.node._isShadyRoot?this.node.host:this.node;t===i.Composed.getParentNode(e)&&i.Composed.removeChild(t,e)}return this.notifyObserver(),e},_removeNode:function(e){var t,n=i.Logical.hasParentNode(e)&&i.Logical.getParentNode(e),s=this._ownerShadyRootForNode(e);return n&&(t=o(e)._maybeDistributeParent(),i.Logical.recordRemoveChild(e,n),s&&this._removeDistributedChildren(s,e)&&(s._invalidInsertionPoints=!0,this._lazyDistribute(s.host))),this._removeOwnerShadyRoot(e),s&&this._removeNodeFromHost(s.host,e),t},replaceChild:function(e,t){return this.insertBefore(e,t),this.removeChild(t),e},_hasCachedOwnerRoot:function(e){return Boolean(void 0!==e._ownerShadyRoot)},getOwnerRoot:function(){return this._ownerShadyRootForNode(this.node)},_ownerShadyRootForNode:function(e){if(e){var t=e._ownerShadyRoot;if(void 0===t){if(e._isShadyRoot)t=e;else{var o=i.Logical.getParentNode(e);t=o?o._isShadyRoot?o:this._ownerShadyRootForNode(o):null}(t||document.documentElement.contains(e))&&(e._ownerShadyRoot=t)}return t}},_maybeDistribute:function(e){var t=e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!e.__noContent&&o(e).querySelector(s),n=t&&i.Logical.getParentNode(t).nodeType!==Node.DOCUMENT_FRAGMENT_NODE,r=t||e.localName===s;if(r){var d=this.getOwnerRoot();d&&this._lazyDistribute(d.host)}var a=this._nodeNeedsDistribution(this.node);return a&&this._lazyDistribute(this.node),a||r&&!n},_maybeAddInsertionPoint:function(e,t){var n;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE||e.__noContent)e.localName===s&&(i.Logical.saveChildNodes(t),i.Logical.saveChildNodes(e),n=!0);else for(var r,d,a,l=o(e).querySelectorAll(s),h=0;h<l.length&&(r=l[h]);h++)d=i.Logical.getParentNode(r),d===e&&(d=t),a=this._maybeAddInsertionPoint(r,d),n=n||a;return n},_updateInsertionPoints:function(e){for(var t,n=e.shadyRoot._insertionPoints=o(e.shadyRoot).querySelectorAll(s),r=0;r<n.length;r++)t=n[r],i.Logical.saveChildNodes(t),i.Logical.saveChildNodes(i.Logical.getParentNode(t))},_nodeNeedsDistribution:function(e){return e&&e.shadyRoot&&t.hasInsertionPoint(e.shadyRoot)},_addNodeToHost:function(e,t){e._elementAdd&&e._elementAdd(t)},_removeNodeFromHost:function(e,t){e._elementRemove&&e._elementRemove(t)},_removeDistributedChildren:function(e,t){for(var n,s=e._insertionPoints,r=0;r<s.length;r++){var d=s[r];if(this._contains(t,d))for(var a=o(d).getDistributedNodes(),l=0;l<a.length;l++){n=!0;var h=a[l],u=i.Composed.getParentNode(h);u&&i.Composed.removeChild(u,h)}}return n},_contains:function(e,t){for(;t;){if(t==e)return!0;t=i.Logical.getParentNode(t)}},_removeOwnerShadyRoot:function(e){if(this._hasCachedOwnerRoot(e))for(var t,o=i.Logical.getChildNodes(e),n=0,s=o.length;n<s&&(t=o[n]);n++)this._removeOwnerShadyRoot(t);e._ownerShadyRoot=void 0},_firstComposedNode:function(e){for(var t,i,n=o(e).getDistributedNodes(),s=0,r=n.length;s<r&&(t=n[s]);s++)if(i=o(t).getDestinationInsertionPoints(),i[i.length-1]===e)return t},querySelector:function(e){return this._query(function(o){return t.matchesSelector.call(o,e)},this.node,function(e){return Boolean(e)})[0]||null},querySelectorAll:function(e){return this._query(function(o){return t.matchesSelector.call(o,e)},this.node)},getDestinationInsertionPoints:function(){return this.node._destinationInsertionPoints||[]},getDistributedNodes:function(){return this.node._distributedNodes||[]},_clear:function(){for(;this.childNodes.length;)this.removeChild(this.childNodes[0])},setAttribute:function(e,t){this.node.setAttribute(e,t),this._maybeDistributeParent()},removeAttribute:function(e){this.node.removeAttribute(e),this._maybeDistributeParent()},_maybeDistributeParent:function(){if(this._nodeNeedsDistribution(this.parentNode))return this._lazyDistribute(this.parentNode),!0},cloneNode:function(e){var t=r.call(this.node,!1);if(e)for(var i,n=this.childNodes,s=o(t),d=0;d<n.length;d++)i=o(n[d]).cloneNode(!0),s.appendChild(i);return t},importNode:function(e,t){var n=this.node instanceof Document?this.node:this.node.ownerDocument,s=d.call(n,e,!1);if(t)for(var r,a=i.Logical.getChildNodes(e),l=o(s),h=0;h<a.length;h++)r=o(n).importNode(a[h],!0),l.appendChild(r);return s},_getComposedInnerHTML:function(){return n(this.node,!0)}}),Object.defineProperties(t.prototype,{activeElement:{get:function(){var e=document.activeElement;if(!e)return null;var t=!!this.node._isShadyRoot;if(this.node!==document){if(!t)return null;if(this.node.host===e||!this.node.host.contains(e))return null}for(var i=o(e).getOwnerRoot();i&&i!==this.node;)e=i.host,i=o(e).getOwnerRoot();return this.node===document?i?null:e:i===this.node?e:null},configurable:!0},childNodes:{get:function(){var e=i.Logical.getChildNodes(this.node);return Array.isArray(e)?e:i.arrayCopyChildNodes(this.node)},configurable:!0},children:{get:function(){return i.Logical.hasChildNodes(this.node)?Array.prototype.filter.call(this.childNodes,function(e){return e.nodeType===Node.ELEMENT_NODE}):i.arrayCopyChildren(this.node)},configurable:!0},parentNode:{get:function(){return i.Logical.getParentNode(this.node)},configurable:!0},firstChild:{get:function(){return i.Logical.getFirstChild(this.node)},configurable:!0},lastChild:{get:function(){return i.Logical.getLastChild(this.node)},configurable:!0},nextSibling:{get:function(){return i.Logical.getNextSibling(this.node)},configurable:!0},previousSibling:{get:function(){return i.Logical.getPreviousSibling(this.node)},configurable:!0},firstElementChild:{get:function(){return i.Logical.getFirstElementChild(this.node)},configurable:!0},lastElementChild:{get:function(){return i.Logical.getLastElementChild(this.node)},configurable:!0},nextElementSibling:{get:function(){return i.Logical.getNextElementSibling(this.node)},configurable:!0},previousElementSibling:{get:function(){return i.Logical.getPreviousElementSibling(this.node)},configurable:!0},textContent:{get:function(){var e=this.node.nodeType;if(e===Node.TEXT_NODE||e===Node.COMMENT_NODE)return this.node.textContent;for(var t,o=[],i=0,n=this.childNodes;t=n[i];i++)t.nodeType!==Node.COMMENT_NODE&&o.push(t.textContent);return o.join("")},set:function(e){var t=this.node.nodeType;t===Node.TEXT_NODE||t===Node.COMMENT_NODE?this.node.textContent=e:(this._clear(),e&&this.appendChild(document.createTextNode(e)))},configurable:!0},innerHTML:{get:function(){var e=this.node.nodeType;return e===Node.TEXT_NODE||e===Node.COMMENT_NODE?null:n(this.node)},set:function(e){var t=this.node.nodeType;if(t!==Node.TEXT_NODE||t!==Node.COMMENT_NODE){this._clear();var o=document.createElement("div");o.innerHTML=e;for(var n=i.arrayCopyChildNodes(o),s=0;s<n.length;s++)this.appendChild(n[s])}},configurable:!0}}),t.hasInsertionPoint=function(e){return Boolean(e&&e._insertionPoints.length)}}}(),function(){"use strict";var e=Polymer.Settings,t=Polymer.TreeApi,o=Polymer.DomApi;if(e.useShadow){Polymer.Base.mixin(o.prototype,{querySelectorAll:function(e){return t.arrayCopy(this.node.querySelectorAll(e))},getOwnerRoot:function(){for(var e=this.node;e;){if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host)return e;e=e.parentNode}},importNode:function(e,t){return(this.node instanceof Document?this.node:this.node.ownerDocument).importNode(e,t)},getDestinationInsertionPoints:function(){var e=this.node.getDestinationInsertionPoints&&this.node.getDestinationInsertionPoints();return e?t.arrayCopy(e):[]},getDistributedNodes:function(){var e=this.node.getDistributedNodes&&this.node.getDistributedNodes();return e?t.arrayCopy(e):[]}}),Object.defineProperties(o.prototype,{activeElement:{get:function(){var e=o.wrap(this.node),t=e.activeElement;return e.contains(t)?t:null},configurable:!0},childNodes:{get:function(){return t.arrayCopyChildNodes(this.node)},configurable:!0},children:{get:function(){return t.arrayCopyChildren(this.node)},configurable:!0},textContent:{get:function(){return this.node.textContent},set:function(e){return this.node.textContent=e},configurable:!0},innerHTML:{get:function(){return this.node.innerHTML},set:function(e){return this.node.innerHTML=e},configurable:!0}});var i=function(e){o.prototype[e]=function(){return this.node[e].apply(this.node,arguments)}};!function(e){for(var t=0;t<e.length;t++)i(e[t])}(["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector"]);var n=function(e){Object.defineProperty(o.prototype,e,{get:function(){return this.node[e]},configurable:!0})};!function(e){for(var t=0;t<e.length;t++)n(e[t])}(["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling"])}}(),Polymer.Base.mixin(Polymer.dom,{_flushGuard:0,_FLUSH_MAX:100,_needsTakeRecords:!Polymer.Settings.useNativeCustomElements,_debouncers:[],_staticFlushList:[],_finishDebouncer:null,flush:function(){for(this._flushGuard=0,this._prepareFlush();this._debouncers.length&&this._flushGuard<this._FLUSH_MAX;){for(;this._debouncers.length;)this._debouncers.shift().complete();this._finishDebouncer&&this._finishDebouncer.complete(),this._prepareFlush(),this._flushGuard++}this._flushGuard>=this._FLUSH_MAX&&console.warn("Polymer.dom.flush aborted. Flush may not be complete.")},_prepareFlush:function(){this._needsTakeRecords&&CustomElements.takeRecords();for(var e=0;e<this._staticFlushList.length;e++)this._staticFlushList[e]()},addStaticFlush:function(e){this._staticFlushList.push(e)},removeStaticFlush:function(e){var t=this._staticFlushList.indexOf(e);t>=0&&this._staticFlushList.splice(t,1)},addDebouncer:function(e){this._debouncers.push(e),this._finishDebouncer=Polymer.Debounce(this._finishDebouncer,this._finishFlush)},_finishFlush:function(){Polymer.dom._debouncers=[]}}),Polymer.EventApi=function(){"use strict";var e=Polymer.DomApi.ctor,t=Polymer.Settings;return e.Event=function(e){this.event=e},t.useShadow?e.Event.prototype={get rootTarget(){return this.event.path[0]},get localTarget(){return this.event.target},get path(){var e=this.event.path;return Array.isArray(e)||(e=Array.prototype.slice.call(e)),e}}:e.Event.prototype={get rootTarget(){return this.event.target},get localTarget(){for(var e=this.event.currentTarget,t=e&&Polymer.dom(e).getOwnerRoot(),o=this.path,i=0;i<o.length;i++)if(Polymer.dom(o[i]).getOwnerRoot()===t)return o[i]},get path(){if(!this.event._path){for(var e=[],t=this.rootTarget;t;){e.push(t);var o=Polymer.dom(t).getDestinationInsertionPoints();if(o.length){for(var i=0;i<o.length-1;i++)e.push(o[i]);t=o[o.length-1]}else t=Polymer.dom(t).parentNode||t.host}e.push(window),this.event._path=e}return this.event._path}},{factory:function(t){return t.__eventApi||(t.__eventApi=new e.Event(t)),t.__eventApi}}}(),function(){"use strict";var e=Polymer.DomApi.ctor,t=Polymer.Settings.useShadow;Object.defineProperty(e.prototype,"classList",{get:function(){return this._classList||(this._classList=new e.ClassList(this)),this._classList},configurable:!0}),e.ClassList=function(e){this.domApi=e,this.node=e.node},e.ClassList.prototype={add:function(){this.node.classList.add.apply(this.node.classList,arguments),this._distributeParent()},remove:function(){this.node.classList.remove.apply(this.node.classList,arguments),this._distributeParent()},toggle:function(){this.node.classList.toggle.apply(this.node.classList,arguments),this._distributeParent()},_distributeParent:function(){t||this.domApi._maybeDistributeParent()},contains:function(){return this.node.classList.contains.apply(this.node.classList,arguments)}}}(),function(){"use strict";var e=Polymer.DomApi.ctor,t=Polymer.Settings;if(e.EffectiveNodesObserver=function(e){this.domApi=e,this.node=this.domApi.node,this._listeners=[]},e.EffectiveNodesObserver.prototype={addListener:function(e){this._isSetup||(this._setup(),this._isSetup=!0);var t={fn:e,_nodes:[]};return this._listeners.push(t),this._scheduleNotify(),t},removeListener:function(e){var t=this._listeners.indexOf(e);t>=0&&(this._listeners.splice(t,1),e._nodes=[]),this._hasListeners()||(this._cleanup(),this._isSetup=!1)},_setup:function(){this._observeContentElements(this.domApi.childNodes)},_cleanup:function(){this._unobserveContentElements(this.domApi.childNodes)},_hasListeners:function(){return Boolean(this._listeners.length)},_scheduleNotify:function(){this._debouncer&&this._debouncer.stop(),this._debouncer=Polymer.Debounce(this._debouncer,this._notify),this._debouncer.context=this,Polymer.dom.addDebouncer(this._debouncer)},notify:function(){this._hasListeners()&&this._scheduleNotify()},_notify:function(){this._beforeCallListeners(),this._callListeners()},_beforeCallListeners:function(){this._updateContentElements()},_updateContentElements:function(){this._observeContentElements(this.domApi.childNodes)},_observeContentElements:function(e){for(var t,o=0;o<e.length&&(t=e[o]);o++)this._isContent(t)&&(t.__observeNodesMap=t.__observeNodesMap||new WeakMap,t.__observeNodesMap.has(this)||t.__observeNodesMap.set(this,this._observeContent(t)))},_observeContent:function(e){var t=this,o=Polymer.dom(e).observeNodes(function(){t._scheduleNotify()});return o._avoidChangeCalculation=!0,o},_unobserveContentElements:function(e){for(var t,o,i=0;i<e.length&&(t=e[i]);i++)this._isContent(t)&&(o=t.__observeNodesMap.get(this))&&(Polymer.dom(t).unobserveNodes(o),t.__observeNodesMap.delete(this))},_isContent:function(e){return"content"===e.localName},_callListeners:function(){for(var e,t=this._listeners,o=this._getEffectiveNodes(),i=0;i<t.length&&(e=t[i]);i++){var n=this._generateListenerInfo(e,o);(n||e._alwaysNotify)&&this._callListener(e,n)}},_getEffectiveNodes:function(){return this.domApi.getEffectiveChildNodes()},_generateListenerInfo:function(e,t){if(e._avoidChangeCalculation)return!0;for(var o,i=e._nodes,n={target:this.node,addedNodes:[],removedNodes:[]},s=Polymer.ArraySplice.calculateSplices(t,i),r=0;r<s.length&&(o=s[r]);r++)for(var d,a=0;a<o.removed.length&&(d=o.removed[a]);a++)n.removedNodes.push(d);for(r=0,o;r<s.length&&(o=s[r]);r++)for(a=o.index;a<o.index+o.addedCount;a++)n.addedNodes.push(t[a]);return e._nodes=t,n.addedNodes.length||n.removedNodes.length?n:void 0},_callListener:function(e,t){return e.fn.call(this.node,t)},enableShadowAttributeTracking:function(){}},t.useShadow){var o=e.EffectiveNodesObserver.prototype._setup,i=e.EffectiveNodesObserver.prototype._cleanup;Polymer.Base.mixin(e.EffectiveNodesObserver.prototype,{_setup:function(){if(!this._observer){var e=this;this._mutationHandler=function(t){t&&t.length&&e._scheduleNotify()},this._observer=new MutationObserver(this._mutationHandler),this._boundFlush=function(){e._flush()},Polymer.dom.addStaticFlush(this._boundFlush),this._observer.observe(this.node,{childList:!0})}o.call(this)},_cleanup:function(){this._observer.disconnect(),this._observer=null,this._mutationHandler=null,Polymer.dom.removeStaticFlush(this._boundFlush),i.call(this)},_flush:function(){this._observer&&this._mutationHandler(this._observer.takeRecords())},enableShadowAttributeTracking:function(){if(this._observer){this._makeContentListenersAlwaysNotify(),this._observer.disconnect(),this._observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0});var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).observer&&Polymer.dom(t).observer.enableShadowAttributeTracking()}},_makeContentListenersAlwaysNotify:function(){for(var e,t=0;t<this._listeners.length;t++)e=this._listeners[t],e._alwaysNotify=e._isContentListener}})}}(),function(){"use strict";var e=Polymer.DomApi.ctor,t=Polymer.Settings;e.DistributedNodesObserver=function(t){e.EffectiveNodesObserver.call(this,t)},e.DistributedNodesObserver.prototype=Object.create(e.EffectiveNodesObserver.prototype),Polymer.Base.mixin(e.DistributedNodesObserver.prototype,{_setup:function(){},_cleanup:function(){},_beforeCallListeners:function(){},_getEffectiveNodes:function(){return this.domApi.getDistributedNodes()}}),t.useShadow&&Polymer.Base.mixin(e.DistributedNodesObserver.prototype,{_setup:function(){if(!this._observer){var e=this.domApi.getOwnerRoot(),t=e&&e.host;if(t){var o=this;this._observer=Polymer.dom(t).observeNodes(function(){o._scheduleNotify()}),this._observer._isContentListener=!0,this._hasAttrSelect()&&Polymer.dom(t).observer.enableShadowAttributeTracking()}}},_hasAttrSelect:function(){var e=this.node.getAttribute("select");return e&&e.match(/[[.]+/)},_cleanup:function(){var e=this.domApi.getOwnerRoot(),t=e&&e.host;t&&Polymer.dom(t).unobserveNodes(this._observer),this._observer=null}})}(),function(){function e(e,t){t._distributedNodes.push(e);var o=e._destinationInsertionPoints;o?o.push(t):e._destinationInsertionPoints=[t]}function t(e){var t=e._distributedNodes;if(t)for(var o=0;o<t.length;o++){var i=t[o]._destinationInsertionPoints;i&&i.splice(i.indexOf(e)+1,i.length)}}function o(e,t){var o=u.Logical.getParentNode(e);o&&o.shadyRoot&&h.hasInsertionPoint(o.shadyRoot)&&o.shadyRoot._distributionClean&&(o.shadyRoot._distributionClean=!1,t.shadyRoot._dirtyRoots.push(o))}function i(e,t){var o=t._destinationInsertionPoints;return o&&o[o.length-1]===e}function n(e){return"content"==e.localName}function s(e){for(;e&&r(e);)e=e.domHost;return e}function r(e){for(var t,o=u.Logical.getChildNodes(e),i=0;i<o.length;i++)if(t=o[i],t.localName&&"content"===t.localName)return e.domHost}function d(e){for(var t,o=0;o<e._insertionPoints.length;o++)t=e._insertionPoints[o],h.hasApi(t)&&Polymer.dom(t).notifyObserver()}function a(e){h.hasApi(e)&&Polymer.dom(e).notifyObserver()}function l(e){if(_&&e)for(var t=0;t<e.length;t++)CustomElements.upgrade(e[t])}var h=Polymer.DomApi,u=Polymer.TreeApi;Polymer.Base._addFeature({_prepShady:function(){this._useContent=this._useContent||Boolean(this._template)},_setupShady:function(){this.shadyRoot=null,this.__domApi||(this.__domApi=null),this.__dom||(this.__dom=null),this._ownerShadyRoot||(this._ownerShadyRoot=void 0)},_poolContent:function(){this._useContent&&u.Logical.saveChildNodes(this)},_setupRoot:function(){this._useContent&&(this._createLocalRoot(),
  2. this.dataHost||l(u.Logical.getChildNodes(this)))},_createLocalRoot:function(){this.shadyRoot=this.root,this.shadyRoot._distributionClean=!1,this.shadyRoot._hasDistributed=!1,this.shadyRoot._isShadyRoot=!0,this.shadyRoot._dirtyRoots=[];var e=this.shadyRoot._insertionPoints=!this._notes||this._notes._hasContent?this.shadyRoot.querySelectorAll("content"):[];u.Logical.saveChildNodes(this.shadyRoot);for(var t,o=0;o<e.length;o++)t=e[o],u.Logical.saveChildNodes(t),u.Logical.saveChildNodes(t.parentNode);this.shadyRoot.host=this},distributeContent:function(e){if(this.shadyRoot){this.shadyRoot._invalidInsertionPoints=this.shadyRoot._invalidInsertionPoints||e;var t=s(this);Polymer.dom(this)._lazyDistribute(t)}},_distributeContent:function(){this._useContent&&!this.shadyRoot._distributionClean&&(this.shadyRoot._invalidInsertionPoints&&(Polymer.dom(this)._updateInsertionPoints(this),this.shadyRoot._invalidInsertionPoints=!1),this._beginDistribute(),this._distributeDirtyRoots(),this._finishDistribute())},_beginDistribute:function(){this._useContent&&h.hasInsertionPoint(this.shadyRoot)&&(this._resetDistribution(),this._distributePool(this.shadyRoot,this._collectPool()))},_distributeDirtyRoots:function(){for(var e,t=this.shadyRoot._dirtyRoots,o=0,i=t.length;o<i&&(e=t[o]);o++)e._distributeContent();this.shadyRoot._dirtyRoots=[]},_finishDistribute:function(){if(this._useContent){if(this.shadyRoot._distributionClean=!0,h.hasInsertionPoint(this.shadyRoot))this._composeTree(),d(this.shadyRoot);else if(this.shadyRoot._hasDistributed){var e=this._composeNode(this);this._updateChildNodes(this,e)}else u.Composed.clearChildNodes(this),this.appendChild(this.shadyRoot);this.shadyRoot._hasDistributed||a(this),this.shadyRoot._hasDistributed=!0}},elementMatches:function(e,t){return t=t||this,h.matchesSelector.call(t,e)},_resetDistribution:function(){for(var e=u.Logical.getChildNodes(this),o=0;o<e.length;o++){var i=e[o];i._destinationInsertionPoints&&(i._destinationInsertionPoints=void 0),n(i)&&t(i)}for(var s=this.shadyRoot,r=s._insertionPoints,d=0;d<r.length;d++)r[d]._distributedNodes=[]},_collectPool:function(){for(var e=[],t=u.Logical.getChildNodes(this),o=0;o<t.length;o++){var i=t[o];n(i)?e.push.apply(e,i._distributedNodes):e.push(i)}return e},_distributePool:function(e,t){for(var i,n=e._insertionPoints,s=0,r=n.length;s<r&&(i=n[s]);s++)this._distributeInsertionPoint(i,t),o(i,this)},_distributeInsertionPoint:function(t,o){for(var i,n=!1,s=0,r=o.length;s<r;s++)(i=o[s])&&this._matchesContentSelect(i,t)&&(e(i,t),o[s]=void 0,n=!0);if(!n)for(var d=u.Logical.getChildNodes(t),a=0;a<d.length;a++)e(d[a],t)},_composeTree:function(){this._updateChildNodes(this,this._composeNode(this));for(var e,t,o=this.shadyRoot._insertionPoints,i=0,n=o.length;i<n&&(e=o[i]);i++)t=u.Logical.getParentNode(e),t._useContent||t===this||t===this.shadyRoot||this._updateChildNodes(t,this._composeNode(t))},_composeNode:function(e){for(var t=[],o=u.Logical.getChildNodes(e.shadyRoot||e),s=0;s<o.length;s++){var r=o[s];if(n(r))for(var d=r._distributedNodes,a=0;a<d.length;a++){var l=d[a];i(r,l)&&t.push(l)}else t.push(r)}return t},_updateChildNodes:function(e,t){for(var o,i=u.Composed.getChildNodes(e),n=Polymer.ArraySplice.calculateSplices(t,i),s=0,r=0;s<n.length&&(o=n[s]);s++){for(var d,a=0;a<o.removed.length&&(d=o.removed[a]);a++)u.Composed.getParentNode(d)===e&&u.Composed.removeChild(e,d),i.splice(o.index+r,1);r-=o.addedCount}for(var o,l,s=0;s<n.length&&(o=n[s]);s++)for(l=i[o.index],a=o.index,d;a<o.index+o.addedCount;a++)d=t[a],u.Composed.insertBefore(e,d,l),i.splice(a,0,d)},_matchesContentSelect:function(e,t){var o=t.getAttribute("select");return!o||(!(o=o.trim())||e instanceof Element&&(!!/^(:not\()?[*.#[a-zA-Z_|]/.test(o)&&this.elementMatches(o,e)))},_elementAdd:function(){},_elementRemove:function(){}});var c={get:function(){var e=Polymer.dom(this).getOwnerRoot();return e&&e.host},configurable:!0};Object.defineProperty(Polymer.Base,"domHost",c),Polymer.BaseDescriptors.domHost=c;var _=window.CustomElements&&!CustomElements.useNative}(),Polymer.Settings.useShadow&&Polymer.Base._addFeature({_poolContent:function(){},_beginDistribute:function(){},distributeContent:function(){},_distributeContent:function(){},_finishDistribute:function(){},_createLocalRoot:function(){this.createShadowRoot(),this.shadowRoot.appendChild(this.root),this.root=this.shadowRoot}}),Polymer.Async={_currVal:0,_lastVal:0,_callbacks:[],_twiddleContent:0,_twiddle:document.createTextNode(""),run:function(e,t){return t>0?~setTimeout(e,t):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.push(e),this._currVal++)},cancel:function(e){if(e<0)clearTimeout(~e);else{var t=e-this._lastVal;if(t>=0){if(!this._callbacks[t])throw"invalid async handle: "+e;this._callbacks[t]=null}}},_atEndOfMicrotask:function(){for(var e=this._callbacks.length,t=0;t<e;t++){var o=this._callbacks[t];if(o)try{o()}catch(e){throw t++,this._callbacks.splice(0,t),this._lastVal+=t,this._twiddle.textContent=this._twiddleContent++,e}}this._callbacks.splice(0,e),this._lastVal+=e}},new window.MutationObserver(function(){Polymer.Async._atEndOfMicrotask()}).observe(Polymer.Async._twiddle,{characterData:!0}),Polymer.Debounce=function(){function e(e,t,i){return e?e.stop():e=new o(this),e.go(t,i),e}var t=Polymer.Async,o=function(e){this.context=e;var t=this;this.boundComplete=function(){t.complete()}};return o.prototype={go:function(e,o){var i;this.finish=function(){t.cancel(i)},i=t.run(this.boundComplete,o),this.callback=e},stop:function(){this.finish&&(this.finish(),this.finish=null,this.callback=null)},complete:function(){if(this.finish){var e=this.callback;this.stop(),e.call(this.context)}}},e}(),Polymer.Base._addFeature({_setupDebouncers:function(){this._debouncers={}},debounce:function(e,t,o){return this._debouncers[e]=Polymer.Debounce.call(this,this._debouncers[e],t,o)},isDebouncerActive:function(e){var t=this._debouncers[e];return!(!t||!t.finish)},flushDebouncer:function(e){var t=this._debouncers[e];t&&t.complete()},cancelDebouncer:function(e){var t=this._debouncers[e];t&&t.stop()}}),Polymer.DomModule=document.createElement("dom-module"),Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepBehaviors(),this._prepConstructor(),this._prepTemplate(),this._prepShady(),this._prepPropertyInfo()},_prepBehavior:function(e){this._addHostAttributes(e.hostAttributes)},_initFeatures:function(){this._registerHost(),this._template&&(this._poolContent(),this._beginHosting(),this._stampTemplate(),this._endHosting()),this._marshalHostAttributes(),this._setupDebouncers(),this._marshalBehaviors(),this._tryReady()},_marshalBehavior:function(e){}})</script><script>!function(){Polymer.nar=[];var e=Polymer.Settings.disableUpgradeEnabled;Polymer.Annotations={parseAnnotations:function(e,t){var n=[],r=e._content||e.content;return this._parseNodeAnnotations(r,n,t||e.hasAttribute("strip-whitespace")),n},_parseNodeAnnotations:function(e,t,n){return e.nodeType===Node.TEXT_NODE?this._parseTextNodeAnnotation(e,t):this._parseElementAnnotations(e,t,n)},_bindingRegex:function(){var e="(?:[a-zA-Z_$][\\w.:$\\-*]*)",t="(?:"+e+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\"))\\s*)";return new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+e+"\\s*(?:\\(\\s*(?:(?:"+t+"(?:,\\s*"+t+")*)?)\\)\\s*)?)(?:]]|}})","g")}(),_parseBindings:function(e){for(var t,n=this._bindingRegex,r=[],s=0;null!==(t=n.exec(e));){t.index>s&&r.push({literal:e.slice(s,t.index)});var i,o,a,l=t[1][0],c=Boolean(t[2]),h=t[3].trim();"{"==l&&(a=h.indexOf("::"))>0&&(o=h.substring(a+2),h=h.substring(0,a),i=!0),r.push({compoundIndex:r.length,value:h,mode:l,negate:c,event:o,customEvent:i}),s=n.lastIndex}if(s&&s<e.length){var u=e.substring(s);u&&r.push({literal:u})}if(r.length)return r},_literalFromParts:function(e){for(var t="",n=0;n<e.length;n++){t+=e[n].literal||""}return t},_parseTextNodeAnnotation:function(e,t){var n=this._parseBindings(e.textContent);if(n){e.textContent=this._literalFromParts(n)||" ";var r={bindings:[{kind:"text",name:"textContent",parts:n,isCompound:1!==n.length}]};return t.push(r),r}},_parseElementAnnotations:function(e,t,n){var r={bindings:[],events:[]};return"content"===e.localName&&(t._hasContent=!0),this._parseChildNodesAnnotations(e,r,t,n),e.attributes&&(this._parseNodeAttributeAnnotations(e,r,t),this.prepElement&&this.prepElement(e)),(r.bindings.length||r.events.length||r.id)&&t.push(r),r},_parseChildNodesAnnotations:function(e,t,n,r){if(e.firstChild)for(var s=e.firstChild,i=0;s;){var o=s.nextSibling;if("template"!==s.localName||s.hasAttribute("preserve-content")||this._parseTemplate(s,i,n,t,r),"slot"==s.localName&&(s=this._replaceSlotWithContent(s)),s.nodeType===Node.TEXT_NODE){for(var a=o;a&&a.nodeType===Node.TEXT_NODE;)s.textContent+=a.textContent,o=a.nextSibling,e.removeChild(a),a=o;r&&!s.textContent.trim()&&(e.removeChild(s),i--)}if(s.parentNode){var l=this._parseNodeAnnotations(s,n,r);l&&(l.parent=t,l.index=i)}s=o,i++}},_replaceSlotWithContent:function(e){for(var t=e.ownerDocument.createElement("content");e.firstChild;)t.appendChild(e.firstChild);for(var n=e.attributes,r=0;r<n.length;r++){var s=n[r];t.setAttribute(s.name,s.value)}var i=e.getAttribute("name");return i&&t.setAttribute("select","[slot='"+i+"']"),e.parentNode.replaceChild(t,e),t},_parseTemplate:function(e,t,n,r,s){var i=document.createDocumentFragment();i._notes=this.parseAnnotations(e,s),i.appendChild(e.content),n.push({bindings:Polymer.nar,events:Polymer.nar,templateContent:i,parent:r,index:t})},_parseNodeAttributeAnnotations:function(e,t){for(var n,r=Array.prototype.slice.call(e.attributes),s=r.length-1;n=r[s];s--){var i,o=n.name,a=n.value;"on-"===o.slice(0,3)?(e.removeAttribute(o),t.events.push({name:o.slice(3),value:a})):(i=this._parseNodeAttributeAnnotation(e,o,a))?t.bindings.push(i):"id"===o&&(t.id=a)}},_parseNodeAttributeAnnotation:function(t,n,r){var s=this._parseBindings(r);if(s){var i=n,o="property";"$"==n[n.length-1]&&(n=n.slice(0,-1),o="attribute");var a=this._literalFromParts(s);a&&"attribute"==o&&t.setAttribute(n,a),"input"===t.localName&&"value"===i&&t.setAttribute(i,""),e&&"disable-upgrade$"===i&&t.setAttribute(n,""),t.removeAttribute(i);var l=Polymer.CaseMap.dashToCamelCase(n);return"property"===o&&(n=l),{kind:o,name:n,propertyName:l,parts:s,literal:a,isCompound:1!==s.length}}},findAnnotatedNode:function(e,t){var n=t.parent&&Polymer.Annotations.findAnnotatedNode(e,t.parent);if(!n)return e;for(var r=n.firstChild,s=0;r;r=r.nextSibling)if(t.index===s++)return r}}}(),Polymer.Path={root:function(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)},isDeep:function(e){return-1!==e.indexOf(".")},isAncestor:function(e,t){return 0===e.indexOf(t+".")},isDescendant:function(e,t){return 0===t.indexOf(e+".")},translate:function(e,t,n){return t+n.slice(e.length)},matches:function(e,t,n){return e===n||this.isAncestor(e,n)||Boolean(t)&&this.isDescendant(e,n)}},Polymer.Base._addFeature({_prepAnnotations:function(){if(this._template){var e=this;Polymer.Annotations.prepElement=function(t){e._prepElement(t)},this._template._content&&this._template._content._notes?this._notes=this._template._content._notes:(this._notes=Polymer.Annotations.parseAnnotations(this._template),this._processAnnotations(this._notes)),Polymer.Annotations.prepElement=null}else this._notes=[]},_processAnnotations:function(e){for(var t=0;t<e.length;t++){for(var n=e[t],r=0;r<n.bindings.length;r++)for(var s=n.bindings[r],i=0;i<s.parts.length;i++){var o=s.parts[i];if(!o.literal){var a=this._parseMethod(o.value);a?o.signature=a:o.model=Polymer.Path.root(o.value)}}if(n.templateContent){this._processAnnotations(n.templateContent._notes);var l=n.templateContent._parentProps=this._discoverTemplateParentProps(n.templateContent._notes),c=[];for(var h in l){var u="_parent_"+h;c.push({index:n.index,kind:"property",name:u,propertyName:u,parts:[{mode:"{",model:h,value:h}]})}n.bindings=n.bindings.concat(c)}}},_discoverTemplateParentProps:function(e){for(var t,n={},r=0;r<e.length&&(t=e[r]);r++){for(var s,i=0,o=t.bindings;i<o.length&&(s=o[i]);i++)for(var a,l=0,c=s.parts;l<c.length&&(a=c[l]);l++)if(a.signature){for(var h=a.signature.args,u=0;u<h.length;u++){var f=h[u].model;f&&(n[f]=!0)}a.signature.dynamicFn&&(n[a.signature.method]=!0)}else a.model&&(n[a.model]=!0);if(t.templateContent){var p=t.templateContent._parentProps;Polymer.Base.mixin(n,p)}}return n},_prepElement:function(e){Polymer.ResolveUrl.resolveAttrs(e,this._template.ownerDocument)},_findAnnotatedNode:Polymer.Annotations.findAnnotatedNode,_marshalAnnotationReferences:function(){this._template&&(this._marshalIdNodes(),this._marshalAnnotatedNodes(),this._marshalAnnotatedListeners())},_configureAnnotationReferences:function(){for(var e=this._notes,t=this._nodes,n=0;n<e.length;n++){var r=e[n],s=t[n];this._configureTemplateContent(r,s),this._configureCompoundBindings(r,s)}},_configureTemplateContent:function(e,t){e.templateContent&&(t._content=e.templateContent)},_configureCompoundBindings:function(e,t){for(var n=e.bindings,r=0;r<n.length;r++){var s=n[r];if(s.isCompound){for(var i=t.__compoundStorage__||(t.__compoundStorage__={}),o=s.parts,a=new Array(o.length),l=0;l<o.length;l++)a[l]=o[l].literal;var c=s.name;i[c]=a,s.literal&&"property"==s.kind&&(t._configValue?t._configValue(c,s.literal):t[c]=s.literal)}}},_marshalIdNodes:function(){this.$={};for(var e,t=0,n=this._notes.length;t<n&&(e=this._notes[t]);t++)e.id&&(this.$[e.id]=this._findAnnotatedNode(this.root,e))},_marshalAnnotatedNodes:function(){if(this._notes&&this._notes.length){for(var e=new Array(this._notes.length),t=0;t<this._notes.length;t++)e[t]=this._findAnnotatedNode(this.root,this._notes[t]);this._nodes=e}},_marshalAnnotatedListeners:function(){for(var e,t=0,n=this._notes.length;t<n&&(e=this._notes[t]);t++)if(e.events&&e.events.length)for(var r,s=this._findAnnotatedNode(this.root,e),i=0,o=e.events;i<o.length&&(r=o[i]);i++)this.listen(s,r.name,r.value)}}),Polymer.Base._addFeature({listeners:{},_listenListeners:function(e){var t,n,r;for(r in e)r.indexOf(".")<0?(t=this,n=r):(n=r.split("."),t=this.$[n[0]],n=n[1]),this.listen(t,n,e[r])},listen:function(e,t,n){var r=this._recallEventHandler(this,t,e,n);r||(r=this._createEventHandler(e,t,n)),r._listening||(this._listen(e,t,r),r._listening=!0)},_boundListenerKey:function(e,t){return e+":"+t},_recordEventHandler:function(e,t,n,r,s){var i=e.__boundListeners;i||(i=e.__boundListeners=new WeakMap);var o=i.get(n);o||(o={},Polymer.Settings.isIE&&n==window||i.set(n,o)),o[this._boundListenerKey(t,r)]=s},_recallEventHandler:function(e,t,n,r){var s=e.__boundListeners;if(s){var i=s.get(n);if(i){return i[this._boundListenerKey(t,r)]}}},_createEventHandler:function(e,t,n){var r=this,s=function(e){r[n]?r[n](e,e.detail):r._warn(r._logf("_createEventHandler","listener method `"+n+"` not defined"))};return s._listening=!1,this._recordEventHandler(r,t,e,n,s),s},unlisten:function(e,t,n){var r=this._recallEventHandler(this,t,e,n);r&&(this._unlisten(e,t,r),r._listening=!1)},_listen:function(e,t,n){e.addEventListener(t,n)},_unlisten:function(e,t,n){e.removeEventListener(t,n)}}),function(){"use strict";function e(e){for(var t,n=m?["click"]:f,r=0;r<n.length;r++)t=n[r],e?document.addEventListener(t,y,!0):document.removeEventListener(t,y,!0)}function t(t){v.mouse.mouseIgnoreJob||e(!0);var n=function(){e(),v.mouse.target=null,v.mouse.mouseIgnoreJob=null};v.mouse.target=Polymer.dom(t).rootTarget,v.mouse.mouseIgnoreJob=Polymer.Debounce(v.mouse.mouseIgnoreJob,n,u)}function n(e){var t=e.type;if(-1===f.indexOf(t))return!1;if("mousemove"===t){var n=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!_&&(n=p[e.which]||0),Boolean(1&n)}return 0===(void 0===e.button?0:e.button)}function r(e){if("click"===e.type){if(0===e.detail)return!0;var t=g.findOriginalTarget(e),n=t.getBoundingClientRect(),r=e.pageX,s=e.pageY;return!(r>=n.left&&r<=n.right&&s>=n.top&&s<=n.bottom)}return!1}function s(e){for(var t,n=Polymer.dom(e).path,r="auto",s=0;s<n.length;s++)if(t=n[s],t[h]){r=t[h];break}return r}function i(e,t,n){e.movefn=t,e.upfn=n,document.addEventListener("mousemove",t),document.addEventListener("mouseup",n)}function o(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}var a=Polymer.DomApi.wrap,l="string"==typeof document.head.style.touchAction,c="__polymerGesturesHandled",h="__polymerGesturesTouchAction",u=2500,f=["mousedown","mousemove","mouseup","click"],p=[0,1,4,2],_=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}(),d=!1;!function(){try{var e=Object.defineProperty({},"passive",{get:function(){d=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();var m=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),y=function(e){var t=e.sourceCapabilities;if((!t||t.firesTouchEvents)&&(e[c]={skip:!0},"click"===e.type)){for(var n=Polymer.dom(e).path,r=0;r<n.length;r++)if(n[r]===v.mouse.target)return;e.preventDefault(),e.stopPropagation()}},v={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};document.addEventListener("touchend",t,!!d&&{passive:!0});var g={gestures:{},recognizers:[],deepTargetFind:function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shadowRoot;)(r=r.shadowRoot.elementFromPoint(e,t))&&(n=r);return n},findOriginalTarget:function(e){return e.path?e.path[0]:e.target},handleNative:function(e){var t,n=e.type,r=a(e.currentTarget),s=r.__polymerGestures;if(s){var i=s[n];if(i){if(!e[c]&&(e[c]={},"touch"===n.slice(0,5))){var o=e.changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(v.touch.id=o.identifier),v.touch.id!==o.identifier)return;l||"touchstart"!==n&&"touchmove"!==n||g.handleTouchAction(e)}if(t=e[c],!t.skip){for(var h,u=g.recognizers,f=0;f<u.length;f++)h=u[f],i[h.name]&&!t[h.name]&&h.flow&&h.flow.start.indexOf(e.type)>-1&&h.reset&&h.reset();for(f=0,h;f<u.length;f++)h=u[f],i[h.name]&&!t[h.name]&&(t[h.name]=!0,h[n](e))}}}},handleTouchAction:function(e){var t=e.changedTouches[0],n=e.type;if("touchstart"===n)v.touch.x=t.clientX,v.touch.y=t.clientY,v.touch.scrollDecided=!1;else if("touchmove"===n){if(v.touch.scrollDecided)return;v.touch.scrollDecided=!0;var r=s(e),i=!1,o=Math.abs(v.touch.x-t.clientX),a=Math.abs(v.touch.y-t.clientY);e.cancelable&&("none"===r?i=!0:"pan-x"===r?i=a>o:"pan-y"===r&&(i=o>a)),i?e.preventDefault():g.prevent("track")}},add:function(e,t,n){e=a(e);var r=this.gestures[t],s=r.deps,i=r.name,o=e.__polymerGestures;o||(e.__polymerGestures=o={});for(var l,c,h=0;h<s.length;h++)l=s[h],m&&f.indexOf(l)>-1&&"click"!==l||(c=o[l],c||(o[l]=c={_count:0}),0===c._count&&e.addEventListener(l,this.handleNative),c[i]=(c[i]||0)+1,c._count=(c._count||0)+1);e.addEventListener(t,n),r.touchAction&&this.setTouchAction(e,r.touchAction)},remove:function(e,t,n){e=a(e);var r=this.gestures[t],s=r.deps,i=r.name,o=e.__polymerGestures;if(o)for(var l,c,h=0;h<s.length;h++)l=s[h],(c=o[l])&&c[i]&&(c[i]=(c[i]||1)-1,c._count=(c._count||1)-1,0===c._count&&e.removeEventListener(l,this.handleNative));e.removeEventListener(t,n)},register:function(e){this.recognizers.push(e);for(var t=0;t<e.emits.length;t++)this.gestures[e.emits[t]]=e},findRecognizerByEvent:function(e){for(var t,n=0;n<this.recognizers.length;n++){t=this.recognizers[n];for(var r=0;r<t.emits.length;r++)if(t.emits[r]===e)return t}return null},setTouchAction:function(e,t){l&&(e.style.touchAction=t),e[h]=t},fire:function(e,t,n){if(Polymer.Base.fire(t,n,{node:e,bubbles:!0,cancelable:!0}).defaultPrevented){var r=n.preventer||n.sourceEvent;r&&r.preventDefault&&r.preventDefault()}},prevent:function(e){var t=this.findRecognizerByEvent(e);t.info&&(t.info.prevent=!0)},resetMouseCanceller:function(){v.mouse.mouseIgnoreJob&&v.mouse.mouseIgnoreJob.complete()}};g.register({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){o(this.info)},mousedown:function(e){if(n(e)){var t=g.findOriginalTarget(e),r=this,s=function(e){n(e)||(r.fire("up",t,e),o(r.info))},a=function(e){n(e)&&r.fire("up",t,e),o(r.info)};i(this.info,s,a),this.fire("down",t,e)}},touchstart:function(e){this.fire("down",g.findOriginalTarget(e),e.changedTouches[0],e)},touchend:function(e){this.fire("up",g.findOriginalTarget(e),e.changedTouches[0],e)},fire:function(e,t,n,r){g.fire(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(e){return g.prevent(e)}})}}),g.register({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,o(this.info)},hasMovedEnough:function(e,t){if(this.info.prevent)return!1;if(this.info.started)return!0;var n=Math.abs(this.info.x-e),r=Math.abs(this.info.y-t);return n>=5||r>=5},mousedown:function(e){if(n(e)){var t=g.findOriginalTarget(e),r=this,s=function(e){var s=e.clientX,i=e.clientY;r.hasMovedEnough(s,i)&&(r.info.state=r.info.started?"mouseup"===e.type?"end":"track":"start","start"===r.info.state&&g.prevent("tap"),r.info.addMove({x:s,y:i}),n(e)||(r.info.state="end",o(r.info)),r.fire(t,e),r.info.started=!0)},a=function(e){r.info.started&&s(e),o(r.info)};i(this.info,s,a),this.info.x=e.clientX,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=g.findOriginalTarget(e),n=e.changedTouches[0],r=n.clientX,s=n.clientY;this.hasMovedEnough(r,s)&&("start"===this.info.state&&g.prevent("tap"),this.info.addMove({x:r,y:s}),this.fire(t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){var t=g.findOriginalTarget(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),this.fire(t,n,e))},fire:function(e,t,n){var r,s=this.info.moves[this.info.moves.length-2],i=this.info.moves[this.info.moves.length-1],o=i.x-this.info.x,a=i.y-this.info.y,l=0;return s&&(r=i.x-s.x,l=i.y-s.y),g.fire(e,"track",{state:this.info.state,x:t.clientX,y:t.clientY,dx:o,dy:a,ddx:r,ddy:l,sourceEvent:t,preventer:n,hover:function(){return g.deepTargetFind(t.clientX,t.clientY)}})}}),g.register({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},save:function(e){this.info.x=e.clientX,this.info.y=e.clientY},mousedown:function(e){n(e)&&this.save(e)},click:function(e){n(e)&&this.forward(e)},touchstart:function(e){this.save(e.changedTouches[0],e)},touchend:function(e){this.forward(e.changedTouches[0],e)},forward:function(e,t){var n=Math.abs(e.clientX-this.info.x),s=Math.abs(e.clientY-this.info.y),i=g.findOriginalTarget(e);(isNaN(n)||isNaN(s)||n<=25&&s<=25||r(e))&&(this.info.prevent||g.fire(i,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:t}))}});var P={x:"pan-x",y:"pan-y",none:"none",all:"auto"};Polymer.Base._addFeature({_setupGestures:function(){this.__polymerGestures=null},_listen:function(e,t,n){g.gestures[t]?g.add(e,t,n):e.addEventListener(t,n)},_unlisten:function(e,t,n){g.gestures[t]?g.remove(e,t,n):e.removeEventListener(t,n)},setScrollDirection:function(e,t){t=t||this,g.setTouchAction(t,P[e]||"auto")}}),Polymer.Gestures=g}(),function(){"use strict";if(Polymer.Base._addFeature({$$:function(e){return Polymer.dom(this.root).querySelector(e)},toggleClass:function(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?Polymer.dom(n).classList.add(e):Polymer.dom(n).classList.remove(e)},toggleAttribute:function(e,t,n){n=n||this,1==arguments.length&&(t=!n.hasAttribute(e)),t?Polymer.dom(n).setAttribute(e,""):Polymer.dom(n).removeAttribute(e)},classFollows:function(e,t,n){n&&Polymer.dom(n).classList.remove(e),t&&Polymer.dom(t).classList.add(e)},attributeFollows:function(e,t,n){n&&Polymer.dom(n).removeAttribute(e),t&&Polymer.dom(t).setAttribute(e,"")},getEffectiveChildNodes:function(){return Polymer.dom(this).getEffectiveChildNodes()},getEffectiveChildren:function(){return Polymer.dom(this).getEffectiveChildNodes().filter(function(e){return e.nodeType===Node.ELEMENT_NODE})},getEffectiveTextContent:function(){for(var e,t=this.getEffectiveChildNodes(),n=[],r=0;e=t[r];r++)e.nodeType!==Node.COMMENT_NODE&&n.push(Polymer.dom(e).textContent);return n.join("")},queryEffectiveChildren:function(e){var t=Polymer.dom(this).queryDistributedElements(e);return t&&t[0]},queryAllEffectiveChildren:function(e){return Polymer.dom(this).queryDistributedElements(e)},getContentChildNodes:function(e){var t=Polymer.dom(this.root).querySelector(e||"content");return t?Polymer.dom(t).getDistributedNodes():[]},getContentChildren:function(e){return this.getContentChildNodes(e).filter(function(e){return e.nodeType===Node.ELEMENT_NODE})},fire:function(e,t,n){n=n||Polymer.nob;var r=n.node||this;t=null===t||void 0===t?{}:t;var s=void 0===n.bubbles||n.bubbles,i=Boolean(n.cancelable),o=n._useCache,a=this._getEvent(e,s,i,o);return a.detail=t,o&&(this.__eventCache[e]=null),r.dispatchEvent(a),o&&(this.__eventCache[e]=a),a},__eventCache:{},_getEvent:function(e,t,n,r){var s=r&&this.__eventCache[e];return s&&s.bubbles==t&&s.cancelable==n||(s=new Event(e,{bubbles:Boolean(t),cancelable:n})),s},async:function(e,t){var n=this;return Polymer.Async.run(function(){e.call(n)},t)},cancelAsync:function(e){Polymer.Async.cancel(e)},arrayDelete:function(e,t){var n;if(Array.isArray(e)){if((n=e.indexOf(t))>=0)return e.splice(n,1)}else{if((n=this._get(e).indexOf(t))>=0)return this.splice(e,n,1)}},transform:function(e,t){t=t||this,t.style.webkitTransform=e,t.style.transform=e},translate3d:function(e,t,n,r){r=r||this,this.transform("translate3d("+e+","+t+","+n+")",r)},importHref:function(e,t,n,r){var s=document.createElement("link");s.rel="import",s.href=e;var i=Polymer.Base.importHref.imported=Polymer.Base.importHref.imported||{},o=i[s.href],a=o||s,l=this,c=function(e){return e.target.__firedLoad=!0,e.target.removeEventListener("load",c),e.target.removeEventListener("error",h),t.call(l,e)},h=function(e){return e.target.__firedError=!0,e.target.removeEventListener("load",c),e.target.removeEventListener("error",h),n.call(l,e)};return t&&a.addEventListener("load",c),n&&a.addEventListener("error",h),o?(o.__firedLoad&&o.dispatchEvent(new Event("load")),o.__firedError&&o.dispatchEvent(new Event("error"))):(i[s.href]=s,r=Boolean(r),r&&s.setAttribute("async",""),document.head.appendChild(s)),a},create:function(e,t){var n=document.createElement(e);if(t)for(var r in t)n[r]=t[r];return n},isLightDescendant:function(e){return this!==e&&this.contains(e)&&Polymer.dom(this).getOwnerRoot()===Polymer.dom(e).getOwnerRoot()},isLocalDescendant:function(e){return this.root===Polymer.dom(e).getOwnerRoot()}}),!Polymer.Settings.useNativeCustomElements){var e=Polymer.Base.importHref;Polymer.Base.importHref=function(t,n,r,s){CustomElements.ready=!1;var i=function(e){if(CustomElements.upgradeDocumentTree(document),CustomElements.ready=!0,n)return n.call(this,e)};return e.call(this,t,i,r,s)}}}(),Polymer.Bind={prepareModel:function(e){Polymer.Base.mixin(e,this._modelApi)},_modelApi:{_notifyChange:function(e,t,n){n=void 0===n?this[e]:n,t=t||Polymer.CaseMap.camelToDashCase(e)+"-changed",this.fire(t,{value:n},{bubbles:!1,cancelable:!1,_useCache:Polymer.Settings.eventDataCache||!Polymer.Settings.isIE})},_propertySetter:function(e,t,n,r){var s=this.__data__[e];return s===t||s!==s&&t!==t||(this.__data__[e]=t,"object"==typeof t&&this._clearPath(e),this._propertyChanged&&this._propertyChanged(e,t,s),n&&this._effectEffects(e,t,n,s,r)),s},__setProperty:function(e,t,n,r){r=r||this;var s=r._propertyEffects&&r._propertyEffects[e];s?r._propertySetter(e,t,s,n):r[e]!==t&&(r[e]=t)},_effectEffects:function(e,t,n,r,s){for(var i,o=0,a=n.length;o<a&&(i=n[o]);o++)i.fn.call(this,e,this[e],i.effect,r,s)},_clearPath:function(e){for(var t in this.__data__)Polymer.Path.isDescendant(e,t)&&(this.__data__[t]=void 0)}},ensurePropertyEffects:function(e,t){e._propertyEffects||(e._propertyEffects={});var n=e._propertyEffects[t];return n||(n=e._propertyEffects[t]=[]),n},addPropertyEffect:function(e,t,n,r){var s=this.ensurePropertyEffects(e,t),i={kind:n,effect:r,fn:Polymer.Bind["_"+n+"Effect"]};return s.push(i),i},createBindings:function(e){var t=e._propertyEffects;if(t)for(var n in t){var r=t[n];r.sort(this._sortPropertyEffects),this._createAccessors(e,n,r)}},_sortPropertyEffects:function(){var e={compute:0,annotation:1,annotatedComputation:2,reflect:3,notify:4,observer:5,complexObserver:6,function:7};return function(t,n){return e[t.kind]-e[n.kind]}}(),_createAccessors:function(e,t,n){var r={get:function(){return this.__data__[t]}},s=function(e){this._propertySetter(t,e,n)},i=e.getPropertyInfo&&e.getPropertyInfo(t);i&&i.readOnly?i.computed||(e["_set"+this.upper(t)]=s):r.set=s,Object.defineProperty(e,t,r)},upper:function(e){return e[0].toUpperCase()+e.substring(1)},_addAnnotatedListener:function(e,t,n,r,s,i){e._bindListeners||(e._bindListeners=[]);var o=this._notedListenerFactory(n,r,Polymer.Path.isDeep(r),i),a=s||Polymer.CaseMap.camelToDashCase(n)+"-changed";e._bindListeners.push({index:t,property:n,path:r,changedFn:o,event:a})},_isEventBogus:function(e,t){return e.path&&e.path[0]!==t},_notedListenerFactory:function(e,t,n,r){return function(s,i,o){if(o){var a=Polymer.Path.translate(e,t,o);this._notifyPath(a,i)}else i=s[e],r&&(i=!i),n?this.__data__[t]!=i&&this.set(t,i):this[t]=i}},prepareInstance:function(e){e.__data__=Object.create(null)},setupBindListeners:function(e){for(var t,n=e._bindListeners,r=0,s=n.length;r<s&&(t=n[r]);r++){var i=e._nodes[t.index];this._addNotifyListener(i,e,t.event,t.changedFn)}},_addNotifyListener:function(e,t,n,r){e.addEventListener(n,function(e){return t._notifyListener(r,e)})}},Polymer.Base.mixin(Polymer.Bind,{_shouldAddListener:function(e){return e.name&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode},_annotationEffect:function(e,t,n){e!=n.value&&(t=this._get(n.value),this.__data__[n.value]=t),this._applyEffectValue(n,t)},_reflectEffect:function(e,t,n){this.reflectPropertyToAttribute(e,n.attribute,t)},_notifyEffect:function(e,t,n,r,s){s||this._notifyChange(e,n.event,t)},_functionEffect:function(e,t,n,r,s){n.call(this,e,t,r,s)},_observerEffect:function(e,t,n,r){var s=this[n.method];s?s.call(this,t,r):this._warn(this._logf("_observerEffect","observer method `"+n.method+"` not defined"))},_complexObserverEffect:function(e,t,n){var r=this[n.method];if(r){var s=Polymer.Bind._marshalArgs(this.__data__,n,e,t);s&&r.apply(this,s)}else n.dynamicFn||this._warn(this._logf("_complexObserverEffect","observer method `"+n.method+"` not defined"))},_computeEffect:function(e,t,n){var r=this[n.method];if(r){var s=Polymer.Bind._marshalArgs(this.__data__,n,e,t);if(s){var i=r.apply(this,s);this.__setProperty(n.name,i)}}else n.dynamicFn||this._warn(this._logf("_computeEffect","compute method `"+n.method+"` not defined"))},_annotatedComputationEffect:function(e,t,n){var r=this._rootDataHost||this,s=r[n.method];if(s){var i=Polymer.Bind._marshalArgs(this.__data__,n,e,t);if(i){var o=s.apply(r,i);this._applyEffectValue(n,o)}}else n.dynamicFn||r._warn(r._logf("_annotatedComputationEffect","compute method `"+n.method+"` not defined"))},_marshalArgs:function(e,t,n,r){for(var s=[],i=t.args,o=i.length>1||t.dynamicFn,a=0,l=i.length;a<l;a++){var c,h=i[a],u=h.name;if(h.literal?c=h.value:n===u?c=r:void 0===(c=e[u])&&h.structured&&(c=Polymer.Base._get(u,e)),o&&void 0===c)return;if(h.wildcard){var f=Polymer.Path.isAncestor(n,u);s[a]={path:f?n:u,value:f?r:c,base:c}}else s[a]=c}return s}}),Polymer.Base._addFeature({_addPropertyEffect:function(e,t,n){var r=Polymer.Bind.addPropertyEffect(this,e,t,n);r.pathFn=this["_"+r.kind+"PathEffect"]},_prepEffects:function(){Polymer.Bind.prepareModel(this),this._addAnnotationEffects(this._notes)},_prepBindings:function(){Polymer.Bind.createBindings(this)},_addPropertyEffects:function(e){if(e)for(var t in e){var n=e[t];if(n.observer&&this._addObserverEffect(t,n.observer),n.computed&&(n.readOnly=!0,this._addComputedEffect(t,n.computed)),n.notify&&this._addPropertyEffect(t,"notify",{event:Polymer.CaseMap.camelToDashCase(t)+"-changed"}),n.reflectToAttribute){var r=Polymer.CaseMap.camelToDashCase(t);"-"===r[0]?this._warn(this._logf("_addPropertyEffects","Property "+t+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.')):this._addPropertyEffect(t,"reflect",{attribute:r})}n.readOnly&&Polymer.Bind.ensurePropertyEffects(this,t)}},_addComputedEffect:function(e,t){for(var n,r=this._parseMethod(t),s=r.dynamicFn,i=0;i<r.args.length&&(n=r.args[i]);i++)this._addPropertyEffect(n.model,"compute",{method:r.method,args:r.args,trigger:n,name:e,dynamicFn:s});s&&this._addPropertyEffect(r.method,"compute",{method:r.method,args:r.args,trigger:null,name:e,dynamicFn:s})},_addObserverEffect:function(e,t){this._addPropertyEffect(e,"observer",{method:t,property:e})},_addComplexObserverEffects:function(e){if(e)for(var t,n=0;n<e.length&&(t=e[n]);n++)this._addComplexObserverEffect(t)},_addComplexObserverEffect:function(e){var t=this._parseMethod(e);if(!t)throw new Error("Malformed observer expression '"+e+"'");for(var n,r=t.dynamicFn,s=0;s<t.args.length&&(n=t.args[s]);s++)this._addPropertyEffect(n.model,"complexObserver",{method:t.method,args:t.args,trigger:n,dynamicFn:r});r&&this._addPropertyEffect(t.method,"complexObserver",{method:t.method,args:t.args,trigger:null,dynamicFn:r})},_addAnnotationEffects:function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++)for(var r,s=t.bindings,i=0;i<s.length&&(r=s[i]);i++)this._addAnnotationEffect(r,n)},_addAnnotationEffect:function(e,t){Polymer.Bind._shouldAddListener(e)&&Polymer.Bind._addAnnotatedListener(this,t,e.name,e.parts[0].value,e.parts[0].event,e.parts[0].negate);for(var n=0;n<e.parts.length;n++){var r=e.parts[n];r.signature?this._addAnnotatedComputationEffect(e,r,t):r.literal||("attribute"===e.kind&&"-"===e.name[0]?this._warn(this._logf("_addAnnotationEffect","Cannot set attribute "+e.name+' because "-" is not a valid attribute starting character')):this._addPropertyEffect(r.model,"annotation",{kind:e.kind,index:t,name:e.name,propertyName:e.propertyName,value:r.value,isCompound:e.isCompound,compoundIndex:r.compoundIndex,event:r.event,customEvent:r.customEvent,negate:r.negate}))}},_addAnnotatedComputationEffect:function(e,t,n){var r=t.signature;if(r.static)this.__addAnnotatedComputationEffect("__static__",n,e,t,null);else{for(var s,i=0;i<r.args.length&&(s=r.args[i]);i++)s.literal||this.__addAnnotatedComputationEffect(s.model,n,e,t,s);r.dynamicFn&&this.__addAnnotatedComputationEffect(r.method,n,e,t,null)}},__addAnnotatedComputationEffect:function(e,t,n,r,s){this._addPropertyEffect(e,"annotatedComputation",{index:t,isCompound:n.isCompound,compoundIndex:r.compoundIndex,kind:n.kind,name:n.name,negate:r.negate,method:r.signature.method,args:r.signature.args,trigger:s,dynamicFn:r.signature.dynamicFn})},_parseMethod:function(e){var t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){var n={method:t[1],static:!0};if(this.getPropertyInfo(n.method)!==Polymer.nob&&(n.static=!1,n.dynamicFn=!0),t[2].trim()){var r=t[2].replace(/\\,/g,"&comma;").split(",");return this._parseArgs(r,n)}return n.args=Polymer.nar,n}},_parseArgs:function(e,t){return t.args=e.map(function(e){var n=this._parseArg(e);return n.literal||(t.static=!1),n},this),t},_parseArg:function(e){var t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name:t},r=t[0];switch("-"===r&&(r=t[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.model=Polymer.Path.root(t),n.structured=Polymer.Path.isDeep(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n},_marshalInstanceEffects:function(){Polymer.Bind.prepareInstance(this),this._bindListeners&&Polymer.Bind.setupBindListeners(this)},_applyEffectValue:function(e,t){var n=this._nodes[e.index],r=e.name;if(t=this._computeFinalAnnotationValue(n,r,t,e),"attribute"==e.kind)this.serializeValueToAttribute(t,r,n);else{var s=n._propertyInfo&&n._propertyInfo[r];if(s&&s.readOnly)return;this.__setProperty(r,t,Polymer.Settings.suppressBindingNotifications,n)}},_computeFinalAnnotationValue:function(e,t,n,r){if(r.negate&&(n=!n),r.isCompound){var s=e.__compoundStorage__[t];s[r.compoundIndex]=n,n=s.join("")}return"attribute"!==r.kind&&("className"===t&&(n=this._scopeElementClass(e,n)),("textContent"===t||"input"==e.localName&&"value"==t)&&(n=void 0==n?"":n)),n},_executeStaticEffects:function(){this._propertyEffects&&this._propertyEffects.__static__&&this._effectEffects("__static__",null,this._propertyEffects.__static__)}}),function(){var e=Polymer.Settings.usePolyfillProto,t=Boolean(Object.getOwnPropertyDescriptor(document.documentElement,"properties"));Polymer.Base._addFeature({_setupConfigure:function(e){if(this._config={},this._handlers=[],this._aboveConfig=null,e)for(var t in e)void 0!==e[t]&&(this._config[t]=e[t])},_marshalAttributes:function(){this._takeAttributesToModel(this._config)},_attributeChangedImpl:function(e){var t=this._clientsReadied?this:this._config;this._setAttributeToProperty(t,e)},_configValue:function(e,t){var n=this._propertyInfo[e];n&&n.readOnly||(this._config[e]=t)},_beforeClientsReady:function(){this._configure()},_configure:function(){this._configureAnnotationReferences(),this._configureInstanceProperties(),this._aboveConfig=this.mixin({},this._config);for(var e={},n=0;n<this.behaviors.length;n++)this._configureProperties(this.behaviors[n].properties,e);this._configureProperties(t?this.__proto__.properties:this.properties,e),this.mixin(e,this._aboveConfig),this._config=e,this._clients&&this._clients.length&&this._distributeConfig(this._config)},_configureInstanceProperties:function(){for(var t in this._propertyEffects)!e&&this.hasOwnProperty(t)&&(this._configValue(t,this[t]),delete this[t])},_configureProperties:function(e,t){for(var n in e){var r=e[n];if(void 0!==r.value){var s=r.value;"function"==typeof s&&(s=s.call(this,this._config)),t[n]=s}}},_distributeConfig:function(e){var t=this._propertyEffects
  3. ;if(t)for(var n in e){var r=t[n];if(r)for(var s,i=0,o=r.length;i<o&&(s=r[i]);i++)if("annotation"===s.kind){var a=this._nodes[s.effect.index],l=s.effect.propertyName,c="attribute"==s.effect.kind,h=a._propertyEffects&&a._propertyEffects[l];if(a._configValue&&(h||!c)){var u=n===s.effect.value?e[n]:this._get(s.effect.value,e);u=this._computeFinalAnnotationValue(a,l,u,s.effect),c&&(u=a.deserialize(this.serialize(u),a._propertyInfo[l].type)),a._configValue(l,u)}}}},_afterClientsReady:function(){this.importPath=this._importPath,this.rootPath=Polymer.rootPath,this._executeStaticEffects(),this._applyConfig(this._config,this._aboveConfig),this._flushHandlers()},_applyConfig:function(e,t){for(var n in e)void 0===this[n]&&this.__setProperty(n,e[n],n in t)},_notifyListener:function(e,t){if(!Polymer.Bind._isEventBogus(t,t.target)){var n,r;if(t.detail&&(n=t.detail.value,r=t.detail.path),this._clientsReadied)return e.call(this,t.target,n,r);this._queueHandler([e,t.target,n,r])}},_queueHandler:function(e){this._handlers.push(e)},_flushHandlers:function(){for(var e,t=this._handlers,n=0,r=t.length;n<r&&(e=t[n]);n++)e[0].call(this,e[1],e[2],e[3]);this._handlers=[]}})}(),function(){"use strict";var e=Polymer.Path;Polymer.Base._addFeature({notifyPath:function(e,t,n){var r={},s=this._get(e,this,r);1===arguments.length&&(t=s),r.path&&this._notifyPath(r.path,t,n)},_notifyPath:function(e,t,n){var r=this._propertySetter(e,t);if(r!==t&&(r===r||t===t))return this._pathEffector(e,t),n||this._notifyPathUp(e,t),!0},_getPathParts:function(e){if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)for(var r=e[n].toString().split("."),s=0;s<r.length;s++)t.push(r[s]);return t}return e.toString().split(".")},set:function(e,t,n){var r,s=n||this,i=this._getPathParts(e),o=i[i.length-1];if(i.length>1){for(var a=0;a<i.length-1;a++){var l=i[a];if(r&&"#"==l[0]?s=Polymer.Collection.get(r).getItem(l):(s=s[l],r&&parseInt(l,10)==l&&(i[a]=Polymer.Collection.get(r).getKey(s))),!s)return;r=Array.isArray(s)?s:null}if(r){var c,h,u=Polymer.Collection.get(r);"#"==o[0]?(h=o,c=u.getItem(h),o=r.indexOf(c),u.setItem(h,t)):parseInt(o,10)==o&&(c=s[o],h=u.getKey(c),i[a]=h,u.setItem(h,t))}s[o]=t,n||this._notifyPath(i.join("."),t)}else s[e]=t},get:function(e,t){return this._get(e,t)},_get:function(e,t,n){for(var r,s=t||this,i=this._getPathParts(e),o=0;o<i.length;o++){if(!s)return;var a=i[o];r&&"#"==a[0]?s=Polymer.Collection.get(r).getItem(a):(s=s[a],n&&r&&parseInt(a,10)==a&&(i[o]=Polymer.Collection.get(r).getKey(s))),r=Array.isArray(s)?s:null}return n&&(n.path=i.join(".")),s},_pathEffector:function(t,n){var r=e.root(t),s=this._propertyEffects&&this._propertyEffects[r];if(s)for(var i,o=0;o<s.length&&(i=s[o]);o++){var a=i.pathFn;a&&a.call(this,t,n,i.effect)}this._boundPaths&&this._notifyBoundPaths(t,n)},_annotationPathEffect:function(t,n,r){if(e.matches(r.value,!1,t))Polymer.Bind._annotationEffect.call(this,t,n,r);else if(!r.negate&&e.isDescendant(r.value,t)){var s=this._nodes[r.index];if(s&&s._notifyPath){var i=e.translate(r.value,r.name,t);s._notifyPath(i,n,!0)}}},_complexObserverPathEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wildcard,t)&&Polymer.Bind._complexObserverEffect.call(this,t,n,r)},_computePathEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wildcard,t)&&Polymer.Bind._computeEffect.call(this,t,n,r)},_annotatedComputationPathEffect:function(t,n,r){e.matches(r.trigger.name,r.trigger.wildcard,t)&&Polymer.Bind._annotatedComputationEffect.call(this,t,n,r)},linkPaths:function(e,t){this._boundPaths=this._boundPaths||{},t?this._boundPaths[e]=t:this.unlinkPaths(e)},unlinkPaths:function(e){this._boundPaths&&delete this._boundPaths[e]},_notifyBoundPaths:function(t,n){for(var r in this._boundPaths){var s=this._boundPaths[r];e.isDescendant(r,t)?this._notifyPath(e.translate(r,s,t),n):e.isDescendant(s,t)&&this._notifyPath(e.translate(s,r,t),n)}},_notifyPathUp:function(t,n){var r=e.root(t),s=Polymer.CaseMap.camelToDashCase(r),i=s+this._EVENT_CHANGED;this.fire(i,{path:t,value:n},{bubbles:!1,_useCache:Polymer.Settings.eventDataCache||!Polymer.Settings.isIE})},_EVENT_CHANGED:"-changed",notifySplices:function(e,t){var n={},r=this._get(e,this,n);this._notifySplices(r,n.path,t)},_notifySplices:function(e,t,n){var r={keySplices:Polymer.Collection.applySplices(e,n),indexSplices:n},s=t+".splices";this._notifyPath(s,r),this._notifyPath(t+".length",e.length),this.__data__[s]={keySplices:null,indexSplices:null}},_notifySplice:function(e,t,n,r,s){this._notifySplices(e,t,[{index:n,addedCount:r,removed:s,object:e,type:"splice"}])},push:function(e){var t={},n=this._get(e,this,t),r=Array.prototype.slice.call(arguments,1),s=n.length,i=n.push.apply(n,r);return r.length&&this._notifySplice(n,t.path,s,r.length,[]),i},pop:function(e){var t={},n=this._get(e,this,t),r=Boolean(n.length),s=Array.prototype.slice.call(arguments,1),i=n.pop.apply(n,s);return r&&this._notifySplice(n,t.path,n.length,0,[i]),i},splice:function(e,t){var n={},r=this._get(e,this,n);(t=t<0?r.length-Math.floor(-t):Math.floor(t))||(t=0);var s=Array.prototype.slice.call(arguments,1),i=r.splice.apply(r,s),o=Math.max(s.length-2,0);return(o||i.length)&&this._notifySplice(r,n.path,t,o,i),i},shift:function(e){var t={},n=this._get(e,this,t),r=Boolean(n.length),s=Array.prototype.slice.call(arguments,1),i=n.shift.apply(n,s);return r&&this._notifySplice(n,t.path,0,0,[i]),i},unshift:function(e){var t={},n=this._get(e,this,t),r=Array.prototype.slice.call(arguments,1),s=n.unshift.apply(n,r);return r.length&&this._notifySplice(n,t.path,0,r.length,[]),s},prepareModelNotifyPath:function(e){this.mixin(e,{fire:Polymer.Base.fire,_getEvent:Polymer.Base._getEvent,__eventCache:Polymer.Base.__eventCache,notifyPath:Polymer.Base.notifyPath,_get:Polymer.Base._get,_EVENT_CHANGED:Polymer.Base._EVENT_CHANGED,_notifyPath:Polymer.Base._notifyPath,_notifyPathUp:Polymer.Base._notifyPathUp,_pathEffector:Polymer.Base._pathEffector,_annotationPathEffect:Polymer.Base._annotationPathEffect,_complexObserverPathEffect:Polymer.Base._complexObserverPathEffect,_annotatedComputationPathEffect:Polymer.Base._annotatedComputationPathEffect,_computePathEffect:Polymer.Base._computePathEffect,_notifyBoundPaths:Polymer.Base._notifyBoundPaths,_getPathParts:Polymer.Base._getPathParts})}})}(),Polymer.Base._addFeature({resolveUrl:function(e){return Polymer.ResolveUrl.resolveUrl(e,this._importPath)}}),Polymer.CssParse=function(){return{parse:function(e){return e=this._clean(e),this._parseCss(this._lex(e),e)},_clean:function(e){return e.replace(this._rx.comments,"").replace(this._rx.port,"")},_lex:function(e){for(var t={start:0,end:e.length},n=t,r=0,s=e.length;r<s;r++)switch(e[r]){case this.OPEN_BRACE:n.rules||(n.rules=[]);var i=n;n={start:r+1,parent:i,previous:i.rules[i.rules.length-1]},i.rules.push(n);break;case this.CLOSE_BRACE:n.end=r+1,n=n.parent||t}return t},_parseCss:function(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent){var r=e.previous?e.previous.end:e.parent.start;n=t.substring(r,e.start-1),n=this._expandUnicodeEscapes(n),n=n.replace(this._rx.multipleSpaces," "),n=n.substring(n.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=n.trim();e.atRule=0===s.indexOf(this.AT_START),e.atRule?0===s.indexOf(this.MEDIA_START)?e.type=this.types.MEDIA_RULE:s.match(this._rx.keyframesRule)&&(e.type=this.types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(this._rx.multipleSpaces).pop()):0===s.indexOf(this.VAR_START)?e.type=this.types.MIXIN_RULE:e.type=this.types.STYLE_RULE}var i=e.rules;if(i)for(var o,a=0,l=i.length;a<l&&(o=i[a]);a++)this._parseCss(o,t);return e},_expandUnicodeEscapes:function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e})},stringify:function(e,t,n){n=n||"";var r="";if(e.cssText||e.rules){var s=e.rules;if(s&&!this._hasMixinRules(s))for(var i,o=0,a=s.length;o<a&&(i=s[o]);o++)r=this.stringify(i,t,r);else r=t?e.cssText:this.removeCustomProps(e.cssText),(r=r.trim())&&(r="  "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" "+this.OPEN_BRACE+"\n"),n+=r,e.selector&&(n+=this.CLOSE_BRACE+"\n\n")),n},_hasMixinRules:function(e){return 0===e[0].selector.indexOf(this.VAR_START)},removeCustomProps:function(e){return e=this.removeCustomPropAssignment(e),this.removeCustomPropApply(e)},removeCustomPropAssignment:function(e){return e.replace(this._rx.customProp,"").replace(this._rx.mixinProp,"")},removeCustomPropApply:function(e){return e.replace(this._rx.mixinApply,"").replace(this._rx.varApply,"")},types:{STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE:"{",CLOSE_BRACE:"}",_rx:{comments:/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START:"--",MEDIA_START:"@media",AT_START:"@"}}(),Polymer.StyleUtil=function(){var e=Polymer.Settings;return{NATIVE_VARIABLES:Polymer.Settings.useNativeCSSProperties,MODULE_STYLES_SELECTOR:"style, link[rel=import][type~=css], template",INCLUDE_ATTR:"include",toCssText:function(e,t){return"string"==typeof e&&(e=this.parser.parse(e)),t&&this.forEachRule(e,t),this.parser.stringify(e,this.NATIVE_VARIABLES)},forRulesInStyles:function(e,t,n){if(e)for(var r,s=0,i=e.length;s<i&&(r=e[s]);s++)this.forEachRuleInStyle(r,t,n)},forActiveRulesInStyles:function(e,t,n){if(e)for(var r,s=0,i=e.length;s<i&&(r=e[s]);s++)this.forEachRuleInStyle(r,t,n,!0)},rulesForStyle:function(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=this.parser.parse(e.textContent)),e.__cssRules},isKeyframesSelector:function(e){return e.parent&&e.parent.type===this.ruleTypes.KEYFRAMES_RULE},forEachRuleInStyle:function(e,t,n,r){var s,i,o=this.rulesForStyle(e);t&&(s=function(n){t(n,e)}),n&&(i=function(t){n(t,e)}),this.forEachRule(o,s,i,r)},forEachRule:function(e,t,n,r){if(e){var s=!1;if(r&&e.type===this.ruleTypes.MEDIA_RULE){var i=e.selector.match(this.rx.MEDIA_MATCH);i&&(window.matchMedia(i[1]).matches||(s=!0))}e.type===this.ruleTypes.STYLE_RULE?t(e):n&&e.type===this.ruleTypes.KEYFRAMES_RULE?n(e):e.type===this.ruleTypes.MIXIN_RULE&&(s=!0);var o=e.rules;if(o&&!s)for(var a,l=0,c=o.length;l<c&&(a=o[l]);l++)this.forEachRule(a,t,n,r)}},applyCss:function(e,t,n,r){var s=this.createScopeStyle(e,t);return this.applyStyle(s,n,r)},applyStyle:function(e,t,n){t=t||document.head;var r=n&&n.nextSibling||t.firstChild;return this.__lastHeadApplyNode=e,t.insertBefore(e,r)},createScopeStyle:function(e,t){var n=document.createElement("style");return t&&n.setAttribute("scope",t),n.textContent=e,n},__lastHeadApplyNode:null,applyStylePlaceHolder:function(e){var t=document.createComment(" Shady DOM styles for "+e+" "),n=this.__lastHeadApplyNode?this.__lastHeadApplyNode.nextSibling:null,r=document.head;return r.insertBefore(t,n||r.firstChild),this.__lastHeadApplyNode=t,t},cssFromModules:function(e,t){for(var n=e.trim().split(" "),r="",s=0;s<n.length;s++)r+=this.cssFromModule(n[s],t);return r},cssFromModule:function(e,t){var n=Polymer.DomModule.import(e);return n&&!n._cssText&&(n._cssText=this.cssFromElement(n)),!n&&t&&console.warn("Could not find style data in module named",e),n&&n._cssText||""},cssFromElement:function(e){for(var t,n="",r=e.content||e,s=Polymer.TreeApi.arrayCopy(r.querySelectorAll(this.MODULE_STYLES_SELECTOR)),i=0;i<s.length;i++)if(t=s[i],"template"===t.localName)t.hasAttribute("preserve-content")||(n+=this.cssFromElement(t));else if("style"===t.localName){var o=t.getAttribute(this.INCLUDE_ATTR);o&&(n+=this.cssFromModules(o,!0)),t=t.__appliedElement||t,t.parentNode.removeChild(t),n+=this.resolveCss(t.textContent,e.ownerDocument)}else t.import&&t.import.body&&(n+=this.resolveCss(t.import.body.textContent,t.import));return n},styleIncludesToTemplate:function(e){for(var t,n=e.content.querySelectorAll("style[include]"),r=0;r<n.length;r++)t=n[r],t.parentNode.insertBefore(this._includesToFragment(t.getAttribute("include")),t)},_includesToFragment:function(e){for(var t=e.trim().split(" "),n=document.createDocumentFragment(),r=0;r<t.length;r++){var s=Polymer.DomModule.import(t[r],"template");s&&this._addStylesToFragment(n,s.content)}return n},_addStylesToFragment:function(e,t){for(var n,r=t.querySelectorAll("style"),s=0;s<r.length;s++){n=r[s];var i=n.getAttribute("include");i&&e.appendChild(this._includesToFragment(i)),n.textContent&&e.appendChild(n.cloneNode(!0))}},isTargetedBuild:function(t){return e.useNativeShadow?"shadow"===t:"shady"===t},cssBuildTypeForModule:function(e){var t=Polymer.DomModule.import(e);if(t)return this.getCssBuildType(t)},getCssBuildType:function(e){return e.getAttribute("css-build")},_findMatchingParen:function(e,t){for(var n=0,r=t,s=e.length;r<s;r++)switch(e[r]){case"(":n++;break;case")":if(0==--n)return r}return-1},processVariableAndFallback:function(e,t){var n=e.indexOf("var(");if(-1===n)return t(e,"","","");var r=this._findMatchingParen(e,n+3),s=e.substring(n+4,r),i=e.substring(0,n),o=this.processVariableAndFallback(e.substring(r+1),t),a=s.indexOf(",");return-1===a?t(i,s.trim(),"",o):t(i,s.substring(0,a).trim(),s.substring(a+1).trim(),o)},rx:{VAR_ASSIGN:/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,MIXIN_MATCH:/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,VAR_CONSUMED:/(--[\w-]+)\s*([:,;)]|$)/gi,ANIMATION_MATCH:/(animation\s*:)|(animation-name\s*:)/,MEDIA_MATCH:/@media[^(]*(\([^)]*\))/,IS_VAR:/^--/,BRACKETED:/\{[^}]*\}/g,HOST_PREFIX:"(?:^|[^.#[:])",HOST_SUFFIX:"($|[.:[\\s>+~])"},resolveCss:Polymer.ResolveUrl.resolveCss,parser:Polymer.CssParse,ruleTypes:Polymer.CssParse.types}}(),Polymer.StyleTransformer=function(){var e=Polymer.StyleUtil,t=Polymer.Settings,n={dom:function(e,t,n,r){this._transformDom(e,t||"",n,r)},_transformDom:function(e,t,n,r){e.setAttribute&&this.element(e,t,n,r);for(var s=Polymer.dom(e).childNodes,i=0;i<s.length;i++)this._transformDom(s[i],t,n,r)},element:function(e,t,n,s){if(n)s?e.removeAttribute(r):e.setAttribute(r,t);else if(t)if(e.classList)s?(e.classList.remove(r),e.classList.remove(t)):(e.classList.add(r),e.classList.add(t));else if(e.getAttribute){var i=e.getAttribute(g);s?i&&e.setAttribute(g,i.replace(r,"").replace(t,"")):e.setAttribute(g,(i?i+" ":"")+r+" "+t)}},elementStyles:function(n,r){var s,i=n._styles,o="",a=n.__cssBuild,l=t.useNativeShadow||"shady"===a;if(l){var h=this;s=function(e){e.selector=h._slottedToContent(e.selector),e.selector=e.selector.replace(c,":host > *"),r&&r(e)}}for(var u,f=0,p=i.length;f<p&&(u=i[f]);f++){var _=e.rulesForStyle(u);o+=l?e.toCssText(_,s):this.css(_,n.is,n.extends,r,n._scopeCssViaAttr)+"\n\n"}return o.trim()},css:function(t,n,r,s,i){var o=this._calcHostScope(n,r);n=this._calcElementScope(n,i);var a=this;return e.toCssText(t,function(e){e.isScoped||(a.rule(e,n,o),e.isScoped=!0),s&&s(e,n,o)})},_calcElementScope:function(e,t){return e?t?m+e+y:d+e:""},_calcHostScope:function(e,t){return t?"[is="+e+"]":e},rule:function(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)},_transformRule:function(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)},_transformRuleCss:function(t,n,r,s){var o=t.selector.split(i);if(!e.isKeyframesSelector(t))for(var a,l=0,c=o.length;l<c&&(a=o[l]);l++)o[l]=n.call(this,a,r,s);return o.join(i)},_transformComplexSelector:function(e,t,n){var r=!1,s=!1,a=this;return e=e.trim(),e=this._slottedToContent(e),e=e.replace(c,":host > *"),e=e.replace(P,l+" $1"),e=e.replace(o,function(e,i,o){if(r)o=o.replace(_," ");else{var l=a._transformCompoundSelector(o,i,t,n);r=r||l.stop,s=s||l.hostContext,i=l.combinator,o=l.value}return i+o}),s&&(e=e.replace(f,function(e,t,r,s){return t+r+" "+n+s+i+" "+t+n+r+s})),e},_transformCompoundSelector:function(e,t,n,r){var s=e.search(_),i=!1;e.indexOf(u)>=0?i=!0:e.indexOf(l)>=0?e=this._transformHostSelector(e,r):0!==s&&(e=n?this._transformSimpleSelector(e,n):e),e.indexOf(p)>=0&&(t="");var o;return s>=0&&(e=e.replace(_," "),o=!0),{value:e,combinator:t,stop:o,hostContext:i}},_transformSimpleSelector:function(e,t){var n=e.split(v);return n[0]+=t,n.join(v)},_transformHostSelector:function(e,t){var n=e.match(h),r=n&&n[2].trim()||"";if(r){if(r[0].match(a))return e.replace(h,function(e,n,r){return t+r});return r.split(a)[0]===t?r:S}return e.replace(l,t)},documentRule:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),t.useNativeShadow||this._transformRule(e,this._transformDocumentSelector)},normalizeRootSelector:function(e){e.selector=e.selector.replace(c,"html")},_transformDocumentSelector:function(e){return e.match(_)?this._transformComplexSelector(e,s):this._transformSimpleSelector(e.trim(),s)},_slottedToContent:function(e){return e.replace(E,p+"> $1")},SCOPE_NAME:"style-scope"},r=n.SCOPE_NAME,s=":not(["+r+"]):not(."+r+")",i=",",o=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=\[])+)/g,a=/[[.:#*]/,l=":host",c=":root",h=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,u=":host-context",f=/(.*)(?::host-context)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))(.*)/,p="::content",_=/::content|::shadow|\/deep\//,d=".",m="["+r+"~=",y="]",v=":",g="class",P=new RegExp("^("+p+")"),S="should_not_match",E=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g;return n}(),Polymer.StyleExtends=function(){var e=Polymer.StyleUtil;return{hasExtends:function(e){return Boolean(e.match(this.rx.EXTEND))},transform:function(t){var n=e.rulesForStyle(t),r=this;return e.forEachRule(n,function(e){if(r._mapRuleOntoParent(e),e.parent)for(var t;t=r.rx.EXTEND.exec(e.cssText);){var n=t[1],s=r._findExtendor(n,e);s&&r._extendRule(e,s)}e.cssText=e.cssText.replace(r.rx.EXTEND,"")}),e.toCssText(n,function(e){e.selector.match(r.rx.STRIP)&&(e.cssText="")},!0)},_mapRuleOntoParent:function(e){if(e.parent){for(var t,n=e.parent.map||(e.parent.map={}),r=e.selector.split(","),s=0;s<r.length;s++)t=r[s],n[t.trim()]=e;return n}},_findExtendor:function(e,t){return t.parent&&t.parent.map&&t.parent.map[e]||this._findExtendor(e,t.parent)},_extendRule:function(e,t){e.parent!==t.parent&&this._cloneAndAddRuleToParent(t,e.parent),e.extends=e.extends||[],e.extends.push(t),t.selector=t.selector.replace(this.rx.STRIP,""),t.selector=(t.selector&&t.selector+",\n")+e.selector,t.extends&&t.extends.forEach(function(t){this._extendRule(e,t)},this)},_cloneAndAddRuleToParent:function(e,t){e=Object.create(e),e.parent=t,e.extends&&(e.extends=e.extends.slice()),t.rules.push(e)},rx:{EXTEND:/@extends\(([^)]*)\)\s*?;/gim,STRIP:/%[^,]*$/}}}(),Polymer.ApplyShim=function(){"use strict";function e(e,t){e=e.trim(),d[e]={properties:t,dependants:{}}}function t(e){return e=e.trim(),d[e]}function n(e,t){var n=p.exec(t);return n&&(t=n[1]?m._getInitialValueForProperty(e):"apply-shim-inherit"),t}function r(e){for(var t,r,s,i,o=e.split(";"),a={},l=0;l<o.length;l++)(s=o[l])&&(i=s.split(":"),i.length>1&&(t=i[0].trim(),r=n(t,i.slice(1).join(":")),a[t]=r));return a}function s(e){var t=m.__currentElementProto,n=t&&t.is;for(var r in e.dependants)r!==n&&(e.dependants[r].__applyShimInvalid=!0)}function i(n,i,o,a){if(o&&c.processVariableAndFallback(o,function(e,n){n&&t(n)&&(a="@apply "+n+";")}),!a)return n;var h=l(a),u=n.slice(0,n.indexOf("--")),f=r(h),p=f,d=t(i),m=d&&d.properties;m?(p=Object.create(m),p=Polymer.Base.mixin(p,f)):e(i,p);var y,v,g=[],P=!1;for(y in p)v=f[y],void 0===v&&(v="initial"),!m||y in m||(P=!0),g.push(i+_+y+": "+v);return P&&s(d),d&&(d.properties=p),o&&(u=n+";"+u),u+g.join("; ")+";"}function o(e,t,n){return"var("+t+",var("+n+"))"}function a(n,r){n=n.replace(f,"");var s=[],i=t(n);if(i||(e(n,{}),i=t(n)),i){var o=m.__currentElementProto;o&&(i.dependants[o.is]=o);var a,l,c;for(a in i.properties)c=r&&r[a],l=[a,": var(",n,_,a],c&&l.push(",",c),l.push(")"),s.push(l.join(""))}return s.join("; ")}function l(e){for(var t;t=h.exec(e);){var n=t[0],s=t[1],i=t.index,o=i+n.indexOf("@apply"),l=i+n.length,c=e.slice(0,o),u=e.slice(l),f=r(c),p=a(s,f);e=[c,p,u].join(""),h.lastIndex=i+p.length}return e}var c=Polymer.StyleUtil,h=c.rx.MIXIN_MATCH,u=c.rx.VAR_ASSIGN,f=/;\s*/m,p=/^\s*(initial)|(inherit)\s*$/,_="_-_",d={},m={_measureElement:null,_map:d,_separator:_,transform:function(e,t){this.__currentElementProto=t,c.forRulesInStyles(e,this._boundFindDefinitions),c.forRulesInStyles(e,this._boundFindApplications),t&&(t.__applyShimInvalid=!1),this.__currentElementProto=null},_findDefinitions:function(e){var t=e.parsedCssText;t=t.replace(/var\(\s*(--[^,]*),\s*(--[^)]*)\)/g,o),t=t.replace(u,i),e.cssText=t,":root"===e.selector&&(e.selector=":host > *")},_findApplications:function(e){e.cssText=l(e.cssText)},transformRule:function(e){this._findDefinitions(e),this._findApplications(e)},_getInitialValueForProperty:function(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}};return m._boundTransformRule=m.transformRule.bind(m),m._boundFindDefinitions=m._findDefinitions.bind(m),m._boundFindApplications=m._findApplications.bind(m),m}(),function(){var e=Polymer.Base._prepElement,t=Polymer.Settings.useNativeShadow,n=Polymer.StyleUtil,r=Polymer.StyleTransformer,s=Polymer.StyleExtends,i=Polymer.ApplyShim,o=Polymer.Settings;Polymer.Base._addFeature({_prepElement:function(t){this._encapsulateStyle&&"shady"!==this.__cssBuild&&r.element(t,this.is,this._scopeCssViaAttr),e.call(this,t)},_prepStyles:function(){void 0===this._encapsulateStyle&&(this._encapsulateStyle=!t),t||(this._scopeStyle=n.applyStylePlaceHolder(this.is)),this.__cssBuild=n.cssBuildTypeForModule(this.is)},_prepShimStyles:function(){if(this._template){var e=n.isTargetedBuild(this.__cssBuild);if(o.useNativeCSSProperties&&"shadow"===this.__cssBuild&&e)return void(o.preserveStyleIncludes&&n.styleIncludesToTemplate(this._template));this._styles=this._styles||this._collectStyles(),o.useNativeCSSProperties&&!this.__cssBuild&&i.transform(this._styles,this);var s=o.useNativeCSSProperties&&e?this._styles.length&&this._styles[0].textContent.trim():r.elementStyles(this);this._prepStyleProperties(),!this._needsStyleProperties()&&s&&n.applyCss(s,this.is,t?this._template.content:null,this._scopeStyle)}else this._styles=[]},_collectStyles:function(){var e=[],t="",r=this.styleModules;if(r)for(var i,o=0,a=r.length;o<a&&(i=r[o]);o++)t+=n.cssFromModule(i);t+=n.cssFromModule(this.is);var l=this._template&&this._template.parentNode;if(!this._template||l&&l.id.toLowerCase()===this.is||(t+=n.cssFromElement(this._template)),t){var c=document.createElement("style");c.textContent=t,s.hasExtends(c.textContent)&&(t=s.transform(c)),e.push(c)}return e},_elementAdd:function(e){this._encapsulateStyle&&(e.__styleScoped?e.__styleScoped=!1:r.dom(e,this.is,this._scopeCssViaAttr))},_elementRemove:function(e){this._encapsulateStyle&&r.dom(e,this.is,this._scopeCssViaAttr,!0)},scopeSubtree:function(e,n){if(!t){var r=this,s=function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e.getAttribute("class");e.setAttribute("class",r._scopeElementClass(e,t));for(var n,s=e.querySelectorAll("*"),i=0;i<s.length&&(n=s[i]);i++)t=n.getAttribute("class"),n.setAttribute("class",r._scopeElementClass(n,t))}};if(s(e),n){var i=new MutationObserver(function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++)if(t.addedNodes)for(var r=0;r<t.addedNodes.length;r++)s(t.addedNodes[r])});return i.observe(e,{childList:!0,subtree:!0}),i}}}})}(),Polymer.StyleProperties=function(){"use strict";function e(e,t){var n=parseInt(e/32),r=1<<e%32;t[n]=(t[n]||0)|r}var t=Polymer.DomApi.matchesSelector,n=Polymer.StyleUtil,r=Polymer.StyleTransformer,s=navigator.userAgent.match("Trident"),i=Polymer.Settings;return{decorateStyles:function(e,t){var s=this,i={},o=[],a=0,l=r._calcHostScope(t.is,t.extends);n.forRulesInStyles(e,function(e,r){s.decorateRule(e),e.index=a++,s.whenHostOrRootRule(t,e,r,function(r){if(e.parent.type===n.ruleTypes.MEDIA_RULE&&(t.__notStyleScopeCacheable=!0),r.isHost){var s=r.selector.split(" ").some(function(e){return 0===e.indexOf(l)&&e.length!==l.length});t.__notStyleScopeCacheable=t.__notStyleScopeCacheable||s}}),s.collectPropertiesInCssText(e.propertyInfo.cssText,i)},function(e){o.push(e)}),e._keyframes=o;var c=[];for(var h in i)c.push(h);return c},decorateRule:function(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t},collectProperties:function(e,t){var n=e.propertyInfo;if(!n){for(var r,s,i,o=this.rx.VAR_ASSIGN,a=e.parsedCssText;r=o.exec(a);)s=(r[2]||r[3]).trim(),"inherit"!==s&&(t[r[1].trim()]=s),i=!0;return i}if(n.properties)return Polymer.Base.mixin(t,n.properties),!0},collectCssText:function(e){return this.collectConsumingCssText(e.parsedCssText)},collectConsumingCssText:function(e){return e.replace(this.rx.BRACKETED,"").replace(this.rx.VAR_ASSIGN,"")},collectPropertiesInCssText:function(e,t){for(var n;n=this.rx.VAR_CONSUMED.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}},reify:function(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++)t=n[r],e[t]=this.valueForProperty(e[t],e)},valueForProperty:function(e,t){if(e)if(e.indexOf(";")>=0)e=this.valueForProperties(e,t);else{var r=this,s=function(e,n,s,i){var o=r.valueForProperty(t[n],t);return o&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=r.valueForProperty(t[s]||s,t)||s,e+(o||"")+i};e=n.processVariableAndFallback(e,s)}return e&&e.trim()||""},valueForProperties:function(e,t){for(var n,r,s=e.split(";"),i=0;i<s.length;i++)if(n=s[i]){if(this.rx.MIXIN_MATCH.lastIndex=0,r=this.rx.MIXIN_MATCH.exec(n))n=this.valueForProperty(t[r[1]],t);else{var o=n.indexOf(":");if(-1!==o){var a=n.substring(o);a=a.trim(),a=this.valueForProperty(a,t)||a,n=n.substring(0,o)+a}}s[i]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return s.join(";")},applyProperties:function(e,t){var n="";e.propertyInfo||this.decorateRule(e),e.propertyInfo.cssText&&(n=this.valueForProperties(e.propertyInfo.cssText,t)),e.cssText=n},applyKeyframeTransforms:function(e,t){var n=e.cssText,r=e.cssText;if(null==e.hasAnimations&&(e.hasAnimations=this.rx.ANIMATION_MATCH.test(n)),e.hasAnimations){var s;if(null==e.keyframeNamesToTransform){e.keyframeNamesToTransform=[];for(var i in t)s=t[i],r=s(n),n!==r&&(n=r,e.keyframeNamesToTransform.push(i))}else{for(var o=0;o<e.keyframeNamesToTransform.length;++o)s=t[e.keyframeNamesToTransform[o]],n=s(n);r=n}}e.cssText=r},propertyDataFromStyles:function(r,s){var i={},o=this,a=[];return n.forActiveRulesInStyles(r,function(n){n.propertyInfo||o.decorateRule(n);var r=n.transformedSelector||n.parsedSelector;s&&n.propertyInfo.properties&&r&&t.call(s,r)&&(o.collectProperties(n,i),e(n.index,a))}),{properties:i,key:a}},_rootSelector:/:root|:host\s*>\s*\*/,_checkRoot:function(e,t){return Boolean(t.match(this._rootSelector))||"html"===e&&t.indexOf("html")>-1},whenHostOrRootRule:function(e,t,n,s){if(t.propertyInfo||self.decorateRule(t),t.propertyInfo.properties){var o=e.is?r._calcHostScope(e.is,e.extends):"html",a=t.parsedSelector,l=this._checkRoot(o,a),c=!l&&0===a.indexOf(":host");if("shady"===(e.__cssBuild||n.__cssBuild)&&(l=a===o+" > *."+o||a.indexOf("html")>-1,c=!l&&0===a.indexOf(o)),l||c){var h=o;c&&(i.useNativeShadow&&!t.transformedSelector&&(t.transformedSelector=r._transformRuleCss(t,r._transformComplexSelector,e.is,o)),h=t.transformedSelector||t.parsedSelector),l&&"html"===o&&(h=t.transformedSelector||t.parsedSelector),s({selector:h,isHost:c,isRoot:l})}}},hostAndRootPropertiesForScope:function(e){var r={},s={},i=this;return n.forActiveRulesInStyles(e._styles,function(n,o){i.whenHostOrRootRule(e,n,o,function(o){var a=e._element||e;t.call(a,o.selector)&&(o.isHost?i.collectProperties(n,r):i.collectProperties(n,s))})}),{rootProps:s,hostProps:r}},transformStyles:function(e,t,n){var s=this,o=r._calcHostScope(e.is,e.extends),a=e.extends?"\\"+o.slice(0,-1)+"\\]":o,l=new RegExp(this.rx.HOST_PREFIX+a+this.rx.HOST_SUFFIX),c=this._elementKeyframeTransforms(e,n);return r.elementStyles(e,function(r){s.applyProperties(r,t),i.useNativeShadow||Polymer.StyleUtil.isKeyframesSelector(r)||!r.cssText||(s.applyKeyframeTransforms(r,c),s._scopeSelector(r,l,o,e._scopeCssViaAttr,n))})},_elementKeyframeTransforms:function(e,t){var n=e._styles._keyframes,r={};if(!i.useNativeShadow&&n)for(var s=0,o=n[s];s<n.length;o=n[++s])this._scopeKeyframes(o,t),r[o.keyframesName]=this._keyframesRuleTransformer(o);return r},_keyframesRuleTransformer:function(e){return function(t){return t.replace(e.keyframesNameRx,e.transformedKeyframesName)}},_scopeKeyframes:function(e,t){e.keyframesNameRx=new RegExp(e.keyframesName,"g"),e.transformedKeyframesName=e.keyframesName+"-"+t,e.transformedSelector=e.transformedSelector||e.selector,e.selector=e.transformedSelector.replace(e.keyframesName,e.transformedKeyframesName)},_scopeSelector:function(e,t,n,s,i){e.transformedSelector=e.transformedSelector||e.selector;for(var o,a=e.transformedSelector,l=s?"["+r.SCOPE_NAME+"~="+i+"]":"."+i,c=a.split(","),h=0,u=c.length;h<u&&(o=c[h]);h++)c[h]=o.match(t)?o.replace(n,l):l+" "+o;e.selector=c.join(",")},applyElementScopeSelector:function(e,t,n,s){var i=s?e.getAttribute(r.SCOPE_NAME):e.getAttribute("class")||"",o=n?i.replace(n,t):(i?i+" ":"")+this.XSCOPE_NAME+" "+t;i!==o&&(s?e.setAttribute(r.SCOPE_NAME,o):e.setAttribute("class",o))},applyElementStyle:function(e,t,r,o){var a=o?o.textContent||"":this.transformStyles(e,t,r),l=e._customStyle;return l&&!i.useNativeShadow&&l!==o&&--l._useCount<=0&&l.parentNode&&l.parentNode.removeChild(l),i.useNativeShadow?e._customStyle?(e._customStyle.textContent=a,o=e._customStyle):a&&(o=n.applyCss(a,r,e.root,e._scopeStyle)):o?o.parentNode||(s&&a.indexOf("@media")>-1&&(o.textContent=a),n.applyStyle(o,null,e._scopeStyle)):a&&(o=n.applyCss(a,r,null,e._scopeStyle)),o&&(o._useCount=o._useCount||0,e._customStyle!=o&&o._useCount++,e._customStyle=o),o},mixinCustomStyle:function(e,t){var n;for(var r in t)((n=t[r])||0===n)&&(e[r]=n)},updateNativeStyleProperties:function(e,t){var n=e.__customStyleProperties;if(n)for(var r=0;r<n.length;r++)e.style.removeProperty(n[r]);var s=[];for(var i in t)null!==t[i]&&(e.style.setProperty(i,t[i]),s.push(i));e.__customStyleProperties=s},rx:n.rx,XSCOPE_NAME:"x-scope"}}(),function(){Polymer.StyleCache=function(){this.cache={}},Polymer.StyleCache.prototype={MAX:100,store:function(e,t,n,r){t.keyValues=n,t.styles=r;var s=this.cache[e]=this.cache[e]||[];s.push(t),s.length>this.MAX&&s.shift()},retrieve:function(e,t,n){var r=this.cache[e];if(r)for(var s,i=r.length-1;i>=0;i--)if(s=r[i],n===s.styles&&this._objectsEqual(t,s.keyValues))return s},clear:function(){this.cache={}},_objectsEqual:function(e,t){var n,r;for(var s in e)if(n=e[s],r=t[s],!("object"==typeof n&&n?this._objectsStrictlyEqual(n,r):n===r))return!1;return!Array.isArray(e)||e.length===t.length},_objectsStrictlyEqual:function(e,t){return this._objectsEqual(e,t)&&this._objectsEqual(t,e)}}}(),Polymer.StyleDefaults=function(){var e=Polymer.StyleProperties,t=Polymer.StyleCache,n=Polymer.Settings.useNativeCSSProperties;return{_styles:[],_properties:null,customStyle:{},_styleCache:new t,_element:Polymer.DomApi.wrap(document.documentElement),addStyle:function(e){this._styles.push(e),this._properties=null},get _styleProperties(){return this._properties||(e.decorateStyles(this._styles,this),this._styles._scopeStyleProperties=null,this._properties=e.hostAndRootPropertiesForScope(this).rootProps,e.mixinCustomStyle(this._properties,this.customStyle),e.reify(this._properties)),this._properties},hasStyleProperties:function(){return Boolean(this._properties)},_needsStyleProperties:function(){},_computeStyleProperties:function(){return this._styleProperties},updateStyles:function(t){this._properties=null,t&&Polymer.Base.mixin(this.customStyle,t),this._styleCache.clear();for(var r,s=0;s<this._styles.length;s++)r=this._styles[s],r=r.__importElement||r,r._apply()
  4. ;n&&e.updateNativeStyleProperties(document.documentElement,this.customStyle)}}}(),function(){"use strict";var e=Polymer.Base.serializeValueToAttribute,t=Polymer.StyleProperties,n=Polymer.StyleTransformer,r=Polymer.StyleDefaults,s=Polymer.Settings.useNativeShadow,i=Polymer.Settings.useNativeCSSProperties;Polymer.Base._addFeature({_prepStyleProperties:function(){i||(this._ownStylePropertyNames=this._styles&&this._styles.length?t.decorateStyles(this._styles,this):null)},customStyle:null,getComputedStyleValue:function(e){return i||this._styleProperties||this._computeStyleProperties(),!i&&this._styleProperties&&this._styleProperties[e]||getComputedStyle(this).getPropertyValue(e)},_setupStyleProperties:function(){this.customStyle={},this._styleCache=null,this._styleProperties=null,this._scopeSelector=null,this._ownStyleProperties=null,this._customStyle=null},_needsStyleProperties:function(){return Boolean(!i&&this._ownStylePropertyNames&&this._ownStylePropertyNames.length)},_validateApplyShim:function(){if(this.__applyShimInvalid){Polymer.ApplyShim.transform(this._styles,this.__proto__);var e=n.elementStyles(this);if(s){var t=this._template.content.querySelector("style");t&&(t.textContent=e)}else{var r=this._scopeStyle&&this._scopeStyle.nextSibling;r&&(r.textContent=e)}}},_beforeAttached:function(){this._scopeSelector&&!this.__stylePropertiesInvalid||!this._needsStyleProperties()||(this.__stylePropertiesInvalid=!1,this._updateStyleProperties())},_findStyleHost:function(){for(var e,t=this;e=Polymer.dom(t).getOwnerRoot();){if(Polymer.isInstance(e.host))return e.host;t=e.host}return r},_updateStyleProperties:function(){var e,n=this._findStyleHost();n._styleProperties||n._computeStyleProperties(),n._styleCache||(n._styleCache=new Polymer.StyleCache);var r=t.propertyDataFromStyles(n._styles,this),i=!this.__notStyleScopeCacheable;i&&(r.key.customStyle=this.customStyle,e=n._styleCache.retrieve(this.is,r.key,this._styles));var a=Boolean(e);a?this._styleProperties=e._styleProperties:this._computeStyleProperties(r.properties),this._computeOwnStyleProperties(),a||(e=o.retrieve(this.is,this._ownStyleProperties,this._styles));var l=Boolean(e)&&!a,c=this._applyStyleProperties(e);a||(c=c&&s?c.cloneNode(!0):c,e={style:c,_scopeSelector:this._scopeSelector,_styleProperties:this._styleProperties},i&&(r.key.customStyle={},this.mixin(r.key.customStyle,this.customStyle),n._styleCache.store(this.is,e,r.key,this._styles)),l||o.store(this.is,Object.create(e),this._ownStyleProperties,this._styles))},_computeStyleProperties:function(e){var n=this._findStyleHost();n._styleProperties||n._computeStyleProperties();var r=Object.create(n._styleProperties),s=t.hostAndRootPropertiesForScope(this);this.mixin(r,s.hostProps),e=e||t.propertyDataFromStyles(n._styles,this).properties,this.mixin(r,e),this.mixin(r,s.rootProps),t.mixinCustomStyle(r,this.customStyle),t.reify(r),this._styleProperties=r},_computeOwnStyleProperties:function(){for(var e,t={},n=0;n<this._ownStylePropertyNames.length;n++)e=this._ownStylePropertyNames[n],t[e]=this._styleProperties[e];this._ownStyleProperties=t},_scopeCount:0,_applyStyleProperties:function(e){var n=this._scopeSelector;this._scopeSelector=e?e._scopeSelector:this.is+"-"+this.__proto__._scopeCount++;var r=t.applyElementStyle(this,this._styleProperties,this._scopeSelector,e&&e.style);return s||t.applyElementScopeSelector(this,this._scopeSelector,n,this._scopeCssViaAttr),r},serializeValueToAttribute:function(t,n,r){if(r=r||this,"class"===n&&!s){var i=r===this?this.domHost||this.dataHost:this;i&&(t=i._scopeElementClass(r,t))}r=this.shadyRoot&&this.shadyRoot._hasDistributed?Polymer.dom(r):r,e.call(this,t,n,r)},_scopeElementClass:function(e,t){return s||this._scopeCssViaAttr||(t=(t?t+" ":"")+a+" "+this.is+(e._scopeSelector?" "+l+" "+e._scopeSelector:"")),t},updateStyles:function(e){e&&this.mixin(this.customStyle,e),i?t.updateNativeStyleProperties(this,this.customStyle):(this.isAttached?this._needsStyleProperties()?this._updateStyleProperties():this._styleProperties=null:this.__stylePropertiesInvalid=!0,this._styleCache&&this._styleCache.clear(),this._updateRootStyles())},_updateRootStyles:function(e){e=e||this.root;for(var t,n=Polymer.dom(e)._query(function(e){return e.shadyRoot||e.shadowRoot}),r=0,s=n.length;r<s&&(t=n[r]);r++)t.updateStyles&&t.updateStyles()}}),Polymer.updateStyles=function(e){r.updateStyles(e),Polymer.Base._updateRootStyles(document)};var o=new Polymer.StyleCache;Polymer.customStyleCache=o;var a=n.SCOPE_NAME,l=t.XSCOPE_NAME}(),Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this.factoryImpl&&this._prepConstructor(),this._prepStyles()},_finishRegisterFeatures:function(){this._prepTemplate(),this._prepShimStyles(),this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepPropertyInfo(),this._prepBindings(),this._prepShady()},_prepBehavior:function(e){this._addPropertyEffects(e.properties),this._addComplexObserverEffects(e.observers),this._addHostAttributes(e.hostAttributes)},_initFeatures:function(){this._setupGestures(),this._setupConfigure(this.__data__),this._setupStyleProperties(),this._setupDebouncers(),this._setupShady(),this._registerHost(),this._template&&(this._validateApplyShim(),this._poolContent(),this._beginHosting(),this._stampTemplate(),this._endHosting(),this._marshalAnnotationReferences()),this._marshalInstanceEffects(),this._marshalBehaviors(),this._marshalHostAttributes(),this._marshalAttributes(),this._tryReady()},_marshalBehavior:function(e){e.listeners&&this._listenListeners(e.listeners)}}),function(){var e,t=Polymer.StyleProperties,n=Polymer.StyleUtil,r=Polymer.CssParse,s=Polymer.StyleDefaults,i=Polymer.StyleTransformer,o=Polymer.ApplyShim,a=Polymer.Debounce,l=Polymer.Settings;Polymer({is:"custom-style",extends:"style",_template:null,properties:{include:String},ready:function(){this.__appliedElement=this.__appliedElement||this,this.__cssBuild=n.getCssBuildType(this),this.__appliedElement!==this&&(this.__appliedElement.__cssBuild=this.__cssBuild),this._tryApply()},attached:function(){this._tryApply()},_tryApply:function(){if(!this._appliesToDocument&&this.parentNode&&"dom-module"!==this.parentNode.localName){this._appliesToDocument=!0;var e=this.__appliedElement;if(l.useNativeCSSProperties||(this.__needsUpdateStyles=s.hasStyleProperties(),s.addStyle(e)),e.textContent||this.include)this._apply(!0);else{var t=this,n=new MutationObserver(function(){n.disconnect(),t._apply(!0)});n.observe(e,{childList:!0})}}},_updateStyles:function(){Polymer.updateStyles()},_apply:function(e){var t=this.__appliedElement;if(this.include&&(t.textContent=n.cssFromModules(this.include,!0)+t.textContent),t.textContent){var r=this.__cssBuild,s=n.isTargetedBuild(r);if(!l.useNativeCSSProperties||!s){var a=n.rulesForStyle(t);if(s||(n.forEachRule(a,function(e){i.documentRule(e)}),l.useNativeCSSProperties&&!r&&o.transform([t])),l.useNativeCSSProperties)t.textContent=n.toCssText(a);else{var c=this,h=function(){c._flushCustomProperties()};e?Polymer.RenderStatus.whenReady(h):h()}}}},_flushCustomProperties:function(){this.__needsUpdateStyles?(this.__needsUpdateStyles=!1,e=a(e,this._updateStyles)):this._applyCustomProperties()},_applyCustomProperties:function(){var e=this.__appliedElement;this._computeStyleProperties();var s=this._styleProperties,i=n.rulesForStyle(e);i&&(e.textContent=n.toCssText(i,function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=r.removeCustomPropAssignment(n),e.cssText=t.valueForProperties(n,s))}))}})}(),Polymer.Templatizer={properties:{__hideTemplateChildren__:{observer:"_showHideChildren"}},_instanceProps:Polymer.nob,_parentPropPrefix:"_parent_",templatize:function(e){if(this._templatized=e,e._content||(e._content=e.content),e._content._ctor)return this.ctor=e._content._ctor,void this._prepParentProperties(this.ctor.prototype,e);var t=Object.create(Polymer.Base);this._customPrepAnnotations(t,e),this._prepParentProperties(t,e),t._prepEffects(),this._customPrepEffects(t),t._prepBehaviors(),t._prepPropertyInfo(),t._prepBindings(),t._notifyPathUp=this._notifyPathUpImpl,t._scopeElementClass=this._scopeElementClassImpl,t.listen=this._listenImpl,t._showHideChildren=this._showHideChildrenImpl,t.__setPropertyOrig=this.__setProperty,t.__setProperty=this.__setPropertyImpl;var n=this._constructorImpl,r=function(e,t){n.call(this,e,t)};r.prototype=t,t.constructor=r,e._content._ctor=r,this.ctor=r},_getRootDataHost:function(){return this.dataHost&&this.dataHost._rootDataHost||this.dataHost},_showHideChildrenImpl:function(e){for(var t=this._children,n=0;n<t.length;n++){var r=t[n];Boolean(e)!=Boolean(r.__hideTemplateChildren__)&&(r.nodeType===Node.TEXT_NODE?e?(r.__polymerTextContent__=r.textContent,r.textContent=""):r.textContent=r.__polymerTextContent__:r.style&&(e?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r.__polymerDisplay__)),r.__hideTemplateChildren__=e}},__setPropertyImpl:function(e,t,n,r){r&&r.__hideTemplateChildren__&&"textContent"==e&&(e="__polymerTextContent__"),this.__setPropertyOrig(e,t,n,r)},_debounceTemplate:function(e){Polymer.dom.addDebouncer(this.debounce("_debounceTemplate",e))},_flushTemplates:function(){Polymer.dom.flush()},_customPrepEffects:function(e){var t=e._parentProps;for(var n in t)e._addPropertyEffect(n,"function",this._createHostPropEffector(n));for(n in this._instanceProps)e._addPropertyEffect(n,"function",this._createInstancePropEffector(n))},_customPrepAnnotations:function(e,t){e._template=t;var n=t._content;if(!n._notes){var r=e._rootDataHost;r&&(Polymer.Annotations.prepElement=function(){r._prepElement()}),n._notes=Polymer.Annotations.parseAnnotations(t),Polymer.Annotations.prepElement=null,this._processAnnotations(n._notes)}e._notes=n._notes,e._parentProps=n._parentProps},_prepParentProperties:function(e,t){var n=this._parentProps=e._parentProps;if(this._forwardParentProp&&n){var r,s=e._parentPropProto;if(!s){for(r in this._instanceProps)delete n[r];s=e._parentPropProto=Object.create(null),t!=this&&(Polymer.Bind.prepareModel(s),Polymer.Base.prepareModelNotifyPath(s));for(r in n){var i=this._parentPropPrefix+r,o=[{kind:"function",effect:this._createForwardPropEffector(r),fn:Polymer.Bind._functionEffect},{kind:"notify",fn:Polymer.Bind._notifyEffect,effect:{event:Polymer.CaseMap.camelToDashCase(i)+"-changed"}}];s._propertyEffects=s._propertyEffects||{},s._propertyEffects[i]=o,Polymer.Bind._createAccessors(s,i,o)}}var a=this;t!=this&&(Polymer.Bind.prepareInstance(t),t._forwardParentProp=function(e,t){a._forwardParentProp(e,t)}),this._extendTemplate(t,s),t._pathEffector=function(e,t,n){return a._pathEffectorImpl(e,t,n)}}},_createForwardPropEffector:function(e){return function(t,n){this._forwardParentProp(e,n)}},_createHostPropEffector:function(e){var t=this._parentPropPrefix;return function(n,r){this.dataHost._templatized[t+e]=r}},_createInstancePropEffector:function(e){return function(t,n,r,s){s||this.dataHost._forwardInstanceProp(this,e,n)}},_extendTemplate:function(e,t){var n=Object.getOwnPropertyNames(t);t._propertySetter&&(e._propertySetter=t._propertySetter);for(var r,s=0;s<n.length&&(r=n[s]);s++){var i=e[r];if(i&&"_propertyEffects"==r){var o=Polymer.Base.mixin({},i);e._propertyEffects=Polymer.Base.mixin(o,t._propertyEffects)}else{var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,a),void 0!==i&&e._propertySetter(r,i)}}},_showHideChildren:function(e){},_forwardInstancePath:function(e,t,n){},_forwardInstanceProp:function(e,t,n){},_notifyPathUpImpl:function(e,t){var n=this.dataHost,r=Polymer.Path.root(e);n._forwardInstancePath.call(n,this,e,t),r in n._parentProps&&n._templatized._notifyPath(n._parentPropPrefix+e,t)},_pathEffectorImpl:function(e,t,n){if(this._forwardParentPath&&0===e.indexOf(this._parentPropPrefix)){var r=e.substring(this._parentPropPrefix.length);Polymer.Path.root(r)in this._parentProps&&this._forwardParentPath(r,t)}Polymer.Base._pathEffector.call(this._templatized,e,t,n)},_constructorImpl:function(e,t){this._rootDataHost=t._getRootDataHost(),this._setupConfigure(e),this._registerHost(t),this._beginHosting(),this.root=this.instanceTemplate(this._template),this.root.__noContent=!this._notes._hasContent,this.root.__styleScoped=!0,this._endHosting(),this._marshalAnnotatedNodes(),this._marshalInstanceEffects(),this._marshalAnnotatedListeners();for(var n=[],r=this.root.firstChild;r;r=r.nextSibling)n.push(r),r._templateInstance=this;this._children=n,t.__hideTemplateChildren__&&this._showHideChildren(!0),this._tryReady()},_listenImpl:function(e,t,n){var r=this,s=this._rootDataHost,i=s._createEventHandler(e,t,n),o=function(e){e.model=r,i(e)};s._listen(e,t,o)},_scopeElementClassImpl:function(e,t){var n=this._rootDataHost;return n?n._scopeElementClass(e,t):t},stamp:function(e){if(e=e||{},this._parentProps){var t=this._templatized;for(var n in this._parentProps)void 0===e[n]&&(e[n]=t[this._parentPropPrefix+n])}return new this.ctor(e,this)},modelForElement:function(e){for(var t;e;)if(t=e._templateInstance){if(t.dataHost==this)return t;e=t.dataHost}else e=e.parentNode}},Polymer({is:"dom-template",extends:"template",_template:null,behaviors:[Polymer.Templatizer],ready:function(){this.templatize(this)}}),Polymer._collections=new WeakMap,Polymer.Collection=function(e){Polymer._collections.set(e,this),this.userArray=e,this.store=e.slice(),this.initMap()},Polymer.Collection.prototype={constructor:Polymer.Collection,initMap:function(){for(var e=this.omap=new WeakMap,t=this.pmap={},n=this.store,r=0;r<n.length;r++){var s=n[r];s&&"object"==typeof s?e.set(s,r):t[s]=r}},add:function(e){var t=this.store.push(e)-1;return e&&"object"==typeof e?this.omap.set(e,t):this.pmap[e]=t,"#"+t},removeKey:function(e){(e=this._parseKey(e))&&(this._removeFromMap(this.store[e]),delete this.store[e])},_removeFromMap:function(e){e&&"object"==typeof e?this.omap.delete(e):delete this.pmap[e]},remove:function(e){var t=this.getKey(e);return this.removeKey(t),t},getKey:function(e){var t;if(void 0!=(t=e&&"object"==typeof e?this.omap.get(e):this.pmap[e]))return"#"+t},getKeys:function(){return Object.keys(this.store).map(function(e){return"#"+e})},_parseKey:function(e){if(e&&"#"==e[0])return e.slice(1)},setItem:function(e,t){if(e=this._parseKey(e)){var n=this.store[e];n&&this._removeFromMap(n),t&&"object"==typeof t?this.omap.set(t,e):this.pmap[t]=e,this.store[e]=t}},getItem:function(e){if(e=this._parseKey(e))return this.store[e]},getItems:function(){var e=[],t=this.store;for(var n in t)e.push(t[n]);return e},_applySplices:function(e){for(var t,n,r={},s=0;s<e.length&&(n=e[s]);s++){n.addedKeys=[];for(var i=0;i<n.removed.length;i++)t=this.getKey(n.removed[i]),r[t]=r[t]?null:-1;for(i=0;i<n.addedCount;i++){var o=this.userArray[n.index+i];t=this.getKey(o),t=void 0===t?this.add(o):t,r[t]=r[t]?null:1,n.addedKeys.push(t)}}var a=[],l=[];for(t in r)r[t]<0&&(this.removeKey(t),a.push(t)),r[t]>0&&l.push(t);return[{removed:a,added:l}]}},Polymer.Collection.get=function(e){return Polymer._collections.get(e)||new Polymer.Collection(e)},Polymer.Collection.applySplices=function(e,t){var n=Polymer._collections.get(e);return n?n._applySplices(t):null},Polymer({is:"dom-repeat",extends:"template",_template:null,properties:{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},sort:{type:Function,observer:"_sortChanged"},filter:{type:Function,observer:"_filterChanged"},observe:{type:String,observer:"_observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!Polymer.Settings.suppressTemplateNotifications,readOnly:!0},initialCount:{type:Number,observer:"_initializeChunking"},targetFramerate:{type:Number,value:20},notifyDomChange:{type:Boolean},_targetFrameTime:{type:Number,computed:"_computeFrameTime(targetFramerate)"}},behaviors:[Polymer.Templatizer],observers:["_itemsChanged(items.*)"],created:function(){this._instances=[],this._pool=[],this._limit=1/0;var e=this;this._boundRenderChunk=function(){e._renderChunk()}},detached:function(){this.__isDetached=!0;for(var e=0;e<this._instances.length;e++)this._detachInstance(e)},attached:function(){if(this.__isDetached){this.__isDetached=!1;var e,t=Polymer.dom(this).parentNode;t.localName==this.is?(e=t,t=Polymer.dom(t).parentNode):e=this;for(var n=Polymer.dom(t),r=0;r<this._instances.length;r++)this._attachInstance(r,n,e)}},ready:function(){this._instanceProps={__key__:!0},this._instanceProps[this.as]=!0,this._instanceProps[this.indexAs]=!0,this.ctor||this.templatize(this)},_sortChanged:function(e){var t=this._getRootDataHost();this._sortFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,arguments)}),this._needFullRefresh=!0,this.items&&this._debounceTemplate(this._render)},_filterChanged:function(e){var t=this._getRootDataHost();this._filterFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,arguments)}),this._needFullRefresh=!0,this.items&&this._debounceTemplate(this._render)},_computeFrameTime:function(e){return Math.ceil(1e3/e)},_initializeChunking:function(){this.initialCount&&(this._limit=this.initialCount,this._chunkCount=this.initialCount,this._lastChunkTime=performance.now())},_tryRenderChunk:function(){this.items&&this._limit<this.items.length&&this.debounce("renderChunk",this._requestRenderChunk)},_requestRenderChunk:function(){requestAnimationFrame(this._boundRenderChunk)},_renderChunk:function(){var e=performance.now(),t=this._targetFrameTime/(e-this._lastChunkTime);this._chunkCount=Math.round(this._chunkCount*t)||1,this._limit+=this._chunkCount,this._lastChunkTime=e,this._debounceTemplate(this._render)},_observeChanged:function(){this._observePaths=this.observe&&this.observe.replace(".*",".").split(" ")},_itemsChanged:function(e){if("items"==e.path)Array.isArray(this.items)?this.collection=Polymer.Collection.get(this.items):this.items?this._error(this._logf("dom-repeat","expected array for `items`, found",this.items)):this.collection=null,this._keySplices=[],this._indexSplices=[],this._needFullRefresh=!0,this._initializeChunking(),this._debounceTemplate(this._render);else if("items.splices"==e.path)this._keySplices=this._keySplices.concat(e.value.keySplices),this._indexSplices=this._indexSplices.concat(e.value.indexSplices),this._debounceTemplate(this._render);else{var t=e.path.slice(6);this._forwardItemPath(t,e.value),this._checkObservedPaths(t)}},_checkObservedPaths:function(e){if(this._observePaths){e=e.substring(e.indexOf(".")+1);for(var t=this._observePaths,n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return this._needFullRefresh=!0,void(this.delay?this.debounce("render",this._render,this.delay):this._debounceTemplate(this._render))}},render:function(){this._needFullRefresh=!0,this._debounceTemplate(this._render),this._flushTemplates()},_render:function(){this._needFullRefresh?(this._applyFullRefresh(),this._needFullRefresh=!1):this._keySplices.length&&(this._sortFn?this._applySplicesUserSort(this._keySplices):this._filterFn?this._applyFullRefresh():this._applySplicesArrayOrder(this._indexSplices)),this._keySplices=[],this._indexSplices=[];for(var e=this._keyToInstIdx={},t=this._instances.length-1;t>=0;t--){var n=this._instances[t];n.isPlaceholder&&t<this._limit?n=this._insertInstance(t,n.__key__):!n.isPlaceholder&&t>=this._limit&&(n=this._downgradeInstance(t,n.__key__)),e[n.__key__]=t,n.isPlaceholder||n.__setProperty(this.indexAs,t,!0)}this._pool.length=0,this._setRenderedItemCount(this._instances.length),Polymer.Settings.suppressTemplateNotifications&&!this.notifyDomChange||this.fire("dom-change"),this._tryRenderChunk()},_applyFullRefresh:function(){var e,t=this.collection;if(this._sortFn)e=t?t.getKeys():[];else{e=[];var n=this.items;if(n)for(var r=0;r<n.length;r++)e.push(t.getKey(n[r]))}var s=this;for(this._filterFn&&(e=e.filter(function(e){return s._filterFn(t.getItem(e))})),this._sortFn&&e.sort(function(e,n){return s._sortFn(t.getItem(e),t.getItem(n))}),r=0;r<e.length;r++){var i=e[r],o=this._instances[r];o?(o.__key__=i,!o.isPlaceholder&&r<this._limit&&o.__setProperty(this.as,t.getItem(i),!0)):r<this._limit?this._insertInstance(r,i):this._insertPlaceholder(r,i)}for(var a=this._instances.length-1;a>=r;a--)this._detachAndRemoveInstance(a)},_numericSort:function(e,t){return e-t},_applySplicesUserSort:function(e){for(var t,n,r=this.collection,s={},i=0;i<e.length&&(n=e[i]);i++){for(var o=0;o<n.removed.length;o++)t=n.removed[o],s[t]=s[t]?null:-1;for(o=0;o<n.added.length;o++)t=n.added[o],s[t]=s[t]?null:1}var a=[],l=[];for(t in s)-1===s[t]&&a.push(this._keyToInstIdx[t]),1===s[t]&&l.push(t);if(a.length)for(a.sort(this._numericSort),i=a.length-1;i>=0;i--){var c=a[i];void 0!==c&&this._detachAndRemoveInstance(c)}var h=this;if(l.length){this._filterFn&&(l=l.filter(function(e){return h._filterFn(r.getItem(e))})),l.sort(function(e,t){return h._sortFn(r.getItem(e),r.getItem(t))});var u=0;for(i=0;i<l.length;i++)u=this._insertRowUserSort(u,l[i])}},_insertRowUserSort:function(e,t){for(var n=this.collection,r=n.getItem(t),s=this._instances.length-1,i=-1;e<=s;){var o=e+s>>1,a=this._instances[o].__key__,l=this._sortFn(n.getItem(a),r);if(l<0)e=o+1;else{if(!(l>0)){i=o;break}s=o-1}}return i<0&&(i=s+1),this._insertPlaceholder(i,t),i},_applySplicesArrayOrder:function(e){for(var t,n=0;n<e.length&&(t=e[n]);n++){for(var r=0;r<t.removed.length;r++)this._detachAndRemoveInstance(t.index);for(r=0;r<t.addedKeys.length;r++)this._insertPlaceholder(t.index+r,t.addedKeys[r])}},_detachInstance:function(e){var t=this._instances[e];if(!t.isPlaceholder){for(var n=0;n<t._children.length;n++){var r=t._children[n];Polymer.dom(t.root).appendChild(r)}return t}},_attachInstance:function(e,t,n){var r=this._instances[e];r.isPlaceholder||t.insertBefore(r.root,n)},_detachAndRemoveInstance:function(e){var t=this._detachInstance(e);t&&this._pool.push(t),this._instances.splice(e,1)},_insertPlaceholder:function(e,t){this._instances.splice(e,0,{isPlaceholder:!0,__key__:t})},_stampInstance:function(e,t){var n={__key__:t};return n[this.as]=this.collection.getItem(t),n[this.indexAs]=e,this.stamp(n)},_insertInstance:function(e,t){var n=this._pool.pop();n?(n.__setProperty(this.as,this.collection.getItem(t),!0),n.__setProperty("__key__",t,!0)):n=this._stampInstance(e,t);var r=this._instances[e+1],s=r&&!r.isPlaceholder?r._children[0]:this,i=Polymer.dom(this).parentNode;return i.localName==this.is&&(s==this&&(s=i),i=Polymer.dom(i).parentNode),Polymer.dom(i).insertBefore(n.root,s),this._instances[e]=n,n},_downgradeInstance:function(e,t){var n=this._detachInstance(e);return n&&this._pool.push(n),n={isPlaceholder:!0,__key__:t},this._instances[e]=n,n},_showHideChildren:function(e){for(var t=0;t<this._instances.length;t++)this._instances[t].isPlaceholder||this._instances[t]._showHideChildren(e)},_forwardInstanceProp:function(e,t,n){if(t==this.as){var r;r=this._sortFn||this._filterFn?this.items.indexOf(this.collection.getItem(e.__key__)):e[this.indexAs],this.set("items."+r,n)}},_forwardInstancePath:function(e,t,n){0===t.indexOf(this.as+".")&&this._notifyPath("items."+e.__key__+"."+t.slice(this.as.length+1),n)},_forwardParentProp:function(e,t){for(var n,r=this._instances,s=0;s<r.length&&(n=r[s]);s++)n.isPlaceholder||n.__setProperty(e,t,!0)},_forwardParentPath:function(e,t){for(var n,r=this._instances,s=0;s<r.length&&(n=r[s]);s++)n.isPlaceholder||n._notifyPath(e,t,!0)},_forwardItemPath:function(e,t){if(this._keyToInstIdx){var n=e.indexOf("."),r=e.substring(0,n<0?e.length:n),s=this._keyToInstIdx[r],i=this._instances[s];i&&!i.isPlaceholder&&(n>=0?(e=this.as+"."+e.substring(n+1),i._notifyPath(e,t,!0)):i.__setProperty(this.as,t,!0))}},itemForElement:function(e){var t=this.modelForElement(e);return t&&t[this.as]},keyForElement:function(e){var t=this.modelForElement(e);return t&&t.__key__},indexForElement:function(e){var t=this.modelForElement(e);return t&&t[this.indexAs]}}),Polymer({is:"array-selector",_template:null,properties:{items:{type:Array,observer:"clearSelection"},multi:{type:Boolean,value:!1,observer:"clearSelection"},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}},clearSelection:function(){if(Array.isArray(this.selected))for(var e=0;e<this.selected.length;e++)this.unlinkPaths("selected."+e);else this.unlinkPaths("selected"),this.unlinkPaths("selectedItem");this.multi?this.selected&&!this.selected.length||(this.selected=[],this._selectedColl=Polymer.Collection.get(this.selected)):(this.selected=null,this._selectedColl=null),this.selectedItem=null},isSelected:function(e){return this.multi?void 0!==this._selectedColl.getKey(e):this.selected==e},deselect:function(e){if(this.multi){if(this.isSelected(e)){var t=this._selectedColl.getKey(e);this.arrayDelete("selected",e),this.unlinkPaths("selected."+t)}}else this.selected=null,this.selectedItem=null,this.unlinkPaths("selected"),this.unlinkPaths("selectedItem")},select:function(e){var t=Polymer.Collection.get(this.items),n=t.getKey(e);if(this.multi)if(this.isSelected(e))this.toggle&&this.deselect(e);else{this.push("selected",e);var r=this._selectedColl.getKey(e);this.linkPaths("selected."+r,"items."+n)}else this.toggle&&e==this.selected?this.deselect():(this.selected=e,this.selectedItem=e,this.linkPaths("selected","items."+n),this.linkPaths("selectedItem","items."+n))}}),Polymer({is:"dom-if",extends:"template",_template:null,properties:{if:{type:Boolean,value:!1,observer:"_queueRender"},restamp:{type:Boolean,value:!1,observer:"_queueRender"},notifyDomChange:{type:Boolean}},behaviors:[Polymer.Templatizer],_queueRender:function(){this._debounceTemplate(this._render)},detached:function(){var e=this.parentNode;e&&e.localName==this.is&&(e=Polymer.dom(e).parentNode),e&&(e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||Polymer.Settings.hasShadow&&e instanceof ShadowRoot)||this._teardownInstance()},attached:function(){this.if&&this.ctor&&this.async(this._ensureInstance)},render:function(){this._flushTemplates()},_render:function(){this.if?(this.ctor||this.templatize(this),this._ensureInstance(),this._showHideChildren()):this.restamp&&this._teardownInstance(),!this.restamp&&this._instance&&this._showHideChildren(),this.if!=this._lastIf&&(Polymer.Settings.suppressTemplateNotifications&&!this.notifyDomChange||this.fire("dom-change"),this._lastIf=this.if)},_ensureInstance:function(){var e,t=Polymer.dom(this).parentNode;if(t&&t.localName==this.is?(e=t,t=Polymer.dom(t).parentNode):e=this,t)if(this._instance){var n=this._instance._children;if(n&&n.length){var r=Polymer.dom(e).previousSibling;if(r!==n[n.length-1])for(var s,i=0;i<n.length&&(s=n[i]);i++)Polymer.dom(t).insertBefore(s,e)}}else{this._instance=this.stamp();var o=this._instance.root;Polymer.dom(t).insertBefore(o,e)}},_teardownInstance:function(){if(this._instance){var e=this._instance._children;if(e&&e.length)for(var t,n=Polymer.dom(Polymer.dom(e[0]).parentNode),r=0;r<e.length&&(t=e[r]);r++)n.removeChild(t);this._instance=null}},_showHideChildren:function(){var e=this.__hideTemplateChildren__||!this.if;this._instance&&this._instance._showHideChildren(e)},_forwardParentProp:function(e,t){this._instance&&this._instance.__setProperty(e,t,!0)},_forwardParentPath:function(e,t){this._instance&&this._instance._notifyPath(e,t,!0)}}),Polymer({is:"dom-bind",properties:{notifyDomChange:{type:Boolean}},extends:"template",_template:null,created:function(){var e=this;Polymer.RenderStatus.whenReady(function(){"loading"==document.readyState?document.addEventListener("DOMContentLoaded",function(){e._markImportsReady()}):e._markImportsReady()})},_ensureReady:function(){this._readied||this._readySelf()},_markImportsReady:function(){this._importsReady=!0,this._ensureReady()},_registerFeatures:function(){this._prepConstructor()},_insertChildren:function(){var e,t=Polymer.dom(this).parentNode;t.localName==this.is?(e=t,t=Polymer.dom(t).parentNode):e=this,Polymer.dom(t).insertBefore(this.root,e)},_removeChildren:function(){if(this._children)for(var e=0;e<this._children.length;e++)this.root.appendChild(this._children[e])},_initFeatures:function(){},_scopeElementClass:function(e,t){return this.dataHost?this.dataHost._scopeElementClass(e,t):t},_configureInstanceProperties:function(){},_prepConfigure:function(){var e={};for(var t in this._propertyEffects)e[t]=this[t];var n=this._setupConfigure;this._setupConfigure=function(){n.call(this,e)}},attached:function(){this._importsReady&&this.render()},detached:function(){this._removeChildren()},render:function(){this._ensureReady(),this._children||(this._template=this,this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepConfigure(),this._prepBindings(),this._prepPropertyInfo(),Polymer.Base._initFeatures.call(this),this._children=Polymer.TreeApi.arrayCopyChildNodes(this.root)),this._insertChildren(),Polymer.Settings.suppressTemplateNotifications&&!this.notifyDomChange||this.fire("dom-change")}})</script><dom-module id="q-svg-helper" assetpath="../components/q-svg-helper/"><style>:host {
  5.   overflow: hidden;
  6.   position: relative; }
  7.   :host #svg-defs {
  8.     position: absolute; }
  9.   :host #primary-gradient stop:first-child {
  10.     stop-color: var(--q-primary-pressed-bg-color, grey); }
  11.   :host #primary-gradient stop:last-child {
  12.     stop-color: var(--q-primary-bg-color, grey); }
  13.   :host #secondary-gradient stop:first-child {
  14.     stop-color: var(--q-secondary-pressed-bg-color, grey); }
  15.   :host #secondary-gradient stop:last-child {
  16.     stop-color: var(--q-secondary-bg-color, grey); }
  17.   :host #tertiary-gradient stop:first-child {
  18.     stop-color: var(--q-tertiary-pressed-bg-color, grey); }
  19.   :host #tertiary-gradient stop:last-child {
  20.     stop-color: var(--q-tertiary-bg-color, grey); }</style><template><svg id="svg-defs" viewBox="0 0 100 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="primary-gradient" x1="100%" x2="0%" y1="0%" y2="0%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient><linearGradient id="secondary-gradient" x1="100%" x2="0%" y1="0%" y2="0%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient><linearGradient id="tertiary-gradient" x1="100%" x2="0%" y1="0%" y2="0%"><stop offset="0%"></stop><stop offset="100%"></stop></linearGradient><filter id="greyscale"><feColorMatrix type="matrix" values="0.3333 0.3333 0.3333 0 0
  21.                    0.3333 0.3333 0.3333 0 0
  22.                    0.3333 0.3333 0.3333 0 0
  23.                    0 0 0 1 0"></feColorMatrix></filter><filter id="hovered"><feComponentTransfer><feFuncR type="linear" slope="1.5"></feFuncR><feFuncG type="linear" slope="1.5"></feFuncG><feFuncB type="linear" slope="1.5"></feFuncB></feComponentTransfer></filter><filter id="clicked"><feComponentTransfer><feFuncR type="linear" slope="0.5"></feFuncR><feFuncG type="linear" slope="0.5"></feFuncG><feFuncB type="linear" slope="0.5"></feFuncB></feComponentTransfer></filter></defs></svg><content></content></template><script>!function(){Polymer({is:"q-svg-helper",attached:function(){}})}()</script></dom-module><dom-module id="q-avatar" assetpath="../components/q-avatar/"><template><style>:host {
  24.                 @apply(--no-select);
  25.  
  26.                 vertical-align: middle;
  27.                 display: inline-block;
  28.                 line-height: 0;
  29.  
  30.                 @apply --q-avatar;
  31.             }
  32.  
  33.             :host svg,
  34.             :host img {
  35.                 margin: 0;
  36.                 padding: 0;
  37.                 border: none;
  38.             }
  39.  
  40.             :host([size="xl"]) svg,
  41.             :host([size="xl"]) img {
  42.                 width: var(--q-avatar-width-xl, 125px);
  43.                 height: var(--q-avatar-height-xl, 125px);
  44.             }
  45.  
  46.             :host([size="lg"]) svg,
  47.             :host([size="lg"]) img {
  48.                 width: var(--q-avatar-width-lg, 100px);
  49.                 height: var(--q-avatar-height-lg, 100px);
  50.             }
  51.  
  52.             :host([size="md"]) svg,
  53.             :host([size="md"]) img {
  54.                 width: var(--q-avatar-width-md, 75px);
  55.                 height: var(--q-avatar-height-md, 75px);
  56.             }
  57.  
  58.             :host([size="sm"]) svg,
  59.             :host([size="sm"]) img {
  60.                 width: var(--q-avatar-width-sm, 50px);
  61.                 height: var(--q-avatar-height-sm, 50px);
  62.             }
  63.  
  64.             :host([size="xs"]) svg,
  65.             :host([size="xs"]) img {
  66.                 width: var(--q-avatar-width-xs, 30px);
  67.                 height: var(--q-avatar-height-xs, 30px);
  68.             }
  69.  
  70.             /* Types */
  71.             :host([type="rioter"]) #svg-shape-border,
  72.             :host([type="rioter"]) #svg-shape-border1,
  73.             :host([type="rioter"]) #svg-shape-border2 {
  74.                 fill: #e64c3b;
  75.             }</style><template id="templateSquare" is="dom-if" if="{{isShapeSquare}}"><q-svg-helper><svg id="image-fill" class="avatar" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id$="{{patternId}}" x="0" y="0" height="100" width="100" patternUnits="userSpaceOnUse"><image height="100" width="100" xlink:href="#dummy" xlink:href$="{{src}}"></image></pattern></defs><rect id="svg-shape" width="100" height="100" fill$="url('{{fillUrl}}')"><path id="svg-shape-border" d="M 0,100 L 5,100 L 5,0 L 0,0 Z" fill="transparent"></path></rect></svg></q-svg-helper></template><template id="templateHex" is="dom-if" if="{{isShapeHex}}"><q-svg-helper><svg id="image-fill" class="avatar" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id$="{{patternId}}" x="0" y="0" height="100" width="100" patternUnits="userSpaceOnUse"><image height="100" width="100" xlink:href="#dummy" xlink:href$="{{src}}"></image></pattern></defs><path id="svg-shape" d$="{{hexPath}}" fill$="url('{{fillUrl}}')"></path><path id="svg-shape-border1" d$="{{hexPathBorder1}}" fill="transparent"></path><path id="svg-shape-border2" d$="{{hexPathBorder2}}" fill="transparent"></path></svg></q-svg-helper></template><template id="templateCircle" is="dom-if" if="{{isShapeCircle}}"><q-svg-helper><svg id="image-fill" class="avatar" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id$="{{patternId}}" x="0" y="0" height="100" width="100" patternUnits="userSpaceOnUse"><image height="100" width="100" xlink:href="#dummy" xlink:href$="{{src}}"></image></pattern></defs><circle id="svg-shape" cx="50" cy="50" r="50" fill$="url('{{fillUrl}}')"><path id="svg-shape-border" d="M 50, 50 m -28.6788,40.9576 A 50,50 0 0,0 78.6788,90.9576" fill="transparent"></path></circle></svg></q-svg-helper></template></template><script>!function(){var t=0;Polymer({is:"q-avatar",properties:{size:{type:String,value:"md",reflectToAttribute:!0},shape:{type:String,value:"square",reflectToAttribute:!0},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},src:{type:String,value:""},patternId:{type:String},hexPath:{type:String},hexPathBorder1:{type:String},hexPathBorder2:{type:String},fillUrl:{type:String}},_getCoords:function(t,e){return e<0&&(e+=360),[t*Math.cos(e*Math.PI/180)+50,t*Math.sin(e*Math.PI/180)+50]},ready:function(){this.id="q-avatar-"+ ++t,this.patternId="q-avatar-"+this.id+"-pattern",this.fillUrl=location.href+"#"+this.patternId},attached:function(){this["isShape"+this.shape.charAt(0).toUpperCase()+this.shape.slice(1).toLowerCase()]=!0;var t=4*Math.cos(30*Math.PI/180),e=4*Math.sin(30*Math.PI/180),a=50-e,r=Math.sqrt(Math.pow(t,2)+Math.pow(a,2)),h=2*Math.asin(t/r)*180/Math.PI,i=60-h,s=90+h/2,o=this._getCoords(r,s);this.hexPath="M "+o[0]+","+o[1],this.hexPathBorder1="M "+o[0]+","+(o[1]-.5)+" L "+o[0]+","+o[1],this.hexPathBorder2="M ";for(var n=o[0]+","+o[1],p=0;p<6;p++){s-=h;var d=this._getCoords(r,s);s-=i;var l=this._getCoords(r,s);this.hexPath+=" A 8,8 0 0,0 "+d[0]+","+d[1]+" L "+l[0]+","+l[1],p>=0&&p<=1&&(0===p?(this.hexPathBorder1+=" A 8,8 0 0,0 "+d[0]+","+d[1]+" L "+l[0]+","+l[1],n+=" A 8,8 0 0,0 "+d[0]+","+d[1]+" L "+d[0]+","+(d[1]-.5)):this.hexPathBorder1+=" A 8,8 0 0,0 "+d[0]+","+d[1]+" L "+d[0]+","+(d[1]-.5)+" Z"),p>=4&&p<=5&&(this.hexPathBorder2+=4===p?l[0]+","+(l[1]-.5)+" L "+l[0]+","+l[1]:" A 8,8 0 0,0 "+d[0]+","+d[1]+" L "+n+" Z")}}})}()</script></dom-module><script>Polymer.QuantumCoreCacheManagerClass=function(){this._data={},this._callbacks={}},Polymer.QuantumCoreCacheManagerClass.prototype={get:function(t,a){return a=a||null,this._data.hasOwnProperty(t)?this._data[t]:a},set:function(t,a){var s=!1;this._data.hasOwnProperty(t)||(s=!0),this._data[t]=a,s&&this.notifyExists(t)},delete:function(t){this._data[t]=null},exists:function(t){return this._data.hasOwnProperty(t)},onExists:function(t,a){var s=this.get(t);if(null!==s)return void a(s);this._callbacks.hasOwnProperty(t)||(this._callbacks[t]=[]),this._callbacks[t].push(a)},notifyExists:function(t){var a,s,n=this.get(t);if(this._callbacks.hasOwnProperty(t)){for(a=this._callbacks[t],s=0;s<a.length;++s)a[s](n);this._callbacks[t]=[]}}},Polymer.QuantumCoreCacheManager=new Polymer.QuantumCoreCacheManagerClass</script><script>Polymer.QuantumCoreRequestManagerClass=function(){this._cache=Polymer.QuantumCoreCacheManager},Polymer.QuantumCoreRequestManagerClass.prototype={send:function(e){var a,r,s=this._cache;if(e=e||{},e.method=e.method||"get",e.callback=e.callback||function(){},e.responseType=e.responseType||"json",e.cache=e.cache||!1,!e.hasOwnProperty("url"))throw"No url provided";if(e.cache){if(a="request/"+e.url,r="request/sent/"+e.url,s.onExists(a,e.callback),!0===s.get(r))return;s.set(r,!0)}var t=e.responseType;"json"===t&&(t="text");var n=new XMLHttpRequest;n.addEventListener("load",function(){var r;if("json"===e.responseType)try{r=JSON.parse(n.responseText)}catch(a){r=null,e.cache=!1}else r=n.response;e.cache?s.set(a,r):e.callback(r)}),n.open(e.method,e.url),n.responseType=t,n.send()}},Polymer.QuantumCoreRequestManager=new Polymer.QuantumCoreRequestManagerClass</script><script>!function(){Polymer.QuantumCoreAvatarLoadBehavior={properties:{name:{type:String,value:"",observer:"_nameChanged"},_cacheManager:{type:Object,value:Polymer.QuantumCoreCacheManager},_requestManager:{type:Object,value:Polymer.QuantumCoreRequestManager}},attached:function(){this._nameChanged()},getApiVersion:function(a){var e=this._cacheManager,r=e.get("avatar/api/version");if(r)return void a(r);e.onExists("avatar/api/version",a),!0!==e.get("avatar/api/version/loading")&&(e.set("avatar/api/version/loading",!0),this._requestManager.send({url:"https://ddragon.leagueoflegends.com/api/versions.json",responseType:"json",cache:!0,callback:function(a){if(!e.get("avatar/api/version"))for(var r=0;r<a.length;++r)if(7===parseInt(a[r].substring(0,1),10)){e.set("avatar/api/version",a[r]),e.set("avatar/api/version/loading",!1);break}}}))},simplifyName:function(a){return a.replace(/[^\w]/g,"").toLowerCase()}}}()</script><dom-module id="q-avatar-champion" assetpath="../components/q-avatar/"><template><style>:host {
  76.                 display: inline-block;
  77.                 @apply --q-avatar-champion;
  78.             }
  79.  
  80.             :host q-avatar {
  81.                 @apply --q-avatar-champion-avatar;
  82.             }</style><q-avatar id="avatar" size$="[[size]]" shape$="[[shape]]" disabled$="[[disabled]]"></q-avatar></template><script>Polymer({is:"q-avatar-champion",behaviors:[Polymer.QuantumCoreAvatarLoadBehavior],_nameChanged:function(){if(this.isAttached){var a=this._cacheManager,t=this._requestManager,e=this.$.avatar,n=this.name;this.getApiVersion(function(i){a.onExists("avatar/champion/data",function(a){var t=a[n];e.src="http://ddragon.leagueoflegends.com/cdn/"+i+"/img/champion/"+t}),!0!==a.get("avatar/champion/data/requested")&&(a.set("avatar/champion/data/requested",!0),t.send({url:"http://ddragon.leagueoflegends.com/cdn/"+i+"/data/en_US/champion.json",cache:!0,callback:function(t){var e,n,i={};for(n in t.data)t.data.hasOwnProperty(n)&&(e=t.data[n],i[e.name]=e.image.full);a.set("avatar/champion/data",i)}}))})}}})</script></dom-module><dom-module id="q-divider" assetpath="../components/q-divider/"><template><style>:host {
  83.   display: block;
  84.   width: 100%;
  85.   height: 1px;
  86.   background-color: #bec5c5;
  87.   @apply (--q-divider); }</style></template><script>Polymer({is:"q-divider",properties:{}})</script></dom-module><dom-module id="q-breadcrumbs" assetpath="../components/q-breadcrumbs/"><template><style>:host {
  88.                 display: block;
  89.             }
  90.  
  91.             :host #content ::content a,
  92.             :host #content ::content p,
  93.             :host #content ::content q-icon {
  94.                 display: inline-block;
  95.                 vertical-align: middle;
  96.             }
  97.  
  98.             :host #content ::content a,
  99.             :host #content ::content p {
  100.                 white-space: nowrap;
  101.             }
  102.  
  103.             :host #content ::content a {
  104.                 @apply --q-breadcrumbs-link;
  105.             }
  106.  
  107.             :host #content ::content a:hover {
  108.                 @apply --q-breadcrumbs-link-hover;
  109.             }
  110.  
  111.             :host #content ::content p {
  112.                 margin-top: 0;
  113.                 margin-bottom: 0;
  114.                 @apply --q-breadcrumbs-paragraph;
  115.             }
  116.  
  117.             :host #content ::content q-icon {
  118.                 @apply --q-breadcrumbs-icon;
  119.             }
  120.  
  121.             :host q-divider {
  122.                 margin-top: 5px;
  123.                 @apply --q-breadcrumbs-divider;
  124.             }</style><div id="content"><content select="p,a,q-icon"></content></div><q-divider></q-divider></template><script>Polymer({is:"q-breadcrumbs"})</script></dom-module><style is="custom-style">:root {
  125.  
  126.         --layout: {
  127.             display: -ms-flexbox;
  128.             display: -webkit-flex;
  129.             display: flex;
  130.         };
  131.  
  132.         --layout-inline: {
  133.             display: -ms-inline-flexbox;
  134.             display: -webkit-inline-flex;
  135.             display: inline-flex;
  136.         };
  137.  
  138.         --layout-horizontal: {
  139.             @apply(--layout);
  140.             -ms-flex-direction: row;
  141.             -webkit-flex-direction: row;
  142.             flex-direction: row;
  143.         };
  144.  
  145.         --layout-horizontal-reverse: {
  146.             @apply(--layout);
  147.             -ms-flex-direction: row-reverse;
  148.             -webkit-flex-direction: row-reverse;
  149.             flex-direction: row-reverse;
  150.         };
  151.  
  152.         --layout-vertical: {
  153.             @apply(--layout);
  154.             -ms-flex-direction: column;
  155.             -webkit-flex-direction: column;
  156.             flex-direction: column;
  157.         };
  158.  
  159.         --layout-vertical-reverse: {
  160.             @apply(--layout);
  161.             -ms-flex-direction: column-reverse;
  162.             -webkit-flex-direction: column-reverse;
  163.             flex-direction: column-reverse;
  164.         };
  165.  
  166.         --layout-wrap: {
  167.             -ms-flex-wrap: wrap;
  168.             -webkit-flex-wrap: wrap;
  169.             flex-wrap: wrap;
  170.         };
  171.  
  172.         --layout-no-wrap: {
  173.             -ms-flex-wrap: nowrap;
  174.             -webkit-flex-wrap: nowrap;
  175.             flex-wrap: nowrap;
  176.         };
  177.  
  178.         --layout-wrap-reverse: {
  179.             -ms-flex-wrap: wrap-reverse;
  180.             -webkit-flex-wrap: wrap-reverse;
  181.             flex-wrap: wrap-reverse;
  182.         };
  183.  
  184.         --layout-flex-auto: {
  185.             -ms-flex: 1 1 auto;
  186.             -webkit-flex: 1 1 auto;
  187.             flex: 1 1 auto;
  188.         };
  189.  
  190.         --layout-flex-grow: {
  191.             -ms-flex: 1;
  192.             -webkit-flex: 1;
  193.             flex: 1;
  194.         };
  195.  
  196.         --layout-flex-none: {
  197.             -ms-flex: none;
  198.             -webkit-flex: none;
  199.             flex: none;
  200.         };
  201.  
  202.         /* layout vertical item alignment */
  203.         --layout-start: {
  204.             -ms-flex-align: start;
  205.             -webkit-align-items: flex-start;
  206.             align-items: flex-start;
  207.         };
  208.  
  209.         --layout-center: {
  210.             -ms-flex-align: center;
  211.             -webkit-align-items: center;
  212.             align-items: center;
  213.         };
  214.  
  215.         --layout-end: {
  216.             -ms-flex-align: end;
  217.             -webkit-align-items: flex-end;
  218.             align-items: flex-end;
  219.         };
  220.  
  221.         --layout-stretch: {
  222.             -ms-flex-align: stretch;
  223.             -webkit-align-items: stretch;
  224.             align-items: stretch;
  225.         };
  226.  
  227.         --layout-baseline: {
  228.             -ms-flex-align: baseline;
  229.             -webkit-align-items: baseline;
  230.             align-items: baseline;
  231.         };
  232.  
  233.         /* layout horizontal item alignment */
  234.         --layout-start-justified: {
  235.             -ms-flex-pack: start;
  236.             -webkit-justify-content: flex-start;
  237.             justify-content: flex-start;
  238.         };
  239.  
  240.         --layout-center-justified: {
  241.             -ms-flex-pack: center;
  242.             -webkit-justify-content: center;
  243.             justify-content: center;
  244.         };
  245.  
  246.         --layout-end-justified: {
  247.             -ms-flex-pack: end;
  248.             -webkit-justify-content: flex-end;
  249.             justify-content: flex-end;
  250.         };
  251.  
  252.         --layout-around-justified: {
  253.             -ms-flex-pack: distribute;
  254.             -webkit-justify-content: space-around;
  255.             justify-content: space-around;
  256.         };
  257.  
  258.         --layout-justified: {
  259.             -ms-flex-pack: justify;
  260.             -webkit-justify-content: space-between;
  261.             justify-content: space-between;
  262.         };
  263.  
  264.         --layout-center-center: {
  265.             @apply(--layout-center);
  266.             @apply(--layout-center-justified);
  267.         };
  268.  
  269.     }</style><script>Polymer.QuantumCoreControlStateBehavior={properties:{focused:{readOnly:!0,type:Boolean,value:!1,notify:!0,observer:"_focusedChanged",reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){if(e.target===this)this._setFocused("focus"===e.type);else if(!this.shadowRoot){var t=Polymer.dom(e).localTarget;this.isLightDescendant(t)||this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})}},_focusedChanged:function(){},_disabledChanged:function(e){this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.tabIndex,this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(this.tabIndex=this._oldTabIndex)}}</script><dom-module id="q-button" assetpath="../components/q-button/"><template><style>:host {
  270.                @apply --layout-inline;
  271.                 @apply --no-select;
  272.                 @apply --q-default-transition-all;
  273.                 @apply --q-font-button;
  274.                 white-space: nowrap;
  275.                 cursor: pointer;
  276.                 color: #000;
  277.                 background-color: #eee;
  278.                 padding: 0.5em 0.8em;
  279.                 z-index: 0;
  280.                 @apply --q-button;
  281.             }
  282.  
  283.             :host(:focus) {
  284.                 outline: 0;
  285.                 @apply --q-button-focus;
  286.             }
  287.  
  288.             :host #content {
  289.                 @apply --layout;
  290.                 @apply --layout-center;
  291.                 @apply --layout-justified;
  292.                 width: 100%;
  293.             }
  294.  
  295.             :host(:hover) {
  296.                 color: var(--q-button-hover-color, #000);
  297.                 background-color: var(--q-button-hover-bg-color, #ddd);
  298.                 @apply --q-button-hover;
  299.             }
  300.  
  301.             :host(:active) {
  302.                 color: var(--q-button-pressed-color, #000);
  303.                 background-color: var(--q-button-pressed-bg-color, #ccc);
  304.                 @apply --q-button-pressed;
  305.             }
  306.  
  307.             :host([disabled]) {
  308.                 pointer-events: none;
  309.                 color: var(--q-button-disabled-color, #000);
  310.                 background-color: var(--q-button-disabled-bg-color, #ccc);
  311.                 @apply --q-button-disabled;
  312.             }
  313.  
  314.             :host([priority="primary"]) {
  315.                 color: var(--q-button-primary-color);
  316.                 background-color: var(--q-button-primary-bg-color);
  317.                 @apply --q-button-primary;
  318.             }
  319.  
  320.             :host([priority="primary"]:hover) {
  321.                 @apply --q-button-primary-hover;
  322.             }
  323.  
  324.             :host([priority="primary"]:active) {
  325.                 @apply --q-button-primary-pressed;
  326.             }
  327.  
  328.             :host([priority="secondary"]) {
  329.                 color: var(--q-button-primary-color);
  330.                 background-color: var(--q-button-primary-bg-color);
  331.                 @apply --q-button-secondary;
  332.             }
  333.  
  334.             :host([priority="secondary"]:hover) {
  335.                 @apply --q-button-secondary-hover;
  336.             }
  337.  
  338.             :host([priority="secondary"]:active) {
  339.                 @apply --q-button-secondary-pressed;
  340.             }
  341.  
  342.             :host([priority="tertiary"]) {
  343.                 color: var(--q-button-primary-color);
  344.                 background-color: var(--q-button-primary-bg-color);
  345.                 @apply --q-button-tertiary;
  346.             }
  347.  
  348.             :host([priority="tertiary"]:hover) {
  349.                 @apply --q-button-tertiary-hover;
  350.             }
  351.  
  352.             :host([priority="tertiary"]:active) {
  353.                 @apply --q-button-tertiary-pressed;
  354.             }
  355.  
  356.             :host([size="xs"]) {
  357.                 padding: 3px 12px;
  358.                 @apply --q-button-xs;
  359.             }
  360.  
  361.             :host([size="sm"]) {
  362.                 padding: 6px 18px;
  363.                 @apply --q-button-sm;
  364.             }
  365.  
  366.             :host([size="md"]) {
  367.                 padding: 9px 26px;
  368.                 @apply --q-button-md;
  369.             }
  370.  
  371.             :host([size="lg"]) {
  372.                 padding: 14px 38px;
  373.                 @apply --q-button-lg;
  374.             }
  375.  
  376.             :host([size="xl"]) {
  377.                 padding: 20px 55px;
  378.                 @apply --q-button-xl;
  379.             }</style><div id="content"><content></content></div></template><script>Polymer({is:"q-button",behaviors:[Polymer.QuantumCoreControlStateBehavior],properties:{priority:String,disabled:Boolean,outlined:Boolean,size:{type:String,value:"md",reflectToAttribute:!0},state:String,type:String},hostAttributes:{role:"button",tabIndex:0},listeners:{tap:"_onTap"},_onTap:function(e){if(!this.disabled){this.fire("pressed");for(var t=this.parentNode,i=null;t;){if("FORM"===t.tagName){i=t;break}t=t.parentNode}if(i)if("submit"===this.type)if(document.createEvent){var n=document.createEvent("HTMLEvents");n.initEvent("submit",!0,!0),i.dispatchEvent(n)}else{var n=document.createEventObject();n.eventType="submit",i.fireEvent("onsubmit",n)}else"reset"===this.type&&i.reset()}},_focusBlurHandler:function(){Polymer.QuantumCoreControlStateBehavior._focusedChanged.call(this,event),this.fire("q-focused-changed",{value:this.focused})}})</script></dom-module><dom-module id="q-card-nav" assetpath="../components/q-card-nav/"><template><style>:host {
  380.  display: block; }
  381.   :host #links ::content a {
  382.     display: inline-block;
  383.     /* TODO: Remove these design properties once light/dark matter are done. */ }
  384.     :host #links ::content a q-stacked-card {
  385.       padding: 30px; }
  386.       :host #links ::content a q-stacked-card q-subtext {
  387.         margin-bottom: 0; }
  388.   :host[orientation='vertical'] #links {
  389.     @apply (--layout-vertical); }
  390.     :host[orientation='vertical'] #links ::content a {
  391.       @apply (--layout-horizontal);
  392.       @apply (--layout-flex-grow);
  393.       margin-top: var(--q-card-spacing, 20px); }
  394.       :host[orientation='vertical'] #links ::content a:first-child {
  395.         margin-top: 0; }
  396.       :host[orientation='vertical'] #links ::content a q-stacked-card {
  397.         @apply (--layout-vertical);
  398.         @apply (--layout-center-justified);
  399.         @apply (--layout-flex-grow); }
  400.   :host[orientation='horizontal'] #links {
  401.     @apply (--layout-horizontal);
  402.     justify-content: space-between; }
  403.     :host[orientation='horizontal'] #links ::content a {
  404.       @apply (--layout-horizontal);
  405.       margin-left: var(--q-card-spacing, 20px); }
  406.       :host[orientation='horizontal'] #links ::content a:first-child {
  407.         margin-left: 0; }
  408.       :host[orientation='horizontal'] #links ::content a q-stacked-card {
  409.         @apply (--layout-vertical);
  410.         @apply (--layout-center-justified);
  411.         @apply (--layout-flex-grow); }</style><div id="links"><content select="a"></content></div></template><script>Polymer({is:"q-card-nav",properties:{orientation:{type:String,value:"vertical",reflectToAttribute:!0}}})</script></dom-module><script src="../components/q-core-js/q-core.js"></script><script>!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.addResizeEvent=t()}(window.qcore,function(){function e(e,t){var n=Object.prototype.toString.call(e),i="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!=typeof jQuery&&e instanceof jQuery||"undefined"!=typeof Elements&&e instanceof Elements,o=0,s=e.length;if(i)for(;o<s;o++)t(e[o]);else t(e)}if("undefined"==typeof window)return null;var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},n=function(i){function o(){var e=[];this.add=function(t){e.push(t)};var t,n;this.call=function(){for(t=0,n=e.length;t<n;t++)e[t].call()},this.remove=function(i){var o=[];for(t=0,n=e.length;t<n;t++)e[t]!==i&&o.push(e[t]);e=o},this.length=function(){return e.length}}function s(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}function r(e){var n=function(){var t=document.createEvent("Event");t.initEvent("resize",!0,!0),e.dispatchEvent(t)};if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(n)}else e.resizedAttached=new o,e.resizedAttached.add(n);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",r="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+r+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+r+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),"static"==s(e,"position")&&(e.style.position="relative");var d,c,l,a,f=e.resizeSensor.childNodes[0],u=f.childNodes[0],h=e.resizeSensor.childNodes[1],v=e.offsetWidth,p=e.offsetHeight,z=function(){u.style.width="100000px",u.style.height="100000px",f.scrollLeft=1e5,f.scrollTop=1e5,h.scrollLeft=1e5,h.scrollTop=1e5};z();var y=function(){c=0,d&&(v=l,p=a,e.resizedAttached&&e.resizedAttached.call())},m=function(){l=e.offsetWidth,a=e.offsetHeight,d=l!=v||a!=p,d&&!c&&(c=t(y)),z()},w=function(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n)};w(f,"scroll",m),w(h,"scroll",m)}e(i,function(e){r(e)}),this.detach=function(e){n.detach(i,e)}};return n.detach=function(t,n){e(t,function(e){e.resizedAttached&&"function"==typeof n&&(e.resizedAttached.remove(n),e.resizedAttached.length())||e.resizeSensor&&(e.contains(e.resizeSensor)&&e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)})},n})</script><style is="custom-style">q-card-nav-grid q-stacked-card {
  412.        --q-stacked-card-width: 235px;
  413.         --q-stacked-card-margin: 24px 0 0 24px;
  414.     }</style><dom-module id="q-card-nav-grid" assetpath="../components/q-card-nav-grid/"><template><style>:host {
  415.   display: block; }
  416.   :host ::content h1, :host ::content h2, :host ::content h3, :host ::content h4, :host ::content h5, :host ::content h6 {
  417.     color: white; }
  418.   :host ::content q-subtext {
  419.     color: #808284; }
  420.   :host ::content #links {
  421.     @apply --layout-horizontal;
  422.     @apply --layout-flex-auto;
  423.     flex-flow: row wrap;
  424.     align-content: flex-end;
  425.     margin: 0 0 0 -24px;
  426.     padding-top: 24px; }</style><content select="h1, h2, h3, h4, h5, h6"></content><content select="q-subtext"></content><div id="links"><content select="a, q-stacked-card"></content></div></template><script>Polymer({is:"q-card-nav-grid",properties:{cardWidth:{type:Number,value:235},spacing:{type:Number,value:24}},ready:function(){this.lastPadding=0,qcore.addResizeEvent(this.$.links),this.$.links.addEventListener("resize",this.onResize.bind(this))},onResize:function(){var i=this.$.links.offsetWidth,s=i%(this.cardWidth+this.spacing),t=parseInt(s/2);this.lastPadding!=t&&(this.lastPadding=t,this.$.links.style.paddingLeft=t+"px")}})</script></dom-module><dom-module id="q-col" assetpath="../components/q-col/"><template><style></style><content></content></template><script>Polymer({is:"q-col"})</script></dom-module><dom-module id="q-content-block-avatar-1" assetpath="../components/q-content-block/"><template><style>:host {
  427.                @apply --layout-horizontal;
  428.                 @apply --layout-center;
  429.             }
  430.  
  431.             :host #media {
  432.                 @apply --layout-flex;
  433.                 @apply --layout-flex-none;
  434.             }
  435.  
  436.             :host #copy {
  437.                 @apply --layout-flex;
  438.                 @apply --layout-flex-auto;
  439.                 margin-left: 10px;
  440.             }
  441.  
  442.             ::content [slot="media"] {
  443.                 @apply --q-content-block-avatar-1-media;
  444.             }
  445.  
  446.             ::content [slot="headline"] {
  447.                 margin-bottom: 2px;
  448.                 @apply --q-content-block-avatar-1-headline;
  449.             }
  450.  
  451.             ::content [slot="meta"] {
  452.                 @apply --q-content-block-avatar-1-meta;
  453.             }</style><div id="media"><content select="[slot=media]"></content></div><div id="copy"><content select="[slot=headline]"></content><content select="[slot=meta]"></content></div></template><script>Polymer({is:"q-content-block-avatar-1",properties:{},attached:function(){}})</script></dom-module><dom-module id="q-content-block-avatar-2" assetpath="../components/q-content-block/"><template><style>:host {
  454.                 @apply --layout-horizontal;
  455.                 @apply --layout-start;
  456.             }
  457.  
  458.             :host #media {
  459.                 @apply --layout-flex;
  460.                 @apply --layout-flex-none;
  461.             }
  462.  
  463.             :host #text {
  464.                 @apply --layout-flex;
  465.                 @apply --layout-flex-auto;
  466.                 margin-left: 10px;
  467.             }
  468.  
  469.             ::content [slot="media"] {
  470.                 @apply --q-content-block-avatar-2-media;
  471.             }
  472.  
  473.             ::content [slot="label"] {
  474.                 margin-bottom: 2px;
  475.                 @apply --q-content-block-avatar-2-label;
  476.             }
  477.  
  478.             ::content [slot="value"] {
  479.                 display: block;
  480.                 @apply --q-content-block-avatar-2-value;
  481.             }</style><div id="media"><content select="[slot=media]"></content></div><div id="text"><content select="[slot=label]"></content><content select="[slot=value]"></content></div></template><script>Polymer({is:"q-content-block-avatar-2",properties:{},attached:function(){}})</script></dom-module><dom-module id="q-content-block-avatar-3" assetpath="../components/q-content-block/"><template><style>:host {
  482.                 @apply --layout-horizontal;
  483.                 @apply --layout-start;
  484.             }
  485.  
  486.             :host #avatar {
  487.                 @apply --layout-flex;
  488.                 @apply --layout-flex-none;
  489.             }
  490.             :host #content {
  491.                 @apply --q-content-block-avatar-3-content;
  492.             }
  493.             ::content img,
  494.             ::content q-avatar,
  495.             ::content q-avatar-champion {
  496.                 @apply --q-content-block-avatar-3-avatar;
  497.             }</style><div id="avatar"><content select="[slot=avatar]"></content></div><div id="content"><content select="[slot=content]"></content></div></template><script>Polymer({is:"q-content-block-avatar-3",properties:{},attached:function(){}})</script></dom-module><dom-module id="q-content-block-icon-1" assetpath="../components/q-content-block/"><template><style>:host {
  498.                 @apply --layout-horizontal;
  499.                 @apply --layout-center;
  500.             }
  501.  
  502.             :host #icon {
  503.                 @apply --layout-flex;
  504.                 @apply --layout-flex-none;
  505.             }
  506.  
  507.             :host #text {
  508.                 @apply --layout-flex;
  509.                 @apply --layout-flex-auto;
  510.                 margin-left: 10px;
  511.             }
  512.  
  513.             ::content [slot="icon"] {
  514.                 @apply --q-content-block-icon-1-icon;
  515.             }
  516.  
  517.             ::content [slot="label"] {
  518.                 margin-bottom: 2px;
  519.                 @apply --q-content-block-icon-1-label;
  520.             }
  521.  
  522.             ::content [slot="value"] {
  523.                 display: block;
  524.                 @apply --q-content-block-icon-1-value;
  525.             }</style><div id="icon"><content select="[slot=icon]"></content></div><div id="text"><content select="[slot=label]"></content><content select="[slot=value]"></content></div></template><script>Polymer({is:"q-content-block-icon-1",properties:{},attached:function(){}})</script></dom-module><script>Polymer.QuantumCoreFitBehavior={properties:{containerTarget:{type:Object,value:window},sizingTarget:{type:Object,value:function(){return this}},anchorTarget:{type:Object},anchorMy:{type:String,value:"center"},anchorTo:{type:String,value:"center"}},get _defaultAnchorTarget(){var t=Polymer.dom(this).parentNode;return t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(t=t.host),t},get _containerRect(){return this.containerTarget===window?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0,width:window.innerWidth,height:window.innerHeight}:this.containerTarget.getBoundingClientRect()},attached:function(){this.anchorTarget=this.anchorTarget||this._defaultAnchorTarget},fit:function(){this.position(),this.center()},_getAnchorInfo:function(){if(!this.anchorTarget)return{};var t={my:{top:!1,middle:!1,bottom:!1,left:!1,center:!1,right:!1,rect:this.getBoundingClientRect()},to:{top:!1,middle:!1,bottom:!1,left:!1,center:!1,right:!1,rect:this.anchorTarget.getBoundingClientRect()}};return-1!==this.anchorMy.indexOf("top")?t.my.top=!0:-1!==this.anchorMy.indexOf("bottom")?t.my.bottom=!0:t.my.middle=!0,-1!==this.anchorMy.indexOf("left")?t.my.left=!0:-1!==this.anchorMy.indexOf("right")?t.my.right=!0:t.my.center=!0,-1!==this.anchorTo.indexOf("top")?t.to.top=!0:-1!==this.anchorTo.indexOf("bottom")?t.to.bottom=!0:t.to.middle=!0,-1!==this.anchorTo.indexOf("left")?t.to.left=!0:-1!==this.anchorTo.indexOf("right")?t.to.right=!0:t.to.center=!0,t},position:function(){this.anchorTarget&&(this.style.position="fixed",this.style.maxWidth="",this.style.maxHeight="",this.async(function(){var t=window.getComputedStyle(this.sizingTarget);this.sizingTarget&&(this.style.minWidth=t.width);var e,i,o=this._getAnchorInfo(),n=this._containerRect;o.to.top?e=o.to.rect.top:o.to.middle?e=o.to.rect.top+o.to.rect.height/2:o.to.bottom&&(e=o.to.rect.bottom),o.my.middle?e-=o.my.rect.height/2:o.my.bottom&&(e-=o.my.rect.height),o.to.left?i=o.to.rect.left:o.to.center?i=o.to.rect.left+o.to.rect.width/2:o.to.right&&(i=o.to.rect.right),o.my.center?i-=o.my.rect.width/2:o.my.right&&(i-=o.my.rect.width);var h=Math.min(n.right,i+o.my.rect.width),r=Math.min(n.bottom,e+o.my.rect.height),c=window.getComputedStyle(this),a=parseInt(c.minWidth,10)||0,s=parseInt(c.minHeight,10)||0;this.sizingTarget&&(a=parseInt(t.minWidth,10)||0,s=parseInt(t.minHeight,10)||0),i=Math.max(n.left,Math.min(i,h-a)),e=Math.max(n.top,Math.min(e,r-s)),this.style.maxWidth=Math.max(h-i,a)+"px",this.style.maxHeight=Math.max(r-e,s)+"px",this.style.top=e+"px",this.style.left=i+"px"}))},center:function(){if(!this.anchorTarget){var t=this.getBoundingClientRect(),e=this._containerRect;this.style.position="fixed",this.style.top=e.height/2-t.height/2+"px",this.style.left=e.width/2-t.width/2+"px"}}}</script><script>Polymer.QuantumCoreScrollingLockBehavior={properties:{_boundScrollingHandler:{type:Function,value:null},_lastTouchPosition:{type:Object,value:{pageX:0,pageY:0}}},_handleScrolling:function(e){var t=Polymer.dom(e).path||[],l=t.indexOf(this);if(-1===l)return e.preventDefault();for(var n=this._getScrollInfo(e),o=!0,i=l;i>=0;--i){var a=t[i],r=n.deltaY<0?a.scrollTop>0:a.scrollTop<a.scrollHeight-a.clientHeight,d=n.deltaX<0?a.scrollLeft>0:a.scrollLeft<a.scrollWidth-a.clientWidth;if(r||d){o=!1;break}}if(e.cancelable&&o&&e.preventDefault(),e.targetTouches){var c=e.targetTouches[0];this._lastTouchPosition.pageX=c.pageX,this._lastTouchPosition.pageY=c.pageY}},_getScrollInfo:function(e){var t={deltaX:0,deltaY:0};if("deltaX"in e)t.deltaX=e.deltaX,t.deltaY=e.deltaY;else if("wheelDeltaX"in e)t.deltaX=-e.wheelDeltaX,t.deltaY=-e.wheelDeltaY;else if("axis"in e)t.deltaX=1===e.axis?e.detail:0,t.deltaY=2===e.axis?e.detail:0;else if(e.targetTouches){var l=e.targetTouches[0];t.deltaX=this._lastTouchPosition.pageX-l.pageX,t.deltaY=this._lastTouchPosition.pageY-l.pageY}return t},_enableScrollingLock:function(){this._boundScrollingHandler=this._boundScrollingHandler||this._handleScrolling.bind(this),document.addEventListener("wheel",this._boundScrollingHandler,!0),document.addEventListener("mousewheel",this._boundScrollingHandler,!0),document.addEventListener("DOMMouseScroll",this._boundScrollingHandler,!0),document.addEventListener("touchstart",this._boundScrollingHandler,!0),document.addEventListener("touchmove",this._boundScrollingHandler,!0)},_disableScrollingLock:function(){document.removeEventListener("wheel",this._boundScrollingHandler,!0),document.removeEventListener("mousewheel",this._boundScrollingHandler,!0),document.removeEventListener("DOMMouseScroll",this._boundScrollingHandler,!0),document.removeEventListener("touchstart",this._boundScrollingHandler,!0),document.removeEventListener("touchmove",this._boundScrollingHandler,!0)}}</script><script>Polymer.QuantumCoreOverlayManagerClass=function(){this._overlays=[],this._minZIndex=101,Polymer.Gestures.add(document,"tap",this._onCaptureClick.bind(this)),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)},Polymer.QuantumCoreOverlayManagerClass.prototype={_getZIndex:function(e){var n=this._minZIndex;if(e){var t=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);t===t&&(n=t)}return n},_setZIndex:function(e,n){e.style.zIndex=n},_applyZIndex:function(e,n){this._setZIndex(e,n+1)},_currentOverlay:function(){return this._overlays[this._overlays.length-1]},_currentOverlayZIndex:function(){return this._getZIndex(this._currentOverlay())},_overlayInPath:function(e){for(var e=e||[],n=0;n<e.length;n++)if(e[n]._manager===this)return e[n]},_onCaptureClick:function(e){var n=this._currentOverlay();n&&this._overlayInPath(Polymer.dom(e).path)!==n&&n._onCaptureOutsideClick(e)},_onCaptureKeyDown:function(e){var n=this._currentOverlay();n&&(27===e.keyCode?n._onCaptureEsc():9===e.keyCode&&n._onCaptureTab())},addOverlay:function(e){if(!(this._overlays.indexOf(e)>0)){var n=this._overlays.length,t=Math.max(this._currentOverlayZIndex(),this._minZIndex);t>=this._getZIndex(e)&&this._applyZIndex(e,t),this._overlays.splice(n,0,e)}},removeOverlay:function(e){var n=this._overlays.indexOf(e);-1!==n&&this._overlays.splice(n,1)}},Polymer.QuantumCoreOverlayManager=new Polymer.QuantumCoreOverlayManagerClass</script><script>Polymer.QuantumCoreOverlayBehavior={properties:{opened:{observer:"_openedChanged",type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},beforeClose:{type:Function,value:function(){return!0}},clickSafeTarget:{type:Object},_manager:{type:Object,value:Polymer.QuantumCoreOverlayManager}},_openedChanged:function(){if(this.isAttached)if(this.opened){try{this.cancelAsync(this._delayedRemove)}catch(e){}this.async(function(){this._manager.addOverlay(this)})}else this._delayedRemove=this.async(function(){this._manager.removeOverlay(this)},1)},_onCaptureOutsideClick:function(e){var t;this.clickSafeTarget&&(t=Polymer.dom(e).path||[],-1!==t.indexOf(this.clickSafeTarget))||this.close()},_onCaptureEsc:function(){this.close()},_onCaptureTab:function(){this.close()},toggle:function(){this.opened=!this.opened},open:function(){this.opened=!0,this.fire("q-overlay-opened")},close:function(){this.opened=!1,this.fire("q-overlay-closed")}}</script><dom-module id="q-dropdown" assetpath="../components/q-dropdown/"><template><style>:host {
  526.                display: none;
  527.                 position: relative;
  528.                 background-color: var(--q-dropdown-background-color, --q-primary-background-color);
  529.                 color: var(--q-dropdown-color, --q-primary-text-color);
  530.                 overflow-y: auto;
  531.  
  532.                 @apply --q-dropdown;
  533.             }
  534.  
  535.             :host([opened]) {
  536.                  display: inline-block;
  537.             }</style><content></content></template><script>Polymer({is:"q-dropdown",behaviors:[Polymer.QuantumCoreScrollingLockBehavior,Polymer.QuantumCoreFitBehavior,Polymer.QuantumCoreOverlayBehavior],properties:{anchorMy:{type:String,value:"top left"},anchorTo:{type:String,value:"bottom left"},inline:{type:Boolean,value:!1}},_openedChanged:function(){if(this.disabled)return void(this.opened=!1);this.inline||(this.opened?(this.fit(),this._enableScrollingLock()):this._disableScrollingLock()),Polymer.QuantumCoreOverlayBehavior._openedChanged.apply(this,arguments)}})</script></dom-module><dom-module id="q-footer" assetpath="../components/q-footer/"><template><style>:host {
  538.                 display: block;
  539.                 @apply --q-footer;
  540.             }
  541.  
  542.             :host ::content [slot="top"] {
  543.                 @apply --q-footer-top;
  544.             }
  545.             :host ::content [slot="bottom"] {
  546.                 @apply --q-footer-bottom;
  547.             }</style><content select="[slot=top]"></content><content select="[slot=bottom]"></content></template><script>Polymer({is:"q-footer"})</script></dom-module><dom-module id="q-row" assetpath="../components/q-row/"><template><style></style><content select="q-col"></content></template><script>Polymer({is:"q-row"})</script></dom-module><dom-module id="q-grid" assetpath="../components/q-grid/"><style>:host {
  548.             display: block;
  549.             overflow: hidden;
  550.  
  551.             --half-gutter-size: calc(var(--q-grid-gutter-size, 30px) / 2);
  552.         }
  553.  
  554.         :host q-row {
  555.             @apply(--layout-horizontal);
  556.             @apply(--layout-wrap);
  557.             @apply(--layout-stretch);
  558.  
  559.             margin-left: calc(var(--half-gutter-size) * -1);
  560.             margin-right: calc(var(--half-gutter-size) * -1);
  561.         }
  562.  
  563.         :host([reverse]) q-row {
  564.             @apply(--layout-horizontal-reverse);
  565.         }
  566.  
  567.         :host q-row ::content > q-col {
  568.             position: relative;
  569.             display: inline-block;
  570.             min-height: 1px;
  571.             width: 100%;
  572.             padding-left: var(--half-gutter-size);
  573.             padding-right: var(--half-gutter-size);
  574.             box-sizing: border-box;
  575.         }
  576.  
  577.         :host([fluid]) {
  578.             max-width: 100%;
  579.         }</style><template><q-row><content select="q-col"></content></q-row></template><script>Polymer({is:"q-grid",properties:{cols:{type:Number,value:12}},hostAttributes:{cols:12},ready:function(){this.writeCSS()},sizes:{xs:[null,null],sm:[576,544],md:[768,720],lg:[992,940],xl:[1200,1140]},observers:["_colsChanged(cols)"],writeCSS:function(){var s="q-grid-"+this.cols,e=document.getElementById(s);if(!e){var e=document.createElement("style");e.id=s,e.attributes.is="custom-style";var i="",t='q-grid[cols="'+this.cols+'"]';for(size in this.sizes){var o=this.sizes[size][0],r=this.sizes[size][1];o&&(i+="@media (min-width: "+o+"px) {",i+=t+"{ max-width: "+r+"px; }");for(var l=100/this.cols,n=1;n<=this.cols;++n){var d=Math.round(l*n*1e3)/1e3,c="q-col["+size+'-size="'+n+'"]';i+="* ::shadow "+t+" "+c+",",i+=t+" "+c+" {",i+="  width: "+d+"%",i+="}\n"}o&&(i+="}")}e.innerHTML=i,document.body.appendChild(e)}},_colsChanged:function(){this.writeCSS()}})</script></dom-module><dom-module id="q-icon" assetpath="../components/q-icon/"><template><style>:host {
  580.   display: inline-block;
  581.   vertical-align: middle;
  582.   @apply (--q-icon); }
  583.   :host svg {
  584.     display: block;
  585.     fill: var(--q-icon-color, currentcolor);
  586.     @apply (--q-icon-svg); }
  587.   :host:hover svg {
  588.     fill: var(--q-icon-hover-color, var(--q-icon-color, currentcolor));
  589.     @apply (--q-icon-hover); }
  590.   :host[size="xs"] {
  591.     width: var(--q-icon-size, var(--q-icon-xs-size, 12px)); }
  592.   :host[size="sm"] {
  593.     width: var(--q-icon-size, var(--q-icon-sm-size, 20px)); }
  594.   :host[size="md"] {
  595.     width: var(--q-icon-size, var(--q-icon-md-size, 25px)); }
  596.   :host[size="lg"] {
  597.     width: var(--q-icon-size, var(--q-icon-lg-size, 50px)); }
  598.   :host[size="xl"] {
  599.     width: var(--q-icon-size, var(--q-icon-xl-size, 100px)); }</style><svg viewBox="-300 0 2400 1792" xmlns="http://www.w3.org/2000/svg"><path d$="{{path}}"></path></svg></template><script>Polymer({is:"q-icon",properties:{name:{type:String,observer:"_nameChanged"},size:{type:String,value:"md",reflectToAttribute:!0},path:{readOnly:!0,type:String},baseRequestUrl:{readOnly:!0,type:String,value:""},_requestManager:{type:Object,value:Polymer.QuantumCoreRequestManager},groups:{readOnly:!0,type:Object,value:{"500px":1,adjust:1,adn:1,"align-center":1,"align-justify":1,"align-left":1,"align-right":1,amazon:1,ambulance:1,anchor:1,android:1,angellist:1,"angle-double-down":1,"angle-double-left":1,"angle-double-right":1,"angle-double-up":1,"angle-down":1,"angle-left":1,"angle-right":1,"angle-up":1,apple:1,archive:1,"area-chart":1,"arrow-circle-down":1,"arrow-circle-left":1,"arrow-circle-o-down":1,"arrow-circle-o-left":1,"arrow-circle-o-right":1,"arrow-circle-o-up":1,"arrow-circle-right":1,"arrow-circle-up":1,"arrow-down":1,"arrow-left":1,"arrow-right":1,"arrow-up":1,arrows:1,"arrows-alt":1,"arrows-h":1,"arrows-v":1,asterisk:1,at:1,automobile:1,backward:1,"balance-scale":1,ban:1,bank:1,"bar-chart":1,"bar-chart-o":1,barcode:1,bars:1,"battery-0":1,"battery-1":1,"battery-2":1,"battery-3":1,"battery-4":1,"battery-empty":1,"battery-full":1,"battery-half":1,"battery-quarter":1,"battery-three-quarters":1,bed:1,beer:1,behance:1,"behance-square":1,bell:1,"bell-o":1,"bell-slash":1,"bell-slash-o":1,bicycle:1,binoculars:1,"birthday-cake":1,bitbucket:1,"bitbucket-square":1,bitcoin:1,"black-tie":1,bluetooth:1,"bluetooth-b":1,bold:1,bolt:1,bomb:1,book:1,bookmark:1,"bookmark-o":1,briefcase:1,btc:1,bug:1,building:1,"building-o":1,bullhorn:1,bullseye:1,bus:1,buysellads:1,cab:1,calculator:1,calendar:1,"calendar-check-o":1,"calendar-minus-o":1,"calendar-o":1,"calendar-plus-o":1,"calendar-times-o":1,camera:2,"camera-retro":2,car:2,"caret-down":2,"caret-left":2,"caret-right":2,"caret-square-o-down":2,"caret-square-o-left":2,"caret-square-o-right":2,"caret-square-o-up":2,"caret-up":2,"cart-arrow-down":2,"cart-plus":2,cc:2,"cc-amex":2,"cc-diners-club":2,"cc-discover":2,"cc-jcb":2,"cc-mastercard":2,"cc-paypal":2,"cc-stripe":2,"cc-visa":2,certificate:2,chain:2,"chain-broken":2,check:2,"check-circle":2,"check-circle-o":2,"check-square":2,"check-square-o":2,"chevron-circle-down":2,"chevron-circle-left":2,"chevron-circle-right":2,"chevron-circle-up":2,"chevron-down":2,"chevron-left":2,"chevron-right":2,"chevron-up":2,child:2,chrome:2,circle:2,"circle-o":2,"circle-o-notch":2,"circle-thin":2,clipboard:2,"clock-o":2,clone:2,close:2,cloud:2,"cloud-download":2,"cloud-upload":2,cny:2,code:2,"code-fork":2,codepen:2,codiepie:2,coffee:2,cog:2,cogs:2,columns:2,comment:2,"comment-o":2,commenting:2,"commenting-o":2,comments:2,"comments-o":2,compass:2,compress:2,connectdevelop:2,contao:2,copy:2,copyright:2,"creative-commons":2,"credit-card":2,"credit-card-alt":2,crop:2,crosshairs:2,css3:2,cube:2,cubes:2,cut:2,cutlery:2,dashboard:2,dashcube:2,database:2,dedent:2,delicious:2,desktop:2,deviantart:2,diamond:2,digg:2,dollar:2,"dot-circle-o":2,download:2,dribbble:2,dropbox:2,drupal:2,edge:2,edit:2,eject:2,"ellipsis-h":3,"ellipsis-v":3,empire:3,envelope:3,"envelope-o":3,"envelope-square":3,eraser:3,eur:3,euro:3,exchange:3,exclamation:3,"exclamation-circle":3,"exclamation-triangle":3,expand:3,expeditedssl:3,"external-link":3,"external-link-square":3,eye:3,"eye-slash":3,eyedropper:3,facebook:3,"facebook-f":3,"facebook-official":3,"facebook-square":3,"fast-backward":3,"fast-forward":3,fax:3,feed:3,female:3,"fighter-jet":3,file:3,"file-archive-o":3,"file-audio-o":3,"file-code-o":3,"file-excel-o":3,"file-image-o":3,"file-movie-o":3,"file-o":3,"file-pdf-o":3,"file-photo-o":3,"file-picture-o":3,"file-powerpoint-o":3,"file-sound-o":3,"file-text":3,"file-text-o":3,"file-video-o":3,"file-word-o":3,"file-zip-o":3,"files-o":3,film:3,filter:3,fire:3,"fire-extinguisher":3,firefox:3,flag:3,"flag-checkered":3,"flag-o":3,flash:3,flask:3,flickr:3,"floppy-o":3,folder:3,"folder-o":3,"folder-open":3,"folder-open-o":3,font:3,fonticons:3,"fort-awesome":3,forumbee:3,forward:3,foursquare:3,"frown-o":3,"futbol-o":3,gamepad:3,gavel:3,gbp:3,ge:3,gear:3,gears:3,genderless:3,"get-pocket":3,gg:3,"gg-circle":3,gift:3,git:3,"git-square":3,github:3,"github-alt":3,"github-square":3,gittip:3,glass:3,globe:3,google:3,"google-plus":3,"google-plus-square":3,"google-wallet":3,"graduation-cap":3,gratipay:3,group:3,"h-square":3,"hacker-news":4,"hand-grab-o":4,"hand-lizard-o":4,"hand-o-down":4,"hand-o-left":4,"hand-o-right":4,"hand-o-up":4,"hand-paper-o":4,"hand-peace-o":4,"hand-pointer-o":4,"hand-rock-o":4,"hand-scissors-o":4,"hand-spock-o":4,"hand-stop-o":4,hashtag:4,"hdd-o":4,header:4,headphones:4,heart:4,"heart-o":4,heartbeat:4,history:4,home:4,"hospital-o":4,hotel:4,hourglass:4,"hourglass-1":4,"hourglass-2":4,"hourglass-3":4,"hourglass-end":4,"hourglass-half":4,"hourglass-o":4,"hourglass-start":4,houzz:4,html5:4,"i-cursor":4,ils:4,image:4,inbox:4,indent:4,industry:4,info:4,"info-circle":4,inr:4,instagram:4,institution:4,"internet-explorer":4,intersex:4,ioxhost:4,italic:4,joomla:4,jpy:4,jsfiddle:4,key:4,"keyboard-o":4,krw:4,language:4,laptop:4,lastfm:4,"lastfm-square":4,leaf:4,leanpub:4,legal:4,"lemon-o":4,"level-down":4,"level-up":4,"life-bouy":4,"life-buoy":4,"life-ring":4,"life-saver":4,"lightbulb-o":4,"line-chart":4,link:4,linkedin:4,"linkedin-square":4,linux:4,list:4,"list-alt":4,"list-ol":4,"list-ul":4,"location-arrow":4,lock:4,"long-arrow-down":4,"long-arrow-left":4,"long-arrow-right":4,"long-arrow-up":4,magic:4,magnet:4,"mail-forward":4,"mail-reply":4,"mail-reply-all":4,male:4,map:4,"map-marker":4,"map-o":4,"map-pin":4,"map-signs":4,mars:4,"mars-double":4,"mars-stroke":4,"mars-stroke-h":5,"mars-stroke-v":5,maxcdn:5,meanpath:5,medium:5,medkit:5,"meh-o":5,mercury:5,microphone:5,"microphone-slash":5,minus:5,"minus-circle":5,"minus-square":5,"minus-square-o":5,mixcloud:5,mobile:5,"mobile-phone":5,modx:5,money:5,"moon-o":5,"mortar-board":5,motorcycle:5,"mouse-pointer":5,music:5,navicon:5,neuter:5,"newspaper-o":5,"object-group":5,"object-ungroup":5,odnoklassniki:5,"odnoklassniki-square":5,opencart:5,openid:5,opera:5,"optin-monster":5,outdent:5,pagelines:5,"paint-brush":5,"paper-plane":5,"paper-plane-o":5,paperclip:5,paragraph:5,paste:5,pause:5,"pause-circle":5,"pause-circle-o":5,paw:5,paypal:5,pencil:5,"pencil-square":5,"pencil-square-o":5,percent:5,phone:5,"phone-square":5,photo:5,"picture-o":5,"pie-chart":5,"pied-piper":5,"pied-piper-alt":5,pinterest:5,"pinterest-p":5,"pinterest-square":5,plane:5,play:5,"play-circle":5,"play-circle-o":5,plug:5,plus:5,"plus-circle":5,"plus-square":5,"plus-square-o":5,"power-off":5,print:5,"product-hunt":5,"puzzle-piece":5,qq:5,qrcode:5,question:5,"question-circle":5,"quote-left":5,"quote-right":5,ra:5,random:5,rebel:5,recycle:5,reddit:5,"reddit-alien":5,"reddit-square":5,refresh:5,registered:5,remove:5,renren:5,reorder:5,repeat:5,reply:5,"reply-all":5,retweet:5,rmb:5,road:5,rocket:5,"rotate-left":6,"rotate-right":6,rouble:6,rss:6,"rss-square":6,rub:6,ruble:6,rupee:6,safari:6,save:6,scissors:6,scribd:6,search:6,"search-minus":6,"search-plus":6,sellsy:6,send:6,"send-o":6,server:6,share:6,"share-alt":6,"share-alt-square":6,"share-square":6,"share-square-o":6,shekel:6,sheqel:6,shield:6,ship:6,shirtsinbulk:6,"shopping-bag":6,"shopping-basket":6,"shopping-cart":6,"sign-in":6,"sign-out":6,signal:6,simplybuilt:6,sitemap:6,skyatlas:6,skype:6,slack:6,sliders:6,slideshare:6,"smile-o":6,"soccer-ball-o":6,sort:6,"sort-alpha-asc":6,"sort-alpha-desc":6,"sort-amount-asc":6,"sort-amount-desc":6,"sort-asc":6,"sort-desc":6,"sort-down":6,"sort-numeric-asc":6,"sort-numeric-desc":6,"sort-up":6,soundcloud:6,"space-shuttle":6,spinner:6,spoon:6,spotify:6,square:6,"square-o":6,"stack-exchange":6,"stack-overflow":6,star:6,"star-half":6,"star-half-empty":6,"star-half-full":6,"star-half-o":6,"star-o":6,steam:6,"steam-square":6,"step-backward":6,"step-forward":6,stethoscope:6,"sticky-note":6,"sticky-note-o":6,stop:6,"stop-circle":6,"stop-circle-o":6,"street-view":6,strikethrough:6,stumbleupon:6,"stumbleupon-circle":6,subscript:6,subway:6,suitcase:6,"sun-o":6,superscript:6,support:6,table:6,tablet:6,tachometer:6,tag:6,tags:6,tasks:6,taxi:6,television:6,"tencent-weibo":6,terminal:6,"text-height":7,"text-width":7,th:7,"th-large":7,"th-list":7,"thumb-tack":7,"thumbs-down":7,"thumbs-o-down":7,"thumbs-o-up":7,"thumbs-up":7,ticket:7,times:7,"times-circle":7,"times-circle-o":7,tint:7,"toggle-down":7,"toggle-left":7,"toggle-off":7,"toggle-on":7,"toggle-right":7,"toggle-up":7,trademark:7,train:7,transgender:7,"transgender-alt":7,trash:7,"trash-o":7,tree:7,trello:7,tripadvisor:7,trophy:7,truck:7,try:7,tty:7,tumblr:7,"tumblr-square":7,"turkish-lira":7,tv:7,twitch:7,twitter:7,"twitter-square":7,umbrella:7,underline:7,undo:7,university:7,unlink:7,unlock:7,"unlock-alt":7,unsorted:7,upload:7,usb:7,usd:7,user:7,"user-md":7,"user-plus":7,"user-secret":7,"user-times":7,users:7,venus:7,"venus-double":7,"venus-mars":7,viacoin:7,"video-camera":7,vimeo:7,"vimeo-square":7,vine:7,vk:7,"volume-down":7,"volume-off":7,"volume-up":7,warning:7,wechat:7,weibo:7,weixin:7,whatsapp:7,wheelchair:7,wifi:7,"wikipedia-w":7,windows:7,won:7,wordpress:7,wrench:7,xing:7,"xing-square":7,"y-combinator":7,"y-combinator-square":7,yahoo:7,yc:7,"yc-square":7,yelp:7,yen:7,youtube:7,"youtube-play":7,"youtube-square":7}}},attached:function(){this._setBaseRequestUrl(this.resolveUrl("../q-icon/")),this._nameChanged()},_nameChanged:function(){if(this.isAttached){var e=this.groups[this.name],r=this.baseRequestUrl+"icon-group"+e+".html";this._requestManager.send({url:r,responseType:"json",cache:!0,callback:function(e){this._setPath(e[this.name])}.bind(this)})}}})</script></dom-module><script>Polymer.QuantumCoreButtonStateBehavior={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0,observer:"_activeChanged"}},listeners:{keydown:"_keydownHandler",keyup:"_keyupHandler",down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},_keydownHandler:function(e){32==e.which&&(e.preventDefault(),e.stopImmediatePropagation(),this._setPressed(!0))},_keyupHandler:function(e){32==e.which&&(this._setPressed(!1),this.toggles?(this.active=!this.active,this.fire("change")):this.active=!1)},_downHandler:function(){this._setPressed(!0)},_upHandler:function(){this._setPressed(!1)},_tapHandler:function(){this.toggles?(this.active=!this.active,this.fire("change")):this.active=!1},_pressedChanged:function(){this._changedButtonState()},_activeChanged:function(){this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}}</script><script>Polymer.QuantumCoreModelBehavior={properties:{model:{type:String,value:null},_modelComponent:{type:Object,value:null}},ready:function(){if(this.model&&this.$.modelContent&&this.$.modelContentContainer){var e=this.is+"-model-"+this.model;this._modelComponent=document.createElement(e),this._modelComponent.setAttribute("id","modelComponent"),Polymer.dom(this).appendChild(this._modelComponent),Polymer.dom(this.$.modelContent).observeNodes(function(e){this._processAddedModelNodes(e.addedNodes),this._processRemovedModelNodes(e.removedNodes)}.bind(this))}},_processAddedModelNodes:function(e){if(e&&e.length){for(var o=0;o<e.length;++o)e[o]!==this._modelComponent&&Polymer.dom(this._modelComponent).appendChild(e[o]);this.updateStyles(),this._modelComponent.updateStyles()}},_processRemovedModelNodes:function(e){!e||e.length}}</script><dom-module id="q-item-model-simple-1" assetpath="../components/q-item/"><template><style>:host {
  600.                 display: block;
  601.                 padding: 10px;
  602.                 @apply --q-item;
  603.             }
  604.  
  605.             :host #content ::content h1,
  606.             :host #content ::content h2,
  607.             :host #content ::content h3,
  608.             :host #content ::content h4,
  609.             :host #content ::content h5,
  610.             :host #content ::content h6 {
  611.                 @apply --q-item-headline;
  612.             }
  613.  
  614.             :host #content ::content q-subtext {
  615.                 margin-top: 5px;
  616.                 @apply --q-item-subtext;
  617.             }</style><div id="content"><content select="h1,h2,h3,h4,h5,h6"></content><content select="q-subtext"></content></div></template><script>Polymer({is:"q-item-model-simple-1"})</script></dom-module><dom-module id="q-item-model-simple-2" assetpath="../components/q-item/"><template><style>:host {
  618.                 display: block;
  619.                 padding: 10px;
  620.                 @apply --q-item;
  621.             }
  622.  
  623.             :host #content {
  624.                 @apply --layout-horizontal;
  625.                 @apply --layout-center;
  626.             }
  627.  
  628.             :host #content ::content q-icon {
  629.                 margin-right: 15px;
  630.                 @apply --q-item-icon;
  631.             }
  632.  
  633.             :host #content ::content p {
  634.                 @apply --q-item-p;
  635.             }</style><div id="content"><content select="q-icon"></content><content select="p"></content></div></template><script>Polymer({is:"q-item-model-simple-2"})</script></dom-module><dom-module id="q-item-model-simple-3" assetpath="../components/q-item/"><template><style>:host {
  636.                 display: block;
  637.                 @apply --q-item;
  638.             }
  639.  
  640.             :host #content ::content > a {
  641.                 display: block;
  642.                 padding-bottom: 20px;
  643.             }
  644.  
  645.             :host #meta-content {
  646.                 @apply --layout;
  647.                 @apply --layout-justified;
  648.             }
  649.  
  650.             :host #meta-content q-meta {
  651.                 @apply --layout-end;
  652.             }
  653.             :host #meta-content q-meta:first-child {
  654.                  float: left;
  655.             }
  656.             :host #meta-content q-meta:last-child {
  657.                  float: right;
  658.                  align-self: flex-end;
  659.             }</style><div id="content"><content select="a"></content><div id="meta-content"><content select="q-meta"></content></div></div></template><script>Polymer({is:"q-item-model-simple-3"})</script></dom-module><dom-module id="q-item-model-simple-4" assetpath="../components/q-item/"><template><style>:host {
  660.                 display: block;
  661.                 @apply --q-item-model-simple-4;
  662.             }
  663.  
  664.             :host #content ::content > a {
  665.                 display: block;
  666.                 padding-bottom: 20px;
  667.                 @apply --q-item-model-simple-4-link;
  668.             }
  669.  
  670.             :host #content ::content q-meta {
  671.                 @apply --q-item-model-simple-4-meta;
  672.             }
  673.             :host #content ::content q-meta a {
  674.                 @apply --q-item-model-simple-4-meta-link;
  675.             }
  676.  
  677.             :host #bottom {
  678.                 @apply --layout;
  679.                 @apply --layout-justified;
  680.             }
  681.             :host #bottom div a {
  682.                 margin-right: 5px;
  683.             }</style><div id="content"><content select="a:not([slot])"></content><div id="bottom"><div id="tag-content"><content select="[slot=tags]"></content></div><div id="meta-content"><content select="q-meta"></content></div></div></div></template><script>Polymer({is:"q-item-model-simple-4"})</script></dom-module><dom-module id="q-item" assetpath="../components/q-item/"><template><style>:host {
  684.                 @apply --q-font-common-base;
  685.                 display: block;
  686.                 @apply --q-item;
  687.             }
  688.  
  689.             :host(:focus) {
  690.                 outline: 0;
  691.                 @apply --q-item-focus;
  692.             }
  693.  
  694.             :host(:hover) {
  695.                 @apply --q-item-hover;
  696.             }
  697.  
  698.             :host([highlighted]) {
  699.                 @apply --q-item-highlighted;
  700.             }</style><div id="modelContentContainer"><content id="modelContent"></content></div></template><script>Polymer({is:"q-item",behaviors:[Polymer.QuantumCoreModelBehavior,Polymer.QuantumCoreButtonStateBehavior,Polymer.QuantumCoreControlStateBehavior],properties:{value:{type:String,value:"",reflectToAttribute:!0}},hostAttributes:{role:"option",tabIndex:-1},ready:function(){this.value||(this.value=this.textContent.trim())}})</script></dom-module><dom-module id="q-item-model-simple-5" assetpath="../components/q-item/"><template><style>:host {
  701.   @apply --layout; }
  702.   :host ::content q-avatar {
  703.     margin-right: 20px; }
  704.   :host #content {
  705.     width: 100%; }
  706.     :host #content ::content #top {
  707.       @apply --layout;
  708.       @apply --layout-justified;
  709.       margin-bottom: 10px; }</style><content select="q-avatar"></content><div id="content"><div id="top"><div id="label"><content select="h2"></content></div><div id="meta"><content select="q-meta"></content></div></div><content></content></div></template><script>Polymer({is:"q-item-model-simple-5"})</script></dom-module><dom-module id="q-label" assetpath="../components/q-label/"><template><style>:host {
  710.   display: inline-block;
  711.   @apply --q-label; }
  712.   :host > #content:before {
  713.     @apply --q-label-before; }
  714.   :host > #content:after {
  715.     @apply --q-label-after; }
  716.   :host > #content {
  717.     @apply --q-label-content; }
  718.   :host #stub-before, :host #stub-after, :host #content {
  719.     display: inline; }</style><div id="content"><content></content></div></template><script>Polymer({is:"q-label"})</script></dom-module><dom-module id="q-list" assetpath="../components/q-list/"><template><style>:host {
  720.                 --q-item: {
  721.                     @apply --q-list-item;
  722.                 };
  723.  
  724.                 --q-item-focus: {
  725.                     @apply --q-list-item-focus;
  726.                 };
  727.  
  728.                 --q-item-hover: {
  729.                     @apply --q-list-item-hover;
  730.                 };
  731.  
  732.                 --q-item-highlighted: {
  733.                     @apply --q-list-item-highlighted;
  734.                 };
  735.  
  736.                 @apply --q-font-common-base;
  737.                 display: block;
  738.                 @apply --q-list;
  739.             }
  740.  
  741.             :host #content {
  742.                 @apply --q-list-content;
  743.             }
  744.  
  745.             :host[divided] #content ::content > q-item {
  746.                 border-bottom: solid 1px #000;
  747.                 margin-bottom: 10px;
  748.                 padding-bottom: 10px;
  749.                 @apply --q-list-divided-item;
  750.             }
  751.  
  752.             :host[divided] #content ::content > q-item:last-child {
  753.                 border-bottom: none;
  754.                 margin-bottom: 0;
  755.                 padding-bottom: 0;
  756.                 @apply --q-list-divided-item;
  757.                 @apply --q-list-divided-last-item;
  758.             }
  759.  
  760.             :host[list-style="numbered"],
  761.             :host[list-style="bulleted"] {
  762.                 counter-reset: item;
  763.             }
  764.  
  765.             :host[list-style="numbered"] #content ::content > q-item,
  766.             :host[list-style="bulleted"] #content ::content > q-item {
  767.                 display: flex;
  768.             }
  769.  
  770.             :host[list-style="numbered"] #content ::content > q-item #modelContentContainer {
  771.                 flex: 1 1 auto;
  772.             }
  773.  
  774.             :host[list-style="numbered"] #content ::content > q-item::before {
  775.                 counter-increment: item;
  776.                 content: counter(item) ".";
  777.                 margin-right: 5px;
  778.             }
  779.  
  780.             :host[list-style="bulleted"] #content ::content > q-item::before {
  781.                 content: '\2022';
  782.                 margin-right: 5px;
  783.             }
  784.  
  785.             :host[list-style="none"] {
  786.                 list-style: none;
  787.             }</style><div id="content" on-tap="_onTap"><content></content></div></template><script>Polymer({is:"q-list",hostAttributes:{role:"list"},properties:{listStyle:{type:String,value:"none",reflectToAttribute:!0},divided:{type:Boolean,value:!1}},_onTap:function(){for(var e=Polymer.dom(event).path||[],t=0;t<e.length;t++)if(e[t].nodeName&&"q-item"===e[t].nodeName.toLowerCase()){this.fire("q-item-selected",{item:e[t]});break}}})</script></dom-module><dom-module id="q-nav" assetpath="../components/q-nav/"><template><style>:host[orientation="horizontal"] {
  788.   @apply --layout-horizontal;
  789.   @apply --layout-center;
  790.   border-bottom: 3px solid var(--q-nav-border-color, #dddddc); }
  791.   :host[orientation="horizontal"] ::content a,
  792.   :host[orientation="horizontal"] ::content q-divider {
  793.     margin-left: 20px; }
  794.     :host[orientation="horizontal"] ::content a:first-child,
  795.     :host[orientation="horizontal"] ::content q-divider:first-child {
  796.       margin-left: 0; }
  797.   :host[orientation="horizontal"] ::content q-icon {
  798.     margin-right: 12px; }
  799.   :host[orientation="horizontal"] ::content a {
  800.     @apply --layout;
  801.     @apply --layout-center;
  802.     min-height: 45px;
  803.     font-weight: bold;
  804.     text-transform: uppercase;
  805.     margin-bottom: -3px;
  806.     padding: 0px 9px 0px 9px;
  807.     border-bottom: 3px solid transparent; }
  808.     :host[orientation="horizontal"] ::content a[selected] {
  809.       color: var(--q-nav-selected-color, #4eb5f9);
  810.       border-bottom-color: var(--q-nav-border-selected-color, #4eb5f9); }
  811.   :host[orientation="horizontal"] ::content q-divider {
  812.     display: inline-block;
  813.     width: 3px;
  814.     height: 30px;
  815.     padding: 0;
  816.     background-color: var(--q-nav-border-color, #dddddc);
  817.     margin-bottom: 1px; }
  818.   :host[orientation="horizontal"][justify="full"] {
  819.     flex-wrap: nowrap;
  820.     justify-content: space-between; }
  821.   :host[orientation="horizontal"][justify="left"] {
  822.     @apply (--layout-start-justified); }
  823.   :host[orientation="horizontal"][justify="center"] {
  824.     justify-content: center; }
  825.   :host[orientation="horizontal"][justify="right"] {
  826.     justify-content: flex-end; }
  827.  
  828. :host[orientation="vertical"] {
  829.   @apply (--layout-vertical); }
  830.   :host[orientation="vertical"] ::content {
  831.     padding: 10px 0; }
  832.     :host[orientation="vertical"] ::content a {
  833.       border-left: 3px solid transparent;
  834.       margin: 5px 0;
  835.       padding: 2px 20px;
  836.       font-size: 11pt;
  837.       color: black;
  838.       font-weight: normal;
  839.       display: inline-block; }
  840.       :host[orientation="vertical"] ::content a[selected] {
  841.         color: var(--q-nav-selected-color, #4eb5f9);
  842.         font-weight: bold;
  843.         border-left: 3px solid var(--q-nav-border-selected-color, #4eb5f9); }
  844.     :host[orientation="vertical"] ::content:hover {
  845.       color: #4eb5f9; }</style><content select="a, q-divider"></content></template><script>Polymer({is:"q-nav",properties:{justify:{type:String,value:"left",reflectToAttribute:!0},orientation:{type:String,value:"horizontal",reflectToAttribute:!0}}})</script></dom-module><dom-module id="q-list-nav" assetpath="../components/q-list-nav/"><template><style>:host {
  846.   display: block;
  847.   @apply --q-list-nav; }
  848.   :host > #content ::content h1, :host > #content ::content h2, :host > #content ::content h3, :host > #content ::content h4, :host > #content ::content h5, :host > #content ::content h6 {
  849.     color: #fff;
  850.     font-weight: bold;
  851.     margin-bottom: 20px;
  852.     @apply --q-list-nav-header; }
  853.   :host > #content ::content q-nav a {
  854.     white-space: nowrap; }</style><div id="content"><content select="h1, h2, h3, h4, h5, h6"></content><content select="q-nav"></content></div></template><script>Polymer({is:"q-list-nav"})</script></dom-module><dom-module id="q-logo" assetpath="../components/q-logo/"><template><style>:host {
  855.                 display: inline-block;
  856.             }
  857.  
  858.             :host img {
  859.                 margin: 0;
  860.                 padding: 0;
  861.                 border: none;
  862.             }
  863.  
  864.             :host([size="xl"]) img {
  865.                 max-width: var(--q-logo-width-xl, var(--q-logo-width));
  866.                 max-height: var(--q-logo-height-xl);
  867.             }
  868.             :host([size="lg"]) img {
  869.                 max-width: var(--q-logo-width-lg, var(--q-logo-width));
  870.                 max-height: var(--q-logo-height-lg);
  871.             }
  872.             :host([size="md"]) img {
  873.                 max-width: var(--q-logo-width-md, var(--q-logo-width));
  874.                 max-height: var(--q-logo-height-md);
  875.             }
  876.             :host([size="sm"]) img {
  877.                 max-width: var(--q-logo-width-sm, var(--q-logo-width));
  878.                 max-height: var(--q-logo-height-sm);
  879.             }
  880.             :host([size="xs"]) img {
  881.                 max-width: var(--q-logo-width-xs, var(--q-logo-width));
  882.                 max-height: var(--q-logo-height-xs);
  883.             }</style><img src$="{{baseUrl}}images/{{name}}/{{size}}.png"></template><script>Polymer({is:"q-logo",properties:{name:{type:String},size:{type:String,value:"md",reflectToAttribute:!0},baseUrl:{readOnly:!0,type:String}},ready:function(){this._setBaseUrl(this.resolveUrl("."))}})</script></dom-module><script>Polymer.QuantumCoreLogoBehavior={properties:{size:{type:String,value:"md",reflectToAttribute:!0},baseUrl:{readOnly:!0,type:String}},ready:function(){this._setBaseUrl(this.resolveUrl("."))}}</script><dom-module id="q-logo-shared-styles" assetpath="../components/q-logo/"><template><style>:host {
  884.                 display: inline-block;
  885.             }
  886.  
  887.             :host img {
  888.                 margin: 0;
  889.                 padding: 0;
  890.                 border: none;
  891.             }</style></template></dom-module><dom-module id="q-logo-league" assetpath="../components/q-logo/"><template><style include="q-logo-shared-styles">:host([size="xl"]) img {
  892.                 max-width: var(--q-logo-long-rectangle-width-xl, 500px);
  893.                 max-height: var(--q-logo-long-rectangle-height-xl, 200px);
  894.             }
  895.             :host([size="lg"]) img {
  896.                 max-width: var(--q-logo-long-rectangle-width-lg, 300px);
  897.                 max-height: var(--q-logo-long-rectangle-height-lg, 120px);
  898.             }
  899.             :host([size="md"]) img {
  900.                 max-width: var(--q-logo-long-rectangle-width-md, 200px);
  901.                 max-height: var(--q-logo-long-rectangle-height-md, 80px);
  902.             }
  903.             :host([size="sm"]) img {
  904.                 max-width: var(--q-logo-long-rectangle-width-sm, 150px);
  905.                 max-height: var(--q-logo-long-rectangle-height-sm, 60px);
  906.             }
  907.             :host([size="xs"]) img {
  908.                 max-width: var(--q-logo-long-rectangle-width-xs, 75px);
  909.                 max-height: var(--q-logo-long-rectangle-height-xs, 30px);
  910.             }</style><img src$="{{baseUrl}}images/league/{{size}}.png"></template><script>Polymer({is:"q-logo-league",behaviors:[Polymer.QuantumCoreLogoBehavior]})</script></dom-module><dom-module id="q-meta" assetpath="../components/q-meta/"><template><style>:host {
  911.   display: inline-block;
  912.   @apply --q-meta; }</style><content></content></template><script>Polymer({is:"q-meta"})</script></dom-module><dom-module id="q-overlay-card-model-simple-1" assetpath="../components/q-overlay-card/"><template><style>:host #content ::content h1,
  913.             :host #content ::content h2,
  914.             :host #content ::content h3,
  915.             :host #content ::content h4,
  916.             :host #content ::content h5,
  917.             :host #content ::content h6 {
  918.                 @apply --q-overlay-card-headline;
  919.             }</style><div id="content"><content select="h1,h2,h3,h4,h5,h6"></content></div></template><script>Polymer({is:"q-overlay-card-model-simple-1"})</script></dom-module><dom-module id="q-overlay-card-model-simple-2" assetpath="../components/q-overlay-card/"><template><style>:host #content ::content p {
  920.                 margin-top: 10px;
  921.             }
  922.  
  923.             :host #content ::content h1,
  924.             :host #content ::content h2,
  925.             :host #content ::content h3,
  926.             :host #content ::content h4,
  927.             :host #content ::content h5,
  928.             :host #content ::content h6 {
  929.                 @apply --q-overlay-card-headline;
  930.             }
  931.  
  932.             :host #content ::content p {
  933.                 @apply --q-overlay-card-p;
  934.             }</style><div id="content"><content select="h1,h2,h3,h4,h5,h6"></content><content select="p"></content></div></template><script>Polymer({is:"q-overlay-card-model-simple-2"})</script></dom-module><dom-module id="q-overlay-card-model-simple-3" assetpath="../components/q-overlay-card/"><template><style>:host #content ::content q-subtext {
  935.                 margin-top: 5px;
  936.             }
  937.  
  938.             :host #content ::content h1,
  939.             :host #content ::content h2,
  940.             :host #content ::content h3,
  941.             :host #content ::content h4,
  942.             :host #content ::content h5,
  943.             :host #content ::content h6 {
  944.                 @apply --q-overlay-card-headline;
  945.             }
  946.  
  947.             :host #content ::content q-subtext {
  948.                 @apply --q-overlay-card-subtext;
  949.             }</style><div id="content"><content select="h1,h2,h3,h4,h5,h6"></content><content select="q-subtext"></content></div></template><script>Polymer({is:"q-overlay-card-model-simple-3"})</script></dom-module><dom-module id="q-overlay-card-model-simple-4" assetpath="../components/q-overlay-card/"><template><style>:host #content ::content q-subtext {
  950.                 margin-top: 5px;
  951.             }
  952.  
  953.             :host #content ::content p {
  954.                 margin-top: 10px;
  955.             }
  956.  
  957.             :host #content ::content h1,
  958.             :host #content ::content h2,
  959.             :host #content ::content h3,
  960.             :host #content ::content h4,
  961.             :host #content ::content h5,
  962.             :host #content ::content h6 {
  963.                 @apply --q-overlay-card-headline;
  964.             }
  965.  
  966.             :host #content ::content q-subtext {
  967.                 @apply --q-overlay-card-subtext;
  968.             }
  969.  
  970.             :host #content ::content p {
  971.                 @apply --q-overlay-card-p;
  972.             }</style><div id="content"><content select="h1,h2,h3,h4,h5,h6"></content><content select="q-subtext"></content><content select="p"></content></div></template><script>Polymer({is:"q-overlay-card-model-simple-4"})</script></dom-module><dom-module id="q-overlay-card-model-simple-5" assetpath="../components/q-overlay-card/"><template><style>:host #content ::content h1,
  973.             :host #content ::content h2,
  974.             :host #content ::content h3,
  975.             :host #content ::content h4,
  976.             :host #content ::content h5,
  977.             :host #content ::content h6 {
  978.                 @apply --q-overlay-card-headline;
  979.             }
  980.  
  981.             :host #content ::content q-subtext {
  982.                 @apply --q-overlay-card-subtext;
  983.             }
  984.  
  985.             :host #content ::content q-icon {
  986.                 @apply --q-overlay-card-icon;
  987.             }</style><div id="content"><content select="q-icon, h1, h2, h3, h4, h5, h6, q-subtext"></content></div></template><script>Polymer({is:"q-overlay-card-model-simple-5"})</script></dom-module><dom-module id="q-overlay-card" assetpath="../components/q-overlay-card/"><template><style>:host {
  988.   display: block;
  989.   color: #fff;
  990.   overflow: hidden;
  991.   width: var(--q-overlay-card-width, 300px);
  992.   height: var(--q-overlay-card-height, 300px);
  993.   background-image: var(--q-overlay-card-image);
  994.   @apply --q-overlay-card; }
  995.   :host #container {
  996.     @apply --layout-horizontal;
  997.     width: var(--q-overlay-card-width, 300px);
  998.     height: var(--q-overlay-card-height, 300px); }
  999.   :host #overlay {
  1000.     width: 100%;
  1001.     background-color: rgba(0, 0, 0, 0.4);
  1002.     @apply --q-overlay-card-overlay; }
  1003.   :host #overlay:hover {
  1004.     @apply --q-overlay-card-overlay-hover; }
  1005.   :host #modelContentContainer {
  1006.     width: 100%;
  1007.     padding: 25px;
  1008.     box-sizing: border-box;
  1009.     @apply --q-overlay-card-content; }
  1010.   :host:not([partial-overlay]) #container {
  1011.     @apply --layout-stretch; }
  1012.   :host:not([partial-overlay]) #overlay {
  1013.     @apply --layout; }
  1014.   :host:not([partial-overlay])[vertical-align="top"] #overlay {
  1015.     @apply --layout-start; }
  1016.   :host:not([partial-overlay])[vertical-align="center"] #overlay {
  1017.     @apply --layout-center; }
  1018.   :host:not([partial-overlay])[vertical-align="bottom"] #overlay {
  1019.     @apply --layout-end; }
  1020.   :host[partial-overlay][vertical-align="top"] #container {
  1021.     @apply --layout-start; }
  1022.   :host[partial-overlay][vertical-align="center"] #container {
  1023.     @apply --layout-center; }
  1024.   :host[partial-overlay][vertical-align="bottom"] #container {
  1025.     @apply --layout-end; }
  1026.   :host[horizontal-align="left"] #container {
  1027.     text-align: left; }
  1028.   :host[horizontal-align="center"] #container {
  1029.     text-align: center; }
  1030.   :host[horizontal-align="right"] #container {
  1031.     text-align: right; }</style><div id="container"><div id="overlay"><div id="modelContentContainer"><content id="modelContent"></content></div></div></div></template><script>Polymer({is:"q-overlay-card",behaviors:[Polymer.QuantumCoreModelBehavior],properties:{image:{type:String,value:""},imageSizing:{type:String,value:"cover"},imagePosition:{type:String,value:"center"},verticalAlign:{type:String,value:"bottom",reflectToAttribute:!0},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},partialOverlay:{type:Boolean,value:!1,reflectToAttribute:!0}},observers:["_srcChanged(image)","_transformChanged(imageSizing, imagePosition)"],_srcChanged:function(){null===this.image||-1===this.image.indexOf(".")?delete this.style.backgroundImage:this.style.backgroundImage="url('"+this.image+"')"},_transformChanged:function(){this.style.backgroundSize=this.imageSizing,this.style.backgroundPosition=this.imagePosition,this.style.backgroundRepeat="no-repeat"}})</script></dom-module><dom-module id="q-pagination" assetpath="../components/q-pagination/"><template><style>:host {
  1032.   display: block;
  1033.   --default-text-color: #6d6e70;
  1034.   --default-hover-text-color: #adaeb2;
  1035.   --default-active-text-color: #2980b9;
  1036.   --default-active-hover-text-color: #2980b9;
  1037.   --q-icon-fill-color: var(--q-pagination-text-color, var(--default-text-color));
  1038.   --q-icon-hover-fill-color: var(--q-pagination-hover-text-color, var(--default-hover-text-color));
  1039.   @apply --q-pagination; }
  1040.   :host [hidden] {
  1041.     display: none; }
  1042.   :host q-label {
  1043.     @apply --no-select;
  1044.     display: inline-block;
  1045.     padding: 0 4px;
  1046.     font-family: "Roboto Condensed";
  1047.     font-weight: bold;
  1048.     font-size: 18px;
  1049.     color: var(--q-pagination-text-color, var(--default-text-color));
  1050.     text-transform: none;
  1051.     cursor: default; }
  1052.     :host q-label.clickable:hover {
  1053.       color: var(--q-pagination-hover-text-color, var(--default-hover-text-color));
  1054.       cursor: pointer; }
  1055.     :host q-label.clickable.state-active {
  1056.       color: var(--q-pagination-active-text-color, var(--default-active-text-color)); }
  1057.       :host q-label.clickable.state-active:hover {
  1058.         color: var(--q-pagination-active-hover-text-color, var(--default-active-hover-text-color)); }</style><q-label on-tap="_changePage" data-page="first" class="clickable" hidden="[[!showFirstLast]]">First</q-label><q-label on-tap="_changePage" data-page="prev" class="clickable" hidden="[[!prevNextIcons]]"><q-icon name="chevron-circle-left"></q-icon></q-label><q-label on-tap="_changePage" data-page="prev" class="clickable" hidden="[[prevNextIcons]]">Prev</q-label><template is="dom-repeat" items="[[pages]]"><q-label on-tap="_changePage" id$="page-{{item.display}}" data-page$="{{item.display}}" class$="{{item.class}}">{{item.display}}</q-label></template><q-label on-tap="_changePage" data-page="next" class="clickable" hidden="[[prevNextIcons]]">Next</q-label><q-label on-tap="_changePage" data-page="next" class="clickable" hidden="[[!prevNextIcons]]"><q-icon name="chevron-circle-right"></q-icon></q-label><q-label on-tap="_changePage" data-page="last" class="clickable" hidden="[[!showFirstLast]]">Last</q-label></template><script>Polymer({is:"q-pagination",properties:{numPages:{type:Number,value:1,observer:"_renderPages"},currentPage:{type:Number,notify:!0,value:1},maxPagesShown:{type:Number,value:10},abbreviated:{type:Boolean,value:!1},showFirstLast:{type:Boolean,value:!1},prevNextIcons:{type:Boolean,value:!1}},_changePage:function(e){var s=qcore._findParentNode("q-label",e.target),a=s.getAttribute("data-page"),t=parseInt(this.currentPage,10);if(console.log("start",s,a),"..."==a)var a=parseInt(prompt("Which page would you like to jump to?"),10);else a="first"==a?1:"prev"==a?t-1:"next"==a?t+1:"last"==a?parseInt(this.numPages,10):parseInt(a,10);console.log("yee",a),"number"==typeof a&&a===a&&(a<1&&(a=1),a>this.numPages&&(a=this.numPages),a!=this.currentPage&&(this.currentPage=a,this.fire("pageChanged",{page:this.currentPage}),this._renderPages()))},attached:function(){this._renderPages()},_renderPages:function(){if(this.set("pages",[]),this.numPages<1&&(this.numPages=1),this.currentPage<1?this.currentPage=1:this.currentPage>this.numPages&&(this.currentPage=this.numPages),this.maxPagesShown<5&&(this.maxPagesShown=5),this.abbreviated)this.push("pages",{display:this.currentPage+" of "+this.numPages});else for(var e=this.maxPagesShown/2,s=Math.ceil((this.maxPagesShown-4)/2)+2,a=this.numPages>this.maxPagesShown&&this.currentPage>e+.5,t=this.numPages>this.maxPagesShown&&this.currentPage<this.numPages-e,i=1;i<=this.maxPagesShown&&!(i>this.numPages);++i){var n={display:"?",class:"clickable"};if(1==i)n.display=1;else if(2==i)n.display=a?"...":2;else if(i==this.maxPagesShown-1)n.display=t?"...":this.numPages-1;else if(i==this.maxPagesShown)n.display=this.numPages;else{var r=i-s;n.display=a&&t?this.currentPage+r:t?i:a?this.numPages-(this.maxPagesShown-i):i}n.display==this.currentPage&&(n.class+=" state-active"),this.push("pages",n)}}})</script></dom-module><dom-module id="q-related-list" assetpath="../components/q-related-list/"><template><style>:host {
  1059.  display: block;
  1060.   overflow: hidden;
  1061.   @apply --q-related-list; }
  1062.   :host [hidden] {
  1063.     display: none; }
  1064.   :host #content {
  1065.     margin-top: -40px; }
  1066.     :host #content ::content q-list {
  1067.       padding-top: 40px; }
  1068.       :host #content ::content q-list q-label {
  1069.         @apply --q-related-list-header; }
  1070.       :host #content ::content q-list q-item {
  1071.         @apply --q-related-list-item; }
  1072.       :host #content ::content q-list q-item:not(:first-of-type) {
  1073.         margin-top: 10px; }</style><div id="content"><content></content></div></template><script>Polymer({is:"q-related-list"})</script></dom-module><dom-module id="q-image" assetpath="../components/q-rich-media/"><style>:host {
  1074.   display: inline-block;
  1075.   vertical-align: middle;
  1076.   overflow: hidden;
  1077.   position: relative;
  1078.   background-color: #ddd; }
  1079.   :host [hidden] {
  1080.     display: none; }
  1081.   :host #sizedImage {
  1082.     position: absolute;
  1083.     top: 0;
  1084.     right: 0;
  1085.     bottom: 0;
  1086.     left: 0; }
  1087.   :host img {
  1088.     display: block;
  1089.     width: 100%;
  1090.     height: auto; }
  1091.   :host #placeholder {
  1092.     position: absolute;
  1093.     top: 50%;
  1094.     left: 50%;
  1095.     transform: translate(-50%, -50%); }</style><template><div role="img" id="sizedImage" hidden$="[[!sizing]]"></div><content select="img"></content><img id="image" src$="[[src]]" alt$="[[alt]]" title$="[[title]]" hidden$="[[sizing]]"><div id="placeholder" hidden$="[[_computePlaceholderHidden(placeholder, _loading, _loaded)]]">Loading...</div></template><script>Polymer({is:"q-image",properties:{src:{type:String,observer:"_srcChanged"},alt:{type:String},title:{type:String},sizing:{type:String,value:null},position:{type:String,value:null},width:{type:Number,observer:"_widthChanged",value:null},height:{type:Number,observer:"_heightChanged",value:null},placeholder:{type:Boolean,value:!1},_loading:{notify:!0,readOnly:!0,type:Boolean,value:!0},_loaded:{notify:!0,readOnly:!0,type:Boolean,value:!1},_error:{notify:!0,readOnly:!0,type:Boolean,value:!1}},observers:["_transformChanged(sizing, position)"],ready:function(){var e=this.$.image;e.onload=function(){this._set_loading(!1),this._set_loaded(!0),this._set_error(!1)}.bind(this),e.onerror=function(){this._set_loading(!1),this._set_loaded(!1),this._set_error(!0)}.bind(this)},_reset:function(){this.$.image.removeAttribute("src"),this.$.sizedImage.style.backgroundImage="",this._set_loading(!1),this._set_loaded(!1),this._set_error(!1)},_computePlaceholderHidden:function(){return!this.placeholder||!(this._loading&&!this._loaded)},_load:function(e){if(!e)return void this._reset();this._set_loading(!0),this._set_loaded(!1),this._set_error(!1),this.$.image.src=e,this.$.sizedImage.style.backgroundImage="url('"+e+"')"},_srcChanged:function(){this._reset(),this._load(this.src)},_transformChanged:function(){this.$.sizedImage.style.backgroundSize=this.sizing,this.$.sizedImage.style.backgroundPosition=this.position,this.$.sizedImage.style.backgroundRepeat="no-repeat"},_widthChanged:function(){var e=this.width;e===e&&(e+="px"),this.style.width=e},_heightChanged:function(){var e=this.height;e===e&&(e+="px"),this.style.height=e}})</script></dom-module><script>Polymer.QuantumCoreFormInputBehaviorImpl={properties:{label:{type:String,value:""},alwaysFloatLabel:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},type:{type:String,valud:"text"},name:{type:String},value:{type:String,notify:!0},placeholder:{type:String,value:""},pattern:{type:String},autoValidate:{type:Boolean,value:!1},state:{type:String,reflectToAttribute:!0,observer:"_stateChanged"},disabled:{type:Boolean,value:!1},required:{type:Boolean,value:!1},maxlength:{type:Number},minlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},readonly:{type:Boolean,default:!1},focused:{type:Boolean,value:!1,readOnly:!0,notify:!0},valueExists:{type:Boolean,value:!1,reflectToAttribute:!0},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{keydown:"_onKeydown"},hostAttributes:{tabindex:0},get inputElement(){return this.$.input},get _inputElementValue(){return this.inputElement.value},ready:function(){},attached:function(){this.inputElement.addEventListener("bind-value-changed",this._boundValueChanged)},_stateChanged:function(){"disabled"==this.state?this.inputElement.disabled=!0:this.inputElement.disabled=!1},_onValueChanged:function(t){this.autoValidate&&(this.validate()||(this.state="invalid"));var e=t.detail.value;this.valueExists=!(!e||""==e&&0!==e),this.fire("value-changed",{value:e})},_onKeydown:function(t){t.shiftKey&&9==t.which&&this._onShiftTabDown()},_onChange:function(t){this.shadowRoot&&this.fire(t.type,{sourceEvent:t},{node:this,bubbles:t.bubbles,cancelable:t.cancelable})},_computeContainerClass:function(t,e,n,a,i){var o=[];return t?i&&o.push("label-is-hidden"):(e||i||""!=n)&&o.push("label-is-floating"),a&&o.push("is-highlighted"),o.join(" ")},validate:function(){return"disabled"==this.state||(this.inputElement.validate()?(this.state="success",!0):(this.state="invalid",!1))},_focusBlurHandler:function(t){Polymer.QuantumCoreControlStateBehavior._focusBlurHandler.call(this,t),this.focused&&!this._shiftTabPressed&&this.inputElement.focus()},_onShiftTabDown:function(){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1},1)}},Polymer.QuantumCoreFormInputBehavior=[Polymer.QuantumCoreControlStateBehavior,Polymer.QuantumCoreFormInputBehaviorImpl]</script><dom-module id="q-input" assetpath="../components/q-input/"><script>Polymer({is:"q-input",extends:"input",behaviors:[Polymer.QuantumCoreControlStateBehavior],properties:{allowedInput:{type:String},bindValue:{type:String,observer:"_bindValueChanged"},required:{type:Boolean,observer:"_requiredChanged"},placeholder:{type:String,observer:"_placeholderChanged"}},listeners:{input:"_onInput",keypress:"_onKeypress",keydown:"_onKeydown"},get _allowedInputRegExp(){var e;return this.allowedInput?e=new RegExp(this.allowedInput):void 0!==this._defaultAllowedInputs[this.type]&&(e=this._defaultAllowedInputs[this.type]),e},ready:function(){this.bindValue=this.value,this._prevValue=this.value,this._defaultAllowedInputs={number:/[0-9.e-]/}},validate:function(){var e=this.checkValidity();return e&&this.required&&""===this.value&&(e=!1),this.invalid=!e,e},_bindValueChanged:function(){this.fire("q-value-changed",{value:this.bindValue})},_requiredChanged:function(){this.fire("q-required-changed",{value:this.required})},_placeholderChanged:function(){this.fire("q-placeholder-changed",{value:this.placeholder})},_disabledChanged:function(){this.fire("q-disabled-changed",{value:this.disabled})},_focusedChanged:function(e){Polymer.QuantumCoreControlStateBehavior._focusedChanged.call(this,e),this.fire("q-focused-changed",{value:this.focused})},_checkAllowedInputPattern:function(){var e=this._allowedInputRegExp;if(e)for(var t=this.value.length,i=0;i<t;++i)if(!e.test(this.value[i]))return!1;return!0},_isPrintableKeyPress:function(e){return 0!=e.keyCode},_onKeydown:function(){"number"!=this.type&&(this._selectionStart=this.selectionStart,this._selectionEnd=this.selectionEnd)},_onKeypress:function(e){var t=this._allowedInputRegExp;if(t&&this._isPrintableKeyPress(e)){var i=String.fromCharCode(e.charCode);if(!t.test(i))return this.fire("warning",{text:"Invalid character "+i+" was blocked."}),void e.preventDefault();this._allowedInputPatternChecked=!0}},_onInput:function(){this._allowedInputPatternChecked||this._checkAllowedInputPattern()||(this.fire("warning",{text:"Invalid characters were blocked."}),this.value=this._prevValue,this.setSelectionRange(this._selectionStart,this._selectionEnd)),this.bindValue=this.value,this._allowedInputPatternChecked=!1,this._prevValue=this.value}})</script></dom-module><dom-module id="q-input-container" assetpath="../components/q-input/"><template><style>:host {
  1096.                 --q-input-height-default: 24px;
  1097.  
  1098.                 display: block;
  1099.                 @apply --q-form-input;
  1100.             }
  1101.  
  1102.             :host [hidden] {
  1103.                 display: none;
  1104.             }
  1105.  
  1106.             :host[input-is-focused] {
  1107.                 outline: none;
  1108.             }
  1109.  
  1110.             :host #container {
  1111.                 position: relative;
  1112.             }
  1113.  
  1114.             :host #container #required-star {
  1115.                 color: var(--q-error-bg-color, #f00);
  1116.                 margin-left: 4px;
  1117.             }
  1118.  
  1119.             :host #container.is-highlighted #label {
  1120.                 color: var(--q-form-input-highlight-color);
  1121.             }
  1122.  
  1123.             :host #container.label-is-floating #input-container {
  1124.                 position: static;
  1125.             }
  1126.  
  1127.             :host #container.label-is-floating #label {
  1128.                 transform: translate(0, -100%);
  1129.                 width: 100%;
  1130.                 cursor: default;
  1131.                 padding: 0;
  1132.             }
  1133.  
  1134.             :host #container.label-is-hidden #label {
  1135.                 display: none;
  1136.             }
  1137.  
  1138.             :host #container ::content [suffix] {
  1139.                 @apply (--layout-flex-none);
  1140.             }
  1141.  
  1142.             :host #container ::content [suffix] {
  1143.                 margin-left: 5px;
  1144.             }
  1145.  
  1146.             :host #content {
  1147.                 @apply (--layout-horizontal);
  1148.                 @apply (--layout-center);
  1149.                 position: relative;
  1150.                 padding-bottom: var(--q-form-input-underline-padding, 4px);
  1151.             }
  1152.  
  1153.             :host #content ::content [prefix] {
  1154.                 @apply (--layout-flex-none);
  1155.                 margin-right: 5px;
  1156.             }
  1157.  
  1158.             :host #input-container {
  1159.                 @apply (--layout-flex-auto);
  1160.                 position: relative;
  1161.             }
  1162.  
  1163.             :host #input-container ::content input {
  1164.                 width: 100%;
  1165.                 border: none;
  1166.                 border: 0;
  1167.                 margin-bottom: 0;
  1168.                 @apply --q-form-input;
  1169.             }
  1170.  
  1171.             :host #input-container ::content input::-moz-placeholder {
  1172.                 @apply --q-form-input-placeholder;
  1173.             }
  1174.  
  1175.             :host #input-container ::content input:-moz-placeholder {
  1176.                 @apply --q-form-input-placeholder;
  1177.             }
  1178.  
  1179.             :host #input-container ::content input::-webkit-input-placeholder {
  1180.                 @apply --q-form-input-placeholder;
  1181.             }
  1182.  
  1183.             :host #input-container ::content input:-ms-input-placeholder {
  1184.                 @apply --q-form-input-placeholder;
  1185.             }
  1186.  
  1187.             :host #input-container ::content input::placeholder {
  1188.                 @apply --q-form-input-placeholder;
  1189.             }
  1190.  
  1191.             :host #input-container ::content input:focus {
  1192.                 @apply --q-form-input-focused;
  1193.             }
  1194.  
  1195.             :host #label-float-placeholder {
  1196.                 height: calc(var(--q-input-height, var(--q-input-height-default)) * .75);
  1197.                 margin-bottom: var(--q-input-container-label-offset, 0);
  1198.             }
  1199.  
  1200.             :host #label {
  1201.                 @apply (--no-select);
  1202.                 position: absolute;
  1203.                 top: calc(var(--q-input-container-label-offset, 0) * -1);
  1204.                 left: 0;
  1205.                 right: 0;
  1206.                 width: 100%;
  1207.                 height: var(--q-input-height, var(--q-input-height-default));
  1208.                 line-height: var(--q-input-height, var(--q-input-height-default));
  1209.                 margin: 0;
  1210.                 transform-origin: top left;
  1211.                 transition: transform .25s, width .25s, color .25s;
  1212.                 pointer-events: none;
  1213.                 @apply --q-form-label;
  1214.             }
  1215.  
  1216.             :host #required-star {
  1217.                 display: inline-block;
  1218.                 margin-left: 2px;
  1219.             }
  1220.  
  1221.             :host:not([input-is-required]) #required-star {
  1222.                 display: none;
  1223.             }
  1224.  
  1225.             :host #content ::content q-icon {
  1226.                 color: var(--q-form-input-underline-color, #ccc);
  1227.             }
  1228.  
  1229.             :host[input-is-focused] #content ::content q-icon {
  1230.                 color: var(--q-form-input-highlight-color, #ccc);
  1231.             }
  1232.  
  1233.             :host[state="invalid"] #content ::content q-icon {
  1234.                 color: var(--q-error-bg-color, #c9302c);
  1235.             }
  1236.  
  1237.             :host[state="invalid"] #container {
  1238.                 border-bottom-color: var(--q-error-bg-color, #c9302c);
  1239.                 border-bottom-width: var(--highlight-width);
  1240.                 margin-bottom: 0;
  1241.             }
  1242.  
  1243.             :host[state="invalid"] #container #label {
  1244.                 color: var(--q-error-bg-color, #c9302c);
  1245.             }
  1246.  
  1247.             :host[input-is-disabled] #content ::content q-icon {
  1248.                 color: var(--q-disabled-bg-color, #ccc);
  1249.             }
  1250.  
  1251.             :host[input-is-disabled] #container {
  1252.                 border-bottom-color: var(--q-disabled-bg-color, #ccc);
  1253.                 border-bottom-width: var(--highlight-width);
  1254.                 margin-bottom: 0;
  1255.             }
  1256.  
  1257.             :host[input-is-disabled] #container ::content input {
  1258.                 color: var(--q-disabled-bg-color, #ccc);
  1259.             }
  1260.  
  1261.             :host[input-is-disabled] #container #label {
  1262.                 color: var(--q-disabled-bg-color, #ccc);
  1263.             }
  1264.  
  1265.             :host[state="warning"] #content ::content q-icon {
  1266.                 color: var(--q-warning-bg-color, #f0ad4e);
  1267.             }
  1268.  
  1269.             :host[state="warning"] #container {
  1270.                 border-bottom-color: var(--q-warning-bg-color, #f0ad4e);
  1271.                 border-bottom-width: var(--highlight-width);
  1272.                 margin-bottom: 0;
  1273.             }
  1274.  
  1275.             :host[state="warning"] #container ::content input {
  1276.                 color: var(--q-warning-bg-color, #f0ad4e);
  1277.             }
  1278.  
  1279.             :host[state="warning"] #container #label {
  1280.                 color: var(--q-warning-bg-color, #f0ad4e);
  1281.             }
  1282.  
  1283.             :host[state="success"] #content ::content q-icon {
  1284.                 color: var(--q-success-bg-color, #449d44);
  1285.             }
  1286.  
  1287.             :host[state="success"] > #container {
  1288.                 border-bottom-color: var(--q-success-bg-color, #449d44);
  1289.                 border-bottom-width: var(--highlight-width);
  1290.                 margin-bottom: 0;
  1291.             }
  1292.  
  1293.             :host[state="success"] > #container ::content input {
  1294.                 color: var(--q-success-bg-color, #449d44);
  1295.             }
  1296.  
  1297.             :host[state="success"] > #container #label {
  1298.                 color: var(--q-success-bg-color, #449d44);
  1299.             }</style><div id="container" class$="[[_computeContainerClass(noLabelFloat,alwaysFloatLabel,inputHasPlaceholder,inputIsFocused,inputHasValue)]]"><div id="label-float-placeholder" hidden$="[[!label]]"></div><div id="content"><content select="[prefix]"></content><div id="input-container"><q-label id="label" hidden$="[[!label]]">[[label]]<span id="required-star">*</span></q-label><content id="input-content" select="input,textarea"></content></div><content select="[suffix]"></content></div></div></template><script>Polymer({is:"q-input-container",behaviors:[Polymer.QuantumCoreControlStateBehavior],properties:{label:{type:String,value:""},alwaysFloatLabel:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},state:{readOnly:!0,type:String,reflectToAttribute:!0},inputIsFocused:{readOnly:!0,type:Boolean,value:!1},inputHasValue:{readOnly:!0,type:Boolean,value:!1,reflectToAttribute:!0},inputIsRequired:{readOnly:!0,type:Boolean,value:!1,reflectToAttribute:!0},inputHasPlaceholder:{readOnly:!0,type:Boolean,value:!1},inputIsDisabled:{readOnly:!0,type:Boolean,value:!1,reflectToAttribute:!0},inputElement:{readOnly:!0,type:Object}},listeners:{keydown:"_onKeydown"},hostAttributes:{tabindex:0},ready:function(){Polymer.dom(this.$["input-content"]).observeNodes(function(e){e.addedNodes.length&&(this._setInputElement(e.addedNodes[0]),this.inputElement.addEventListener("q-value-changed",this._onInputValueChanged.bind(this)),this.inputElement.addEventListener("q-placeholder-changed",this._onInputPlaceholderChanged.bind(this)),this.inputElement.addEventListener("q-required-changed",this._onInputRequiredChanged.bind(this)),this.inputElement.addEventListener("q-disabled-changed",this._onInputDisabledChanged.bind(this)),this.inputElement.addEventListener("q-focused-changed",this._onInputFocusedChanged.bind(this)),this._setInputIsRequired(this.inputElement.getAttribute("required")),this._setInputIsDisabled(this.inputElement.getAttribute("disabled")))}.bind(this))},_onKeydown:function(e){e.shiftKey&&9===e.which&&this._onShiftTabDown()},_onInputValueChanged:function(e){this.autoValidate&&(this.validate()||this._setState("invalid"));var t=e.detail.value;!t||""===t&&0!==t?this._setInputHasValue(!1):this._setInputHasValue(!0),this.fire("value-changed",{value:t})},_onInputPlaceholderChanged:function(e){this._setInputHasPlaceholder(""!==e.detail.value)},_onInputRequiredChanged:function(e){this._setInputIsRequired(!0===e.detail.value)},_onInputDisabledChanged:function(e){this._setInputIsDisabled(!0===e.detail.value)},_onInputFocusedChanged:function(e){this._setInputIsFocused(!0===e.detail.value)},_computeContainerClass:function(e,t,n,i,a){var s=[];return e?a&&s.push("label-is-hidden"):(t||a||n)&&s.push("label-is-floating"),i&&s.push("is-highlighted"),s.join(" ")},validate:function(){return!!this.inputIsDisabled||(this.inputElement.validate()?(this._setState("success"),!0):(this._setState("invalid"),!1))},_focusBlurHandler:function(e){Polymer.QuantumCoreControlStateBehavior._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this.inputElement&&this.inputElement.focus()},_onShiftTabDown:function(){var e=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",e),this._shiftTabPressed=!1},1)}})</script></dom-module><dom-module id="q-form-input" assetpath="../components/q-form-input/"><template><style>:host {
  1300.   display: block;
  1301.   --highlight-width: var(--q-form-input-highlight-width, 2px);
  1302.   --underline-width: var(--q-form-input-underline-width, 1px);
  1303.   --underline-color: var(--q-form-input-underline-color, #eee);
  1304.   --underline-margin: calc(var(--highlight-width) - var(--underline-width));
  1305.   @apply --q-form-input; }
  1306.   :host [hidden] {
  1307.     display: none; }
  1308.   :host[focused] {
  1309.     outline: none; }
  1310.   :host > #container {
  1311.     border-bottom: var(--underline-width) solid var(--underline-color);
  1312.     margin-bottom: var(--underline-margin); }
  1313.     :host > #container.is-highlighted {
  1314.       border-bottom-color: var(--q-form-input-highlight-color, #ccc);
  1315.       border-bottom-width: var(--highlight-width);
  1316.       margin-bottom: 0; }
  1317.       :host > #container.is-highlighted #required-star {
  1318.         color: var(--q-error-bg-color, #f00); }
  1319.       :host > #container.is-highlighted #label {
  1320.         color: var(--q-form-input-highlight-color, #ccc); }
  1321.     :host > #container.label-is-floating #input-container {
  1322.       position: static; }
  1323.     :host > #container.label-is-floating #label {
  1324.       transform: translate(0, -75%) scale(0.75);
  1325.       width: 133%;
  1326.       cursor: default; }
  1327.     :host > #container.label-is-hidden #label {
  1328.       display: none; }
  1329.   :host #content {
  1330.     @apply (--layout-horizontal);
  1331.     @apply (--layout-center);
  1332.     position: relative;
  1333.     padding-bottom: var(--q-form-input-underline-padding, 4px); }
  1334.   :host > #container {
  1335.     position: relative; }
  1336.     :host > #container ::content [suffix] {
  1337.       @apply (--layout-flex-none); }
  1338.     :host > #container ::content [suffix] {
  1339.       margin-left: 5px; }
  1340.   :host ::content [prefix] {
  1341.     @apply (--layout-flex-none);
  1342.     margin-right: 5px; }
  1343.   :host #input-container {
  1344.     @apply (--layout-flex-auto);
  1345.     position: relative; }
  1346.     :host #input-container input {
  1347.       width: 100%;
  1348.       border: none;
  1349.       border: 0;
  1350.       margin-bottom: 0;
  1351.       @apply --q-form-input; }
  1352.     :host #input-container input::-moz-placeholder {
  1353.       @apply --q-form-input-placeholder; }
  1354.     :host #input-container input:-moz-placeholder {
  1355.       @apply --q-form-input-placeholder; }
  1356.     :host #input-container input::-webkit-input-placeholder {
  1357.       @apply --q-form-input-placeholder; }
  1358.     :host #input-container input:-ms-input-placeholder {
  1359.       @apply --q-form-input-placeholder; }
  1360.     :host #input-container input::placeholder {
  1361.       @apply --q-form-input-placeholder; }
  1362.     :host #input-container input:focus {
  1363.       @apply --q-form-input-focused; }
  1364.   :host #label-float-placeholder {
  1365.     height: calc(var(--q-input-height) * .75); }
  1366.   :host #label {
  1367.     @apply (--no-select);
  1368.     cursor: text;
  1369.     position: absolute;
  1370.     top: 0;
  1371.     left: 0;
  1372.     right: 0;
  1373.     width: 100%;
  1374.     height: var(--q-input-height);
  1375.     line-height: var(--q-input-height);
  1376.     margin: 0;
  1377.     color: #aaa;
  1378.     transform-origin: top left;
  1379.     transition: transform .25s, width .25s, color .25s;
  1380.     font-family: 'Roboto Condensed', sans-serif;
  1381.     font-size: 16px;
  1382.     font-weight: normal;
  1383.     pointer-events: none;
  1384.     @apply --q-form-input-label; }
  1385.   :host #required-star {
  1386.     display: inline-block;
  1387.     margin-left: 2px; }
  1388.   :host:not([required]) #required-star {
  1389.     display: none; }
  1390.   :host #content ::content q-icon {
  1391.     color: var(--q-form-input-underline-color, #ccc); }
  1392.   :host[focused] #content ::content q-icon {
  1393.     color: var(--q-form-input-highlight-color, #ccc); }
  1394.   :host[state="invalid"] #content ::content q-icon {
  1395.     color: var(--q-error-bg-color, #c9302c); }
  1396.   :host[state="invalid"] #container {
  1397.     border-bottom-color: var(--q-error-bg-color, #c9302c);
  1398.     border-bottom-width: var(--highlight-width);
  1399.     margin-bottom: 0; }
  1400.     :host[state="invalid"] #container #label {
  1401.       color: var(--q-error-bg-color, #c9302c); }
  1402.   :host[state="disabled"] #content ::content q-icon {
  1403.     color: var(--q-disabled-bg-color, #ccc); }
  1404.   :host[state="disabled"] #container {
  1405.     border-bottom-color: var(--q-disabled-bg-color, #ccc);
  1406.     border-bottom-width: var(--highlight-width);
  1407.     margin-bottom: 0; }
  1408.     :host[state="disabled"] #container ::content input {
  1409.       color: var(--q-disabled-bg-color, #ccc); }
  1410.     :host[state="disabled"] #container #label {
  1411.       color: var(--q-disabled-bg-color, #ccc); }
  1412.   :host[state="warning"] #content ::content q-icon {
  1413.     color: var(--q-warning-bg-color, #f0ad4e); }
  1414.   :host[state="warning"] #container {
  1415.     border-bottom-color: var(--q-warning-bg-color, #f0ad4e);
  1416.     border-bottom-width: var(--highlight-width);
  1417.     margin-bottom: 0; }
  1418.     :host[state="warning"] #container ::content input {
  1419.       color: var(--q-warning-bg-color, #f0ad4e); }
  1420.     :host[state="warning"] #container #label {
  1421.       color: var(--q-warning-bg-color, #f0ad4e); }
  1422.   :host[state="success"] #content ::content q-icon {
  1423.     color: var(--q-success-bg-color, #449d44); }
  1424.   :host[state="success"] > #container {
  1425.     border-bottom-color: var(--q-success-bg-color, #449d44);
  1426.     border-bottom-width: var(--highlight-width);
  1427.     margin-bottom: 0; }
  1428.     :host[state="success"] > #container ::content input {
  1429.       color: var(--q-success-bg-color, #449d44); }
  1430.     :host[state="success"] > #container #label {
  1431.       color: var(--q-success-bg-color, #449d44); }</style><q-input-container label$="[[label]]" always-float-label$="[[alwaysFloatLabel]]" no-label-float$="noLabelFloat"><content></content><input is="q-input" id="input" disabled$="[[disabled]]" title$="[[title]]" allowed-input="[[allowedInput]]" type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autofocus$="[[autofocus]]" autocomplete="[[autocomplete]]" inputmode$="[[inputmode]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step$="[[step]]" name$="[[name]]" bind-value="{{value}}" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" size$="[[size]]" tabindex$="[[tabindex]]" accept$="[[accept]]" multiple$="[[multiple]]"></q-input-container></template><script>Polymer({is:"q-form-input",behaviors:[Polymer.QuantumCoreFormInputBehavior]})</script></dom-module><dom-module id="q-search" assetpath="../components/q-search/"><style>:host {
  1432.   display: block;
  1433.   color: var(--q-search-icon-color);
  1434.   --q-form-input-underline-color: var(--q-search-underline-color, #000);
  1435.   --q-form-input-underline-width: 0;
  1436.   --q-form-input-highlight-color: var(--q-search-highlight-color, #000);
  1437.   --q-form-input-highlight-width: 0;
  1438.   --q-form-input-underline-padding: 0;
  1439.   padding-bottom: 4px;
  1440.   border-bottom: var(--q-search-underline-width, 1px) solid var(--q-search-underline-color, #000);
  1441.   @apply --q-search; }
  1442.   :host ::content [hidden],
  1443.   :host [hidden] {
  1444.     display: none; }
  1445.   :host[collapses] {
  1446.     border-bottom: 0; }
  1447.   :host #input-container {
  1448.     @apply --layout-horizontal;
  1449.     @apply --layout-start;
  1450.     @apply --layout-justified;
  1451.     @apply --layout-end-justified;
  1452.     width: 100%;
  1453.     position: relative;
  1454.     border-bottom: var(--q-search-underline-width, 1px) solid var(--q-search-underline-color, #000);
  1455.     @apply --q-search-input-container; }
  1456.     :host #input-container #icon-container {
  1457.       margin-right: 5px; }
  1458.     :host #input-container q-form-input {
  1459.       width: 100%;
  1460.       overflow: hidden;
  1461.       display: inline-block;
  1462.       vertical-align: middle;
  1463.       --q-form-input: { @apply --q-search-input; };
  1464.       --q-form-input-placeholder: { @apply --q-search-input-placeholder; };
  1465.       --q-form-input-focused: { @apply --q-search-input-focused; }; }
  1466.     :host #input-container q-icon {
  1467.       vertical-align: middle;
  1468.       color: var(--q-search-icon-color);
  1469.       --q-icon-color: var(--q-search-icon-color); }
  1470.   :host q-dropdown {
  1471.     background: transparent;
  1472.     @apply --q-search-results-container; }
  1473.     :host q-dropdown #results {
  1474.       @apply --q-search-results; }
  1475.   :host q-dropdown[opened] {
  1476.     display: block; }
  1477.     :host q-dropdown[opened] #results {
  1478.       @apply --q-search-results-opened; }
  1479.   :host[no-dropdown] q-dropdown {
  1480.     display: none; }
  1481.   :host[collapses] #input-container q-form-input {
  1482.     width: 0%;
  1483.     transition: width .15s; }
  1484.   :host[collapses][opened] #input-container q-form-input {
  1485.     width: 100%; }
  1486.   :host[collapses][value-exists] #input-container q-form-input {
  1487.     width: 100%; }
  1488.   :host:not([opened]):not([value-exists]) #reset-icon {
  1489.     display: none; }
  1490.   :host #no-results {
  1491.     @apply --q-search-results-empty; }
  1492.   :host[inline-results] > q-dropdown {
  1493.     display: block; }
  1494.   :host > #input-container > q-label#placeholder {
  1495.     display: none;
  1496.     @apply --q-search-placeholder-label; }</style><template strip-whitespace=""><div id="input-container"><q-label id="placeholder">{{placeholder}}</q-label><div id="icon-container"><q-icon name="spinner" class="spin animated infinite" hidden$="[[!loading]]"></q-icon><q-icon id="search-icon" name$="[[icon]]" hidden$="[[loading]]"></q-icon></div><q-form-input id="form-input" disabled$="[[disabled]]" title$="[[title]]" invalid="{{invalid}}" allowed-input="[[allowedInput]]" type="text" pattern$="[[pattern]]" autofocus$="[[autofocus]]" autocomplete="off" inputmode$="[[inputmode]]" name$="[[name]]" bind-value="{{value}}" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" label="[[label]]" tabindex$="[[tabindex]]"><q-icon id="reset-icon" name="times" on-tap="reset" hidden$="[[!showReset]]" suffix=""></q-icon></q-form-input></div><q-dropdown id="dropdown" opened="{{opened}}" inline="[[inlineResults]]"><div id="results"><q-list id="no-results" list-style="none" hidden$="[[!noResults]]"><q-label>No results found.</q-label></q-list><content id="test" select="q-list"></content></div></q-dropdown></template><script>Polymer({is:"q-search",behaviors:[Polymer.QuantumCoreControlStateBehavior],properties:{name:{type:String},showReset:{type:Boolean,value:!1},label:{type:String},icon:{type:String,value:"search"},placeholder:{type:String,value:"Search..."},url:{type:String,value:null},autoSuggest:{type:Object,value:!0},suggestWait:{type:Number,value:500},_filterTimeout:{type:Object,value:null},noDropdown:{type:Boolean,value:!1},opened:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0,observer:"updateStyles"},query:{type:String,notify:!0},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},collapses:{type:Boolean,value:!1,reflectToAttribute:!0},valueExists:{type:Boolean,value:!1,reflectToAttribute:!0},loading:{readOnly:!0,type:Boolean,value:!1},loaded:{readOnly:!0,type:Boolean,value:!1},noResults:{readOnly:!0,type:Boolean,value:!1},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}},inlineResults:{type:Boolean,value:!1},_requestManager:{type:Object,value:Polymer.QuantumCoreRequestManager}},listeners:{tap:"_onTap","q-item-selected":"_onItemSelected"},get inputElement(){return this.$["form-input"].inputElement},_onTap:function(e){void 0!==e.path&&-1!==e.path.indexOf(this.$.dropdown)||this.open()},_onItemSelected:function(){this.close()},reset:function(){this.inputElement.value="",this._onValueChanged({detail:{value:""}})},attached:function(){var e=this.$["form-input"],t=this.$.dropdown;e.addEventListener("value-changed",this._onValueChanged.bind(this)),this.value&&this.inputElement.setAttribute("value",this.value),t.clickSafeTarget=this,t.anchorTarget=this.$["input-container"],t.sizingTarget=this.$["input-container"],t.addEventListener("q-overlay-closed",function(e){this.inputElement.blur()}.bind(this))},_onValueChanged:function(e){var t=this,n=e.detail.value;this.query=n,this.valueExists=!(!n||""==n&&0!==n);var t=this;clearTimeout(this._filterTimeout),this._filterTimeout=setTimeout(function(){var n=new CustomEvent("suggest",{detail:{query:e.detail.value}});t.dispatchEvent(n),t.autoSuggest&&t.filter(e.detail.value),console.log("as",t.autoSuggest)},this.suggestWait)},load:function(e){if(!e)return this._setLoading(!1),this._setLoaded(!0),void this.open();if(!this.loading){this._setLoading(!0),this._setLoaded(!1);var t=this;this._requestManager.send({url:e,responseType:"json",callback:function(e){t.fire("q-load",{response:e,callback:function(e){var n=0;t.clearResults();for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(o.hasOwnProperty("items")&&o.items.length){var a=document.createElement("q-list");if(o.hasOwnProperty("label")&&""!==o.label){var l=document.createElement("q-label");l.innerText=o.label,Polymer.dom(a).appendChild(l)}for(var s=0;s<o.items.length;++s){var r=o.items[s],u=document.createElement("q-item");if(r.hasOwnProperty("text")&&(u.innerText=r.text),r.hasOwnProperty("data"))for(var i in r.data)r.data.hasOwnProperty(i)&&u.setAttribute("data-"+i,r.data[i]);Polymer.dom(a).appendChild(u),n+=1}}Polymer.dom(t).appendChild(a)}t._setNoResults(!1),t._setLoading(!1),t._setLoaded(!0),t.open()}})}})}},filter:function(e){var t=new RegExp(e,"i"),n=this.queryAllEffectiveChildren("q-list"),i=0;n.map(function(e){for(var n=0,o=e.querySelectorAll("q-item"),a=0;a<o.length;++a){var l=o[a],s=l.textContent;t.test(s)?(n+=1,l.removeAttribute("hidden")):l.setAttribute("hidden","")}n?(i+=1,e.removeAttribute("hidden")):e.setAttribute("hidden","")}),i?this._setNoResults(!1):this._setNoResults(!0),this.inlineResults||this.$.dropdown.fit()},_focusBlurHandler:function(e){Polymer.QuantumCoreControlStateBehavior._focusBlurHandler.call(this,e),this.focused&&this.open()},clearResults:function(){for(var e=this.queryAllEffectiveChildren("q-list"),t=0;t<e.length;++t)Polymer.dom(e[t].parentNode).removeChild(e[t]);this._setNoResults(!0)},toggle:function(){this.opened?this.close():this.open()},open:function(){if(!this.disabled){if(!this.loaded)return void this.load(this.url);this.inputElement.focus(),this.opened=!0,this.$.dropdown.open()}},close:function(){this.opened=!1,this.$.dropdown.close()}})</script></dom-module><script>Polymer.QuantumCoreCheckedElementBehaviorImpl={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0}},_checkedChanged:function(){this.active=this.checked},_buttonStateChanged:function(){this.disabled||this.isAttached&&(this.checked=this.active)}},Polymer.QuantumCoreCheckedElementBehavior=[Polymer.QuantumCoreButtonStateBehavior,Polymer.QuantumCoreCheckedElementBehaviorImpl]</script><dom-module id="q-checkbox" assetpath="../components/q-selector/"><template><style>:host {
  1497.  @apply --q-font-common-base;
  1498.   display: inline-block;
  1499.   white-space: nowrap;
  1500.   cursor: pointer;
  1501.   line-height: 0;
  1502.   outline-width: 0;
  1503.   @apply --q-checkbox; }
  1504.   :host #checkContainer {
  1505.     display: inline-block;
  1506.     vertical-align: middle;
  1507.     margin: 15px;
  1508.     padding: 0;
  1509.     border-radius: 5px;
  1510.     background-color: var(--q-checkbox-bg-color, transparent);
  1511.     -webkit-transition: padding 0.15s ease-in-out, margin 0.15s ease-in-out, background-color 0.15s;
  1512.     -moz-transition: padding 0.15s ease-in-out, margin 0.15s ease-in-out, background-color 0.15s;
  1513.     -o-transition: padding 0.15s ease-in-out, margin 0.15s ease-in-out, background-color 0.15s;
  1514.     -ms-transition: padding 0.15s ease-in-out, margin 0.15s ease-in-out, background-color 0.15s;
  1515.     transition: padding 0.15s ease-in-out, margin 0.15s ease-in-out, background-color 0.15s; }
  1516.   :host #iconChecked {
  1517.     display: none; }
  1518.   :host[checked] #iconChecked {
  1519.     display: block; }
  1520.   :host[checked] #iconUnchecked {
  1521.     display: none; }
  1522.   :host:not([disabled]):hover #checkContainer {
  1523.     background-color: #eeeeee;
  1524.     padding: 10px;
  1525.     margin: 5px; }
  1526.   :host #label {
  1527.     display: inline-block;
  1528.     vertical-align: middle;
  1529.     line-height: normal; }
  1530.   :host[disabled] {
  1531.     cursor: default; }
  1532.     :host[disabled] #checkContainer {
  1533.       opacity: .5; }
  1534.     :host[disabled] #label {
  1535.       opacity: .65; }</style><div id="checkContainer"><q-icon id="iconChecked" name="check-square" size="md"></q-icon><q-icon id="iconUnchecked" name="square" size="md"></q-icon></div><div id="label"><content></content></div></template><script>!function(){Polymer({is:"q-checkbox",behaviors:[Polymer.QuantumCoreCheckedElementBehavior],hostAttributes:{role:"checkbox",tabindex:0},properties:{name:{type:String,value:""},value:{type:String,value:""}}})}()</script></dom-module><dom-module id="q-stacked-card-model-simple-3" assetpath="../components/q-stacked-card/"><template><div id="content"><content select="q-icon, h1, h2, h3, h4, h5, h6, q-subtext"></content></div></template><script>Polymer({is:"q-stacked-card-model-simple-3"})</script></dom-module><dom-module id="q-stacked-card" assetpath="../components/q-stacked-card/"><template><style>:host {
  1536.                 display: block;
  1537.                 padding: 40px;
  1538.                 background: var(--q-stacked-card-background);
  1539.                 width: var(--q-stacked-card-width, 300px);
  1540.                 margin: var(--q-stacked-card-margin);
  1541.                 @apply --q-stacked-card;
  1542.             }
  1543.  
  1544.             :host #modelContentContainer {
  1545.                 margin: 0 auto;
  1546.                 @apply --q-stacked-card-content;
  1547.             }
  1548.  
  1549.             :host([horizontal-align="left"]) {
  1550.                 text-align: left;
  1551.             }
  1552.             :host([horizontal-align="center"]) {
  1553.                 text-align: center;
  1554.             }
  1555.             :host([horizontal-align="right"]) {
  1556.                 text-align: right;
  1557.             }</style><div id="modelContentContainer"><content id="modelContent"></content></div></template><script>Polymer({is:"q-stacked-card",properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0}}})</script></dom-module><dom-module id="q-sub-nav-list" assetpath="../components/q-sub-nav-list/"><template><style>:host {
  1558.   display: block;
  1559.   overflow: hidden;
  1560.   @apply --q-sub-nav-list; }
  1561.   :host [hidden] {
  1562.     display: none; }
  1563.   :host > #header {
  1564.     @apply --q-sub-nav-list-header; }
  1565.     :host > #header #sub-header {
  1566.       margin-top: 20px;
  1567.       @apply --q-sub-nav-list-sub-header; }
  1568.   :host > #content {
  1569.     margin-top: -40px; }
  1570.     :host > #content ::content q-list {
  1571.       padding-top: 40px; }
  1572.       :host > #content ::content q-list q-label {
  1573.         @apply --q-sub-nav-list-title; }
  1574.       :host > #content ::content q-list q-item {
  1575.         @apply --q-sub-nav-list-item; }
  1576.       :host > #content ::content q-list q-item:not(:first-of-type) {
  1577.         margin-top: 10px; }</style><div id="header"><content select="h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, q-subtext:first-child"></content><div id="sub-header"><content select="h1:not(:first-child), h2:not(:first-child), h3:not(:first-child), h4:not(:first-child), h5:not(:first-child), h6:not(:first-child), q-subtext:not(:first-child)"></content></div></div><div id="content"><content></content></div></template><script>Polymer({is:"q-sub-nav-list"})</script></dom-module><dom-module id="q-subtext" assetpath="../components/q-subtext/"><template><style>:host {
  1578.   @apply --q-font-subtext;
  1579.   display: block;
  1580.   @apply --q-subtext; }</style><content></content></template><script>Polymer({is:"q-subtext"})</script></dom-module><dom-module id="q-tag" assetpath="../components/q-tag/"><template><style>:host {
  1581.   display: inline-block;
  1582.   color: #fff;
  1583.   padding: 4px 6px;
  1584.   border: 2px solid;
  1585.   font-family: 'Open Sans', sans-serif;
  1586.   font-weight: 600;
  1587.   font-size: 10px;
  1588.   text-transform: uppercase;
  1589.   border-radius: 4px;
  1590.   cursor: default;
  1591.   -webkit-transition: all 0.15s ease-in-out;
  1592.   -moz-transition: all 0.15s ease-in-out;
  1593.   -o-transition: all 0.15s ease-in-out;
  1594.   -ms-transition: all 0.15s ease-in-out;
  1595.   transition: all 0.15s ease-in-out;
  1596.   @apply --q-tag; }
  1597.   :host[dynamic]:hover {
  1598.     cursor: pointer;
  1599.     @apply --q-tag-hover; }
  1600.   :host[color="charcoal"] {
  1601.     background-color: #3a4041;
  1602.     border-color: #3a4041;
  1603.     @apply --q-tag-charcoal; }
  1604.     :host[color="charcoal"][dynamic]:hover {
  1605.       background-color: #626266;
  1606.       border-color: #626266; }
  1607.   :host[color="green_sea"] {
  1608.     background-color: #13a085;
  1609.     border-color: #13a085; }
  1610.     :host[color="green_sea"][dynamic]:hover {
  1611.       background-color: #1abc9c;
  1612.       border-color: #1abc9c; }
  1613.   :host[color="pacifica"] {
  1614.     background-color: #2980b9;
  1615.     border-color: #2980b9; }
  1616.     :host[color="pacifica"][dynamic]:hover {
  1617.       background-color: #3498db;
  1618.       border-color: #3498db; }
  1619.   :host[color="pomegranate"] {
  1620.     background-color: #c03a2a;
  1621.     border-color: #c03a2a; }
  1622.     :host[color="pomegranate"][dynamic]:hover {
  1623.       background-color: #e74c3c;
  1624.       border-color: #e74c3c; }
  1625.   :host[color="carrot"] {
  1626.     background-color: #e67e22;
  1627.     border-color: #e67e22; }
  1628.     :host[color="carrot"][dynamic]:hover {
  1629.       background-color: #f39c12;
  1630.       border-color: #f39c12; }
  1631.   :host[color="emerald"] {
  1632.     background-color: #27ad60;
  1633.     border-color: #27ad60; }
  1634.     :host[color="emerald"][dynamic]:hover {
  1635.       background-color: #2ecc71;
  1636.       border-color: #2ecc71; }
  1637.   :host[color="wisteria"] {
  1638.     background-color: #8e44ad;
  1639.     border-color: #8e44ad; }
  1640.     :host[color="wisteria"][dynamic]:hover {
  1641.       background-color: #9b59b6;
  1642.       border-color: #9b59b6; }
  1643.   :host[color="concrete"] {
  1644.     background-color: #7f8c8d;
  1645.     border-color: #7f8c8d; }
  1646.     :host[color="concrete"][dynamic]:hover {
  1647.       background-color: #b3c5c5;
  1648.       border-color: #b3c5c5; }
  1649.   :host[color="midnight"] {
  1650.     background-color: #34495e;
  1651.     border-color: #34495e; }
  1652.     :host[color="midnight"][dynamic]:hover {
  1653.       background-color: #3e5a6d;
  1654.       border-color: #3e5a6d; }</style><content></content></template><script>Polymer({is:"q-tag",properties:{color:{type:String,value:"charcoal",reflectToAttribute:!0}}})</script></dom-module><dom-module id="z-article-vote" assetpath="../components/z-article-vote/"><template><style>:host {
  1655.                 display: inline-block;
  1656.                 @apply --z-article-vote;
  1657.             }
  1658.  
  1659.             :host [hidden] {
  1660.                 display: none;
  1661.             }
  1662.  
  1663.             :host #content {
  1664.                 @apply --layout-horizontal;
  1665.                 @apply --layout-start;
  1666.             }
  1667.  
  1668.             :host #options {
  1669.                 margin-right: 10px;
  1670.                 white-space: nowrap;
  1671.             }
  1672.  
  1673.             :host #options ::content a:before {
  1674.                 content: '';
  1675.             }
  1676.  
  1677.             :host #options ::content a {
  1678.                 @apply --z-article-vote-link;
  1679.             }
  1680.  
  1681.             :host #options ::content a.article-voted {
  1682.                 @apply --z-article-vote-link-active;
  1683.             }
  1684.  
  1685.             :host #copy ::content h6 {
  1686.                 @apply --z-article-vote-headline;
  1687.             }
  1688.  
  1689.             :host #copy ::content q-meta {
  1690.                 @apply --z-article-vote-meta;
  1691.             }</style><div id="content"><div id="options"><content select="a"></content></div><div id="copy"><content select="h6"></content><content select="q-meta"></content></div></div></template><script>Polymer({is:"z-article-vote",ready:function(){var e,t,o=Polymer.dom(this).querySelector("a.article-vote-up"),r=Polymer.dom(this).querySelector("a.article-vote-down");o&&(e=document.createElement("q-icon"),e.setAttribute("name","thumbs-up"),Polymer.dom(o).appendChild(e)),r&&(t=document.createElement("q-icon"),t.setAttribute("name","thumbs-down"),Polymer.dom(r).appendChild(t))}})</script></dom-module><dom-module id="z-category-list" assetpath="../components/z-category-list/"><style></style><template><q-related-list><q-list><q-label>Categories</q-label><template is="dom-repeat" items="{{categories}}"><q-item><a href="/hc/{{locale}}/categories/{{item.id}}">{{item.name}}</a></q-item></template></q-list></q-related-list></template><script>Polymer({is:"z-category-list",properties:{categories:{type:Array,value:null,observer:"_activeChanged"},locale:{type:String}}})</script></dom-module><script>Polymer.ZendeskFilterNodeBehavior={_filterNodes:function(e,r){var o,t=[];for(o=0;o<e.length;++o)e[o].nodeName.toLowerCase()===r&&t.push(e[o]);return t},_filterChildNodes:function(e,r){var o,t=[];for(o=0;o<e.length;++o)t.push.apply(t,this._filterNodes(e[o].childNodes,r));return t},_filterChildNodesDeep:function(e,r){var o;for(o=0;o<r.length;++o)e=this._filterChildNodes(e,r[o]);return e}}</script><dom-module id="z-footer" assetpath="../components/z-footer/"><template><style>:host {
  1692.                 display: block;
  1693.                 @apply --z-footer;
  1694.             }
  1695.  
  1696.             :host [hidden] {
  1697.                 display: none;
  1698.             }
  1699.  
  1700.             :host [slot="bottom"] {
  1701.                 overflow: hidden;
  1702.             }
  1703.  
  1704.             :host #riot-logo {
  1705.                 background-image: url("https://cdn.leagueoflegends.com/lolkit/1.1.9/resources/images/footer-sprite.png");
  1706.                 background-repeat: no-repeat;
  1707.                 text-indent: -99999em;
  1708.                 display: block;
  1709.                 width: 100px;
  1710.                 height: 76px;
  1711.                 float: left;
  1712.             }
  1713.  
  1714.             :host #riot-copyright {
  1715.                 float: right;
  1716.                 max-width: 600px;
  1717.             }
  1718.  
  1719.             :host #riot-copyright img {
  1720.                 display: none;
  1721.             }
  1722.  
  1723.             :host ::content a {
  1724.                 @apply --q-link;
  1725.             }
  1726.             :host ::content a:hover {
  1727.                 @apply --q-link-hover;
  1728.             }</style><div id="zContainer" hidden=""><content id="zContent"></content></div><q-footer><div slot="top"><table><tbody><tr id="columnContainer"></tr></tbody></table></div><div id="bottom" slot="bottom"><a id="riot-logo" href="http://www.riotgames.com/">Riot Games</a><p id="riot-copyright"></p></div></q-footer></template><script>Polymer({is:"z-footer",properties:{hasBottomLink:{readOnly:!0,type:Boolean,value:!1}},behaviors:[Polymer.ZendeskFilterNodeBehavior],ready:function(){var e,t,o,d,i,n,l=Polymer.dom(this.$.zContent).getDistributedNodes(),m=this.$.columnContainer,r=this.$["riot-copyright"];t=this._filterNodes(l,"div"),t.map(function(t){"column"===t.getAttribute("slot")?(o=document.createElement("td"),d=document.createElement("h4"),d.textContent=t.childNodes[0].textContent,e=document.createElement("q-list"),i=this._filterChildNodes([t],"a"),i.map(function(t){n=document.createElement("q-item"),Polymer.dom(n).appendChild(t),Polymer.dom(e).appendChild(n)}.bind(this)),Polymer.dom(o).appendChild(d),Polymer.dom(o).appendChild(e),Polymer.dom(m).appendChild(o)):Polymer.dom(r).appendChild(t)}.bind(this))}})</script></dom-module><dom-module id="z-header" assetpath="../components/z-header/"><template><style>:host > #z-header-content {
  1729.                 display: none;
  1730.             }</style><div id="z-header-content"><slot id="slot-my-tickets" name="my-tickets"></slot><slot id="slot-server-status" name="server-status"></slot><slot id="slot-locale" name="locale"></slot><slot id="slot-locales" name="locales"></slot><slot id="slot-user" name="user"></slot></div></template><script>Polymer({is:"z-header",properties:{locale:{type:String,value:$("html").attr("lang").toLowerCase()||"en-us"}},getUserInfo:function(){var t=Polymer.dom(this.$["slot-user"]),e=t.getDistributedNodes()[0],n=e.children[0];return-1!==n.className.indexOf("login")?{loggedIn:!1,loginURL:n.getAttribute("href"),loginText:n.innerText,name:"Anonymous"}:{loggedIn:!0,name:e.querySelector('span[id="user-name"]').textContent.trim()}},getMyTicketText:function(){return Polymer.dom(this.$["slot-my-tickets"]).getDistributedNodes()[0].textContent},getLocales:function(){var t=Polymer.dom(this.$["slot-locales"]).getDistributedNodes()[0].children;return _.map(t,function(t){var e=t.getAttribute("value"),n=e.match(/change_language\/(.+)\?/)[1];return{locale:n,lang:n.substr(0,2),languageName:t.textContent.trim(),landingUrl:e}})},ready:function(){var t=this.getUserInfo();window.riotBarConfig={mobileResponsive:!0,navigation:{title:"Support",links:[{id:"my-tickets",text:this.getMyTicketText(),url:"/hc/requests",subtext:""},{id:"submit-a-request",text:"Submit a Request",url:"/hc/requests/new",subtext:""},{id:"service-status",text:"Server Status",url:"https://status.leagueoflegends.com/",subtext:""}]},locale:{locales:{na:this.getLocales()}}};var e=document.createElement("script");e.setAttribute("src","https://lolstatic-a.akamaihd.net/riotbar/prod/latest/en_US.js"),document.body.appendChild(e),e.addEventListener("load",function(){var e=$('<a class="riotbar-anonymous-link riotbar-account-action" />');t.loggedIn?e.attr("href","#").text(t.name):e.attr("href",t.loginURL).text(t.loginText),$("#riotbar-account").empty().append(e)})}})</script></dom-module><script>Polymer.QuantumCoreDropdownButtonBehaviorImpl={properties:{opened:{type:Boolean,value:!1,reflectToAttribute:!0},label:{type:String,value:"Select Options"},size:{type:String,value:"md",reflectToAttribute:!0}},toggle:function(){this.opened?this.close():this.open()},open:function(){if(this.disabled)return!1;this.$.dropdown.open()},close:function(){this.$.dropdown.close()}},Polymer.QuantumCoreDropdownButtonBehavior=[Polymer.QuantumCoreControlStateBehavior,Polymer.QuantumCoreDropdownButtonBehaviorImpl]</script><dom-module id="q-dropdown-button-shared-styles" assetpath="../components/q-dropdown-button/"><template><style>:host {
  1731.                 display: inline-block;
  1732.             }
  1733.  
  1734.             :host #opened-indicator {
  1735.                 display: none;
  1736.             }
  1737.  
  1738.             :host[opened] #opened-indicator {
  1739.                 display: inline-block;
  1740.             }
  1741.  
  1742.             :host[opened] #closed-indicator {
  1743.                 display: none;
  1744.             }</style></template></dom-module><script>!function(){"use strict";function e(e){return e.trim().split(" ").map(function(e){return t(e)})}function t(e){if(1===e.length)return{key:e,combo:e,event:"keydown"};var t,r,n,i={},u=e.split(":");return u.length>1&&(n=u[1]),i.combo=u[0],t=u[0].split("+"),t.length>1?(r=t[0],i.key=t[1],o.hasOwnProperty(r)&&(i.hasModifiers=!0,i[o[r]]=!0)):i.key=t[0],i.event=n||"keydown",i}function r(e){var t="";return Number(e)&&(e>=65&&e<=90?t=String.fromCharCode(e).toLowerCase():e>=112&&e<=123?t="f"+(e-111):e>=48&&e<=105?t=String(e-48):e>=96&&e<=105?t=String(e-96):u.hasOwnProperty(e)&&(t=u[e])),t}function n(e){return r(e.keyCode)}function i(e,t){if(n(e)!==t.key)return!1;if(t.hasModifiers)for(var r in o)if(o.hasOwnProperty(r)){var i=o[r];if(!!e[i]!=!!t[i])return!1}return!0}var o={alt:"altKey",shift:"shiftKey",ctrl:"ctrlKey",meta:"metaKey"},u={13:"enter",27:"esc",32:"space",33:"pageup",34:"pagedown",37:"left",38:"up",39:"right",40:"down"};Polymer.QuantumCoreA11yKeysBehavior={eventMatchesKeyString:function(e,t){return!!this.getMatchingEventKeyCombo(e,t)},getMatchingEventKeyCombo:function(t,r){for(var n=e(r),o=0;o<n.length;++o)if(i(t,n[o]))return n[o];return null}}}()</script><dom-module id="q-dropdown-button-list" assetpath="../components/q-dropdown-button/"><template><style is="custom-style" include="q-dropdown-button-shared-styles">:host q-button {
  1745.                 min-width: 150px;
  1746.                 @apply --q-dropdown-button-list-button;
  1747.             }
  1748.  
  1749.             :host q-button:hover {
  1750.                 @apply --q-dropdown-button-list-button-hover;
  1751.             }
  1752.  
  1753.             :host q-button:focus {
  1754.                 @apply --q-dropdown-button-list-button-focus;
  1755.             }
  1756.  
  1757.             :host q-dropdown {
  1758.                 max-height: 300px;
  1759.                 overflow-y: auto;
  1760.                 margin-top: 10px;
  1761.             }
  1762.  
  1763.             :host q-button q-icon {
  1764.                 @apply --q-dropdown-button-list-button-icon;
  1765.             }
  1766.  
  1767.             :host #content ::content q-list q-label {
  1768.                 display: block;
  1769.                 padding: 10px 0;
  1770.                 margin: 0 0 0 20px;
  1771.                 border-top: 1px solid #000;
  1772.             }
  1773.  
  1774.             :host #content ::content q-list:first-child q-label {
  1775.                 border-top-width: 0;
  1776.             }
  1777.  
  1778.             :host #content ::content q-list q-item {
  1779.                 display: flex;
  1780.                 list-style: none;
  1781.                 white-space: nowrap;
  1782.                 padding: 10px 20px;
  1783.                 margin: 0;
  1784.                 @apply --q-dropdown-button-list-list-item;
  1785.             }
  1786.  
  1787.             :host #content ::content q-list q-item:hover {
  1788.                 @apply --q-dropdown-button-list-list-item-hover;
  1789.             }
  1790.  
  1791.             :host #content ::content q-list q-item[highlighted] {
  1792.                 @apply --q-dropdown-button-list-list-item-highlighted;
  1793.             }
  1794.  
  1795.             :host #content ::content q-list a {
  1796.                 display: block;
  1797.             }</style><input type="hidden" name$="{{name}}" value$="{{selectedValue}}"><q-button id="button" size="{{size}}" on-tap="toggle"><span>{{label}}</span><q-icon id="closed-indicator" name="caret-down" size="sm"></q-icon><q-icon id="opened-indicator" name="caret-up" size="sm"></q-icon></q-button><q-dropdown id="dropdown" disabled="[[disabled]]" opened="{{opened}}"><div id="content"><content select="q-label,q-list" id="contentNode"></content></div></q-dropdown></template><script>Polymer({is:"q-dropdown-button-list",behaviors:[Polymer.QuantumCoreDropdownButtonBehavior,Polymer.QuantumCoreA11yKeysBehavior],properties:{name:{type:String,value:""},selectedValue:{type:String,notify:!0,observer:"_selectedValueChange",value:""},hasFocus:{readOnly:!0,type:Boolean,value:!1},highlightedItem:{readOnly:!0,type:Object}},listeners:{keydown:"_onKeydown"},attached:function(){var e=this;this.$.dropdown.sizingTarget=this.$.button,this.$.button.addEventListener("q-focused-changed",function(e){!0===e.detail.value?this._setHasFocus(!0):this._setHasFocus(!1)}.bind(this)),this.selectedValue&&this.updateSelection();var t=Polymer.dom(this).querySelectorAll("q-list");t.length&&t.map(function(t){t.addEventListener("q-item-selected",function(t){e._selectItem(t.detail.item)})});var e=this;this.$.content.addEventListener("DOMSubtreeModified",function(t){e.updateSelection()})},_selectItem:function(e){this.selectedValue=e.getAttribute("value"),this.label=e.innerText.trim(),this.$.dropdown.close(),this.fire("q-value-changed",{value:this.selectedValue})},_onKeydown:function(e){var t=this.getMatchingEventKeyCombo(e,"up down enter");t&&(e.preventDefault(),"enter"===t.key?this.$.dropdown.opened?this.highlightedItem?this._selectItem(this.highlightedItem):this.$.dropdown.close():this.$.dropdown.open():(this.$.dropdown.open(),"up"===t.key?(this._selectPreviousListItem(),this._scrollToHighlightedItem()):"down"===t.key&&(this._selectNextListItem(),this._scrollToHighlightedItem())))},_scrollToHighlightedItem:function(){var e=this.highlightedItem.offsetTop,t=this.highlightedItem.offsetHeight,i=this.$.dropdown.scrollTop,h=this.$.dropdown.clientHeight;e<i&&(this.$.dropdown.scrollTop=e),e+t>h+i&&(this.$.dropdown.scrollTop=e+t-h)},_selectPreviousListItem:function(){var e,t=Polymer.dom(this).querySelectorAll("q-list q-item");t.length&&(this.highlightedItem?(this.highlightedItem.removeAttribute("highlighted"),(e=t.indexOf(this.highlightedItem)-1)<0&&(e=0)):e=0,this._setHighlightedItem(t[e]),this.highlightedItem.setAttribute("highlighted",""))},_selectNextListItem:function(){var e,t=Polymer.dom(this).querySelectorAll("q-list q-item");t.length&&(this.highlightedItem?(this.highlightedItem.removeAttribute("highlighted"),(e=t.indexOf(this.highlightedItem)+1)>t.length-1&&(e=t.length-1)):e=0,this._setHighlightedItem(t[e]),this.highlightedItem.setAttribute("highlighted",""))},_itemInPath:function(e){for(var e=e||[],t=0;t<e.length;t++)if(e[t].nodeName&&"q-item"===e[t].nodeName.toLowerCase())return e[t]},_selectedValueChange:function(e,t){e!=t&&this.updateSelection()},updateSelection:function(){var e='q-item[value="'+this.selectedValue+'"]',t=Polymer.dom(this).querySelector(e);t&&(this.label=t.innerText.trim())}})</script></dom-module><dom-module id="z-data-categories" assetpath="../components/z-data-categories/"><style></style><template></template><script>!function(){Polymer({is:"z-data-categories",properties:{data:{type:Array,value:null,notify:!0},_requestManager:{type:Object,value:Polymer.QuantumCoreRequestManager}},ready:function(){var e=this;this._requestManager.send({url:"https://support-search.riotgames.com/categories",responseType:"json",cache:!0,cors:!0,callback:function(a){e.data=a}})}})}()</script></dom-module><script>!function(){"use strict";Polymer({is:"iron-location",properties:{path:{type:String,notify:!0,value:function(){return window.decodeURIComponent(window.location.pathname)}},query:{type:String,notify:!0,value:function(){return window.location.search.slice(1)}},hash:{type:String,notify:!0,value:function(){return window.decodeURIComponent(window.location.hash.slice(1))}},dwellTime:{type:Number,value:2e3},urlSpaceRegex:{type:String,value:""},_urlSpaceRegExp:{computed:"_makeRegExp(urlSpaceRegex)"},_lastChangedAt:{type:Number},_initialized:{type:Boolean,value:!1}},hostAttributes:{hidden:!0},observers:["_updateUrl(path, query, hash)"],attached:function(){this.listen(window,"hashchange","_hashChanged"),this.listen(window,"location-changed","_urlChanged"),this.listen(window,"popstate","_urlChanged"),this.listen(document.body,"click","_globalOnClick"),this._lastChangedAt=window.performance.now()-(this.dwellTime-200),this._initialized=!0,this._urlChanged()},detached:function(){this.unlisten(window,"hashchange","_hashChanged"),this.unlisten(window,"location-changed","_urlChanged"),this.unlisten(window,"popstate","_urlChanged"),this.unlisten(document.body,"click","_globalOnClick"),this._initialized=!1},_hashChanged:function(){this.hash=window.decodeURIComponent(window.location.hash.substring(1))},_urlChanged:function(){this._dontUpdateUrl=!0,this._hashChanged(),this.path=window.decodeURIComponent(window.location.pathname),this.query=window.location.search.substring(1),this._dontUpdateUrl=!1,this._updateUrl()},_getUrl:function(){var n=window.encodeURI(this.path).replace(/\#/g,"%23").replace(/\?/g,"%3F"),t="";this.query&&(t="?"+this.query.replace(/\#/g,"%23"));var e="";return this.hash&&(e="#"+window.encodeURI(this.hash)),n+t+e},_updateUrl:function(){if(!this._dontUpdateUrl&&this._initialized&&(this.path!==window.decodeURIComponent(window.location.pathname)||this.query!==window.location.search.substring(1)||this.hash!==window.decodeURIComponent(window.location.hash.substring(1)))){var n=this._getUrl(),t=new URL(n,window.location.protocol+"//"+window.location.host).href,e=window.performance.now(),i=this._lastChangedAt+this.dwellTime>e;this._lastChangedAt=e,i?window.history.replaceState({},"",t):window.history.pushState({},"",t),this.fire("location-changed",{},{node:window})}},_globalOnClick:function(n){return},_getSameOriginLinkHref:function(n){if(0!==n.button)return null;if(n.metaKey||n.ctrlKey)return null;for(var t=Polymer.dom(n).path,e=null,i=0;i<t.length;i++){var o=t[i];if("A"===o.tagName&&o.href){e=o;break}}if(!e)return null;if("_blank"===e.target)return null;if(("_top"===e.target||"_parent"===e.target)&&window.top!==window)return null;var a,h=e.href;a=null!=document.baseURI?new URL(h,document.baseURI):new URL(h);var r;if(window.location.origin?r=window.location.origin:(r=window.location.protocol+"//"+window.location.hostname,window.location.port&&(r+=":"+window.location.port)),a.origin!==r)return null;var l=a.pathname+a.search+a.hash;return this._urlSpaceRegExp&&!this._urlSpaceRegExp.test(l)?null:new URL(l,window.location.href).href},_makeRegExp:function(n){return RegExp(n)}})}()</script><script>"use strict";Polymer({is:"iron-query-params",properties:{paramsString:{type:String,notify:!0,observer:"paramsStringChanged"},paramsObject:{type:Object,notify:!0,value:function(){return{}}},_dontReact:{type:Boolean,value:!1}},hostAttributes:{hidden:!0},observers:["paramsObjectChanged(paramsObject.*)"],paramsStringChanged:function(){this._dontReact=!0,this.paramsObject=this._decodeParams(this.paramsString),this._dontReact=!1},paramsObjectChanged:function(){this._dontReact||(this.paramsString=this._encodeParams(this.paramsObject).replace(/%3F/g,"?").replace(/%2F/g,"/").replace(/'/g,"%27"))},_encodeParams:function(e){var t=[];for(var a in e){var r=e[a];""===r?t.push(encodeURIComponent(a)):r&&t.push(encodeURIComponent(a)+"="+encodeURIComponent(r.toString()))}return t.join("&")},_decodeParams:function(e){var t={};e=(e||"").replace(/\+/g,"%20");for(var a=e.split("&"),r=0;r<a.length;r++){var n=a[r].split("=");n[0]&&(t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||""))}return t}})</script><dom-module id="z-page-search-results" assetpath="../components/z-page-search-results/"><style>:host > #content {
  1798.   max-width: 1000px;
  1799.   margin: 0 auto;
  1800.   margin-bottom: 50px; }
  1801.  
  1802. :host {
  1803.   --q-icon-color: white;
  1804.   --q-tag-charcoal-border: 1px solid #3a4041;
  1805.   --q-tag-charcoal-background-color: transparent; }
  1806.  
  1807. :host > #content h1 {
  1808.   font-size: 31pt;
  1809.   margin-bottom: 44px; }
  1810.  
  1811. :host > #content h2 {
  1812.   font-size: 24pt;
  1813.   margin-bottom: 23px; }
  1814.  
  1815. /*   Input
  1816.  ****************************************************/
  1817. :host #search-input {
  1818.   margin-bottom: 30px;
  1819.   border-bottom: 1px solid #b7b7b7;
  1820.   position: relative; }
  1821.  
  1822. :host #search-input input {
  1823.   background: transparent;
  1824.   width: 100%;
  1825.   font-family: "Open Sans";
  1826.   font-size: 17px;
  1827.   padding: 7px 0 9px 1px; }
  1828.  
  1829. :host #search-input q-icon {
  1830.   position: absolute;
  1831.   top: 8px;
  1832.   right: 1px; }
  1833.  
  1834. /*   Filters
  1835.  ****************************************************/
  1836. :host #search-results-filter {
  1837.   border: 1px dashed #59595b;
  1838.   padding: 15px 20px;
  1839.   list-style: none;
  1840.   margin-bottom: 72px; }
  1841.  
  1842. :host #search-results-filter > li {
  1843.   display: inline-block;
  1844.   height: 60px;
  1845.   vertical-align: top; }
  1846.  
  1847. :host #search-results-filter > li:not(:first-child) {
  1848.   margin-left: 10px; }
  1849.  
  1850. :host #search-results-filter > li > h3 {
  1851.   color: #838383;
  1852.   font-size: 11px;
  1853.   font-family: "Open Sans", sans-serif;
  1854.   font-weight: 700;
  1855.   text-transform: uppercase;
  1856.   letter-spacing: -0.2px;
  1857.   margin-bottom: 3px; }
  1858.  
  1859. :host #search-results-filter > li#results-found {
  1860.   min-width: 110px; }
  1861.  
  1862. :host #search-results-filter > li#filter-category {
  1863.   min-width: 200px; }
  1864.  
  1865. :host #search-results-filter > li#sort-order {
  1866.   min-width: 200px; }
  1867.  
  1868. :host #search-results-filter > li > q-dropdown-button-list {
  1869.   margin-top: 10px; }
  1870.  
  1871. :host #search-results-filter > li > q-dropdown-button-list ::shadow q-button {
  1872.   background: #911610;
  1873.   padding: 0;
  1874.   min-width: 100px; }
  1875.  
  1876. :host #search-results-filter > li > q-dropdown-button-list ::shadow q-button span {
  1877.   border-right: 1px solid rgba(255, 255, 255, 0.25);
  1878.   vertical-align: middle;
  1879.   padding: 5px 20px 6px 14px;
  1880.   font-size: 11px;
  1881.   font-family: "Open Sans", sans-serif;
  1882.   font-weight: 700;
  1883.   text-transform: uppercase;
  1884.   letter-spacing: -0.2px; }
  1885.  
  1886. /*   Results
  1887.  ****************************************************/
  1888. /*   Categories
  1889.  ****************************************************/
  1890. :host z-category-list {
  1891.   width: 300px;
  1892.   margin-bottom: 20px;
  1893.   display: block; }
  1894.  
  1895. :host q-overlay-card[image="hextech"] {
  1896.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/hextech.png"); }
  1897.  
  1898. :host q-overlay-card[image="livechat"] {
  1899.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/livechat.png"); }
  1900.  
  1901. :host q-overlay-card[image="myisp"] {
  1902.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/myisp.png"); }</style><template><z-data-categories data="{{categories}}"></z-data-categories><z-waypoint-search><ol class="breadcrumbs"><li title="Staging"><a href="/hc/{{locale}}">Staging</a></li><li title="Search Results">Search Results</li></ol><q-search name="search" icon="search" collapses="" show-reset="" auto-suggest="false"></q-search></z-waypoint-search><div id="content"><h1>Search Results</h1><q-grid fluid=""><q-col xl-size="8"><div id="search-input"><q-icon name="search"></q-icon><input id="searchInputNode" is="q-input" value="[[query]]"></div><ul id="search-results-filter"><li id="results-found"><h3>Results Found</h3><h1>{{search.total}}</h1></li><li id="filter-category"><h3>Filter By</h3><q-dropdown-button-list label="Category" selected-value="{{categoryId}}"><q-list><q-item value="0">All</q-item><template is="dom-repeat" items="{{categories}}"><q-item value$="{{item.id}}">{{item.name}}</q-item></template></q-list></q-dropdown-button-list></li><li id="sort-order"><h3>Sort By</h3><q-dropdown-button-list selected-value="{{sortBy}}"><q-list><q-item value="popular">Most Popular</q-item><q-item value="relevant">Most Relevant</q-item></q-list></q-dropdown-button-list></li></ul><hr><div id="results"><h2>Articles</h2><q-list divided=""><template is="dom-repeat" items="{{search.results}}" as="result"><q-item><q-item-model-simple-4><a href="{{result.url}}">{{result.title}}</a><q-meta>by<a>{{result.author.name}}</a></q-meta><div slot="tags"><template is="dom-repeat" items="{{result.tags}}" as="tag"><q-tag dynamic="">{{tag}}</q-tag></template></div></q-item-model-simple-4></q-item></template></q-list></div><div id="pagination"><q-pagination num-pages="{{search.pages}}" current-page="{{page}}"></q-pagination></div></q-col><q-col xl-size="4"><z-category-list categories="{{categories}}" locale="{{locale}}"></z-category-list><q-card-nav><a href="#"><q-overlay-card image="hextech" horizontal-align="center" vertical-align="center"><q-overlay-card-model-simple-5><h2>Hextech repair tool</h2><p>Can't connect? Try our<br>new repair tool.</p><q-icon name="long-arrow-right" size="md"></q-icon></q-overlay-card-model-simple-5></q-overlay-card></a><a href="#"><q-overlay-card image="livechat" horizontal-align="center" vertical-align="center"><q-overlay-card-model-simple-5><h2>Live chat</h2><p>Get one on one live support<br>with a Rioter.</p><q-icon name="long-arrow-right" size="md"></q-icon></q-overlay-card-model-simple-5></q-overlay-card></a><a href="#"><q-overlay-card image="myisp" horizontal-align="center" vertical-align="center"><q-overlay-card-model-simple-5><h2>Compare My ISP</h2><p>See how your ISP stacks up to others.</p><q-icon name="long-arrow-right" size="md"></q-icon></q-overlay-card-model-simple-5></q-overlay-card></a></q-card-nav></q-col></q-grid></div><iron-location path="{{path}}" query="{{queryString}}"></iron-location><iron-query-params params-string="{{queryString}}" params-object="{{queryParams}}"></iron-query-params></template><script>Polymer({is:"z-page-search-results",properties:{categories:{type:Array,value:null},locale:{type:String,value:$("html").attr("lang").toLowerCase()||"en-us"},search:{type:Object,value:{}},page:{type:Number,observer:"_changePage"},queryParams:{type:Object,observer:"_changeQueryParams"},query:{type:String,observer:"_changeQuery"},sortBy:{type:String,value:"relevant",observer:"_changeSortBy"},categoryId:{type:String,observer:"_changeCategoryId"},searching:{type:Boolean,value:!1},_requestManager:{type:Object,value:Polymer.QuantumCoreRequestManager}},ready:function(){var e=null;this.$.searchInputNode.addEventListener("keyup",function(t){e&&clearTimeout(e),e=setTimeout(function(){this._changeQuery(this.$.searchInputNode.value)}.bind(this),300)}.bind(this))},doSearch:function(e,t,r,a){var s=["query="+encodeURIComponent(e||""),"category_id="+encodeURIComponent(r||0),"sort_by="+encodeURIComponent(a||"relevant"),"page="+encodeURIComponent(t||1)].join("&");this.searching=!0,this._requestManager.send({url:"https://support-search.riotgames.com/search?"+s,responseType:"json",cors:!0,callback:function(e){this.set("search",e),this.searching=!1}.bind(this)})},_changeQueryParams:function(e){this.query=e.query,this.page=e.page||1,this.categoryId=e.category_id,this.sortBy=e.sort_by,this.doSearch(this.query,this.page,this.categoryId,this.sortBy)},_changePage:function(e,t){e!=t&&this.set("queryParams.page",e)},_changeCategoryId:function(e,t){e!=t&&this.set("queryParams.category_id",e)},_changeSortBy:function(e,t){e!=t&&this.set("queryParams.sort_by",e)},_changeQuery:function(e){this.set("queryParams.query",e)}})</script></dom-module><dom-module id="z-related-list" assetpath="../components/z-related-list/"><template><style>:host {
  1903.                display: inline-block;
  1904.                 @apply --z-related-list;
  1905.             }
  1906.  
  1907.             :host [hidden] {
  1908.                 display: none;
  1909.             }
  1910.  
  1911.             :host q-related-list q-list #bottomLinkItem q-icon {
  1912.                 @apply --z-related-list-bottom-link-icon;
  1913.             }
  1914.  
  1915.             :host q-related-list q-list #bottomLinkItem {
  1916.                 @apply --z-related-list-bottom-link;
  1917.             }
  1918.  
  1919.             :host ::content a {
  1920.                 @apply --q-link;
  1921.             }
  1922.             :host ::content a:hover {
  1923.                 @apply --q-link-hover;
  1924.             }</style><div id="zContainer" hidden=""><content id="zContent" select=":not(q-label):not(a)"></content></div><q-related-list><q-list id="qList"><q-label>{{title}}</q-label></q-list></q-related-list></template><script>Polymer({is:"z-related-list",properties:{hasBottomLink:{readOnly:!0,type:Boolean,value:!1}},behaviors:[Polymer.ZendeskFilterNodeBehavior],ready:function(){var e,t,i,o,l=Polymer.dom(this.$.zContent).getDistributedNodes(),d=this.$.qList;if(l=this._filterNodes(l,"section"),i=this._filterChildNodes(l,"a"),o=this._filterChildNodes(l,"h3"),l=this._filterChildNodesDeep(l,["ul","li","a"]),!o||!o.length)return void(this.style.display="none");this.title=o[0].innerText,l.map(function(t){e=document.createElement("q-item"),Polymer.dom(e).appendChild(t),Polymer.dom(d).appendChild(e)}),i&&i.length&&(t=document.createElement("q-icon"),t.setAttribute("name","long-arrow-right"),e=document.createElement("q-item"),e.setAttribute("id","bottomLinkItem"),Polymer.dom(e).appendChild(t),Polymer.dom(e).appendChild(i[0]),Polymer.dom(d).appendChild(e))}})</script></dom-module><dom-module id="z-search" assetpath="../components/z-search/"><template><style>:host {
  1925.                display: inline-block;
  1926.                 @apply --z-search;
  1927.             }
  1928.  
  1929.             :host [hidden] {
  1930.                 display: none;
  1931.             }</style><form id="search-form"><content id="z-search-content"></content></form></template><script>var SEARCH_URL="https://support-search.riotgames.com/search/";Polymer({is:"z-search",properties:{placeholder:{type:String,value:"Search the League Help Center"},locale:{type:String,value:$("html").attr("lang").toLowerCase()||"en-us"}},ready:function(){var e=Polymer.dom(this.$["z-search-content"]);this.getSuggestions=this.getSuggestions.bind(this),this.qSearch=e.getDistributedNodes()[0],this.qSearch=Polymer.dom(this.qSearch),this.qSearch.node.addEventListener("suggest",this.getSuggestions),this.clearSearch(),this.$["search-form"].addEventListener("submit",function(e){e.preventDefault();var t=window.encodeURIComponent(this.qSearch.node.query);window.location.href="/hc/"+this.locale+"/search?query="+t}.bind(this))},clearSearch:function(){for(;this.qSearch.children.length;)this.qSearch.removeChild(this.qSearch.children[0])},getSuggestions:function(e){var t=e.detail.query;this.search(t).done(this.renderResults.bind(this))},renderResults:function(e){this.clearSearch();var t=_.chain(e.results).groupBy(function(e){return e.category.name}).map(function(e,t){return{category:t,id:e[0].category.id,results:e,score:_.max(e,"score")}}).sortBy("score").value(),r=this;_.each(t,function(e){var t=document.createElement("q-button"),n=document.createElement("q-list"),a=document.createElement("q-label"),i=document.createElement("hr");t.innerText="More",t.addEventListener("click",function(t){window.location.href="/hc/"+r.locale+"/categories/"+e.id}),a.innerText=e.category,n=Polymer.dom(n),n.appendChild(t),n.appendChild(a),n.appendChild(i),_.each(e.results,function(e){var t=document.createElement("a");t.setAttribute("href",e.url),t.innerHTML=e.highlight.title;var r=document.createElement("q-item");Polymer.dom(r).appendChild(t),n.appendChild(r)}),r.qSearch.appendChild(n.node)})},search:function(e,t){return $.ajax({url:SEARCH_URL,data:{page:t||1,query:e,locale:this.locale,limit:10}})}})</script></dom-module><dom-module id="q-textarea" assetpath="../components/q-input/"><script>Polymer({is:"q-textarea",extends:"textarea",behaviors:[Polymer.QuantumCoreControlStateBehavior],properties:{bindValue:{type:String,observer:"_bindValueChanged"},required:{type:Boolean,observer:"_requiredChanged"},placeholder:{type:String,observer:"_placeholderChanged"}},listeners:{input:"_onInput"},ready:function(){this.bindValue=this.value,this._prevValue=this.value},validate:function(){var e=this.checkValidity();return e&&this.required&&""===this.value&&(e=!1),this.invalid=!e,e},_bindValueChanged:function(){this.fire("q-value-changed",{value:this.bindValue})},_requiredChanged:function(){this.fire("q-required-changed",{value:this.required})},_placeholderChanged:function(){this.fire("q-placeholder-changed",{value:this.placeholder})},_disabledChanged:function(){this.fire("q-disabled-changed",{value:this.disabled})},_focusedChanged:function(){Polymer.QuantumCoreControlStateBehavior._focusedChanged.call(this,event),this.fire("q-focused-changed",{value:this.focused})},_onInput:function(){this.bindValue=this.value,this._prevValue=this.value}})</script></dom-module><dom-module id="z-ticket-form" assetpath="../components/z-ticket-form/"><template><style>:host [hidden] {
  1932.                display: none;
  1933.             }
  1934.  
  1935.             :host #forms {
  1936.  
  1937.             }
  1938.  
  1939.             :host textarea {
  1940.                 width: 100%;
  1941.                 min-height: 100px;
  1942.                 box-sizing: border-box;
  1943.                 resize: vertical;
  1944.             }
  1945.  
  1946.             :host q-dropdown-button-list,
  1947.             :host q-dropdown-button-list ::content q-button {
  1948.                 display: block;
  1949.                 width: 100%;
  1950.                 box-sizing: border-box;
  1951.             }
  1952.  
  1953.             :host #step-1-container h3 {
  1954.                 @apply --z-ticket-form-category-headline;
  1955.             }
  1956.  
  1957.             :host #step-1-container q-dropdown-button-list {
  1958.                 @apply --z-ticket-form-category-dropdown;
  1959.             }
  1960.  
  1961.             :host h2 {
  1962.                 @apply --z-ticket-form-step-headline;
  1963.             }
  1964.  
  1965.             :host h2 + p {
  1966.                 @apply --z-ticket-form-step-description;
  1967.             }
  1968.  
  1969.             :host q-label {
  1970.                 @apply --q-form-label;
  1971.             }
  1972.  
  1973.             :host .field-container {
  1974.                 @apply --z-form-field-container;
  1975.             }
  1976.  
  1977.             :host q-dropdown-button-list + q-meta {
  1978.                 margin-top: 5px;
  1979.             }
  1980.  
  1981.             :host #category-container,
  1982.             :host #subcategory-container {
  1983.                 position: relative;
  1984.             }
  1985.  
  1986.             :host .validity-check {
  1987.                 position: absolute;
  1988.                 transform: translateX(-100%);
  1989.                 left: -15px;
  1990.                 @apply --z-ticket-form-validity-check;
  1991.             }
  1992.  
  1993.             :host #temp-step-1-headline {
  1994.                 margin-bottom: 15px;
  1995.             }</style><h2 id="temp-step-1-headline">1. Choose a request type</h2><q-dropdown-button-list id="form-dropdown" label=""><q-list id="form-list"></q-list></q-dropdown-button-list><div id="step-1-container" hidden=""><h2>1. Pick a support category</h2><p>Select a category and sub-category that best relate to the issue you are having.</p><div id="category-container"><q-icon class="validity-check" name="check" hidden=""></q-icon><h3>Pick a Category</h3><q-dropdown-button-list id="category-dropdown" label="[[categoryLabel]]" name="request[custom_fields][category]"><q-list id="category-list"></q-list></q-dropdown-button-list></div><div id="subcategory-container" hidden=""><q-icon class="validity-check" name="check" hidden=""></q-icon><h3>Pick a Subcategory</h3><q-dropdown-button-list id="subcategory-dropdown" label="[[subcategoryLabel]]" name="request[custom_fields][subcategory]"><q-list id="subcategory-list"></q-list></q-dropdown-button-list></div></div><div id="step-2-container" hidden=""><hr><h2>2. Tell us more</h2><p>Ok, now that we know what kind of issue you are having, let's get into the details. Please help us by describing what you are experiencing below.</p><div id="forms-container"><select id="form-id-select" name="request[ticket_form_id]" hidden=""></select></div></div></template><script>Polymer({is:"z-ticket-form",properties:{categories:{type:Array,value:[]},subcategoryMap:{type:Object,value:{}},categoryLabel:{type:String,value:""},subcategoryLabel:{type:String,value:""},formMap:{type:Object,value:{}},forms:{type:Object,value:{}},conditions:{type:Array,value:null}},render:function(){var e=[];for(var t in this.forms)this.forms.hasOwnProperty(t)&&e.push(this.forms[t]);e.sort(function(e,t){return e.position>t.position?1:e.position<t.position?-1:0});for(var i,r=this.$["form-list"],o=this.$["form-dropdown"],n=0;n<e.length;++n)e[n].end_user_visible&&e[n].active&&(i=document.createElement("q-item"),i.setAttribute("value",e[n].id),Polymer.dom(i).appendChild(document.createTextNode(e[n].display_name)),Polymer.dom(r).appendChild(i));o.addEventListener("q-value-changed",function(e){var t=parseInt(e.detail.value,10);this.populateForm(t)}.bind(this)),this._populateCategories()},attached:function(){var e=this.$["category-dropdown"],t=this.$["subcategory-dropdown"];e.addEventListener("q-value-changed",this._onCategorySelected.bind(this)),t.addEventListener("q-value-changed",this._onSubcategorySelected.bind(this))},_populateCategories:function(){for(var e,t=this.$["category-list"];Polymer.dom(t).firstChild;)Polymer.dom(t).removeChild(Polymer.dom(t).firstChild);for(var i=0;i<this.categories.length;++i)e=document.createElement("q-item"),e.textContent=this.categories[i].name,e.setAttribute("value",this.categories[i].id),Polymer.dom(t).appendChild(e)},getSubcategories:function(e){return this.subcategoryMap.hasOwnProperty(e)?this.subcategoryMap[e]:[]},_populateSubcategories:function(e){var t,i=this.$["subcategory-container"],r=this.$["subcategory-dropdown"],o=this.$["subcategory-list"],n=this.getSubcategories(e);for(console.log("subcats",n),i.removeAttribute("hidden"),r.label=this.subcategoryLabel;Polymer.dom(o).firstChild;)Polymer.dom(o).removeChild(Polymer.dom(o).firstChild);for(var d=0;d<n.length;++d)t=document.createElement("q-item"),t.textContent=n[d].name,t.setAttribute("value",n[d].id),Polymer.dom(o).appendChild(t)},_onCategorySelected:function(e){this.setCategory(e.detail.value)},_showValidityCheck:function(e){var t=Polymer.dom(e).querySelector(".validity-check");t&&t.removeAttribute("hidden")},_hideValidityCheck:function(e){var t=Polymer.dom(e).querySelector(".validity-check");t&&t.setAttribute("hidden","")},setCategory:function(e){this._showValidityCheck(this.$["category-container"]),this._hideValidityCheck(this.$["subcategory-container"]),this._populateSubcategories(e),this.$["step-2-container"].setAttribute("hidden",""),this._hideForms()},_onSubcategorySelected:function(e){this._showValidityCheck(this.$["subcategory-container"]);var t=this.getFormId(e.detail.value);this.populateForm(t)},getFormId:function(e){return this.formMap.hasOwnProperty(e)?this.formMap[e]:0},_getForm:function(e){return this.forms.hasOwnProperty(e)?this.forms[e]:null},_getFormContainerId:function(e){return"form-container-"+e},_getFormContainer:function(e){return Polymer.dom(this.$["forms-container"]).querySelector("#"+this._getFormContainerId(e))},_hideForms:function(){var e=Polymer.dom(this.$["forms-container"]).querySelectorAll(".form-container");if(e)for(var t=0;t<e.length;++t)e[t].setAttribute("hidden","");this.$["forms-container"].setAttribute("hidden","")},populateForm:function(e){var t,i,r=this._getFormContainerId(e),o=this._getFormContainer(e);if(this.$["step-2-container"].removeAttribute("hidden"),this._hideForms(),this.$["forms-container"].removeAttribute("hidden"),o)return void o.removeAttribute("hidden");if(t=this._getForm(e)){if(!0!==t.active||!0!==t.end_user_visible)return;o=document.createElement("div"),o.setAttribute("id",r),o.classList.add("form-container");for(var n=0;n<t.fields.length;++n)!0===t.fields[n].active&&(i=null,"text"===t.fields[n].type||"subject"===t.fields[n].type||"integer"===t.fields[n].type||"date"===t.fields[n].type||"regexp"===t.fields[n].type?i=this._createTextField(t.fields[n]):"textarea"===t.fields[n].type||"description"===t.fields[n].type?i=this._createTextAreaField(t.fields[n]):"tagger"===t.fields[n].type?i=this._createTaggerField(t.fields[n]):"checkbox"===t.fields[n].type&&(i=this._createCheckboxField(t.fields[n])),i&&(i.classList.add("field-container"),!0!==t.fields[n].visible&&(i.style.display="none"),Polymer.dom(o).appendChild(i)));Polymer.dom(this.$["forms-container"]).appendChild(o);var d=this.$["form-id-option-"+e];d||(d=document.createElement("option"),d.value=e,Polymer.dom(this.$["form-id-select"]).appendChild(d)),this.$["form-id-select"].value=e,this.fire("z-ticket-form-selected"),this._setupFormConditions(e,o)}},_setupFormConditions:function(e,t){for(var i=0;i<this.conditions.length;++i)this.conditions[i].formId===e&&this._setupFormCondition(e,t,this.conditions[i])},_setupFormCondition:function(e,t,i){for(var r=(Polymer.dom(t).querySelector("#field-"+i.field),0);r<i.select.length;++r){var o=Polymer.dom(t).querySelector("#field-"+i.select[r]+"-container");o&&o.setAttribute("hidden","")}},_applyConditions:function(e,t){var i,r,o,n,d,a=parseInt(this.$["form-id-select"].value,10),l=this._getFormContainer(a),s=[];for(n=0;n<this.conditions.length;++n)if(o=this.conditions[n],o.formId===a&&o.field===e)for(d=0;d<o.select.length;++d)i=o.select[d],r=Polymer.dom(l).querySelector("#field-"+i+"-container"),r.setAttribute("hidden",""),o.value===t&&s.push(i);for(n=0;n<s.length;++n)i=s[n],(r=Polymer.dom(l).querySelector("#field-"+i+"-container"))&&r.removeAttribute("hidden")},_createTextField:function(e){var t,i=document.createElement("div"),r=document.createElement("q-input-container"),o=document.createElement("input","q-input");return t="subject"===e.type?"request[subject]":"request[custom_fields]["+e.id+"]",i.setAttribute("id","field-"+e.id+"-container"),o.setAttribute("id","field-"+e.id),o.setAttribute("name",t),o.setAttribute("type","text"),o.setAttribute("required",e.required),"integer"===e.type&&o.setAttribute("allowed-input","[0-9-.]"),r.setAttribute("label",e.title),r.setAttribute("always-float-label",""),Polymer.dom(r).appendChild(o),Polymer.dom(i).appendChild(r),i},_createTextAreaField:function(e){var t=document.createElement("div"),i=document.createElement("q-input-container"),r=document.createElement("textarea","q-textarea");return t.setAttribute("id","field-"+e.id+"-container"),r.setAttribute("id","field-"+e.id),r.setAttribute("name","request[custom_fields]["+e.id+"]"),r.setAttribute("required",e.required),i.setAttribute("label",e.title),i.setAttribute("always-float-label",""),Polymer.dom(i).appendChild(r),Polymer.dom(t).appendChild(i),t},_createTaggerField:function(e){var t,i=document.createElement("div"),r=document.createElement("q-dropdown-button-list"),o=document.createElement("q-label"),n=document.createElement("q-meta"),d=document.createElement("q-list");i.setAttribute("id","field-"+e.id+"-container"),Polymer.dom(o).appendChild(document.createTextNode(e.title)),r.setAttribute("id","field-"+e.id),r.setAttribute("name","request[custom_fields]["+e.id+"]"),r.setAttribute("label",""),r.addEventListener("q-value-changed",function(t){this._applyConditions(e.id,t.detail.value)}.bind(this));for(var a=0;a<e.options.length;++a)t=document.createElement("q-item"),t.textContent=e.options[a].name,t.setAttribute("value",e.options[a].value),Polymer.dom(d).appendChild(t);return Polymer.dom(r).appendChild(d),Polymer.dom(i).appendChild(o),Polymer.dom(i).appendChild(r),e.description&&(Polymer.dom(n).appendChild(document.createTextNode(e.description)),Polymer.dom(i).appendChild(n)),i},_createCheckboxField:function(e){var t=document.createElement("div"),i=document.createElement("q-checkbox");return t.setAttribute("id","field-"+e.id+"-container"),Polymer.dom(i).appendChild(document.createTextNode(e.title)),Polymer.dom(t).appendChild(i),t},isValid:function(){var e=!0;return this.querySelectorAll("input").forEach(function(t){t.isValid()||(e=!1)}),e}})</script></dom-module><dom-module id="q-waypoint-search" assetpath="../components/q-waypoint-search/"><style>:host {
  1996.   display: block; }
  1997.   :host > #content {
  1998.     @apply --layout-horizontal;
  1999.     @apply --layout-justified;
  2000.     @apply --layout-center;
  2001.     @apply --layout-wrap; }
  2002.     :host > #content ::content q-breadcrumbs {
  2003.       margin-right: 20px; }
  2004.       :host > #content ::content q-breadcrumbs q-divider {
  2005.         display: none; }
  2006.     :host > #content ::content q-search {
  2007.       @apply --layout-horizontal;
  2008.       @apply --layout-end-justified;
  2009.       @apply --layout-flex-auto; }
  2010.       :host > #content ::content q-search #input-container {
  2011.         max-width: 400px; }
  2012.       :host > #content ::content q-search #input-content {
  2013.         border-bottom: 0;
  2014.         margin-bottom: 0; }</style><template><div id="content"><content select="q-breadcrumbs"></content><content select="q-search"></content></div><q-divider></q-divider></template><script>Polymer({is:"q-waypoint-search",properties:{},hostAttributes:{},behaviors:[],listeners:{}})</script></dom-module><dom-module id="z-waypoint-search" assetpath="../components/z-waypoint-search/"><template><style>:host {
  2015.                 display: block;
  2016.                 @apply --z-waypoint-search;
  2017.             }
  2018.  
  2019.             :host [hidden] {
  2020.                 display: none;
  2021.             }
  2022.  
  2023.             /* TODO: fix this jank when we clean up search */
  2024.             :host ::content q-search ::shadow #input-container {
  2025.                 border-bottom: 0 !important;
  2026.             }
  2027.             :host ::content q-search ::shadow q-icon#search-icon {
  2028.                 position: relative;
  2029.                 top: 10px;
  2030.             }</style><form id="searchForm"><div id="zContainer" hidden=""><content id="zContent" select=":not(q-search)"></content></div><div id="content"><q-waypoint-search><q-breadcrumbs id="qBreadcrumb"></q-breadcrumbs><content id="searchContent" select="q-search"></content></q-waypoint-search></div></form></template><script>Polymer({is:"z-waypoint-search",properties:{locale:{type:String,value:$("html").attr("lang").toLowerCase()||"en-us"}},behaviors:[Polymer.ZendeskFilterNodeBehavior],ready:function(){var e,t,o=Polymer.dom(this.$.zContent).getDistributedNodes(),i=this.$.qBreadcrumb;o=this._filterNodes(o,"ol"),o=this._filterChildNodesDeep(o,["li"]),o.map(function(o){e=this._filterChildNodes([o],"a"),e.length?Polymer.dom(i).appendChild(e[0]):(t=document.createElement("p"),t.textContent=o.textContent.trim(),Polymer.dom(i).appendChild(t))}.bind(this)),this.$.searchForm.addEventListener("submit",function(e){e.preventDefault();var t=Polymer.dom(this.$.searchContent).getDistributedNodes()[0],o=window.encodeURIComponent(t.query);window.location.href="/hc/"+this.locale+"/search?query="+o}.bind(this))}})</script></dom-module><link rel="stylesheet" href="../components/q-animations/animate.css"><style is="custom-style">:root {
  2031.         --no-select: {
  2032.             -webkit-user-select: none;
  2033.             -moz-user-select: none;
  2034.             -ms-user-select: none;
  2035.             user-select: none;
  2036.         };
  2037.         --q-default-transition-all: {
  2038.             -webkit-transition: all 0.15s ease-in-out;
  2039.             -moz-transition: all 0.15s ease-in-out;
  2040.             -o-transition: all 0.15s ease-in-out;
  2041.             -ms-transition: all 0.15s ease-in-out;
  2042.             transition: all 0.15s ease-in-out;
  2043.         };
  2044.     }</style><style is="custom-style">html {
  2045.         --q-button: {
  2046.             padding: 12px 24px;
  2047.             font-weight: 600;
  2048.             color: white;
  2049.             background-color: #8c0b05;
  2050.             border-radius: 2px;
  2051.         };
  2052.  
  2053.         --q-button-hover: {
  2054.             background-color: #b50e06;
  2055.         };
  2056.     }
  2057.  
  2058.     q-button[color="primary"] {
  2059.         --q-button-hover: {
  2060.             color: white;
  2061.             background: rgb(145, 22, 16);
  2062.         };
  2063.  
  2064.         --q-button-pressed: {
  2065.             color: white;
  2066.         };
  2067.     }</style><style is="custom-style">html {
  2068.         --q-breadcrumbs: {
  2069.             background-color: #1d1d1d;
  2070.         };
  2071.  
  2072.         --q-breadcrumbs-link: {
  2073.             position: relative;
  2074.             color: #fff;
  2075.             font-weight: bold;
  2076.             background-color: #232323;
  2077.             text-decoration: none;
  2078.             text-transform: uppercase;
  2079.             height: 40px;
  2080.             line-height: 40px;
  2081.             padding: 0 10px 0 5px;
  2082.             text-align: center;
  2083.             margin-right: 28px;
  2084.             font-family: 'Open Sans', sans-serif;
  2085.             font-size: 11px;
  2086.             letter-spacing: .5px;
  2087.             -webkit-transition: all 0.15s ease-in-out;
  2088.             -moz-transition: all 0.15s ease-in-out;
  2089.             -o-transition: all 0.15s ease-in-out;
  2090.             -ms-transition: all 0.15s ease-in-out;
  2091.             transition: all 0.15s ease-in-out;
  2092.         };
  2093.  
  2094.         --q-breadcrumbs-link-hover: {
  2095.             background-color: #2f2f2f;
  2096.             color: #fff;
  2097.         };
  2098.  
  2099.         --q-breadcrumbs-paragraph: {
  2100.             font-family: 'Open Sans', sans-serif;
  2101.             font-weight: bold;
  2102.             font-size: 11px;
  2103.             letter-spacing: .5px;
  2104.             text-transform: uppercase;
  2105.             color: var(--q-default-text-color);
  2106.             height: 40px;
  2107.             line-height: 40px;
  2108.             padding: 0 10px 0 5px;
  2109.             max-width: 400px;
  2110.             overflow: hidden;
  2111.             -ms-text-overflow: ellipsis;
  2112.             text-overflow: ellipsis;
  2113.         };
  2114.  
  2115.         --q-breadcrumbs-icon: {
  2116.             display: none;
  2117.         };
  2118.  
  2119.         --q-breadcrumbs-divider: {
  2120.             display: none;
  2121.         };
  2122.     }
  2123.  
  2124.     * ::content q-breadcrumbs #content a::before,
  2125.     * ::content q-breadcrumbs #content a::after {
  2126.         position: absolute;
  2127.         top: 0;
  2128.         width: 0;
  2129.         height: 0;
  2130.         content: '';
  2131.         border-color: #232323;
  2132.         border-style: solid;
  2133.         border-width: 20px 13px;
  2134.         -webkit-transition: all 0.15s ease-in-out;
  2135.         -moz-transition: all 0.15s ease-in-out;
  2136.         -o-transition: all 0.15s ease-in-out;
  2137.         -ms-transition: all 0.15s ease-in-out;
  2138.         transition: all 0.15s ease-in-out;
  2139.         z-index: 1;
  2140.     }
  2141.  
  2142.     * ::content q-breadcrumbs #content a:hover::before {
  2143.         border-color: #2f2f2f;
  2144.         border-left-color: transparent;
  2145.     }
  2146.  
  2147.     * ::content q-breadcrumbs #content a:hover::after {
  2148.         border-left-color: #2f2f2f;
  2149.     }
  2150.  
  2151.     * ::content q-breadcrumbs #content a::before {
  2152.         left: -23px;
  2153.         border-left-color: transparent;
  2154.     }
  2155.  
  2156.     * ::content q-breadcrumbs #content a::after {
  2157.         left: 100%;
  2158.         border-color: transparent;
  2159.         border-left-color: #232323;
  2160.     }
  2161.  
  2162.     * ::content q-breadcrumbs #content a:first-child {
  2163.         padding-left: 15px;
  2164.         border-radius: 2px 0 0 2px;
  2165.     }
  2166.  
  2167.     * ::content q-breadcrumbs #content :first-child::before {
  2168.         border: none;
  2169.     }
  2170.  
  2171.     * ::content q-breadcrumbs #content :last-child::after {
  2172.         border-left-color: #232323;
  2173.     }
  2174.  
  2175.     * ::content q-breadcrumbs #content :last-child::before {
  2176.         border-color: #232323;
  2177.         border-left-color: transparent;
  2178.     }</style><style is="custom-style">* ::content q-card-nav ::content a q-stacked-card:hover,
  2179.     q-card-nav ::content a q-stacked-card:hover {
  2180.         background-color: #2d2d2d;
  2181.         border-color: #2d2d2d;
  2182.  
  2183.         -webkit-transition: all 0.15s ease-in-out;
  2184.         -moz-transition: all 0.15s ease-in-out;
  2185.         -o-transition: all 0.15s ease-in-out;
  2186.         -ms-transition: all 0.15s ease-in-out;
  2187.         transition: all 0.15s ease-in-out;
  2188.     }</style><style is="custom-style">* ::content q-checkbox,
  2189.     q-checkbox {
  2190.         @apply --no-select;
  2191.         --q-icon-fill-color: #bdc4c4;
  2192.     }
  2193.  
  2194.     * ::content q-checkbox:not([disabled]):hover #checkContainer,
  2195.     q-checkbox:not([disabled]):hover #checkContainer {
  2196.         background-color: rgba(238, 238, 238, .2);
  2197.     }
  2198.  
  2199.     * ::content q-checkbox #label,
  2200.     q-checkbox #label {
  2201.         color: white;
  2202.     }</style><style is="custom-style">:root {
  2203.         --q-content-block-avatar-1-media: {
  2204.             border: 2px solid #363636;
  2205.             border-radius: 50%;
  2206.         };
  2207.  
  2208.         --q-content-block-avatar-1-headline: {
  2209.             font-size: 8pt;
  2210.             font-weight: 600;
  2211.             text-transform: uppercase;
  2212.             color: #fff;
  2213.         };
  2214.  
  2215.         --q-content-block-avatar-1-meta: {
  2216.             font-size: 8pt;
  2217.             font-weight: 600;
  2218.             text-transform: uppercase;
  2219.         };
  2220.     }</style><style is="custom-style">:root {
  2221.         --q-content-block-avatar-2-label: {
  2222.             font-size: 12px;
  2223.             color: #fff;
  2224.             font-weight: normal;
  2225.             text-transform: none;
  2226.         };
  2227.  
  2228.         --q-content-block-avatar-2-value: {
  2229.             font-size: 15px;
  2230.             font-weight: 600;
  2231.             text-transform: uppercase;
  2232.             font-size: 18px;
  2233.             color: #fff;
  2234.         };
  2235.     }</style><style is="custom-style">:root {
  2236.         --q-content-block-avatar-3-avatar: {
  2237.             margin-right: 20px;
  2238.         };
  2239.  
  2240.         --q-content-block-avatar-3-content: {
  2241.             width: 100%;
  2242.         };
  2243.     }</style><style is="custom-style">:root {
  2244.         --q-content-block-icon-1-label: {
  2245.             font-size: 15px;
  2246.             color: #fff;
  2247.             font-weight: bold;
  2248.             text-transform: none;
  2249.         };
  2250.  
  2251.         --q-content-block-icon-1-value: {
  2252.             font-size: 16px;
  2253.             font-weight: normal;
  2254.             color: #fff;
  2255.         };
  2256.     }</style><style is="custom-style">* ::content q-content-block-checkbox-1 #copy ::content q-meta,
  2257.     q-content-block-checkbox-1 #copy ::content q-meta {
  2258.         font-size: 8pt;
  2259.         font-weight: 600;
  2260.         text-transform: uppercase;
  2261.     }</style><style is="custom-style">html {
  2262.         --q-dropdown-button-list-button: {
  2263.             background-color: #212121;
  2264.             text-transform: none;
  2265.             padding: 10px;
  2266.         };
  2267.  
  2268.         --q-dropdown-button-list-button-hover: {
  2269.             background-color: #212121;
  2270.             color: #fff;
  2271.         };
  2272.  
  2273.         --q-dropdown-button-list-button-focus: {
  2274.             background-color: #323232;
  2275.             color: #fff;
  2276.         };
  2277.  
  2278.         --q-dropdown-button-list-button-icon: {
  2279.             color: #8c8c8c;
  2280.             width: 25px;
  2281.         };
  2282.  
  2283.         --q-dropdown-button-list-list-item: {
  2284.  
  2285.         };
  2286.  
  2287.         --q-dropdown-button-list-list-item-hover: {
  2288.             background: #323232;
  2289.         };
  2290.  
  2291.         --q-dropdown-button-list-list-item-highlighted: {
  2292.             background: #323232;
  2293.         };
  2294.     }</style><style is="custom-style">:root {
  2295.         --q-footer: {
  2296.             width: 100%;
  2297.             background-color: #1d1d1d;
  2298.             padding: 50px 0;
  2299.         };
  2300.  
  2301.         --q-footer-top: {
  2302.             @apply --layout;
  2303.             @apply --layout-start;
  2304.             @apply --layout-justified;
  2305.             border-bottom: 1px solid #4a4a4a;
  2306.             max-width: 1000px;
  2307.             padding-bottom: 40px;
  2308.             margin: 0 auto;
  2309.         };
  2310.  
  2311.         --q-footer-bottom: {
  2312.             max-width: 1000px;
  2313.             padding-top: 40px;
  2314.             margin: 0 auto;
  2315.         };
  2316.     }
  2317.  
  2318.     * ::content q-footer q-item,
  2319.     q-footer q-item {
  2320.         margin-bottom: 5px;
  2321.     }
  2322.  
  2323.     * ::content q-footer table tr td,
  2324.     q-footer table tr td {
  2325.         vertical-align: top;
  2326.         padding: 0;
  2327.     }
  2328.  
  2329.     * ::content q-footer table tr td:not(:first-child),
  2330.     q-footer table tr td:not(:first-child) {
  2331.         padding-left: 80px;
  2332.     }
  2333.  
  2334.     * ::content q-footer table tr td.continued,
  2335.     q-footer table tr td.continued {
  2336.         padding-top: 51px;
  2337.         padding-left: 40px;
  2338.     }
  2339.  
  2340.     * ::content q-footer table tr td h4,
  2341.     q-footer table tr td h4 {
  2342.         margin-bottom: 30px;
  2343.     }</style><style is="custom-style">:root {
  2344.         --q-form-label: {
  2345.             color: #fff;
  2346.             text-transform: capitalize;
  2347.             font-size: 18px;
  2348.             font-family: 'Roboto Condensed', sans-serif;
  2349.             margin-bottom: 10px;
  2350.             letter-spacing: .5px;
  2351.         };
  2352.     }</style><style is="custom-style">html {
  2353.         --q-item: {
  2354.             font-family: 'Open Sans', sans-serif;
  2355.             font-size: 11pt;
  2356.             font-weight: 400;
  2357.             color: var(--q-default-text-color);
  2358.         };
  2359.     }
  2360.  
  2361.     * ::content q-item q-icon,
  2362.     q-item q-icon {
  2363.         --q-icon-fill-color: red;
  2364.     }</style><style is="custom-style">q-item-model-simple-3 > #content > a {
  2365.         font-size: 15pt;
  2366.         line-height: 30px;
  2367.         letter-spacing: -0.8px;
  2368.     }
  2369.  
  2370.     q-item-model-simple-3 > #content q-meta {
  2371.         font-size: 9pt;
  2372.         text-transform: uppercase;
  2373.         color: #9c9c9c;
  2374.     }</style><style is="custom-style">html {
  2375.         --q-item-model-simple-4: {
  2376.             padding: 3px 0 11px 0;
  2377.         };
  2378.         --q-item-model-simple-4-link: {
  2379.             font-size: 15pt;
  2380.             line-height: 30px;
  2381.             letter-spacing: -0.8px;
  2382.             padding-bottom: 14px;
  2383.         };
  2384.         --q-item-model-simple-4-meta: {
  2385.             font-size: 8.5pt;
  2386.             text-transform: uppercase;
  2387.             color: #9c9c9c;
  2388.         };
  2389.         --q-item-model-simple-4-meta-link: {
  2390.             padding-left: 3px;
  2391.         };
  2392.         --q-tag-charcoal: {
  2393.             border: 1px solid #3a4041;
  2394.             background-color: transparent;
  2395.         };
  2396.     }</style><style is="custom-style">q-item-model-simple-5 #content q-label {
  2397.         font-size: 18px;
  2398.         text-transform: uppercase;
  2399.         color: #fff;
  2400.         font-weight: bold;
  2401.     }
  2402.     q-item-model-simple-5 #content q-meta {
  2403.         font-weight: bold;
  2404.         color: #fff;
  2405.     }</style><style is="custom-style">html {
  2406.         --q-label: {
  2407.             text-transform: uppercase;
  2408.             font-size: 10pt;
  2409.             font-weight: 800;
  2410.             font-family: 'Open Sans', sans-serif;
  2411.         }
  2412.     }</style><style is="custom-style">html {
  2413.         --q-list-divided-item: {
  2414.             border-bottom: 1px dashed #59595b;
  2415.             padding-bottom: 20px;
  2416.             margin-bottom: 23px;
  2417.         };
  2418.  
  2419.         --q-list-divided-last-item: {
  2420.             margin-bottom: 0;
  2421.         };
  2422.     }</style><style is="custom-style">q-list-nav {
  2423.         --q-list-nav: {
  2424.             background-color: #1d1d1d;
  2425.         };
  2426.         --q-list-nav-header: {
  2427.             font-family: 'AlternateGothicW02-No2D', 'AlternateGotNo2DOT', Impact, sans-serif;
  2428.             display: block;
  2429.             margin-bottom: 15px;
  2430.             font-size: 20pt;
  2431.             color: #fff;
  2432.             font-weight: normal;
  2433.             border-bottom: 1px dashed #313131;
  2434.             padding: 20px;
  2435.         }
  2436.     }</style><style is="custom-style">:root {
  2437.         --q-meta: {
  2438.             font-family: 'Open Sans', sans-serif;
  2439.             font-size: 9pt;
  2440.             font-style: italic;
  2441.             color: var(--q-default-text-color);
  2442.         };
  2443.     }</style><style is="custom-style">:root {
  2444.         --q-nav-selected-color: white;
  2445.         --q-nav-border-selected-color: red;
  2446.     }</style><style is="custom-style">html {
  2447.         --q-dropdown-background-color: #212121;
  2448.         --q-dropdown-color: #fff;
  2449.     }</style><style is="custom-style">:root {
  2450.         --q-overlay-card: {
  2451.             background-color: #1d1d1d;
  2452.         };
  2453.  
  2454.         --q-overlay-card-overlay: {
  2455.             background-color: rgba(0, 0, 0, 0.65);
  2456.         };
  2457.  
  2458.         --q-overlay-card-overlay-hover: {
  2459.             background-color: rgba(0, 0, 0, 0.3);
  2460.  
  2461.             -webkit-transition: all 0.25s linear;
  2462.             -moz-transition: all 0.25s linear;
  2463.             -o-transition: all 0.25s linear;
  2464.             -ms-transition: all 0.25s linear;
  2465.             transition: all 0.25s linear;
  2466.         };
  2467.  
  2468.         --q-overlay-card-headline: {
  2469.             font-family: 'AlternateGothicW02-No2D', 'AlternateGotNo2DOT', Impact, sans-serif;
  2470.             font-size: 21pt;
  2471.             font-weight: normal;
  2472.             line-height: 0.9;
  2473.         };
  2474.  
  2475.         --q-overlay-card-subtext: {
  2476.             margin: 5px auto 60px auto;
  2477.             max-width: 160px;
  2478.         };
  2479.  
  2480.         --q-overlay-card-icon: {
  2481.             color: #f00;
  2482.         };
  2483.     }
  2484.  
  2485.     q-overlay-card h1,
  2486.     q-overlay-card h2,
  2487.     q-overlay-card h3,
  2488.     q-overlay-card h4,
  2489.     q-overlay-card h5,
  2490.     q-overlay-card h6 {
  2491.         @apply --q-overlay-card-headline;
  2492.     }
  2493.  
  2494.     q-overlay-card q-subtext {
  2495.         @apply --q-overlay-card-subtext;
  2496.     }
  2497.  
  2498.     q-overlay-card q-icon {
  2499.         @apply --q-overlay-card-icon;
  2500.     }</style><style is="custom-style">q-overlay-card-model-simple-5 {
  2501.         --q-overlay-card-icon: {
  2502.             margin-top: 15px;
  2503.             color: red;
  2504.         };
  2505.  
  2506.         --q-overlay-card-headline: {
  2507.             margin-bottom: 10px;
  2508.         };
  2509.  
  2510.         --q-overlay-card-subtext: {
  2511.             color: #abaaaa;
  2512.             font-weight: 600;
  2513.             font-style: italic;
  2514.             line-height: 18px;
  2515.         };
  2516.     }</style><style is="custom-style">:root {
  2517.         --q-pagination-text-color: #bcc3c3;
  2518.         --q-pagination-hover-text-color: #838787;
  2519.         --q-pagination-active-text-color: #f9241a;
  2520.         --q-pagination-active-hover-text-color: #f9241a;
  2521.     }</style><style is="custom-style">:root {
  2522.         --q-related-list: {
  2523.             background-color: #1d1d1d;
  2524.             padding-bottom: 15px;
  2525.         };
  2526.  
  2527.         --q-related-list-header: {
  2528.             border-bottom: 1px dashed #313131;
  2529.             font-family: 'AlternateGothicW02-No2D', 'AlternateGotNo2DOT', Impact, sans-serif;
  2530.             display: block;
  2531.             padding: 20px 30px;
  2532.             margin-bottom: 15px;
  2533.             color: #fff;
  2534.             font-weight: normal;
  2535.             font-size: 20pt;
  2536.         };
  2537.  
  2538.         --q-related-list-item: {
  2539.             padding: 5px 30px;
  2540.             font-size: 14px;
  2541.             line-height: 18px;
  2542.         };
  2543.     }</style><style is="custom-style">#q-core-header {
  2544.         height: 49px;
  2545.         border-bottom: 2px solid #262626;
  2546.     }</style><style is="custom-style">root {
  2547.         --q-search-icon-color: white;
  2548.     }
  2549.  
  2550.     q-search {
  2551.         --q-search-underline-width: 0;
  2552.         --q-search-icon-color: white;
  2553.  
  2554.         --q-search-results: {
  2555.             border: 1px solid #707676;
  2556.             background: #212121;
  2557.             padding: 7px 0;
  2558.         };
  2559.  
  2560.         --q-search-results-empty: {
  2561.             padding: 7px 15px;
  2562.         };
  2563.  
  2564.         --q-search-input: {
  2565.             font-size: 16px;
  2566.             line-height: 16px;
  2567.             color: #eaeaea;
  2568.             background: transparent;
  2569.         };
  2570.  
  2571.         --q-search-input-focused: {
  2572.             outline: none;
  2573.         };
  2574.     }
  2575.  
  2576.     q-search q-list q-label {
  2577.         --q-label: {
  2578.             display: block;
  2579.             color: #fff;
  2580.             border-bottom: 1px solid #7e8c8c;
  2581.             margin: 7px 15px;
  2582.             padding: 0;
  2583.             font-weight: normal;
  2584.             font-family: "Open Sans", sans-serif;
  2585.             overflow: auto;
  2586.             text-transform: uppercase;
  2587.             font-size: 10pt;
  2588.         }
  2589.     }
  2590.  
  2591.     q-search q-list q-item em {
  2592.         font-weight: bold;
  2593.         font-style: normal;
  2594.     }
  2595.  
  2596.     q-search q-list q-label {
  2597.         width: auto;
  2598.         white-space: nowrap;
  2599.     }
  2600.  
  2601.     q-search q-list q-item {
  2602.         --q-item: {
  2603.             padding: 7px 15px;
  2604.         };
  2605.  
  2606.         --q-item-hover: {
  2607.             background-color: #495050;
  2608.         };
  2609.     }</style><style is="custom-style">html {
  2610.         --q-stacked-card: {
  2611.             background-color: #212121;
  2612.             border: none;
  2613.  
  2614.             display: flex;
  2615.             align-items: center;
  2616.             padding: 25px;
  2617.             height: 175px;
  2618.             width: 185px;
  2619.         }
  2620.     }
  2621.     q-stacked-card q-icon {
  2622.         --q-icon-color: #ff0000;
  2623.     }
  2624.  
  2625.     q-stacked-card h1,
  2626.     q-stacked-card h2,
  2627.     q-stacked-card h3,
  2628.     q-stacked-card h4,
  2629.     q-stacked-card h5,
  2630.     q-stacked-card h6
  2631.     {
  2632.         font-family: 'AlternateGothicW02-No2D', 'AlternateGotNo2DOT', Impact, sans-serif;
  2633.         font-size: 21pt;
  2634.         font-weight: normal;
  2635.         line-height: 0.9;
  2636.     }</style><style is="custom-style">q-stacked-card-model-simple-3 {
  2637.         position: relative;
  2638.         top: 13px;
  2639.     }
  2640.     q-stacked-card-model-simple-3 q-icon {
  2641.         margin-top: 14px;
  2642.         --q-icon-color: red;
  2643.     }
  2644.  
  2645.     q-stacked-card-model-simple-3 h1,
  2646.     q-stacked-card-model-simple-3 h2,
  2647.     q-stacked-card-model-simple-3 h3,
  2648.     q-stacked-card-model-simple-3 h4,
  2649.     q-stacked-card-model-simple-3 h5,
  2650.     q-stacked-card-model-simple-3 h6 {
  2651.         margin-bottom: 8px;
  2652.         color: #fff;
  2653.     }
  2654.  
  2655.     q-stacked-card-model-simple-3 q-subtext {
  2656.         color: var(--q-text-color);
  2657.     }</style><style is="custom-style">q-sub-nav-list {
  2658.         --q-sub-nav-list-header: {
  2659.             margin-bottom: 40px;
  2660.         };
  2661.         --q-sub-nav-list-title: {
  2662.             font-family: 'AlternateGothicW02-No2D', 'AlternateGotNo2DOT', Impact, sans-serif;
  2663.             display: block;
  2664.             margin-bottom: 15px;
  2665.             font-size: 20pt;
  2666.             color: #fff;
  2667.             font-weight: normal;
  2668.         };
  2669.         --q-sub-nav-list-item: {
  2670.             @apply(--layout-horizontal);
  2671.             @apply(--layout-center);
  2672.             padding: 5px 0;
  2673.             font-size: 11pt;
  2674.             line-height: 22px;
  2675.         };
  2676.     }
  2677.     q-sub-nav-list > #content q-grid {
  2678.         --q-grid-gutter-size: 40px;
  2679.     }</style><style is="custom-style">html {
  2680.         --q-subtext: {
  2681.             font-family: 'Open Sans', sans-serif;
  2682.             font-style: italic;
  2683.             color: #a9a9a9;
  2684.             line-height: 1.3;
  2685.             font-weight: 600;
  2686.         }
  2687.     }
  2688.  
  2689.     q-subtext[priority="1"] {
  2690.         color: white;
  2691.         font-size: 22pt;
  2692.         font-style: normal;
  2693.         font-weight: 400;
  2694.     }
  2695.  
  2696.     q-subtext[priority="3"] {
  2697.         font-size: 11pt;
  2698.     }</style><style is="custom-style">html {
  2699.         --q-tag: {
  2700.             border: 1px solid #3a4041;
  2701.             background-color: transparent;
  2702.         }
  2703.         --q-tag-hover: {
  2704.             border-color: #626266;
  2705.             cursor: pointer;
  2706.         }
  2707.     }</style><style is="custom-style">q-waypoint-search {
  2708.         --q-form-input: {
  2709.             padding-bottom: 0;
  2710.         };
  2711.     }
  2712.  
  2713.     * ::content q-waypoint-search {
  2714.       padding: 30px 30px 80px 30px;
  2715.     }
  2716.     * ::content q-waypoint-search q-search {
  2717.         padding-right: 10px;
  2718.         border: none;
  2719.     }
  2720.  
  2721.     * ::content q-waypoint-search #content,
  2722.     q-waypoint-search #content {
  2723.         background-color: #1d1d1d;
  2724.     }
  2725.  
  2726.     * ::content q-waypoint-search q-search input:-webkit-autofill,
  2727.     q-waypoint-search q-search input:-webkit-autofill {
  2728.         color: #f00 !important;
  2729.         background-color: #f00 !important;
  2730.     }
  2731.  
  2732.     * ::content q-waypoint-search q-divider,
  2733.     q-waypoint-search q-divider {
  2734.         background-color: transparent;
  2735.     }
  2736.  
  2737.     * ::content q-waypoint-search #input-container q-form-input,
  2738.     q-waypoint-search #input-container q-form-input {
  2739.         padding-bottom: 0;
  2740.     }</style><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Open+Sans:400,700,800,400italic|Roboto+Condensed:300|Pathway+Gothic+One"><style is="custom-style">@font-face {
  2741.         font-family: 'AlternateGothicW02-No2D';
  2742.         src: url("//s3-us-west-2.amazonaws.com/images-ps-kb/fonts/26e0d60f-f62d-4ca6-b7c9-da4b4b0faea9.eot?#iefix");
  2743.         src: url("//s3-us-west-2.amazonaws.com/images-ps-kb/fonts/26e0d60f-f62d-4ca6-b7c9-da4b4b0faea9.eot?#iefix") format("eot"),url("//s3-us-west-2.amazonaws.com/images-ps-kb/fonts/e3d0ecf4-a6ca-4be4-8fee-4cfe85fd7c5a.woff") format("woff"),url("//s3-us-west-2.amazonaws.com/images-ps-kb/fonts/a2e0e0cf-0ff9-4fb4-bb7e-28ee13cbc37c.ttf") format("truetype"),url("//s3-us-west-2.amazonaws.com/images-ps-kb/fonts/cc1f9791-cf49-4f20-9048-900f71cb652d.svg#cc1f9791-cf49-4f20-9048-900f71cb652d") format("svg");
  2744.     }
  2745.  
  2746.     @font-face {
  2747.         font-family: 'AlternateGotNo2DOT';
  2748.         src: url("//s3-us-west-2.amazonaws.com/support.riotgames.com/fonts/AlternateGotNo2DOT.eot");
  2749.         src: url("//s3-us-west-2.amazonaws.com/support.riotgames.com/fonts/AlternateGotNo2DOT.woff2") format('woff2'),
  2750.         url("//s3-us-west-2.amazonaws.com/support.riotgames.com/fonts/AlternateGotNo2DOT.woff") format('woff'),
  2751.         url("//s3-us-west-2.amazonaws.com/support.riotgames.com/fonts/AlternateGotNo2DOT.ttf") format('truetype'),
  2752.         url("//s3-us-west-2.amazonaws.com/support.riotgames.com/fonts/AlternateGotNo2DOT.svg#AlternateGotNo2DOT") format('svg'),
  2753.         url("//s3-us-west-2.amazonaws.com/support.riotgames.com/fonts/AlternateGotNo2DOT.eot?#iefix") format('embedded-opentype');
  2754.         font-weight: normal;
  2755.         font-style: normal;
  2756.     }
  2757.  
  2758.     :root {
  2759.         /* Typography */
  2760.         --q-font-common-base: {
  2761.             font-family: 'Roboto Condensed', sans-serif;
  2762.             -webkit-font-smoothing: antialiased;
  2763.             font-size: 14px;
  2764.         };
  2765.         --q-font-common-important: {
  2766.             font-family: 'Open Sans', sans-serif;
  2767.             text-transform: uppercase;
  2768.             font-weight: 800;
  2769.         };
  2770.         --q-font-button: {
  2771.             @apply --q-font-common-base;
  2772.             @apply --q-font-common-important;
  2773.         };
  2774.         --q-font-headline: {
  2775.             @apply --q-font-common-base;
  2776.             @apply --q-font-common-important;
  2777.         };
  2778.         --q-font-subtext: {
  2779.             @apply --q-font-common-base;
  2780.         };
  2781.         --q-font-quote: {
  2782.             @apply --q-font-common-base;
  2783.             font-style: italic;
  2784.         };
  2785.  
  2786.         --q-default-background-color: #191919;
  2787.         --q-default-text-color: #9c9c9c;
  2788.  
  2789.         --q-text-font-family: 'Open Sans', sans-serif;
  2790.         --q-link-primary-dark-color: #fbfbfb;
  2791.         --q-link-primary-dark-hover-color: #bf3b2c;
  2792.  
  2793.         --q-link: {
  2794.             transition: all;
  2795.             text-decoration: none;
  2796.             color: var(--q-link-primary-dark-color, currentcolor);
  2797.         };
  2798.         --q-link-hover: {
  2799.             color: var(--q-link-primary-dark-hover-color, currentcolor);
  2800.         };
  2801.         --q-link-primary: {
  2802.             color: var(--q-link-primary-dark-color, currentcolor);
  2803.         };
  2804.         --q-link-primary-hover: {
  2805.             color: var(--q-link-primary-dark-hover-color, currentcolor);
  2806.         };
  2807.     }
  2808.  
  2809.     body {
  2810.         background-color: var(--q-default-background-color);
  2811.         color: var(--q-default-text-color);
  2812.     }
  2813.  
  2814.     a, * ::shadow a  {
  2815.         @apply --q-link;
  2816.     }
  2817.  
  2818.     a:hover, * ::shadow a:hover {
  2819.         @apply --q-link-hover;
  2820.     }
  2821.  
  2822.     a[priority="primary"] {
  2823.         @apply --q-link-primary;
  2824.     }
  2825.  
  2826.     a[priority="primary"]:hover {
  2827.         @apply --q-link-primary-hover;
  2828.     }
  2829.  
  2830.     /* TODO: Shadow selector deprecated */
  2831.     * ::shadow h1,
  2832.     * ::shadow h2,
  2833.     * ::shadow h3,
  2834.     * ::shadow h4,
  2835.     * ::shadow h5,
  2836.     * ::shadow h6,
  2837.     h1, h2, h3, h4, h5, h6 {
  2838.         @apply --q-font-common-base;
  2839.         @apply --q-font-common-important;
  2840.         padding: 0;
  2841.         margin: 0;
  2842.     }
  2843.  
  2844.     * ::shadow h1,
  2845.     h1 {
  2846.         color: white;
  2847.         font-size: 32pt;
  2848.         font-weight: 100;
  2849.         line-height: 1.2;
  2850.         letter-spacing: -0.5px;
  2851.         text-transform: none;
  2852.     }
  2853.     * ::shadow h2,
  2854.     h2 {
  2855.         font-family: 'AlternateGothicW02-No2D', 'AlternateGotNo2DOT', Impact, sans-serif;
  2856.         font-size: 20pt;
  2857.         color: #fff;
  2858.         font-weight: normal;
  2859.         line-height: 1.3;
  2860.     }
  2861.     * ::shadow h3,
  2862.     h3 {
  2863.       font-family: 'Roboto Condensed', sans-serif;
  2864.       font-size: 14pt;
  2865.       font-weight: 700;
  2866.       line-height: 1.3;
  2867.       letter-spacing: 0;
  2868.       text-transform: none;
  2869.       color: white;
  2870.     }
  2871.     * ::shadow h6,
  2872.     h6 {
  2873.         font-size: 9pt;
  2874.         font-weight: 700;
  2875.         line-height: 1.3;
  2876.     }
  2877.  
  2878.     * ::shadow p,
  2879.     p {
  2880.         font-family: var(--q-text-font-family, 'Roboto Condensed', sans-serif);
  2881.         font-size: 11pt;
  2882.         font-weight: 400;
  2883.         color: var(--q-default-text-color);
  2884.     }
  2885.  
  2886.     /* Horizontal rules are small red nubs */
  2887.     * ::shadow hr,
  2888.     hr {
  2889.         background: #f9241a;
  2890.         border: 0;
  2891.         display: block;
  2892.         margin: 40px 0 40px 0;
  2893.         width: 30px;
  2894.         height: 1px;
  2895.     }
  2896.  
  2897.     * ::shadow hr.centered,
  2898.     hr.centered {
  2899.         margin-left: auto;
  2900.         margin-right: auto;
  2901.     }
  2902.  
  2903.     * ::shadow input,
  2904.     input {
  2905.         background-color: #212121;
  2906.         outline: none;
  2907.         border: 0;
  2908.         padding: 10px;
  2909.         color: #fff;
  2910.         font-size: 14px;
  2911.     }
  2912.  
  2913.     * ::shadow textarea,
  2914.     textarea {
  2915.         background-color: #212121;
  2916.         outline: none;
  2917.         border: 0;
  2918.         padding: 10px;
  2919.         color: #fff;
  2920.         font-size: 14px;
  2921.     }
  2922.  
  2923.     strong {
  2924.         color: #fff;
  2925.     }
  2926.  
  2927.     table[is="q-table"],
  2928.     table[is="q-table"] thead
  2929.     {
  2930.         border-bottom: solid 2px gray;
  2931.     }
  2932.  
  2933.     table[is="q-table"] th {
  2934.         color: white;
  2935.         font-size: 14pt;
  2936.         white-space: nowrap;
  2937.     }
  2938.  
  2939.     table[is="q-table"] tbody tr:hover {
  2940.         background-color: #2d2d2d;
  2941.         cursor: pointer;
  2942.     }
  2943.  
  2944.     table[is="q-table"] td {
  2945.         font-size: 12pt;
  2946.     }
  2947.  
  2948.     .align-right {
  2949.         text-align: right;
  2950.     }
  2951.     textarea {
  2952.         background-color: #232323;
  2953.         border: none;
  2954.     }
  2955.     textarea:focus {
  2956.         outline: none;
  2957.     }</style><style is="custom-style">#article {
  2958.         background-color: #191919;
  2959.         color: white;
  2960.         line-height: 1.5;
  2961.         max-width: 1200px;
  2962.         margin: 0 auto;
  2963.         margin-bottom: 50px;
  2964.     }
  2965.     #article #body {
  2966.         padding: 0 40px 80px 40px;
  2967.     }
  2968.     #article q-col + q-col {
  2969.         display: flex;
  2970.         justify-content: center;
  2971.     }
  2972.     #article q-article [slot="body"] p {
  2973.         line-height: 18pt;
  2974.     }
  2975.     #article q-article [slot="body"] {
  2976.         color: #b9b9b9;
  2977.     }
  2978.     #article q-article {
  2979.         margin: 0 20px 50px 0;
  2980.         max-width: 650px;
  2981.     }
  2982.     #article q-article q-list {
  2983.         margin-top: 20px;
  2984.         margin-bottom: 30px;
  2985.     }
  2986.  
  2987.     /***************************************************************
  2988.      * Related Side Panel
  2989.      *************************************************************** */
  2990.  
  2991.     #article #related {
  2992.         width: 270px;
  2993.     }
  2994.     #article #related z-related-list {
  2995.         display: block;
  2996.         margin-bottom: 40px;
  2997.     }
  2998.     #article #related q-card-nav {
  2999.         --q-card-spacing: 40px;
  3000.     }
  3001.     #article #related q-overlay-card {
  3002.         --q-overlay-card-height: 230px;
  3003.         --q-overlay-card-width: 270px;
  3004.     }
  3005.  
  3006.     /***************************************************************
  3007.      * Tools
  3008.      *************************************************************** */
  3009.  
  3010.     #article q-overlay-card[image="hextech"] {
  3011.         --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/hextech.png");
  3012.     }
  3013.     #article q-overlay-card[image="livechat"] {
  3014.         --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/livechat.png");
  3015.     }
  3016.     #article q-overlay-card[image="myisp"] {
  3017.         --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/myisp.png");
  3018.     }</style><style is="custom-style">#category-landing {
  3019.         max-width: 1200px;
  3020.         margin: 0 auto;
  3021.     }
  3022.     #category-landing section {
  3023.         padding: 0 40px 80px 40px;
  3024.     }
  3025.  
  3026.     /***************************************************************
  3027.      * Categories
  3028.      *************************************************************** */
  3029.  
  3030.     #category-landing #categories {
  3031.         @apply (--layout-horizontal);
  3032.     }
  3033.     #category-landing #categories q-list-nav {
  3034.         min-width: 250px;
  3035.         margin-right: 60px;
  3036.     }
  3037.     #category-landing #categories q-sub-nav-list {
  3038.         padding: 0;
  3039.     }
  3040.     #category-landing #categories q-sub-nav-list q-list q-item:last-child q-icon {
  3041.         --q-icon-color: red;
  3042.     }
  3043.     #category-landing #categories q-sub-nav-list q-list q-item q-icon ~ a {
  3044.         font-size: 10pt;
  3045.         font-weight: bold;
  3046.         text-transform: uppercase;
  3047.         padding-left: 20px;
  3048.     }
  3049.  
  3050.     /***************************************************************
  3051.      * Sign up Articles
  3052.      *************************************************************** */
  3053.  
  3054.     #category-landing #helpful-articles h1,
  3055.     #category-landing #helpful-articles h3 {
  3056.         margin: 50px auto;
  3057.         text-align: center;
  3058.     }
  3059.     #category-landing #helpful-articles q-related-list {
  3060.         background-color: transparent;
  3061.     }
  3062.     #category-landing #helpful-articles q-related-list q-item {
  3063.         padding: 0 0 20px 0;
  3064.     }
  3065.     #category-landing #helpful-articles q-related-list q-grid {
  3066.         --q-grid-gutter-size: 100px;
  3067.     }
  3068.  
  3069.     /***************************************************************
  3070.      * Tools
  3071.      *************************************************************** */
  3072.  
  3073.     #category-landing #tools {
  3074.         width: 700px;
  3075.         margin: 0 auto;
  3076.     }
  3077.  
  3078.     #category-landing #tools h1 {
  3079.         margin: 40px auto;
  3080.         text-align: center;
  3081.     }
  3082.     #category-landing #tools q-grid q-overlay-card {
  3083.         margin: 20px auto;
  3084.     }
  3085.     #category-landing #tools q-overlay-card {
  3086.         --q-overlay-card-height: 343px;
  3087.         --q-overlay-card-content: {
  3088.             position: relative;
  3089.             top: 55px;
  3090.         }
  3091.     }</style><style is="custom-style">#error {
  3092.         max-width: 1200px;
  3093.         margin: 0 auto;
  3094.     }
  3095.  
  3096.     /***************************************************************
  3097.      * Error Title
  3098.      *************************************************************** */
  3099.  
  3100.     #error #error-title {
  3101.         margin-bottom: 75px;
  3102.         text-align: center;
  3103.     }
  3104.  
  3105.     #error #error-title h1 {
  3106.         margin-bottom: 30px;
  3107.     }
  3108.  
  3109.     #error #error-title span {
  3110.         color: white;
  3111.         font-size: 120pt;
  3112.         font-weight: 100;
  3113.         line-height: 1.2;
  3114.         letter-spacing: -0.5px;
  3115.         text-transform: none;
  3116.     }
  3117.  
  3118.     /***************************************************************
  3119.      * Related Links
  3120.      *************************************************************** */
  3121.  
  3122.     #error #related-links {
  3123.         padding: 0 60px;
  3124.         margin-bottom: 60px;
  3125.     }
  3126.  
  3127.     #error #related-links q-grid {
  3128.         --q-grid-gutter-size: 60px;
  3129.     }</style><style is="custom-style">/***************************************************************
  3130.      * Logo
  3131.      *************************************************************** */
  3132.  
  3133.     #landing-page {
  3134.         background-color: #191919;
  3135.     }
  3136.     #landing-page h1 {
  3137.         font-weight: normal;
  3138.         line-height: 1.2;
  3139.         text-transform: none;
  3140.         text-align: center;
  3141.         padding: 20px 0 10px 0;
  3142.         font-size: 32pt;
  3143.         max-width: 500px;
  3144.         margin: 0 auto;
  3145.         letter-spacing: -0.5px;
  3146.         font-weight: 300;
  3147.     }
  3148.  
  3149.     #landing-page q-logo {
  3150.         --q-logo-long-rectangle-width-md: 235px;
  3151.         --q-logo-long-rectangle-height-md: 94px;
  3152.     }
  3153.     #landing-page #search-area {
  3154.         padding-bottom: 78px;
  3155.         background: 50% 0 url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/landing-search-background.jpg") #121212 no-repeat;
  3156.     }
  3157.     #landing-page #search-area .wings {
  3158.         width: 100%;
  3159.         padding-top: 34px;
  3160.         padding-bottom: 30px;
  3161.         @apply --layout-horizontal;
  3162.         @apply --layout-flex-auto;
  3163.         @apply --layout-center;
  3164.     }
  3165.     #landing-page #search-area .wings hr {
  3166.         border: 0;
  3167.         width: 100%;
  3168.         margin: 0 65px;
  3169.         background: none;
  3170.         border-bottom: 1px solid rgba(255,255,255,0.1);
  3171.     }
  3172.     #landing-page #search-area .wings hr:first-child {
  3173.         margin-right: 20px;
  3174.     }
  3175.     #landing-page #search-area .wings hr:last-child {
  3176.         margin-left: 20px;
  3177.     }
  3178.  
  3179.  
  3180.     /***************************************************************
  3181.      * Search
  3182.      *************************************************************** */
  3183.  
  3184.     #landing-page z-search {
  3185.         display: block;
  3186.         max-width: 815px;
  3187.         margin: 69px auto 0 auto;
  3188.     }
  3189.     #landing-page q-search {
  3190.         display: block;
  3191.         max-width: 815px;
  3192.  
  3193.         /* Input */
  3194.         --ps-q-search-input: {
  3195.             background: transparent;
  3196.             font-weight: bold;
  3197.             font-family: "Open Sans", sans-serif;
  3198.             position: relative;
  3199.             top: -2px;
  3200.             left: -3px;
  3201.             color: transparent;
  3202.         }
  3203.         --q-search-input: {
  3204.             @apply --ps-q-search-input;
  3205.         }
  3206.         --q-search-input-container: {
  3207.             border-bottom: 1px solid white;
  3208.             font-family: 'Open Sans', sans-serif;
  3209.             font-size: 12pt;
  3210.             padding-bottom: 0;
  3211.             left: 6px;
  3212.             width: calc(100% - 6px);
  3213.         }
  3214.  
  3215.         /* Icon */
  3216.         --q-search-icon: {
  3217.             @apply --q-default-transition-all;
  3218.             position: absolute;
  3219.             top: -2px;
  3220.             left: -4px;
  3221.         }
  3222.         --q-icon-svg: {
  3223.             @apply --q-default-transition-all;
  3224.         }
  3225.  
  3226.         /* Results */
  3227.         --q-search-results-container: {
  3228.             @apply --q-default-transition-all;
  3229.             transition-timing-function: cubic-bezier(0,.5,.5,1);
  3230.  
  3231.             overflow: hidden;
  3232.             max-height: 0;
  3233.         }
  3234.         --q-search-results: {
  3235.             background: transparent;
  3236.             border: 0;
  3237.         }
  3238.  
  3239.         /* Placeholder */
  3240.         --q-search-input-placeholder: {
  3241.             color: transparent;
  3242.         }
  3243.         --ps-q-search-placeholder-label: {
  3244.             @apply --q-default-transition-all;
  3245.             display: block;
  3246.             position: absolute;
  3247.             text-transform: none;
  3248.             font-size: 13.5pt;
  3249.             color: #fbfbfb;
  3250.             font-weight: 700;
  3251.         }
  3252.         --q-search-placeholder-label: {
  3253.             @apply --ps-q-search-placeholder-label;
  3254.             top: 0px;
  3255.             left: 28px;
  3256.         }
  3257.     }
  3258.  
  3259.     #landing-page q-search[opened] {
  3260.         --q-search-input: {
  3261.             @apply --ps-q-search-input;
  3262.             color: #eaeaea;
  3263.         }
  3264.         --q-search-icon-color: #666;
  3265.         --q-search-placeholder-label: {
  3266.             @apply --ps-q-search-placeholder-label;
  3267.  
  3268.             text-transform: uppercase;
  3269.             font-size: 8pt;
  3270.             color: #666 !important;
  3271.             top: -33px;
  3272.             left: 0px;
  3273.         }
  3274.         --q-search-results-container: {
  3275.             @apply --q-default-transition-all;
  3276.             transition-timing-function: cubic-bezier(0,.5,.5,1);
  3277.  
  3278.             overflow: hidden;
  3279.             max-height: 300px;
  3280.             margin-top: 50px;
  3281.         }
  3282.     }
  3283.  
  3284.     /* Search content */
  3285.  
  3286.     #landing-page q-search q-list:nth-child(1),
  3287.     #landing-page q-search q-list:nth-child(2) {
  3288.         margin-top: 6px;
  3289.     }
  3290.  
  3291.     #landing-page q-search q-list {
  3292.         position: relative;
  3293.         margin-top: 50px;
  3294.  
  3295.         --q-list-content: {
  3296.             @apply --layout-flex-auto;
  3297.             @apply --layout-horizontal;
  3298.             @apply --layout-wrap;
  3299.         }
  3300.     }
  3301.  
  3302.     #landing-page q-search q-list::before {
  3303.         position: absolute;
  3304.         top: 8px;
  3305.         left: 0;
  3306.         background: red;
  3307.         height: 9px;
  3308.         width: 1px;
  3309.         content: "";
  3310.     }
  3311.  
  3312.     #landing-page q-search q-list q-label {
  3313.         flex: 0 0;
  3314.         order: 1;
  3315.  
  3316.         margin-left: 7px;
  3317.  
  3318.         --q-label: {
  3319.             border-bottom: 0;
  3320.             font-weight: bold;
  3321.             font-size: 8.1pt;
  3322.             text-transform: uppercase;
  3323.             font-family: "Open Sans", sans-serif;
  3324.             margin-top: 5px;
  3325.         }
  3326.     }
  3327.  
  3328.     #landing-page q-search q-list hr {
  3329.         flex: 1 0;
  3330.         order: 2;
  3331.  
  3332.         position: relative;
  3333.         background: rgba(255,255,255,0.1);
  3334.         top: -3px;
  3335.         margin: 16px 7px;
  3336.     }
  3337.  
  3338.     #landing-page q-search q-list q-button {
  3339.         flex: 0 0;
  3340.         order: 3;
  3341.  
  3342.         --q-button: {
  3343.             background: #911610;
  3344.             padding: 0px 15px !important;
  3345.             height: 26px;
  3346.             font-size: 8.3pt;
  3347.             border-radius: 3px;
  3348.             color: white;
  3349.             line-height: 25px;
  3350.         }
  3351.         --q-button-hover: {
  3352.             color: white;
  3353.             background: rgb(145, 22, 16);
  3354.         }
  3355.         --q-button-pressed: {
  3356.             color: white;
  3357.         }
  3358.     }
  3359.  
  3360.     #landing-page q-search q-list q-item {
  3361.         flex: 0 100%;
  3362.         order: 4;
  3363.         padding: 5px 7px 5px 6px;
  3364.         --q-item-hover: {
  3365.             background: transparent;
  3366.         }
  3367.     }
  3368.  
  3369.  
  3370.     /* All Content */
  3371.     .centered-content {
  3372.         padding-left: 20px;
  3373.         padding-right: 20px;
  3374.     }
  3375.     @media(min-width:1060px) {
  3376.         .centered-content {
  3377.             padding-left: calc((100% - 1020px) / 2);
  3378.             padding-right: calc((100% - 1020px) / 2);
  3379.         }
  3380.     }
  3381.  
  3382.     /***************************************************************
  3383.      * Categories
  3384.      *************************************************************** */
  3385.  
  3386.     #landing-page #categories {
  3387.         padding-top: 56px;
  3388.         background: radial-gradient(circle at top, #222222 0px, #191919 460px);
  3389.     }
  3390.     #landing-page #categories h1 {
  3391.         padding-bottom: 20px;
  3392.     }
  3393.     #landing-page #categories q-card-nav-grid {
  3394.         margin-top: -20px;
  3395.     }
  3396.     #landing-page q-stacked-card q-subtext {
  3397.         margin: 8px 0 15px 0;
  3398.     }
  3399.  
  3400.     /***************************************************************
  3401.      * Articles
  3402.      *************************************************************** */
  3403.  
  3404.     #landing-page #articles {
  3405.         margin-top: 130px;
  3406.     }
  3407.     #landing-page #articles h1 {
  3408.         padding-bottom: 10px;
  3409.     }
  3410.     #landing-page #articles h3 {
  3411.         text-align: center;
  3412.         padding: 20px 0;
  3413.     }
  3414.     #landing-page #articles q-grid {
  3415.         padding-top: 10px;
  3416.         --q-grid-gutter-size: 100px;
  3417.     }
  3418.     #landing-page #articles q-grid q-list {
  3419.         margin-top: 25px;
  3420.     }
  3421.     #landing-page #articles h4 {
  3422.         text-transform: none;
  3423.         font-size: 15pt;
  3424.         font-weight: normal;
  3425.         padding: 10px 0 17px 0;
  3426.     }
  3427.     #landing-page #articles q-meta {
  3428.         display: inline-block;
  3429.         width: 50%;
  3430.         text-transform: uppercase;
  3431.     }
  3432.     #landing-page #articles q-meta a {
  3433.         margin-left: 4px;
  3434.     }
  3435.     #landing-page #articles q-meta:last-child {
  3436.         text-align: right;
  3437.     }
  3438.  
  3439.     /***************************************************************
  3440.      * Tools
  3441.      *************************************************************** */
  3442.  
  3443.     #landing-page #tools {
  3444.         margin-top: 140px;
  3445.         padding-bottom: 100px;
  3446.     }
  3447.     #landing-page #tools h1 {
  3448.         padding-bottom: 17px;
  3449.     }
  3450.     #landing-page #tools q-grid {
  3451.         padding-top: 30px;
  3452.     }
  3453.     #landing-page #tools q-grid q-overlay-card {
  3454.         margin: 0 auto;
  3455.     }
  3456.     #landing-page q-overlay-card {
  3457.         --q-overlay-card-height: 343px;
  3458.         --q-overlay-card-content: {
  3459.             position: relative;
  3460.             top: 75px;
  3461.         }
  3462.     }</style><style is="custom-style">#subcategory {
  3463.         max-width: 1200px;
  3464.         margin: 0 auto;
  3465.     }
  3466.     #subcategory section {
  3467.         padding: 0 40px 80px 40px;
  3468.     }
  3469.     #subcategory h1 {
  3470.         max-width: 500px;
  3471.     }
  3472.  
  3473.     /***************************************************************
  3474.      * Categories
  3475.      *************************************************************** */
  3476.  
  3477.     #subcategory #subcategory-main {
  3478.         @apply (--layout-horizontal);
  3479.     }
  3480.     #subcategory #subcategory-main q-list-nav {
  3481.         min-width: 250px;
  3482.         margin-right: 60px;
  3483.  
  3484.     }
  3485.     #subcategory #subcategory-main q-list h2 {
  3486.         margin-bottom: 20px;
  3487.     }
  3488.  
  3489.  
  3490.     /***************************************************************
  3491.      * Tools
  3492.      *************************************************************** */
  3493.  
  3494.     #subcategory #tools {
  3495.         width: 700px;
  3496.         margin: 0 auto;
  3497.     }
  3498.     #subcategory #tools h1 {
  3499.         margin: 40px auto;
  3500.         text-align: center;
  3501.     }
  3502.     #subcategory #tools q-grid q-overlay-card {
  3503.         margin: 20px auto;
  3504.     }
  3505.     #subcategory #tools q-overlay-card {
  3506.         --q-overlay-card-height: 343px;
  3507.         --q-overlay-card-content: {
  3508.             position: relative;
  3509.             top: 55px;
  3510.         }
  3511.     }
  3512.     #subcategory #tools q-overlay-card[image="hextech"] {
  3513.         --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/hextech.png");
  3514.     }
  3515.     #subcategory #tools q-overlay-card[image="logreader"] {
  3516.         --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/myisp.png");
  3517.     }</style><style is="custom-style">.ticket-detail-category {
  3518.         text-transform: uppercase;
  3519.         font-weight: bold;
  3520.         font-size: 18px;
  3521.         margin: 5px 0;
  3522.     }
  3523.  
  3524.     #ticket-detail {
  3525.         @apply --layout;
  3526.         max-width: 1200px;
  3527.         margin: 0 auto;
  3528.     }
  3529.  
  3530.     #ticket-detail hr {
  3531.         margin: 30px auto 30px 0;
  3532.  
  3533.     }
  3534.     #ticket-detail-main {
  3535.         width: 850px;
  3536.         padding: 20px;
  3537.         margin-right: 100px;
  3538.     }
  3539.     #ticket-detail-main h1 {
  3540.         font-size: 33px;
  3541.         color: #fff;
  3542.         margin-bottom: 40px;
  3543.     }
  3544.  
  3545.     #ticket-detail #ticket-detail-main q-list q-item {
  3546.         padding-bottom: 30px;
  3547.         margin: 30px 0;
  3548.     }
  3549.  
  3550.     #ticket-detail #ticket-detail-main q-list q-item-model-simple-5 {
  3551.         padding-right: 10px;
  3552.     }
  3553.  
  3554.     #ticket-detail #ticket-detail-main q-list q-item-model-simple-5 q-avatar.agent {
  3555.         border-left: 4px solid red;
  3556.         height: 76px;
  3557.     }
  3558.  
  3559.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 {
  3560.         margin-top: 25px;
  3561.     }
  3562.  
  3563.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 img {
  3564.         height: 75px;
  3565.         width: 75px;
  3566.         margin-top: 1px;
  3567.     }
  3568.  
  3569.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 q-label {
  3570.         font-weight: bold;
  3571.         text-transform: uppercase;
  3572.         font-size: 18px;
  3573.         color: #fff;
  3574.         margin-bottom: 10px;
  3575.     }
  3576.  
  3577.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 #control {
  3578.         vertical-align: center;
  3579.     }
  3580.  
  3581.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 #control {
  3582.         display: flex;
  3583.         justify-content: flex-end;
  3584.         align-items: center;
  3585.     }
  3586.  
  3587.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 #control q-button {
  3588.         float: right;
  3589.         margin-top: 20px;
  3590.     }
  3591.  
  3592.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 #control q-checkbox {
  3593.         float: right;
  3594.         margin-top: 20px;
  3595.         width: 230px;
  3596.         white-space: normal;
  3597.     }
  3598.     #ticket-detail #ticket-detail-main q-content-block-avatar-3 #control q-checkbox ::content #label {
  3599.         text-transform: uppercase;
  3600.         font-weight: bold;
  3601.         width: 170px;
  3602.     }
  3603.  
  3604.     #ticket-detail #ticket-detail-main textarea {
  3605.         width: 100%;
  3606.     }
  3607.  
  3608.     #ticket-detail #ticket-detail-main #upload-dropzone {
  3609.         height: 56px;
  3610.     }
  3611.  
  3612.     #ticket-detail #ticket-detail-main #upload-dropzone {
  3613.         margin-top: 20px;
  3614.     }
  3615.  
  3616.     #ticket-detail #ticket-detail-main #upload-dropzone span,
  3617.     #ticket-detail #ticket-detail-main #upload-dropzone a {
  3618.         font-size: 18px;
  3619.     }
  3620.     #ticket-detail #ticket-detail-main #upload-dropzone span {
  3621.         padding: 16px;
  3622.     }
  3623.  
  3624.     #ticket-detail #ticket-detail-main #upload-dropzone {
  3625.         height: 85px;
  3626.     }
  3627.     #ticket-detail #ticket-detail-main #upload-dropzone span {
  3628.         padding-top: 31px;
  3629.     }
  3630.  
  3631.     #ticket-detail #ticket-detail-main #upload-dropzone span,
  3632.     #ticket-detail #ticket-detail-main #upload-dropzone span a {
  3633.         font-family: 'Open Sans', sans-serif;
  3634.         font-size: 24px;
  3635.     }
  3636.  
  3637.     #ticket-detail #ticket-detail-main textarea {
  3638.         margin-top: 10px;
  3639.     }
  3640.  
  3641.     #ticket-detail-right-bar {
  3642.         width: 250px;
  3643.         background-color: #292929;
  3644.         padding: 20px;
  3645.     }
  3646.  
  3647.     #ticket-detail-right-bar h2 {
  3648.         color: red;
  3649.     }
  3650.  
  3651.     #ticket-detail-right-bar p {
  3652.         font-style: italic;
  3653.     }
  3654.  
  3655.     #ticket-detail-right-bar q-content-block-icon-1 {
  3656.         margin-top: 20px;
  3657.     }
  3658.  
  3659.     #ticket-detail-right-bar q-content-block-icon-1 q-image {
  3660.         background-color: transparent;
  3661.     }
  3662.  
  3663.     #ticket-detail-right-bar q-list q-item {
  3664.         margin-bottom: 20px;
  3665.         color: #fff;
  3666.     }
  3667.  
  3668.     #ticket-detail-right-bar q-content-block-avatar-2 {
  3669.         margin-bottom: 20px;
  3670.     }
  3671.     #ticket-detail-right-bar q-content-block-avatar-2 q-avatar.agent {
  3672.         border-left: 3px solid red;
  3673.     }</style><style is="custom-style">#ticket-list {
  3674.         max-width: 1200px;
  3675.         margin: 0 auto;
  3676.     }
  3677.  
  3678.     /***************************************************************
  3679.      * Ticket Table
  3680.      *************************************************************** */
  3681.  
  3682.     #ticket-list #ticket-table {
  3683.         padding: 0 50px;
  3684.     }
  3685.  
  3686.     #ticket-list #ticket-table table {
  3687.         width: 100%;
  3688.         padding-bottom: 20px;
  3689.         border-collapse: collapse;
  3690.     }
  3691.  
  3692.     #ticket-list #ticket-table table tbody tr td span {
  3693.         display: flex;
  3694.         align-items: center;
  3695.     }
  3696.  
  3697.     #ticket-list #ticket-table table tbody tr td span.request-status:before {
  3698.         height: 38px;
  3699.         margin-right: 10px;
  3700.     }
  3701.  
  3702.     #ticket-list #ticket-table table tbody tr td span.request-open:before {
  3703.         content: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/ticket_status_icons/open.png");
  3704.     }
  3705.  
  3706.     #ticket-list #ticket-table table tbody tr td span.request-answered:before {
  3707.         content: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/ticket_status_icons/answered.png");
  3708.     }
  3709.  
  3710.     #ticket-list #ticket-table table tbody tr td span.request-solved:before {
  3711.         content: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/ticket_status_icons/solved.png");
  3712.     }
  3713.  
  3714.     #ticket-list #ticket-table h1 {
  3715.         margin-bottom: 30px;
  3716.     }
  3717.  
  3718.     #ticket-list #ticket-table z-pagination {
  3719.         text-align: right;
  3720.         padding: 30px 0;
  3721.     }</style><style is="custom-style">z-ticket-form {
  3722.         --z-ticket-form-category-headline: {
  3723.             margin-top: 25px;
  3724.             margin-bottom: 10px;
  3725.         };
  3726.  
  3727.         --z-ticket-form-category-dropdown: {
  3728.  
  3729.         };
  3730.  
  3731.         --z-ticket-form-step-headline: {
  3732.             letter-spacing: 1px;
  3733.         };
  3734.  
  3735.         --z-ticket-form-step-description: {
  3736.             margin-top: 15px;
  3737.             margin-bottom: 35px;
  3738.         };
  3739.  
  3740.         --z-form-field-container: {
  3741.             margin-top: 20px;
  3742.         };
  3743.  
  3744.         --q-input-container-label-offset: 15px;
  3745.     }
  3746.  
  3747.     #ticket-submission-container {
  3748.         max-width: 1200px;
  3749.         margin: 0 auto 50px auto;
  3750.     }
  3751.  
  3752.     #ticket-submission-container h1 {
  3753.         margin-bottom: 15px;
  3754.     }
  3755.  
  3756.     #ticket-submission-container #related {
  3757.         width: 270px;
  3758.     }
  3759.     #ticket-submission-container #related z-related-list {
  3760.         display: block;
  3761.         margin-bottom: 40px;
  3762.     }</style><style is="custom-style">:root {
  3763.         --z-article-vote: {
  3764.             max-width: 350px;
  3765.         };
  3766.  
  3767.         --z-article-vote-link: {
  3768.             background-color: transparent;
  3769.             padding: 0;
  3770.             font-size: inherit;
  3771.         };
  3772.  
  3773.         --z-article-vote-link-active: {
  3774.             color: #f00;
  3775.         };
  3776.  
  3777.         --z-article-vote-headline: {
  3778.             font-size: 8pt;
  3779.             font-weight: 600;
  3780.             text-transform: uppercase;
  3781.             color: #fff;
  3782.         };
  3783.  
  3784.         --z-article-vote-meta: {
  3785.  
  3786.         };
  3787.     }</style><style is="custom-style">z-pagination {
  3788.         --z-pagination-span: {
  3789.             @apply --no-select;
  3790.  
  3791.             padding: 0 4px;
  3792.             font-family: "Roboto Condensed", sans-serif;
  3793.             font-weight: bold;
  3794.             font-size: 18px;
  3795.             color: var(--q-pagination-active-text-color, var(--default-active-text-color));
  3796.             text-transform: none;
  3797.         };
  3798.  
  3799.         --q-link: {
  3800.             @apply --no-select;
  3801.  
  3802.             padding: 0 4px;
  3803.             font-family: "Roboto Condensed", sans-serif;
  3804.             font-weight: bold;
  3805.             font-size: 18px;
  3806.             text-transform: none;
  3807.             color: var(--q-pagination-text-color, var(--default-text-color));;
  3808.         };
  3809.  
  3810.         --q-link-hover: {
  3811.             color: var(--q-pagination-hover-text-color, var(--default-hover-text-color));
  3812.         };
  3813.     }</style><style is="custom-style">:root {
  3814.         --z-related-list-bottom-link: {
  3815.             text-transform: uppercase;
  3816.             font-size: 12px;
  3817.             font-weight: bold;
  3818.             margin-top: 30px;
  3819.         };
  3820.  
  3821.         --z-related-list-bottom-link-icon: {
  3822.             color: #bf3b2c;
  3823.             margin-right: 10px;
  3824.         };
  3825.     }</style><style is="custom-style">z-ticket-form {
  3826.         --z-ticket-form-validity-check: {
  3827.             color: #39b349;
  3828.         };
  3829.     }</style><style is="custom-style">body {
  3830.   background: #191919; }
  3831.  
  3832. .powered-by-zendesk {
  3833.   display: none; }
  3834.  
  3835. q-button {
  3836.   position: relative;
  3837.   border-radius: 4px; }
  3838.   q-button q-logo {
  3839.     --q-logo-square-width-xs: 65px;
  3840.     --q-logo-square-height-xs: 65px;
  3841.     position: absolute;
  3842.     left: -22px;
  3843.     top: 50%;
  3844.     transform: translateY(-50%); }
  3845.  
  3846. #ranked-faq {
  3847.   padding: 40px;
  3848.   background-color: #303030;
  3849.   color: white; }
  3850.   #ranked-faq .poster {
  3851.     display: inline-block;
  3852.     margin-bottom: 20px;
  3853.     vertical-align: middle; }
  3854.     #ranked-faq .poster q-avatar {
  3855.       float: left; }
  3856.     #ranked-faq .poster q-checkbox {
  3857.       float: left; }
  3858.     #ranked-faq .poster div {
  3859.       float: left;
  3860.       margin-left: 15px; }
  3861.       #ranked-faq .poster div p {
  3862.         text-transform: uppercase;
  3863.         font-weight: bold;
  3864.         color: #fff;
  3865.         margin-bottom: 0px;
  3866.         display: block; }
  3867.       #ranked-faq .poster div h1, #ranked-faq .poster div h2, #ranked-faq .poster div h3, #ranked-faq .poster div h4, #ranked-faq .poster div h5, #ranked-faq .poster div h6 {
  3868.         margin-bottom: 7px; }
  3869.       #ranked-faq .poster div q-meta {
  3870.         display: block; }
  3871.  
  3872. #ask-a-question #questions {
  3873.   display: flex;
  3874.   flex-direction: row; }
  3875.   #ask-a-question #questions q-list {
  3876.     margin: 30px; }
  3877.  
  3878. #related-questions q-pagination {
  3879.   float: right; }
  3880.  
  3881. #subcategory #articles {
  3882.   width: 800px; }
  3883.  
  3884. #subcategory #tools {
  3885.   width: 750px; }
  3886.  
  3887. q-overlay-card[image="hextech"] {
  3888.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/hextech.png"); }
  3889.  
  3890. q-overlay-card[image="livechat"] {
  3891.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/livechat.png"); }
  3892.  
  3893. q-overlay-card[image="myisp"] {
  3894.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/myisp.png"); }
  3895.  
  3896. q-overlay-card[image="logreader"] {
  3897.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/logreader.png"); }
  3898.  
  3899. q-overlay-card[image="hextech-tall"] {
  3900.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/hextech-tall.png"); }
  3901.  
  3902. q-overlay-card[image="livechat-tall"] {
  3903.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/livechat-tall.png"); }
  3904.  
  3905. q-overlay-card[image="myisp-tall"] {
  3906.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/myisp-tall.png"); }
  3907.  
  3908. q-overlay-card[image="logreader-tall"] {
  3909.   --q-overlay-card-image: url("https://s3-us-west-2.amazonaws.com/support.riotgames.com/images/cards/logreader-tall.png"); }</style></div></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement