mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-14 15:08:59 +00:00
4846 lines
774 KiB
HTML
4846 lines
774 KiB
HTML
<html><head><meta charset="UTF-8"><script>!function(){function e(){document.body.removeAttribute("unresolved")}window.WebComponents?addEventListener("WebComponentsReady",e):"interactive"===document.readyState||"complete"===document.readyState?e():addEventListener("DOMContentLoaded",e)}(),Polymer={Settings:function(){var e=window.Polymer||{};location.search.slice(1).split("&").forEach(function(t){t=t.split("="),t[0]&&(e[t[0]]=t[1]||!0)});var t="shadow"===e.dom,r=Boolean(Element.prototype.createShadowRoot),o=r&&!window.ShadowDOMPolyfill,i=t&&r,s=Boolean("import"in document.createElement("link")),n=s,a=!window.CustomElements||window.CustomElements.useNative;return{wantShadow:t,hasShadow:r,nativeShadow:o,useShadow:i,useNativeShadow:i&&o,useNativeImports:n,useNativeCustomElements:a}}()},function(){var e=window.Polymer;window.Polymer=function(e){var r=t(e);e=r.prototype;var o={prototype:e};return e["extends"]&&(o["extends"]=e["extends"]),Polymer.telemetry._registrate(e),document.registerElement(e.is,o),r};var t=function(e){return e=Polymer.Base.chainObject(e,Polymer.Base),e.registerCallback(),e.constructor};if(window.Polymer=Polymer,e)for(var r in e)Polymer[r]=e[r];Polymer.Class=t}(),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.Base={_addFeature:function(e){this.extend(this,e)},registerCallback:function(){this._registerFeatures(),this._doBehavior("registered")},createdCallback:function(){Polymer.telemetry.instanceCount++,this.root=this,this._doBehavior("created"),this._initFeatures()},attachedCallback:function(){this.isAttached=!0,this._doBehavior("attached")},detachedCallback:function(){this.isAttached=!1,this._doBehavior("detached")},attributeChangedCallback:function(e){this._setAttributeToProperty(this,e),this._doBehavior("attributeChanged",arguments)},extend:function(e,t){return e&&t&&Object.getOwnPropertyNames(t).forEach(function(r){this.copyOwnProperty(r,t,e)},this),e||t},mixin:function(e,t){for(var r in t)e[r]=t[r];return e},copyOwnProperty:function(e,t,r){var o=Object.getOwnPropertyDescriptor(t,e);o&&Object.defineProperty(r,e,o)},_log:console.log.apply.bind(console.log,console),_warn:console.warn.apply.bind(console.warn,console),_error:console.error.apply.bind(console.error,console),_logf:function(){return this._logPrefix.concat([this.is]).concat(Array.prototype.slice.call(arguments,0))}},Polymer.Base._logPrefix=function(){var e=window.chrome||/firefox/i.test(navigator.userAgent);return e?["%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.telemetry.instanceCount=0,function(){function e(){if(o){var e=document._currentScript||document.currentScript;e&&CustomElements.upgradeAll(e.ownerDocument)}}var t={},r=function(){return document.createElement("dom-module")};r.prototype=Object.create(HTMLElement.prototype),r.prototype.constructor=r,r.prototype.createdCallback=function(){var e=this.id||this.getAttribute("name")||this.getAttribute("is");e&&(this.id=e,t[e]=this)},r.prototype["import"]=function(r,o){var i=t[r];return i||(e(),i=t[r]),i&&o&&(i=i.querySelector(o)),i};var o=window.CustomElements&&!CustomElements.useNative;if(o){var i=CustomElements.ready;CustomElements.ready=!0}document.registerElement("dom-module",r),o&&(CustomElements.ready=i)}(),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}}}}),Polymer.Base._addFeature({behaviors:[],_prepBehaviors:function(){this.behaviors.length&&(this.behaviors=this._flattenBehaviorsList(this.behaviors)),this._prepAllBehaviors(this.behaviors)},_flattenBehaviorsList:function(e){var t=[];return e.forEach(function(e){e instanceof Array?t=t.concat(this._flattenBehaviorsList(e)):e?t.push(e):this._warn(this._logf("_flattenBehaviorsList","behavior is null, check for missing or 404 import"))},this),t},_prepAllBehaviors:function(e){for(var t=e.length-1;t>=0;t--)this._mixinBehavior(e[t]);for(var t=0,r=e.length;r>t;t++)this._prepBehavior(e[t]);this._prepBehavior(this)},_mixinBehavior:function(e){Object.getOwnPropertyNames(e).forEach(function(t){switch(t){case"hostAttributes":case"registered":case"properties":case"observers":case"listeners":case"created":case"attached":case"detached":case"attributeChanged":case"configure":case"ready":break;default:this.hasOwnProperty(t)||this.copyOwnProperty(t,e,this)}},this)},_doBehavior:function(e,t){this.behaviors.forEach(function(r){this._invokeBehavior(r,e,t)},this),this._invokeBehavior(this,e,t)},_invokeBehavior:function(e,t,r){var o=e[t];o&&o.apply(this,r||Polymer.nar)},_marshalBehaviors:function(){this.behaviors.forEach(function(e){this._marshalBehavior(e)},this),this._marshalBehavior(this)}}),Polymer.Base._addFeature({_prepExtends:function(){this["extends"]&&(this.__proto__=this._getExtendedPrototype(this["extends"]))},_getExtendedPrototype:function(e){return this._getExtendedNativePrototype(e)},_nativePrototypes:{},_getExtendedNativePrototype:function(e){var t=this._nativePrototypes[e];if(!t){var r=this.getNativePrototype(e);t=this.extend(Object.create(r),Polymer.Base),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({properties:{},getPropertyInfo:function(e){var t=this._getPropertyInfo(e,this.properties);return t||this.behaviors.some(function(r){return t=this._getPropertyInfo(e,r.properties)},this),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}}),Polymer.CaseMap={_caseMap:{},dashToCamelCase:function(e){var t=Polymer.CaseMap._caseMap[e];return t?t:e.indexOf("-")<0?Polymer.CaseMap._caseMap[e]=e:Polymer.CaseMap._caseMap[e]=e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})},camelToDashCase:function(e){var t=Polymer.CaseMap._caseMap[e];return t?t:Polymer.CaseMap._caseMap[e]=e.replace(/([a-z][A-Z])/g,function(e){return e[0]+"-"+e[1].toLowerCase()})}},Polymer.Base._addFeature({_prepAttributes:function(){this._aggregatedAttributes={}},_addHostAttributes:function(e){e&&this.mixin(this._aggregatedAttributes,e)},_marshalHostAttributes:function(){this._applyAttributes(this,this._aggregatedAttributes)},_applyAttributes:function(e,t){for(var r in t)this.hasAttribute(r)||"class"===r||this.serializeValueToAttribute(t[r],r,this)},_marshalAttributes:function(){this._takeAttributesToModel(this)},_takeAttributesToModel:function(e){for(var t=0,r=this.attributes.length;r>t;t++)this._setAttributeToProperty(e,this.attributes[t].name)},_setAttributeToProperty:function(e,t){if(!this._serializing){var r=Polymer.CaseMap.dashToCamelCase(t),o=this.getPropertyInfo(r);if(o.defined||this._propertyEffects&&this._propertyEffects[r]){var i=this.getAttribute(t);e[r]=this.deserialize(i,o.type)}}},_serializing:!1,reflectPropertyToAttribute:function(e){this._serializing=!0,this.serializeValueToAttribute(this[e],Polymer.CaseMap.camelToDashCase(e)),this._serializing=!1},serializeValueToAttribute:function(e,t,r){var o=this.serialize(e);(r||this)[void 0===o?"removeAttribute":"setAttribute"](t,o)},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(r){}break;case Array:try{e=JSON.parse(e)}catch(r){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;if(e)try{return JSON.stringify(e)}catch(t){return""}default:return null!=e?e:void 0}}}),Polymer.Base._addFeature({_setupDebouncers:function(){this._debouncers={}},debounce:function(e,t,r){this._debouncers[e]=Polymer.Debounce.call(this,this._debouncers[e],t,r)},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.version="1.0.6",Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepAttributes(),this._prepBehaviors(),this._prepExtends(),this._prepConstructor()},_prepBehavior:function(e){this._addHostAttributes(e.hostAttributes)},_marshalBehavior:function(e){},_initFeatures:function(){this._marshalHostAttributes(),this._setupDebouncers(),this._marshalBehaviors()}});</script><script>Polymer.Base._addFeature({_prepTemplate:function(){this._template=this._template||Polymer.DomModule["import"](this.is,"template"),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>."))},_stampTemplate:function(){this._template&&(this.root=this.instanceTemplate(this._template))},instanceTemplate:function(t){var e=document.importNode(t._content||t.content,!0);return e}}),function(){var t=Polymer.Base.attachedCallback;Polymer.Base._addFeature({_hostStack:[],ready:function(){},_pushHost:function(t){this.dataHost=t=t||Polymer.Base._hostStack[Polymer.Base._hostStack.length-1],t&&t._clients&&t._clients.push(this),this._beginHost()},_beginHost:function(){Polymer.Base._hostStack.push(this),this._clients||(this._clients=[])},_popHost:function(){Polymer.Base._hostStack.pop()},_tryReady:function(){this._canReady()&&this._ready()},_canReady:function(){return!this.dataHost||this.dataHost._clientsReadied},_ready:function(){this._beforeClientsReady(),this._setupRoot(),this._readyClients(),this._afterClientsReady(),this._readySelf()},_readyClients:function(){this._beginDistribute();for(var t,e=this._clients,o=0,n=e.length;n>o&&(t=e[o]);o++)t._ready();this._finishDistribute(),this._clientsReadied=!0,this._clients=null},_readySelf:function(){this._doBehavior("ready"),this._readied=!0,this._attachedPending&&(this._attachedPending=!1,this.attachedCallback())},_beforeClientsReady:function(){},_afterClientsReady:function(){},_beforeAttached:function(){},attachedCallback:function(){this._readied?(this._beforeAttached(),t.call(this)):this._attachedPending=!0}})}(),Polymer.ArraySplice=function(){function t(t,e,o){return{index:t,removed:e,addedCount:o}}function e(){}var o=0,n=1,i=2,r=3;return e.prototype={calcEditDistances:function(t,e,o,n,i,r){for(var s=r-i+1,a=o-e+1,d=new Array(s),h=0;s>h;h++)d[h]=new Array(a),d[h][0]=h;for(var l=0;a>l;l++)d[0][l]=l;for(var h=1;s>h;h++)for(var l=1;a>l;l++)if(this.equals(t[e+l-1],n[i+h-1]))d[h][l]=d[h-1][l-1];else{var u=d[h-1][l]+1,c=d[h][l-1]+1;d[h][l]=c>u?u:c}return d},spliceOperationsFromEditDistances:function(t){for(var e=t.length-1,s=t[0].length-1,a=t[e][s],d=[];e>0||s>0;)if(0!=e)if(0!=s){var h,l=t[e-1][s-1],u=t[e-1][s],c=t[e][s-1];h=c>u?l>u?u:l:l>c?c:l,h==l?(l==a?d.push(o):(d.push(n),a=l),e--,s--):h==u?(d.push(r),e--,a=u):(d.push(i),s--,a=c)}else d.push(r),e--;else d.push(i),s--;return d.reverse(),d},calcSplices:function(e,s,a,d,h,l){var u=0,c=0,f=Math.min(a-s,l-h);if(0==s&&0==h&&(u=this.sharedPrefix(e,d,f)),a==e.length&&l==d.length&&(c=this.sharedSuffix(e,d,f-u)),s+=u,h+=u,a-=c,l-=c,a-s==0&&l-h==0)return[];if(s==a){for(var p=t(s,[],0);l>h;)p.removed.push(d[h++]);return[p]}if(h==l)return[t(s,[],a-s)];for(var _=this.spliceOperationsFromEditDistances(this.calcEditDistances(e,s,a,d,h,l)),p=void 0,m=[],y=s,v=h,g=0;g<_.length;g++)switch(_[g]){case o:p&&(m.push(p),p=void 0),y++,v++;break;case n:p||(p=t(y,[],0)),p.addedCount++,y++,p.removed.push(d[v]),v++;break;case i:p||(p=t(y,[],0)),p.addedCount++,y++;break;case r:p||(p=t(y,[],0)),p.removed.push(d[v]),v++}return p&&m.push(p),m},sharedPrefix:function(t,e,o){for(var n=0;o>n;n++)if(!this.equals(t[n],e[n]))return n;return o},sharedSuffix:function(t,e,o){for(var n=t.length,i=e.length,r=0;o>r&&this.equals(t[--n],e[--i]);)r++;return r},calculateSplices:function(t,e){return this.calcSplices(t,0,t.length,e,0,e.length)},equals:function(t,e){return t===e}},new e}(),Polymer.EventApi=function(){var t=Polymer.Settings,e=function(t){this.event=t};t.useShadow?e.prototype={get rootTarget(){return this.event.path[0]},get localTarget(){return this.event.target},get path(){return this.event.path}}:e.prototype={get rootTarget(){return this.event.target},get localTarget(){for(var t=this.event.currentTarget,e=t&&Polymer.dom(t).getOwnerRoot(),o=this.path,n=0;n<o.length;n++)if(Polymer.dom(o[n]).getOwnerRoot()===e)return o[n]},get path(){if(!this.event._path){for(var t=[],e=this.rootTarget;e;)t.push(e),e=Polymer.dom(e).parentNode||e.host;t.push(window),this.event._path=t}return this.event._path}};var o=function(t){return t.__eventApi||(t.__eventApi=new e(t)),t.__eventApi};return{factory:o}}(),Polymer.domInnerHTML=function(){function t(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function e(e){return e.replace(s,t)}function o(e){return e.replace(a,t)}function n(t){for(var e={},o=0;o<t.length;o++)e[t[o]]=!0;return e}function i(t,n,i){switch(t.nodeType){case Node.ELEMENT_NODE:for(var s,a=t.localName,l="<"+a,u=t.attributes,c=0;s=u[c];c++)l+=" "+s.name+'="'+e(s.value)+'"';return l+=">",d[a]?l:l+r(t,i)+"</"+a+">";case Node.TEXT_NODE:var f=t.data;return n&&h[n.localName]?f:o(f);case Node.COMMENT_NODE:return"<!--"+t.data+"-->";default:throw console.error(t),new Error("not implemented")}}function r(t,e){t instanceof HTMLTemplateElement&&(t=t.content);var o="",n=Polymer.dom(t).childNodes;n=e?t._composedChildren:n;for(var r,s=0,a=n.length;a>s&&(r=n[s]);s++)o+=i(r,t,e);return o}var s=/[&\u00A0"]/g,a=/[&\u00A0<>]/g,d=n(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),h=n(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);return{getInnerHTML:r}}(),Polymer.DomApi=function(){"use strict";function t(t){var e=t._lightChildren;return e?e:t.childNodes}function e(t){return t._composedChildren||(t._composedChildren=Array.prototype.slice.call(t.childNodes)),t._composedChildren}function o(t,o,i){var r=e(t),s=i?r.indexOf(i):-1;if(o.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var a=e(o),d=0;d<a.length;d++)n(a[d],t,r,s+d);o._composedChildren=null}else n(o,t,r,s)}function n(t,e,o,n){t._composedParent=e,o.splice(n>=0?n:o.length,0,t)}function i(t,o){if(o._composedParent=null,t){var n=e(t),i=n.indexOf(o);i>=0&&n.splice(i,1)}}function r(t){if(!t._lightChildren){for(var e,o=Array.prototype.slice.call(t.childNodes),n=0,i=o.length;i>n&&(e=o[n]);n++)e._lightParent=e._lightParent||t;t._lightChildren=o}}function s(t){return Boolean(t._insertionPoints.length)}var a=Polymer.Settings,d=Polymer.domInnerHTML.getInnerHTML,h=Element.prototype.insertBefore,l=Element.prototype.removeChild,u=Element.prototype.appendChild,c=Element.prototype.cloneNode,f=Document.prototype.importNode,p=[],_=function(t){this.node=t,this.patch&&this.patch()};if(_.prototype={flush:function(){for(var t,e=0;e<p.length;e++)t=p[e],t.flushDebouncer("_distribute");p=[]},_lazyDistribute:function(t){t.shadyRoot&&t.shadyRoot._distributionClean&&(t.shadyRoot._distributionClean=!1,t.debounce("_distribute",t._distributeContent),p.push(t))},appendChild:function(t){var e;if(this._removeNodeFromHost(t,!0),this._nodeIsInLogicalTree(this.node)&&(this._addLogicalInfo(t,this.node),this._addNodeToHost(t),e=this._maybeDistribute(t,this.node)),!e&&!this._tryRemoveUndistributedNode(t)){var n=this.node._isShadyRoot?this.node.host:this.node;o(n,t),u.call(n,t)}return t},insertBefore:function(t,e){if(!e)return this.appendChild(t);var n;if(this._removeNodeFromHost(t,!0),this._nodeIsInLogicalTree(this.node)){r(this.node);var i=this.childNodes,s=i.indexOf(e);if(0>s)throw Error("The ref_node to be inserted before is not a child of this node");this._addLogicalInfo(t,this.node,s),this._addNodeToHost(t),n=this._maybeDistribute(t,this.node)}if(!n&&!this._tryRemoveUndistributedNode(t)){e=e.localName===y?this._firstComposedNode(e):e;var a=this.node._isShadyRoot?this.node.host:this.node;o(a,t,e),h.call(a,t,e)}return t},removeChild:function(t){v(t).parentNode!==this.node&&console.warn("The node to be removed is not a child of this node",t);var e;if(this._nodeIsInLogicalTree(this.node)&&(this._removeNodeFromHost(t),e=this._maybeDistribute(t,this.node)),!e){var o=this.node._isShadyRoot?this.node.host:this.node;o===t.parentNode&&(i(o,t),l.call(o,t))}return t},replaceChild:function(t,e){return this.insertBefore(t,e),this.removeChild(e),t},getOwnerRoot:function(){return this._ownerShadyRootForNode(this.node)},_ownerShadyRootForNode:function(t){if(t){if(void 0===t._ownerShadyRoot){var e;if(t._isShadyRoot)e=t;else{var o=Polymer.dom(t).parentNode;e=o?o._isShadyRoot?o:this._ownerShadyRootForNode(o):null}t._ownerShadyRoot=e}return t._ownerShadyRoot}},_maybeDistribute:function(t,e){var o=t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&!t.__noContent&&Polymer.dom(t).querySelector(y),n=o&&Polymer.dom(o).parentNode.nodeType!==Node.DOCUMENT_FRAGMENT_NODE,i=o||t.localName===y;if(i){var r=this._ownerShadyRootForNode(e);if(r){var s=r.host;this._updateInsertionPoints(s),this._lazyDistribute(s)}}var a=this._parentNeedsDistribution(e);return a&&this._lazyDistribute(e),a||i&&!n},_tryRemoveUndistributedNode:function(t){return this.node.shadyRoot?(t._composedParent&&l.call(t._composedParent,t),!0):void 0},_updateInsertionPoints:function(t){t.shadyRoot._insertionPoints=v(t.shadyRoot).querySelectorAll(y)},_nodeIsInLogicalTree:function(t){return Boolean(void 0!==t._lightParent||t._isShadyRoot||this._ownerShadyRootForNode(t)||t.shadyRoot)},_parentNeedsDistribution:function(t){return t&&t.shadyRoot&&s(t.shadyRoot)},_removeNodeFromHost:function(t,e){var o,n,r=t._lightParent;r&&(n=this._ownerShadyRootForNode(t),n&&(n.host._elementRemove(t),o=this._removeDistributedChildren(n,t)),this._removeLogicalInfo(t,t._lightParent)),this._removeOwnerShadyRoot(t),n&&o?(this._updateInsertionPoints(n.host),this._lazyDistribute(n.host)):e&&i(r||t.parentNode,t)},_removeDistributedChildren:function(t,e){for(var o,n=t._insertionPoints,r=0;r<n.length;r++){var s=n[r];if(this._contains(e,s))for(var a=v(s).getDistributedNodes(),d=0;d<a.length;d++){o=!0;var h=a[d],u=h.parentNode;u&&(i(u,h),l.call(u,h))}}return o},_contains:function(t,e){for(;e;){if(e==t)return!0;e=v(e).parentNode}},_addNodeToHost:function(t){var e=t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.firstChild:t,o=this._ownerShadyRootForNode(e);o&&o.host._elementAdd(t)},_addLogicalInfo:function(t,e,o){r(e);var n=v(e).childNodes;if(o=void 0===o?n.length:o,t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var i,s=Array.prototype.slice.call(t.childNodes),a=0;a<s.length&&(i=s[a]);a++)n.splice(o++,0,i),i._lightParent=e;else n.splice(o,0,t),t._lightParent=e},_removeLogicalInfo:function(t,e){var o=v(e).childNodes,n=o.indexOf(t);if(0>n||e!==t._lightParent)throw Error("The node to be removed is not a child of this node");o.splice(n,1),t._lightParent=null},_removeOwnerShadyRoot:function(t){var e=void 0!==v(t).getOwnerRoot();if(e)for(var o,n=v(t).childNodes,i=0,r=n.length;r>i&&(o=n[i]);i++)this._removeOwnerShadyRoot(o);t._ownerShadyRoot=void 0},_firstComposedNode:function(t){for(var e,o,n=v(t).getDistributedNodes(),i=0,r=n.length;r>i&&(e=n[i]);i++)if(o=v(e).getDestinationInsertionPoints(),o[o.length-1]===t)return e},querySelector:function(t){return this.querySelectorAll(t)[0]},querySelectorAll:function(t){return this._query(function(e){return b.call(e,t)},this.node)},_query:function(t,e){e=e||this.node;var o=[];return this._queryElements(v(e).childNodes,t,o),o},_queryElements:function(t,e,o){for(var n,i=0,r=t.length;r>i&&(n=t[i]);i++)n.nodeType===Node.ELEMENT_NODE&&this._queryElement(n,e,o)},_queryElement:function(t,e,o){e(t)&&o.push(t),this._queryElements(v(t).childNodes,e,o)},getDestinationInsertionPoints:function(){return this.node._destinationInsertionPoints||[]},getDistributedNodes:function(){return this.node._distributedNodes||[]},queryDistributedElements:function(t){var e=this.childNodes,o=[];this._distributedFilter(t,e,o);for(var n,i=0,r=e.length;r>i&&(n=e[i]);i++)n.localName===y&&this._distributedFilter(t,v(n).getDistributedNodes(),o);return o},_distributedFilter:function(t,e,o){o=o||[];for(var n,i=0,r=e.length;r>i&&(n=e[i]);i++)n.nodeType===Node.ELEMENT_NODE&&n.localName!==y&&b.call(n,t)&&o.push(n);return o},_clear:function(){for(;this.childNodes.length;)this.removeChild(this.childNodes[0])},setAttribute:function(t,e){this.node.setAttribute(t,e),this._distributeParent()},removeAttribute:function(t){this.node.removeAttribute(t),this._distributeParent()},_distributeParent:function(){this._parentNeedsDistribution(this.parentNode)&&this._lazyDistribute(this.parentNode)},cloneNode:function(t){var e=c.call(this.node,!1);if(t)for(var o,n=this.childNodes,i=v(e),r=0;r<n.length;r++)o=v(n[r]).cloneNode(!0),i.appendChild(o);return e},importNode:function(t,e){var o=this.node instanceof HTMLDocument?this.node:this.node.ownerDocument,n=f.call(o,t,!1);if(e)for(var i,r=v(t).childNodes,s=v(n),a=0;a<r.length;a++)i=v(o).importNode(r[a],!0),s.appendChild(i);return n}},Object.defineProperty(_.prototype,"classList",{get:function(){return this._classList||(this._classList=new _.ClassList(this)),this._classList},configurable:!0}),_.ClassList=function(t){this.domApi=t,this.node=t.node},_.ClassList.prototype={add:function(){this.node.classList.add.apply(this.node.classList,arguments),this.domApi._distributeParent()},remove:function(){this.node.classList.remove.apply(this.node.classList,arguments),this.domApi._distributeParent()},toggle:function(){this.node.classList.toggle.apply(this.node.classList,arguments),this.domApi._distributeParent()},contains:function(){return this.node.classList.contains.apply(this.node.classList,arguments)}},a.useShadow){_.prototype.querySelectorAll=function(t){return Array.prototype.slice.call(this.node.querySelectorAll(t))},_.prototype.getOwnerRoot=function(){for(var t=this.node;t;){if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host)return t;t=t.parentNode}},_.prototype.cloneNode=function(t){return this.node.cloneNode(t)},_.prototype.importNode=function(t,e){var o=this.node instanceof HTMLDocument?this.node:this.node.ownerDocument;return o.importNode(t,e)},_.prototype.getDestinationInsertionPoints=function(){var t=this.node.getDestinationInsertionPoints();return t?Array.prototype.slice.call(t):[]},_.prototype.getDistributedNodes=function(){var t=this.node.getDistributedNodes();return t?Array.prototype.slice.call(t):[]},_.prototype._distributeParent=function(){},Object.defineProperties(_.prototype,{childNodes:{get:function(){return Array.prototype.slice.call(this.node.childNodes)},configurable:!0},children:{get:function(){return Array.prototype.slice.call(this.node.children)},configurable:!0},textContent:{get:function(){return this.node.textContent},set:function(t){return this.node.textContent=t},configurable:!0},innerHTML:{get:function(){return this.node.innerHTML},set:function(t){return this.node.innerHTML=t},configurable:!0}});var m=["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling"];m.forEach(function(t){Object.defineProperty(_.prototype,t,{get:function(){return this.node[t]},configurable:!0})})}else Object.defineProperties(_.prototype,{childNodes:{get:function(){var e=t(this.node);return Array.isArray(e)?e:Array.prototype.slice.call(e)},configurable:!0},children:{get:function(){return Array.prototype.filter.call(this.childNodes,function(t){return t.nodeType===Node.ELEMENT_NODE})},configurable:!0},parentNode:{get:function(){return this.node._lightParent||(this.node.__patched?this.node._composedParent:this.node.parentNode)},configurable:!0},firstChild:{get:function(){return this.childNodes[0]},configurable:!0},lastChild:{get:function(){var t=this.childNodes;return t[t.length-1]},configurable:!0},nextSibling:{get:function(){var t=this.parentNode&&v(this.parentNode).childNodes;return t?t[Array.prototype.indexOf.call(t,this.node)+1]:void 0},configurable:!0},previousSibling:{get:function(){var t=this.parentNode&&v(this.parentNode).childNodes;return t?t[Array.prototype.indexOf.call(t,this.node)-1]:void 0},configurable:!0},firstElementChild:{get:function(){return this.children[0]},configurable:!0},lastElementChild:{get:function(){var t=this.children;return t[t.length-1]},configurable:!0},nextElementSibling:{get:function(){var t=this.parentNode&&v(this.parentNode).children;return t?t[Array.prototype.indexOf.call(t,this.node)+1]:void 0},configurable:!0},previousElementSibling:{get:function(){var t=this.parentNode&&v(this.parentNode).children;return t?t[Array.prototype.indexOf.call(t,this.node)-1]:void 0},configurable:!0},textContent:{get:function(){return this.node.nodeType===Node.TEXT_NODE?this.node.textContent:Array.prototype.map.call(this.childNodes,function(t){return t.textContent}).join("")},set:function(t){this._clear(),t&&this.appendChild(document.createTextNode(t))},configurable:!0},innerHTML:{get:function(){return this.node.nodeType===Node.TEXT_NODE?null:d(this.node)},set:function(t){if(this.node.nodeType!==Node.TEXT_NODE){this._clear();var e=document.createElement("div");e.innerHTML=t;for(var o=Array.prototype.slice.call(e.childNodes),n=0;n<o.length;n++)this.appendChild(o[n])}},configurable:!0}}),_.prototype._getComposedInnerHTML=function(){return d(this.node,!0)};var y="content",v=function(t,e){return t=t||document,t.__domApi||(t.__domApi=new _(t,e)),t.__domApi};Polymer.dom=function(t,e){return t instanceof Event?Polymer.EventApi.factory(t):v(t,e)},Polymer.dom.flush=_.prototype.flush;var g=Element.prototype,b=g.matches||g.matchesSelector||g.mozMatchesSelector||g.msMatchesSelector||g.oMatchesSelector||g.webkitMatchesSelector;return{getLightChildren:t,getComposedChildren:e,removeFromComposedParent:i,saveLightChildrenIfNeeded:r,matchesSelector:b,hasInsertionPoint:s,ctor:_,factory:v}}(),function(){function t(t,e){e._distributedNodes.push(t);var o=t._destinationInsertionPoints;o?o.push(e):t._destinationInsertionPoints=[e]}function e(t){var e=t._distributedNodes;if(e)for(var o=0;o<e.length;o++){var n=e[o]._destinationInsertionPoints;n&&n.splice(n.indexOf(t)+1,n.length)}}function o(t,e){var o=t._lightParent;o&&o.shadyRoot&&p(o.shadyRoot)&&o.shadyRoot._distributionClean&&(o.shadyRoot._distributionClean=!1,e.shadyRoot._dirtyRoots.push(o))}function n(t,e){var o=e._destinationInsertionPoints;return o&&o[o.length-1]===t}function i(t){return"content"==t.localName}function r(t,e,o){var n=a(e);n!==t&&m(n,e),s(e),u(t),y.call(t,e,o||null),e._composedParent=t}function s(t){var e=a(t);e&&(u(e),t._composedParent=null,v.call(e,t))}function a(t){return t.__patched?t._composedParent:t.parentNode}function d(t){for(;t&&h(t);)t=t.domHost;return t}function h(t){for(var e,o=Polymer.dom(t).children,n=0;n<o.length;n++)if(e=o[n],"content"===e.localName)return t.domHost}function l(t){if(g&&t)for(var e=0;e<t.length;e++)CustomElements.upgrade(t[e])}Polymer.Base._addFeature({_prepShady:function(){this._useContent=this._useContent||Boolean(this._template)},_poolContent:function(){this._useContent&&u(this)},_setupRoot:function(){this._useContent&&(this._createLocalRoot(),this.dataHost||l(this._lightChildren))},_createLocalRoot:function(){this.shadyRoot=this.root,this.shadyRoot._distributionClean=!1,this.shadyRoot._isShadyRoot=!0,this.shadyRoot._dirtyRoots=[],this.shadyRoot._insertionPoints=!this._notes||this._notes._hasContent?this.shadyRoot.querySelectorAll("content"):[],u(this.shadyRoot),this.shadyRoot.host=this},get domHost(){var t=Polymer.dom(this).getOwnerRoot();return t&&t.host},distributeContent:function(t){if(this.shadyRoot){var e=Polymer.dom(this);t&&e._updateInsertionPoints(this);var o=d(this);e._lazyDistribute(o)}},_distributeContent:function(){this._useContent&&!this.shadyRoot._distributionClean&&(this._beginDistribute(),this._distributeDirtyRoots(),this._finishDistribute())},_beginDistribute:function(){this._useContent&&p(this.shadyRoot)&&(this._resetDistribution(),this._distributePool(this.shadyRoot,this._collectPool()))},_distributeDirtyRoots:function(){for(var t,e=this.shadyRoot._dirtyRoots,o=0,n=e.length;n>o&&(t=e[o]);o++)t._distributeContent();this.shadyRoot._dirtyRoots=[]},_finishDistribute:function(){if(this._useContent){if(p(this.shadyRoot))this._composeTree();else if(this.shadyRoot._hasDistributed){var t=this._composeNode(this);this._updateChildNodes(this,t)}else this.textContent="",this._composedChildren=null,this.appendChild(this.shadyRoot);this.shadyRoot._hasDistributed=!0,this.shadyRoot._distributionClean=!0}},elementMatches:function(t,e){return e=e||this,f.call(e,t)},_resetDistribution:function(){for(var t=c(this),o=0;o<t.length;o++){var n=t[o];n._destinationInsertionPoints&&(n._destinationInsertionPoints=void 0),i(n)&&e(n)}for(var r=this.shadyRoot,s=r._insertionPoints,a=0;a<s.length;a++)s[a]._distributedNodes=[]},_collectPool:function(){for(var t=[],e=c(this),o=0;o<e.length;o++){var n=e[o];i(n)?t.push.apply(t,n._distributedNodes):t.push(n)}return t},_distributePool:function(t,e){for(var n,i=t._insertionPoints,r=0,s=i.length;s>r&&(n=i[r]);r++)this._distributeInsertionPoint(n,e),o(n,this)},_distributeInsertionPoint:function(e,o){for(var n,i=!1,r=0,s=o.length;s>r;r++)n=o[r],n&&this._matchesContentSelect(n,e)&&(t(n,e),o[r]=void 0,i=!0);if(!i)for(var a=c(e),d=0;d<a.length;d++)t(a[d],e)},_composeTree:function(){this._updateChildNodes(this,this._composeNode(this));for(var t,e,o=this.shadyRoot._insertionPoints,n=0,i=o.length;i>n&&(t=o[n]);n++)e=t._lightParent||t.parentNode,e._useContent||e===this||e===this.shadyRoot||this._updateChildNodes(e,this._composeNode(e))},_composeNode:function(t){for(var e=[],o=c(t.shadyRoot||t),r=0;r<o.length;r++){var s=o[r];if(i(s))for(var a=s._distributedNodes,d=0;d<a.length;d++){var h=a[d];n(s,h)&&e.push(h)}else e.push(s)}return e},_updateChildNodes:function(t,e){for(var o,n=_(t),i=Polymer.ArraySplice.calculateSplices(e,n),a=0,d=0;a<i.length&&(o=i[a]);a++){for(var h,l=0;l<o.removed.length&&(h=o.removed[l]);l++)s(h),n.splice(o.index+d,1);d-=o.addedCount}for(var o,u,a=0;a<i.length&&(o=i[a]);a++){u=n[o.index];for(var h,l=o.index;l<o.index+o.addedCount;l++)h=e[l],r(t,h,u),n.splice(l,0,h)}},_matchesContentSelect:function(t,e){var o=e.getAttribute("select");if(!o)return!0;if(o=o.trim(),!o)return!0;if(!(t instanceof Element))return!1;var n=/^(:not\()?[*.#[a-zA-Z_|]/;return n.test(o)?this.elementMatches(o,t):!1},_elementAdd:function(){},_elementRemove:function(){}});var u=Polymer.DomApi.saveLightChildrenIfNeeded,c=Polymer.DomApi.getLightChildren,f=Polymer.DomApi.matchesSelector,p=Polymer.DomApi.hasInsertionPoint,_=Polymer.DomApi.getComposedChildren,m=Polymer.DomApi.removeFromComposedParent,y=Element.prototype.insertBefore,v=Element.prototype.removeChild,g=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.DomModule=document.createElement("dom-module"),Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepAttributes(),this._prepBehaviors(),this._prepExtends(),this._prepConstructor(),this._prepTemplate(),this._prepShady()},_prepBehavior:function(t){this._addHostAttributes(t.hostAttributes)},_initFeatures:function(){this._poolContent(),this._pushHost(),this._stampTemplate(),this._popHost(),this._marshalHostAttributes(),this._setupDebouncers(),this._marshalBehaviors(),this._tryReady()},_marshalBehavior:function(t){}});</script><script>Polymer.nar=[],Polymer.Annotations={parseAnnotations:function(t){var e=[],r=t._content||t.content;return this._parseNodeAnnotations(r,e),e},_parseNodeAnnotations:function(t,e){return t.nodeType===Node.TEXT_NODE?this._parseTextNodeAnnotation(t,e):this._parseElementAnnotations(t,e)},_testEscape:function(t){var e=t.slice(0,2);return"{{"===e||"[["===e?e:void 0},_parseTextNodeAnnotation:function(t,e){var r=t.textContent,s=this._testEscape(r);if(s){t.textContent=" ";var n={bindings:[{kind:"text",mode:s[0],value:r.slice(2,-2).trim()}]};return e.push(n),n}},_parseElementAnnotations:function(t,e){var r={bindings:[],events:[]};return"content"===t.localName&&(e._hasContent=!0),this._parseChildNodesAnnotations(t,r,e),t.attributes&&(this._parseNodeAttributeAnnotations(t,r,e),this.prepElement&&this.prepElement(t)),(r.bindings.length||r.events.length||r.id)&&e.push(r),r},_parseChildNodesAnnotations:function(t,e,r,s){if(t.firstChild)for(var n=0,i=t.firstChild;i;i=i.nextSibling,n++){"template"!==i.localName||i.hasAttribute("preserve-content")||this._parseTemplate(i,n,r,e);var o=this._parseNodeAnnotations(i,r,s);o&&(o.parent=e,o.index=n)}},_parseTemplate:function(t,e,r,s){var n=document.createDocumentFragment();n._notes=this.parseAnnotations(t),n.appendChild(t.content),r.push({bindings:Polymer.nar,events:Polymer.nar,templateContent:n,parent:s,index:e})},_parseNodeAttributeAnnotations:function(t,e){for(var r,s=t.attributes.length-1;r=t.attributes[s];s--){var n=r.name,i=r.value;if("id"!==n||this._testEscape(i))if("on-"===n.slice(0,3))t.removeAttribute(n),e.events.push({name:n.slice(3),value:i});else{var o=this._parseNodeAttributeAnnotation(t,n,i);o&&e.bindings.push(o)}else e.id=i}},_parseNodeAttributeAnnotation:function(t,e,r){var s=this._testEscape(r);if(s){var n,i=e,o=s[0];r=r.slice(2,-2).trim();var a=!1;"!"==r[0]&&(r=r.substring(1),a=!0);var l="property";"$"==e[e.length-1]&&(i=e.slice(0,-1),l="attribute");var c,h;return"{"==o&&(h=r.indexOf("::"))>0&&(c=r.substring(h+2),r=r.substring(0,h),n=!0),"input"==t.localName&&"value"==e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===l&&(i=Polymer.CaseMap.dashToCamelCase(i)),{kind:l,mode:o,name:i,value:r,negate:a,event:c,customEvent:n}}},_localSubTree:function(t,e){return t===e?t.childNodes:t._lightChildren||t.childNodes},findAnnotatedNode:function(t,e){var r=e.parent&&Polymer.Annotations.findAnnotatedNode(t,e.parent);return r?Polymer.Annotations._localSubTree(r,t)[e.index]:t}},function(){function t(t,e){return t.replace(a,function(t,s,n,i){return s+"'"+r(n.replace(/["']/g,""),e)+"'"+i})}function e(e,s){for(var n in l)for(var i,o,a,h=l[n],u=0,f=h.length;f>u&&(i=h[u]);u++)("*"===n||e.localName===n)&&(o=e.attributes[i],a=o&&o.value,a&&a.search(c)<0&&(o.value="style"===i?t(a,s):r(a,s)))}function r(t,e){if(t&&"#"===t[0])return t;var r=n(e);return r.href=t,r.href||t}function s(t,e){return i||(i=document.implementation.createHTMLDocument("temp"),o=i.createElement("base"),i.head.appendChild(o)),o.href=e,r(t,i)}function n(t){return t.__urlResolver||(t.__urlResolver=t.createElement("a"))}var i,o,a=/(url\()([^)]*)(\))/g,l={"*":["href","src","style","url"],form:["action"]},c=/\{\{|\[\[/;Polymer.ResolveUrl={resolveCss:t,resolveAttrs:e,resolveUrl:s}}(),Polymer.Base._addFeature({_prepAnnotations:function(){this._template?(Polymer.Annotations.prepElement=this._prepElement.bind(this),this._notes=Polymer.Annotations.parseAnnotations(this._template),this._processAnnotations(this._notes),Polymer.Annotations.prepElement=null):this._notes=[]},_processAnnotations:function(t){for(var e=0;e<t.length;e++){for(var r=t[e],s=0;s<r.bindings.length;s++){var n=r.bindings[s];n.signature=this._parseMethod(n.value),n.signature||(n.model=this._modelForPath(n.value))}if(r.templateContent){this._processAnnotations(r.templateContent._notes);var i=r.templateContent._parentProps=this._discoverTemplateParentProps(r.templateContent._notes),o=[];for(var a in i)o.push({index:r.index,kind:"property",mode:"{",name:"_parent_"+a,model:a,value:a});r.bindings=r.bindings.concat(o)}}},_discoverTemplateParentProps:function(t){var e={};return t.forEach(function(t){if(t.bindings.forEach(function(t){if(t.signature)for(var r=t.signature.args,s=0;s<r.length;s++)e[r[s].model]=!0;else e[t.model]=!0}),t.templateContent){var r=t.templateContent._parentProps;Polymer.Base.mixin(e,r)}}),e},_prepElement:function(t){Polymer.ResolveUrl.resolveAttrs(t,this._template.ownerDocument)},_findAnnotatedNode:Polymer.Annotations.findAnnotatedNode,_marshalAnnotationReferences:function(){this._template&&(this._marshalIdNodes(),this._marshalAnnotatedNodes(),this._marshalAnnotatedListeners())},_configureAnnotationReferences:function(){this._configureTemplateContent()},_configureTemplateContent:function(){this._notes.forEach(function(t,e){t.templateContent&&(this._nodes[e]._content=t.templateContent)},this)},_marshalIdNodes:function(){this.$={},this._notes.forEach(function(t){t.id&&(this.$[t.id]=this._findAnnotatedNode(this.root,t))},this)},_marshalAnnotatedNodes:function(){this._nodes&&(this._nodes=this._nodes.map(function(t){return this._findAnnotatedNode(this.root,t)},this))},_marshalAnnotatedListeners:function(){this._notes.forEach(function(t){if(t.events&&t.events.length){var e=this._findAnnotatedNode(this.root,t);t.events.forEach(function(t){this.listen(e,t.name,t.value)},this)}},this)}}),Polymer.Base._addFeature({listeners:{},_listenListeners:function(t){var e,r,s;for(s in t)s.indexOf(".")<0?(e=this,r=s):(r=s.split("."),e=this.$[r[0]],r=r[1]),this.listen(e,r,t[s])},listen:function(t,e,r){this._listen(t,e,this._createEventHandler(t,e,r))},_boundListenerKey:function(t,e){return t+":"+e},_recordEventHandler:function(t,e,r,s,n){var i=t.__boundListeners;i||(i=t.__boundListeners=new WeakMap);var o=i.get(r);o||(o={},i.set(r,o));var a=this._boundListenerKey(e,s);o[a]=n},_recallEventHandler:function(t,e,r,s){var n=t.__boundListeners;if(n){var i=n.get(r);if(i){var o=this._boundListenerKey(e,s);return i[o]}}},_createEventHandler:function(t,e,r){var s=this,n=function(t){s[r]?s[r](t,t.detail):s._warn(s._logf("_createEventHandler","listener method `"+r+"` not defined"))};return this._recordEventHandler(s,e,t,r,n),n},unlisten:function(t,e,r){var s=this._recallEventHandler(this,e,t,r);s&&this._unlisten(t,e,s)},_listen:function(t,e,r){t.addEventListener(e,r)},_unlisten:function(t,e,r){t.removeEventListener(e,r)}}),function(){"use strict";function t(t){for(var e,r=0;r<u.length;r++)e=u[r],t?document.addEventListener(e,p,!0):document.removeEventListener(e,p,!0)}function e(){if(!f){d.mouse.mouseIgnoreJob||t(!0);var e=function(){t(),d.mouse.target=null,d.mouse.mouseIgnoreJob=null};d.mouse.mouseIgnoreJob=Polymer.Debounce(d.mouse.mouseIgnoreJob,e,h)}}function r(t){for(var e,r=Polymer.dom(t).path,s="auto",n=0;n<r.length;n++)if(e=r[n],e[o]){s=e[o];break}return s}var s="string"==typeof document.head.style.touchAction,n="__polymerGestures",i="__polymerGesturesHandled",o="__polymerGesturesTouchAction",a=25,l=5,c=2,h=2500,u=["mousedown","mousemove","mouseup","click"],f=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),p=function(t){if(t[i]={skip:!0},"click"===t.type){for(var e=Polymer.dom(t).path,r=0;r<e.length;r++)if(e[r]===d.mouse.target)return;t.preventDefault(),t.stopPropagation()}},d={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}},_={gestures:{},recognizers:[],deepTargetFind:function(t,e){for(var r=document.elementFromPoint(t,e),s=r;s&&s.shadowRoot;)s=s.shadowRoot.elementFromPoint(t,e),s&&(r=s);return r},findOriginalTarget:function(t){return t.path?t.path[0]:t.target},handleNative:function(t){var r,o=t.type,a=t.currentTarget,l=a[n],c=l[o];if(c){if(!t[i]&&(t[i]={},"touch"===o.slice(0,5))){var h=t.changedTouches[0];if("touchstart"===o&&1===t.touches.length&&(d.touch.id=h.identifier),d.touch.id!==h.identifier)return;s||("touchstart"===o||"touchmove"===o)&&_.handleTouchAction(t),"touchend"===o&&(d.mouse.target=Polymer.dom(t).rootTarget,e(!0))}if(r=t[i],!r.skip)for(var u,f=_.recognizers,p=0;p<f.length;p++)u=f[p],c[u.name]&&!r[u.name]&&(r[u.name]=!0,u[o](t))}},handleTouchAction:function(t){var e=t.changedTouches[0],s=t.type;if("touchstart"===s)d.touch.x=e.clientX,d.touch.y=e.clientY,d.touch.scrollDecided=!1;else if("touchmove"===s){if(d.touch.scrollDecided)return;d.touch.scrollDecided=!0;var n=r(t),i=!1,o=Math.abs(d.touch.x-e.clientX),a=Math.abs(d.touch.y-e.clientY);t.cancelable&&("none"===n?i=!0:"pan-x"===n?i=a>o:"pan-y"===n&&(i=o>a)),i&&t.preventDefault()}},add:function(t,e,r){var s=this.gestures[e],i=s.deps,o=s.name,a=t[n];a||(t[n]=a={});for(var l,c,h=0;h<i.length;h++)l=i[h],f&&u.indexOf(l)>-1||(c=a[l],c||(a[l]=c={_count:0}),0===c._count&&t.addEventListener(l,this.handleNative),c[o]=(c[o]||0)+1,c._count=(c._count||0)+1);t.addEventListener(e,r),s.touchAction&&this.setTouchAction(t,s.touchAction)},remove:function(t,e,r){var s=this.gestures[e],i=s.deps,o=s.name,a=t[n];if(a)for(var l,c,h=0;h<i.length;h++)l=i[h],c=a[l],c&&c[o]&&(c[o]=(c[o]||1)-1,c._count=(c._count||1)-1),0===c._count&&t.removeEventListener(l,this.handleNative);t.removeEventListener(e,r)},register:function(t){this.recognizers.push(t);for(var e=0;e<t.emits.length;e++)this.gestures[t.emits[e]]=t},findRecognizerByEvent:function(t){for(var e,r=0;r<this.recognizers.length;r++){e=this.recognizers[r];for(var s,n=0;n<e.emits.length;n++)if(s=e.emits[n],s===t)return e}return null},setTouchAction:function(t,e){s&&(t.style.touchAction=e),t[o]=e},fire:function(t,e,r){var s=Polymer.Base.fire(e,r,{node:t,bubbles:!0,cancelable:!0});if(s.defaultPrevented){var n=r.sourceEvent;n&&n.preventDefault&&n.preventDefault()}},prevent:function(t){var e=this.findRecognizerByEvent(t);e.info&&(e.info.prevent=!0)}};_.register({name:"downup",deps:["mousedown","touchstart","touchend"],emits:["down","up"],mousedown:function(t){var e=_.findOriginalTarget(t),r=this,s=function n(t){r.fire("up",e,t),document.removeEventListener("mouseup",n)};document.addEventListener("mouseup",s),this.fire("down",e,t)},touchstart:function(t){this.fire("down",_.findOriginalTarget(t),t.changedTouches[0])},touchend:function(t){this.fire("up",_.findOriginalTarget(t),t.changedTouches[0])},fire:function(t,e,r){_.fire(e,t,{x:r.clientX,y:r.clientY,sourceEvent:r,prevent:_.prevent.bind(_)})}}),_.register({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(t){this.moves.length>c&&this.moves.shift(),this.moves.push(t)},prevent:!1},clearInfo:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1},hasMovedEnough:function(t,e){if(this.info.prevent)return!1;if(this.info.started)return!0;var r=Math.abs(this.info.x-t),s=Math.abs(this.info.y-e);return r>=l||s>=l},mousedown:function(t){var e=_.findOriginalTarget(t),r=this,s=function(t){var s=t.clientX,n=t.clientY;r.hasMovedEnough(s,n)&&(r.info.state=r.info.started?"mouseup"===t.type?"end":"track":"start",r.info.addMove({x:s,y:n}),r.fire(e,t),r.info.started=!0)},n=function i(t){r.info.started&&(_.prevent("tap"),s(t)),r.clearInfo(),document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",s),document.addEventListener("mouseup",n),this.info.x=t.clientX,this.info.y=t.clientY},touchstart:function(t){var e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove:function(t){var e=_.findOriginalTarget(t),r=t.changedTouches[0],s=r.clientX,n=r.clientY;this.hasMovedEnough(s,n)&&(this.info.addMove({x:s,y:n}),this.fire(e,r),this.info.state="track",this.info.started=!0)},touchend:function(t){var e=_.findOriginalTarget(t),r=t.changedTouches[0];this.info.started&&(_.prevent("tap"),this.info.state="end",this.info.addMove({x:r.clientX,y:r.clientY}),this.fire(e,r)),this.clearInfo()},fire:function(t,e){var r,s=this.info.moves[this.info.moves.length-2],n=this.info.moves[this.info.moves.length-1],i=n.x-this.info.x,o=n.y-this.info.y,a=0;return s&&(r=n.x-s.x,a=n.y-s.y),_.fire(t,"track",{state:this.info.state,x:e.clientX,y:e.clientY,dx:i,dy:o,ddx:r,ddy:a,sourceEvent:e,hover:function(){return _.deepTargetFind(e.clientX,e.clientY)}})}}),_.register({name:"tap",deps:["mousedown","click","touchstart","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(t){this.info.x=t.clientX,this.info.y=t.clientY},mousedown:function(t){this.save(t)},click:function(t){this.forward(t)},touchstart:function(t){this.save(t.changedTouches[0])},touchend:function(t){this.forward(t.changedTouches[0])},forward:function(t){var e=Math.abs(t.clientX-this.info.x),r=Math.abs(t.clientY-this.info.y),s=_.findOriginalTarget(t);(isNaN(e)||isNaN(r)||a>=e&&a>=r)&&(this.info.prevent||_.fire(s,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t})),this.reset()}});var m={x:"pan-x",y:"pan-y",none:"none",all:"auto"};Polymer.Base._addFeature({_listen:function(t,e,r){_.gestures[e]?_.add(t,e,r):t.addEventListener(e,r)},_unlisten:function(t,e,r){_.gestures[e]?_.remove(t,e,r):t.removeEventListener(e,r)},setScrollDirection:function(t,e){e=e||this,_.setTouchAction(e,m[t]||"auto")}}),Polymer.Gestures=_}(),Polymer.Async={_currVal:0,_lastVal:0,_callbacks:[],_twiddleContent:0,_twiddle:document.createTextNode(""),run:function(t,e){return e>0?~setTimeout(t,e):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.push(t),this._currVal++)},cancel:function(t){if(0>t)clearTimeout(~t);else{var e=t-this._lastVal;if(e>=0){if(!this._callbacks[e])throw"invalid async handle: "+t;this._callbacks[e]=null}}},_atEndOfMicrotask:function(){for(var t=this._callbacks.length,e=0;t>e;e++){var r=this._callbacks[e];if(r)try{r()}catch(s){throw e++,this._callbacks.splice(0,e),this._lastVal+=e,this._twiddle.textContent=this._twiddleContent++,s}}this._callbacks.splice(0,t),this._lastVal+=t}},new(window.MutationObserver||JsMutationObserver)(Polymer.Async._atEndOfMicrotask.bind(Polymer.Async)).observe(Polymer.Async._twiddle,{characterData:!0}),Polymer.Debounce=function(){function t(t,e,s){return t?t.stop():t=new r(this),t.go(e,s),t}var e=Polymer.Async,r=function(t){this.context=t,this.boundComplete=this.complete.bind(this)};return r.prototype={go:function(t,r){var s;this.finish=function(){e.cancel(s)},s=e.run(this.boundComplete,r),this.callback=t},stop:function(){this.finish&&(this.finish(),this.finish=null)},complete:function(){this.finish&&(this.stop(),this.callback.call(this.context))}},t}(),Polymer.Base._addFeature({$$:function(t){return Polymer.dom(this.root).querySelector(t)},toggleClass:function(t,e,r){r=r||this,1==arguments.length&&(e=!r.classList.contains(t)),e?Polymer.dom(r).classList.add(t):Polymer.dom(r).classList.remove(t)},toggleAttribute:function(t,e,r){r=r||this,1==arguments.length&&(e=!r.hasAttribute(t)),e?Polymer.dom(r).setAttribute(t,""):Polymer.dom(r).removeAttribute(t)},classFollows:function(t,e,r){r&&Polymer.dom(r).classList.remove(t),e&&Polymer.dom(e).classList.add(t)},attributeFollows:function(t,e,r){r&&Polymer.dom(r).removeAttribute(t),e&&Polymer.dom(e).setAttribute(t,"")},getContentChildNodes:function(t){return Polymer.dom(Polymer.dom(this.root).querySelector(t||"content")).getDistributedNodes()},getContentChildren:function(t){return this.getContentChildNodes(t).filter(function(t){return t.nodeType===Node.ELEMENT_NODE})},fire:function(t,e,r){r=r||Polymer.nob;var s=r.node||this,e=null===e||void 0===e?Polymer.nob:e,n=void 0===r.bubbles?!0:r.bubbles,i=Boolean(r.cancelable),o=new CustomEvent(t,{bubbles:Boolean(n),cancelable:i,detail:e});return s.dispatchEvent(o),o},async:function(t,e){return Polymer.Async.run(t.bind(this),e)},cancelAsync:function(t){Polymer.Async.cancel(t)},arrayDelete:function(t,e){var r;if(Array.isArray(t)){if(r=t.indexOf(e),r>=0)return t.splice(r,1)}else{var s=this.get(t);if(r=s.indexOf(e),r>=0)return this.splice(t,r,1)}},transform:function(t,e){e=e||this,e.style.webkitTransform=t,e.style.transform=t},translate3d:function(t,e,r,s){s=s||this,this.transform("translate3d("+t+","+e+","+r+")",s)},importHref:function(t,e,r){var s=document.createElement("link");return s.rel="import",s.href=t,e&&(s.onload=e.bind(this)),r&&(s.onerror=r.bind(this)),document.head.appendChild(s),s},create:function(t,e){var r=document.createElement(t);if(e)for(var s in e)r[s]=e[s];return r}}),Polymer.Bind={prepareModel:function(t){t._propertyEffects={},t._bindListeners=[],Polymer.Base.mixin(t,this._modelApi)},_modelApi:{_notifyChange:function(t){var e=Polymer.CaseMap.camelToDashCase(t)+"-changed";Polymer.Base.fire(e,{value:this[t]},{bubbles:!1,node:this})},_propertySetter:function(t,e,r,s){var n=this.__data__[t];return n===e||n!==n&&e!==e||(this.__data__[t]=e,"object"==typeof e&&this._clearPath(t),this._propertyChanged&&this._propertyChanged(t,e,n),r&&this._effectEffects(t,e,r,n,s)),n},__setProperty:function(t,e,r,s){s=s||this;var n=s._propertyEffects&&s._propertyEffects[t];n?s._propertySetter(t,e,n,r):s[t]=e},_effectEffects:function(t,e,r,s,n){r.forEach(function(r){var i=Polymer.Bind["_"+r.kind+"Effect"];i&&i.call(this,t,e,r.effect,s,n)},this)},_clearPath:function(t){for(var e in this.__data__)0===e.indexOf(t+".")&&(this.__data__[e]=void 0)}},ensurePropertyEffects:function(t,e){var r=t._propertyEffects[e];return r||(r=t._propertyEffects[e]=[]),r},addPropertyEffect:function(t,e,r,s){var n=this.ensurePropertyEffects(t,e);n.push({kind:r,effect:s})},createBindings:function(t){var e=t._propertyEffects;if(e)for(var r in e){var s=e[r];s.sort(this._sortPropertyEffects),this._createAccessors(t,r,s)}},_sortPropertyEffects:function(){var t={compute:0,annotation:1,computedAnnotation:2,reflect:3,notify:4,observer:5,complexObserver:6,"function":7};return function(e,r){return t[e.kind]-t[r.kind]}}(),_createAccessors:function(t,e,r){var s={get:function(){return this.__data__[e]}},n=function(t){this._propertySetter(e,t,r)},i=t.getPropertyInfo&&t.getPropertyInfo(e);i&&i.readOnly?i.computed||(t["_set"+this.upper(e)]=n):s.set=n,Object.defineProperty(t,e,s)},upper:function(t){return t[0].toUpperCase()+t.substring(1)},_addAnnotatedListener:function(t,e,r,s,n){var i=this._notedListenerFactory(r,s,this._isStructured(s),this._isEventBogus),o=n||Polymer.CaseMap.camelToDashCase(r)+"-changed";t._bindListeners.push({index:e,property:r,path:s,changedFn:i,event:o})},_isStructured:function(t){return t.indexOf(".")>0},_isEventBogus:function(t,e){return t.path&&t.path[0]!==e},_notedListenerFactory:function(t,e,r,s){return function(n,i){if(!s(n,i))if(n.detail&&n.detail.path)this.notifyPath(this._fixPath(e,t,n.detail.path),n.detail.value);else{var o=i[t];r?this.__data__[e]!=o&&this.set(e,o):this[e]=i[t]}}},prepareInstance:function(t){t.__data__=Object.create(null)},setupBindListeners:function(t){t._bindListeners.forEach(function(e){var r=t._nodes[e.index];r.addEventListener(e.event,t._notifyListener.bind(t,e.changedFn))})}},Polymer.Base.extend(Polymer.Bind,{_shouldAddListener:function(t){return t.name&&"{"===t.mode&&!t.negate&&"attribute"!=t.kind},_annotationEffect:function(t,e,r){t!=r.value&&(e=this.get(r.value),this.__data__[r.value]=e);var s=r.negate?!e:e;return r.customEvent&&this._nodes[r.index][r.name]===s?void 0:this._applyEffectValue(s,r)},_reflectEffect:function(t){this.reflectPropertyToAttribute(t)},_notifyEffect:function(t,e,r,s,n){n||this._notifyChange(t)},_functionEffect:function(t,e,r,s,n){r.call(this,t,e,s,n)},_observerEffect:function(t,e,r,s){var n=this[r.method];n?n.call(this,e,s):this._warn(this._logf("_observerEffect","observer method `"+r.method+"` not defined"))},_complexObserverEffect:function(t,e,r){var s=this[r.method];if(s){var n=Polymer.Bind._marshalArgs(this.__data__,r,t,e);n&&s.apply(this,n)}else this._warn(this._logf("_complexObserverEffect","observer method `"+r.method+"` not defined"))},_computeEffect:function(t,e,r){var s=Polymer.Bind._marshalArgs(this.__data__,r,t,e);if(s){var n=this[r.method];n?this.__setProperty(r.property,n.apply(this,s)):this._warn(this._logf("_computeEffect","compute method `"+r.method+"` not defined"))}},_annotatedComputationEffect:function(t,e,r){var s=this._rootDataHost||this,n=s[r.method];if(n){var i=Polymer.Bind._marshalArgs(this.__data__,r,t,e);if(i){var o=n.apply(s,i);r.negate&&(o=!o),this._applyEffectValue(o,r)}}else s._warn(s._logf("_annotatedComputationEffect","compute method `"+r.method+"` not defined"))},_marshalArgs:function(t,e,r,s){for(var n=[],i=e.args,o=0,a=i.length;a>o;o++){var l,c=i[o],h=c.name;if(l=c.literal?c.value:c.structured?Polymer.Base.get(h,t):t[h],i.length>1&&void 0===l)return;if(c.wildcard){var u=0===h.indexOf(r+"."),f=0===e.trigger.name.indexOf(h)&&!u;n[o]={path:f?r:h,value:f?s:l,base:l}}else n[o]=l}return n}}),Polymer.Base._addFeature({_addPropertyEffect:function(t,e,r){Polymer.Bind.addPropertyEffect(this,t,e,r)},_prepEffects:function(){Polymer.Bind.prepareModel(this),this._addAnnotationEffects(this._notes)},_prepBindings:function(){Polymer.Bind.createBindings(this)},_addPropertyEffects:function(t){if(t)for(var e in t){var r=t[e];r.observer&&this._addObserverEffect(e,r.observer),r.computed&&(r.readOnly=!0,this._addComputedEffect(e,r.computed)),r.notify&&this._addPropertyEffect(e,"notify"),r.reflectToAttribute&&this._addPropertyEffect(e,"reflect"),r.readOnly&&Polymer.Bind.ensurePropertyEffects(this,e)}},_addComputedEffect:function(t,e){var r=this._parseMethod(e);r.args.forEach(function(e){this._addPropertyEffect(e.model,"compute",{method:r.method,args:r.args,trigger:e,property:t})},this)},_addObserverEffect:function(t,e){this._addPropertyEffect(t,"observer",{method:e,property:t})},_addComplexObserverEffects:function(t){t&&t.forEach(function(t){this._addComplexObserverEffect(t)},this)},_addComplexObserverEffect:function(t){var e=this._parseMethod(t);e.args.forEach(function(t){this._addPropertyEffect(t.model,"complexObserver",{method:e.method,args:e.args,trigger:t})},this)},_addAnnotationEffects:function(t){this._nodes=[],t.forEach(function(t){var e=this._nodes.push(t)-1;t.bindings.forEach(function(t){this._addAnnotationEffect(t,e)},this)},this)},_addAnnotationEffect:function(t,e){Polymer.Bind._shouldAddListener(t)&&Polymer.Bind._addAnnotatedListener(this,e,t.name,t.value,t.event),t.signature?this._addAnnotatedComputationEffect(t,e):(t.index=e,this._addPropertyEffect(t.model,"annotation",t))},_addAnnotatedComputationEffect:function(t,e){var r=t.signature;r["static"]?this.__addAnnotatedComputationEffect("__static__",e,t,r,null):r.args.forEach(function(s){s.literal||this.__addAnnotatedComputationEffect(s.model,e,t,r,s)},this)},__addAnnotatedComputationEffect:function(t,e,r,s,n){this._addPropertyEffect(t,"annotatedComputation",{index:e,kind:r.kind,property:r.name,negate:r.negate,method:s.method,args:s.args,trigger:n})},_parseMethod:function(t){var e=t.match(/(\w*)\((.*)\)/);if(e){var r={method:e[1],"static":!0};if(e[2].trim()){var s=e[2].replace(/\\,/g,",").split(",");return this._parseArgs(s,r)}return r.args=Polymer.nar,r}},_parseArgs:function(t,e){return e.args=t.map(function(t){var r=this._parseArg(t);return r.literal||(e["static"]=!1),r},this),e},_parseArg:function(t){var e=t.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),r={name:e,model:this._modelForPath(e)},s=e[0];switch(s>="0"&&"9">=s&&(s="#"),s){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.structured=e.indexOf(".")>0,r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r},_marshalInstanceEffects:function(){Polymer.Bind.prepareInstance(this),Polymer.Bind.setupBindListeners(this)},_applyEffectValue:function(t,e){var r=this._nodes[e.index],s=e.property||e.name||"textContent";return"attribute"!=e.kind?("className"===s&&(t=this._scopeElementClass(r,t)),("textContent"===s||"input"==r.localName&&"value"==s)&&(t=void 0==t?"":t),r[s]=t):void this.serializeValueToAttribute(t,s,r)},_executeStaticEffects:function(){this._propertyEffects.__static__&&this._effectEffects("__static__",null,this._propertyEffects.__static__)}}),Polymer.Base._addFeature({_setupConfigure:function(t){this._config=t||{},this._handlers=[]},_marshalAttributes:function(){this._takeAttributesToModel(this._config)},_configValue:function(t,e){this._config[t]=e},_beforeClientsReady:function(){this._configure()},_configure:function(){this._configureAnnotationReferences(),this._aboveConfig=this.mixin({},this._config);var t={};this.behaviors.forEach(function(e){this._configureProperties(e.properties,t)},this),this._configureProperties(this.properties,t),this._mixinConfigure(t,this._aboveConfig),this._config=t,this._distributeConfig(this._config)},_configureProperties:function(t,e){for(var r in t){var s=t[r];if(void 0!==s.value){var n=s.value;"function"==typeof n&&(n=n.call(this,this._config)),e[r]=n}}},_mixinConfigure:function(t,e){for(var r in e)this.getPropertyInfo(r).readOnly||(t[r]=e[r])},_distributeConfig:function(t){var e=this._propertyEffects;if(e)for(var r in t){var s=e[r];if(s)for(var n,i=0,o=s.length;o>i&&(n=s[i]);i++)if("annotation"===n.kind){var a=this._nodes[n.effect.index];if(a._configValue){var l=r===n.effect.value?t[r]:this.get(n.effect.value,t);a._configValue(n.effect.name,l)}}}},_afterClientsReady:function(){this._executeStaticEffects(),this._applyConfig(this._config,this._aboveConfig),this._flushHandlers()},_applyConfig:function(t,e){for(var r in t)void 0===this[r]&&this.__setProperty(r,t[r],r in e)},_notifyListener:function(t,e){return this._clientsReadied?t.call(this,e,e.target):void this._queueHandler([t,e,e.target])},_queueHandler:function(t){this._handlers.push(t)},_flushHandlers:function(){for(var t,e=this._handlers,r=0,s=e.length;s>r&&(t=e[r]);r++)t[0].call(this,t[1],t[2])}}),function(){"use strict";Polymer.Base._addFeature({notifyPath:function(t,e,r){var s=this._propertySetter(t,e);return s===e||s!==s&&e!==e?void 0:(this._pathEffector(t,e),r||this._notifyPath(t,e),!0)},_getPathParts:function(t){if(Array.isArray(t)){for(var e=[],r=0;r<t.length;r++)for(var s=t[r].toString().split("."),n=0;n<s.length;n++)e.push(s[n]);return e}return t.toString().split(".")},set:function(t,e,r){var s,n=r||this,i=this._getPathParts(t),o=i[i.length-1];if(i.length>1){for(var a=0;a<i.length-1;a++){if(n=n[i[a]],s&&(i[a]=Polymer.Collection.get(s).getKey(n)),!n)return;s=Array.isArray(n)?n:null}if(s){var l=Polymer.Collection.get(s),c=n[o],h=l.getKey(c);h&&(i[a]=h,l.setItem(h,e))}n[o]=e,r||this.notifyPath(i.join("."),e)}else n[t]=e},get:function(t,e){for(var r=e||this,s=this._getPathParts(t),n=s.pop();s.length;)if(r=r[s.shift()],!r)return;return r[n]},_pathEffector:function(t,e){var r=this._modelForPath(t),s=this._propertyEffects[r];s&&s.forEach(function(r){var s=this["_"+r.kind+"PathEffect"];s&&s.call(this,t,e,r.effect)},this),this._boundPaths&&this._notifyBoundPaths(t,e)},_annotationPathEffect:function(t,e,r){if(r.value===t||0===r.value.indexOf(t+"."))Polymer.Bind._annotationEffect.call(this,t,e,r);else if(0===t.indexOf(r.value+".")&&!r.negate){var s=this._nodes[r.index];if(s&&s.notifyPath){var n=this._fixPath(r.name,r.value,t);s.notifyPath(n,e,!0)}}},_complexObserverPathEffect:function(t,e,r){this._pathMatchesEffect(t,r)&&Polymer.Bind._complexObserverEffect.call(this,t,e,r)},_computePathEffect:function(t,e,r){this._pathMatchesEffect(t,r)&&Polymer.Bind._computeEffect.call(this,t,e,r)},_annotatedComputationPathEffect:function(t,e,r){this._pathMatchesEffect(t,r)&&Polymer.Bind._annotatedComputationEffect.call(this,t,e,r)},_pathMatchesEffect:function(t,e){var r=e.trigger.name;return r==t||0===r.indexOf(t+".")||e.trigger.wildcard&&0===t.indexOf(r)},linkPaths:function(t,e){this._boundPaths=this._boundPaths||{},e?this._boundPaths[t]=e:this.unbindPath(t)},unlinkPaths:function(t){this._boundPaths&&delete this._boundPaths[t]},_notifyBoundPaths:function(t,e){var r,s;for(var n in this._boundPaths){var i=this._boundPaths[n];if(0==t.indexOf(n+".")){r=n,s=i;break}if(0==t.indexOf(i+".")){r=i,s=n;break}}if(r&&s){var o=this._fixPath(s,r,t);this.notifyPath(o,e)}},_fixPath:function(t,e,r){return t+r.slice(e.length)},_notifyPath:function(t,e){var r=this._modelForPath(t),s=Polymer.CaseMap.camelToDashCase(r),n=s+this._EVENT_CHANGED;this.fire(n,{path:t,value:e},{bubbles:!1})},_modelForPath:function(t){var e=t.indexOf(".");return 0>e?t:t.slice(0,e)},_EVENT_CHANGED:"-changed",_notifySplice:function(t,e,r,s,n){var i=[{index:r,addedCount:s,removed:n,object:t,type:"splice"}],o={keySplices:Polymer.Collection.applySplices(t,i),indexSplices:i};this.set(e+".splices",o),s!=n.length&&this.notifyPath(e+".length",t.length),o.keySplices=null,o.indexSplices=null},push:function(t){var e=this.get(t),r=Array.prototype.slice.call(arguments,1),s=e.length,n=e.push.apply(e,r);return this._notifySplice(e,t,s,r.length,[]),n},pop:function(t){var e=this.get(t),r=Array.prototype.slice.call(arguments,1),s=e.slice(-1),n=e.pop.apply(e,r);return this._notifySplice(e,t,e.length,0,s),n},splice:function(t,e,r){var s=this.get(t),n=Array.prototype.slice.call(arguments,1),i=s.splice.apply(s,n);return this._notifySplice(s,t,e,n.length-2,i),i},shift:function(t){var e=this.get(t),r=Array.prototype.slice.call(arguments,1),s=e.shift.apply(e,r);return this._notifySplice(e,t,0,0,[s]),s},unshift:function(t){var e=this.get(t),r=Array.prototype.slice.call(arguments,1),s=e.unshift.apply(e,r);return this._notifySplice(e,t,0,r.length,[]),s}})}(),Polymer.Base._addFeature({resolveUrl:function(t){var e=Polymer.DomModule["import"](this.is),r="";if(e){var s=e.getAttribute("assetpath")||"";r=Polymer.ResolveUrl.resolveUrl(s,e.ownerDocument.baseURI)}return Polymer.ResolveUrl.resolveUrl(t,r)}}),Polymer.CssParse=function(){function t(t){return t[0].selector.indexOf(s)>=0}function e(t){return t.replace(o.customProp,"").replace(o.mixinProp,"").replace(o.mixinApply,"").replace(o.varApply,"")}var r={parse:function(t){return t=this._clean(t),this._parseCss(this._lex(t),t)},_clean:function(t){return t.replace(o.comments,"").replace(o.port,"")},_lex:function(t){for(var e={start:0,end:t.length},r=e,s=0,n=t.length;n>s;s++)switch(t[s]){case this.OPEN_BRACE:r.rules||(r.rules=[]);var i=r,o=i.rules[i.rules.length-1];r={start:s+1,parent:i,previous:o},i.rules.push(r);break;case this.CLOSE_BRACE:r.end=s+1,r=r.parent||e}return e},_parseCss:function(t,e){var r=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var a=t.previous?t.previous.end:t.parent.start;r=e.substring(a,t.start-1),r=r.substring(r.lastIndexOf(";")+1);var l=t.parsedSelector=t.selector=r.trim();t.atRule=0===l.indexOf(i),t.atRule?0===l.indexOf(n)?t.type=this.types.MEDIA_RULE:l.match(o.keyframesRule)&&(t.type=this.types.KEYFRAMES_RULE):0===l.indexOf(s)?t.type=this.types.MIXIN_RULE:t.type=this.types.STYLE_RULE}var c=t.rules;if(c)for(var h,u=0,f=c.length;f>u&&(h=c[u]);u++)this._parseCss(h,e);return t},stringify:function(r,s,n){n=n||"";var i="";if(r.cssText||r.rules){var o=r.rules;if(!o||!s&&t(o))i=s?r.cssText:e(r.cssText),i=i.trim(),i&&(i=" "+i+"\n");else for(var a,l=0,c=o.length;c>l&&(a=o[l]);l++)i=this.stringify(a,s,i)}return i&&(r.selector&&(n+=r.selector+" "+this.OPEN_BRACE+"\n"),n+=i,r.selector&&(n+=this.CLOSE_BRACE+"\n\n")),n},types:{STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE:"{",CLOSE_BRACE:"}"},s="--",n="@media",i="@",o={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/};return r}(),Polymer.StyleUtil=function(){return{MODULE_STYLES_SELECTOR:"style, link[rel=import][type~=css]",toCssText:function(t,e,r){return"string"==typeof t&&(t=this.parser.parse(t)),e&&this.forEachStyleRule(t,e),this.parser.stringify(t,r)},forRulesInStyles:function(t,e){for(var r,s=0,n=t.length;n>s&&(r=t[s]);s++)this.forEachStyleRule(this.rulesForStyle(r),e)},rulesForStyle:function(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=this.parser.parse(t.textContent)),
|
||
t.__cssRules},clearStyleRules:function(t){t.__cssRules=null},forEachStyleRule:function(t,e){var r=(t.selector,!1);t.type===this.ruleTypes.STYLE_RULE?e(t):(t.type===this.ruleTypes.KEYFRAMES_RULE||t.type===this.ruleTypes.MIXIN_RULE)&&(r=!0);var s=t.rules;if(s&&!r)for(var n,i=0,o=s.length;o>i&&(n=s[i]);i++)this.forEachStyleRule(n,e)},applyCss:function(t,e,r,s){var n=document.createElement("style");if(e&&n.setAttribute("scope",e),n.textContent=t,r=r||document.head,!s){var i=r.querySelectorAll("style[scope]");s=i[i.length-1]}return r.insertBefore(n,s&&s.nextSibling||r.firstChild),n},cssFromModule:function(t){var e=Polymer.DomModule["import"](t);if(e&&!e._cssText){for(var r,s="",n=Array.prototype.slice.call(e.querySelectorAll(this.MODULE_STYLES_SELECTOR)),i=0;i<n.length;i++)r=n[i],"style"===r.localName?(r=r.__appliedElement||r,r.parentNode.removeChild(r)):r=r["import"]&&r["import"].body,r&&(s+=Polymer.ResolveUrl.resolveCss(r.textContent,r.ownerDocument));e._cssText=s}return e&&e._cssText||""},parser:Polymer.CssParse,ruleTypes:Polymer.CssParse.types}}(),Polymer.StyleTransformer=function(){var t=Polymer.Settings.useNativeShadow,e=Polymer.StyleUtil,r={dom:function(t,e,r,s){this._transformDom(t,e||"",r,s)},_transformDom:function(t,e,r,s){t.setAttribute&&this.element(t,e,r,s);for(var n=Polymer.dom(t).childNodes,i=0;i<n.length;i++)this._transformDom(n[i],e,r,s)},element:function(t,e,r,n){if(r)n?t.removeAttribute(s):t.setAttribute(s,e);else if(e)if(t.classList)n?(t.classList.remove(s),t.classList.remove(e)):(t.classList.add(s),t.classList.add(e));else if(t.getAttribute){var i=t.getAttribute(v);n?i&&t.setAttribute(v,i.replace(s,"").replace(e,"")):t.setAttribute(v,i+(i?" ":"")+s+" "+e)}},elementStyles:function(r,s){for(var n,i=r._styles,o="",a=0,l=i.length;l>a&&(n=i[a]);a++){var c=e.rulesForStyle(n);o+=t?e.toCssText(c,s):this.css(c,r.is,r["extends"],s,r._scopeCssViaAttr)+"\n\n"}return o.trim()},css:function(t,r,s,n,i){var o=this._calcHostScope(r,s);r=this._calcElementScope(r,i);var a=this;return e.toCssText(t,function(t){t.isScoped||(a.rule(t,r,o),t.isScoped=!0),n&&n(t,r,o)})},_calcElementScope:function(t,e){return t?e?_+t+m:d+t:""},_calcHostScope:function(t,e){return e?"[is="+t+"]":t},rule:function(t,e,r){this._transformRule(t,this._transformComplexSelector,e,r)},_transformRule:function(t,e,r,s){for(var n,o=t.selector.split(i),a=0,l=o.length;l>a&&(n=o[a]);a++)o[a]=e.call(this,n,r,s);t.selector=o.join(i)},_transformComplexSelector:function(t,e,r){var s=!1,n=!1,a=this;return t=t.replace(o,function(t,i,o){if(s)o=o.replace(p," ");else{var l=a._transformCompoundSelector(o,i,e,r);s=s||l.stop,n=n||l.hostContext,i=l.combinator,o=l.value}return i+o}),n&&(t=t.replace(u,function(t,e,s,n){return e+s+" "+r+n+i+" "+e+r+s+n})),t},_transformCompoundSelector:function(t,e,r,s){var n=t.search(p),i=!1;t.indexOf(h)>=0?i=!0:t.indexOf(a)>=0?(t=t.replace(c,function(t,e,r){return s+r}),t=t.replace(a,s)):0!==n&&(t=r?this._transformSimpleSelector(t,r):t),t.indexOf(f)>=0&&(e="");var o;return n>=0&&(t=t.replace(p," "),o=!0),{value:t,combinator:e,stop:o,hostContext:i}},_transformSimpleSelector:function(t,e){var r=t.split(y);return r[0]+=e,r.join(y)},documentRule:function(e){e.selector=e.parsedSelector,this.normalizeRootSelector(e),t||this._transformRule(e,this._transformDocumentSelector)},normalizeRootSelector:function(t){t.selector===l&&(t.selector="body")},_transformDocumentSelector:function(t){return t.match(p)?this._transformComplexSelector(t,n):this._transformSimpleSelector(t.trim(),n)},SCOPE_NAME:"style-scope"},s=r.SCOPE_NAME,n=":not(["+s+"]):not(."+s+")",i=",",o=/(^|[\s>+~]+)([^\s>+~]+)/g,a=":host",l=":root",c=/(\:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g,h=":host-context",u=/(.*)(?:\:host-context)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))(.*)/,f="::content",p=/\:\:content|\:\:shadow|\/deep\//,d=".",_="["+s+"~=",m="]",y=":",v="class";return r}(),Polymer.StyleExtends=function(){var t=Polymer.StyleUtil;return{hasExtends:function(t){return Boolean(t.match(this.rx.EXTEND))},transform:function(e){var r=t.rulesForStyle(e),s=this;return t.forEachStyleRule(r,function(t){s._mapRule(t);if(t.parent)for(var e;e=s.rx.EXTEND.exec(t.cssText);){var r=e[1],n=s._findExtendor(r,t);n&&s._extendRule(t,n)}t.cssText=t.cssText.replace(s.rx.EXTEND,"")}),t.toCssText(r,function(t){t.selector.match(s.rx.STRIP)&&(t.cssText="")},!0)},_mapRule:function(t){if(t.parent){for(var e,r=t.parent.map||(t.parent.map={}),s=t.selector.split(","),n=0;n<s.length;n++)e=s[n],r[e.trim()]=t;return r}},_findExtendor:function(t,e){return e.parent&&e.parent.map&&e.parent.map[t]||this._findExtendor(t,e.parent)},_extendRule:function(t,e){t.parent!==e.parent&&this._cloneAndAddRuleToParent(e,t.parent),t["extends"]=t["extends"]||(t["extends"]=[]),t["extends"].push(e),e.selector=e.selector.replace(this.rx.STRIP,""),e.selector=(e.selector&&e.selector+",\n")+t.selector,e["extends"]&&e["extends"].forEach(function(e){this._extendRule(t,e)},this)},_cloneAndAddRuleToParent:function(t,e){t=Object.create(t),t.parent=e,t["extends"]&&(t["extends"]=t["extends"].slice()),e.rules.push(t)},rx:{EXTEND:/@extends\(([^)]*)\)\s*?;/gim,STRIP:/%[^,]*$/}}}(),function(){var t=Polymer.Base._prepElement,e=Polymer.Settings.useNativeShadow,r=Polymer.StyleUtil,s=Polymer.StyleTransformer,n=Polymer.StyleExtends;Polymer.Base._addFeature({_prepElement:function(e){this._encapsulateStyle&&s.element(e,this.is,this._scopeCssViaAttr),t.call(this,e)},_prepStyles:function(){void 0===this._encapsulateStyle&&(this._encapsulateStyle=!e&&Boolean(this._template)),this._styles=this._collectStyles();var t=s.elementStyles(this);if(t&&this._template){var n=r.applyCss(t,this.is,e?this._template.content:null);e||(this._scopeStyle=n)}},_collectStyles:function(){var t=[],e="",s=this.styleModules;if(s)for(var i,o=0,a=s.length;a>o&&(i=s[o]);o++)e+=r.cssFromModule(i);if(e+=r.cssFromModule(this.is)){var l=document.createElement("style");l.textContent=e,n.hasExtends(l.textContent)&&(e=n.transform(l)),t.push(l)}return t},_elementAdd:function(t){this._encapsulateStyle&&(t.__styleScoped?t.__styleScoped=!1:s.dom(t,this.is,this._scopeCssViaAttr))},_elementRemove:function(t){this._encapsulateStyle&&s.dom(t,this.is,this._scopeCssViaAttr,!0)},scopeSubtree:function(t,r){if(!e){var s=this,n=function(t){if(t.nodeType===Node.ELEMENT_NODE){t.className=s._scopeElementClass(t,t.className);var e=t.querySelectorAll("*");Array.prototype.forEach.call(e,function(t){t.className=s._scopeElementClass(t,t.className)})}};if(n(t),r){var i=new MutationObserver(function(t){t.forEach(function(t){if(t.addedNodes)for(var e=0;e<t.addedNodes.length;e++)n(t.addedNodes[e])})});return i.observe(t,{childList:!0,subtree:!0}),i}}}})}(),Polymer.StyleProperties=function(){"use strict";function t(t,e){var r=parseInt(t/32),s=1<<t%32;e[r]=(e[r]||0)|s}var e=Polymer.Settings.useNativeShadow,r=Polymer.DomApi.matchesSelector,s=Polymer.StyleUtil,n=Polymer.StyleTransformer;return{decorateStyles:function(t){var e=this,r={};s.forRulesInStyles(t,function(t){e.decorateRule(t),e.collectPropertiesInCssText(t.propertyInfo.cssText,r)});var n=[];for(var i in r)n.push(i);return n},decorateRule:function(t){if(t.propertyInfo)return t.propertyInfo;var e={},r={},s=this.collectProperties(t,r);return s&&(e.properties=r,t.rules=null),e.cssText=this.collectCssText(t),t.propertyInfo=e,e},collectProperties:function(t,e){var r=t.propertyInfo;if(!r){for(var s,n,i=this.rx.VAR_ASSIGN,o=t.parsedCssText;s=i.exec(o);)e[s[1]]=(s[2]||s[3]).trim(),n=!0;return n}return r.properties?(Polymer.Base.mixin(e,r.properties),!0):void 0},collectCssText:function(t){var e="",r=t.parsedCssText;r=r.replace(this.rx.BRACKETED,"").replace(this.rx.VAR_ASSIGN,"");for(var s,n=r.split(";"),i=0;i<n.length;i++)s=n[i],(s.match(this.rx.MIXIN_MATCH)||s.match(this.rx.VAR_MATCH))&&(e+=s+";\n");return e},collectPropertiesInCssText:function(t,e){for(var r;r=this.rx.VAR_CAPTURE.exec(t);){e[r[1]]=!0;var s=r[2];s&&s.match(this.rx.IS_VAR)&&(e[s]=!0)}},reify:function(t){for(var e,r=Object.getOwnPropertyNames(t),s=0;s<r.length;s++)e=r[s],t[e]=this.valueForProperty(t[e],t)},valueForProperty:function(t,e){if(t)if(t.indexOf(";")>=0)t=this.valueForProperties(t,e);else{var r=this,s=function(t,s,n,i){var o=r.valueForProperty(e[n],e)||(e[i]?r.valueForProperty(e[i],e):i);return s+(o||"")};t=t.replace(this.rx.VAR_MATCH,s)}return t&&t.trim()||""},valueForProperties:function(t,e){for(var r,s,n=t.split(";"),i=0;i<n.length&&(r=n[i]);i++){if(s=r.match(this.rx.MIXIN_MATCH))r=this.valueForProperty(e[s[1]],e);else{var o=r.split(":");o[1]&&(o[1]=o[1].trim(),o[1]=this.valueForProperty(o[1],e)||o[1]),r=o.join(":")}n[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return n.join(";")},applyProperties:function(t,e){var r="";t.propertyInfo||this.decorateRule(t),t.propertyInfo.cssText&&(r=this.valueForProperties(t.propertyInfo.cssText,e)),t.cssText=r},propertyDataFromStyles:function(e,n){var i={},o=this,a=[],l=0;return s.forRulesInStyles(e,function(e){e.propertyInfo||o.decorateRule(e),n&&e.propertyInfo.properties&&r.call(n,e.selector)&&(o.collectProperties(e,i),t(l,a)),l++}),{properties:i,key:a}},scopePropertiesFromStyles:function(t){return t._scopeStyleProperties||(t._scopeStyleProperties=this.selectedPropertiesFromStyles(t,this.SCOPE_SELECTORS)),t._scopeStyleProperties},hostPropertiesFromStyles:function(t){return t._hostStyleProperties||(t._hostStyleProperties=this.selectedPropertiesFromStyles(t,this.HOST_SELECTORS)),t._hostStyleProperties},selectedPropertiesFromStyles:function(t,e){var r={},n=this;return s.forRulesInStyles(t,function(t){t.propertyInfo||n.decorateRule(t);for(var s=0;s<e.length;s++)if(t.parsedSelector===e[s])return void n.collectProperties(t,r)}),r},transformStyles:function(t,r,s){var i=this,o=n._calcHostScope(t.is,t["extends"]),a=t["extends"]?"\\"+o.slice(0,-1)+"\\]":o,l=new RegExp(this.rx.HOST_PREFIX+a+this.rx.HOST_SUFFIX);return n.elementStyles(t,function(n){i.applyProperties(n,r),n.cssText&&!e&&i._scopeSelector(n,l,o,t._scopeCssViaAttr,s)})},_scopeSelector:function(t,e,r,s,i){t.transformedSelector=t.transformedSelector||t.selector;for(var o,a=t.transformedSelector,l=s?"["+n.SCOPE_NAME+"~="+i+"]":"."+i,c=a.split(","),h=0,u=c.length;u>h&&(o=c[h]);h++)c[h]=o.match(e)?o.replace(r,r+l):l+" "+o;t.selector=c.join(",")},applyElementScopeSelector:function(t,e,r,s){var i=s?t.getAttribute(n.SCOPE_NAME):t.className,o=r?i.replace(r,e):(i?i+" ":"")+this.XSCOPE_NAME+" "+e;i!==o&&(s?t.setAttribute(n.SCOPE_NAME,o):t.className=o)},applyElementStyle:function(t,r,n,i){var o=i?i.textContent||"":this.transformStyles(t,r,n),a=t._customStyle;return a&&!e&&a!==i&&(a._useCount--,a._useCount<=0&&a.parentNode&&a.parentNode.removeChild(a)),!e&&i&&i.parentNode||(e&&t._customStyle?(t._customStyle.textContent=o,i=t._customStyle):o&&(i=s.applyCss(o,n,e?t.root:null,t._scopeStyle))),i&&(i._useCount=i._useCount||0,t._customStyle!=i&&i._useCount++,t._customStyle=i),i},mixinCustomStyle:function(t,e){var r;for(var s in e)r=e[s],(r||0===r)&&(t[s]=r)},rx:{VAR_ASSIGN:/(?:^|[;\n]\s*)(--[\w-]*?):\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\n])|$)/gi,MIXIN_MATCH:/(?:^|\W+)@apply[\s]*\(([^)]*)\)/i,VAR_MATCH:/(^|\W+)var\([\s]*([^,)]*)[\s]*,?[\s]*((?:[^,)]*)|(?:[^;]*\([^;)]*\)))[\s]*?\)/gi,VAR_CAPTURE:/\([\s]*(--[^,\s)]*)(?:,[\s]*(--[^,\s)]*))?(?:\)|,)/gi,IS_VAR:/^--/,BRACKETED:/\{[^}]*\}/g,HOST_PREFIX:"(?:^|[^.#[:])",HOST_SUFFIX:"($|[.:[\\s>+~])"},HOST_SELECTORS:[":host"],SCOPE_SELECTORS:[":root"],XSCOPE_NAME:"x-scope"}}(),function(){Polymer.StyleCache=function(){this.cache={}},Polymer.StyleCache.prototype={MAX:100,store:function(t,e,r,s){e.keyValues=r,e.styles=s;var n=this.cache[t]=this.cache[t]||[];n.push(e),n.length>this.MAX&&n.shift()},retrieve:function(t,e,r){var s=this.cache[t];if(s)for(var n,i=s.length-1;i>=0;i--)if(n=s[i],r===n.styles&&this._objectsEqual(e,n.keyValues))return n},clear:function(){this.cache={}},_objectsEqual:function(t,e){var r,s;for(var n in t)if(r=t[n],s=e[n],!("object"==typeof r&&r?this._objectsStrictlyEqual(r,s):r===s))return!1;return Array.isArray(t)?t.length===e.length:!0},_objectsStrictlyEqual:function(t,e){return this._objectsEqual(t,e)&&this._objectsEqual(e,t)}}}(),Polymer.StyleDefaults=function(){var t=Polymer.StyleProperties,e=(Polymer.StyleUtil,Polymer.StyleCache),r={_styles:[],_properties:null,customStyle:{},_styleCache:new e,addStyle:function(t){this._styles.push(t),this._properties=null},get _styleProperties(){return this._properties||(t.decorateStyles(this._styles),this._styles._scopeStyleProperties=null,this._properties=t.scopePropertiesFromStyles(this._styles),t.mixinCustomStyle(this._properties,this.customStyle),t.reify(this._properties)),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 e,r=0;r<this._styles.length;r++)e=this._styles[r],e=e.__importElement||e,e._apply()}};return r}(),function(){"use strict";var t=Polymer.Base.serializeValueToAttribute,e=Polymer.StyleProperties,r=Polymer.StyleTransformer,s=(Polymer.StyleUtil,Polymer.StyleDefaults),n=Polymer.Settings.useNativeShadow;Polymer.Base._addFeature({_prepStyleProperties:function(){this._ownStylePropertyNames=this._styles?e.decorateStyles(this._styles):[]},_setupStyleProperties:function(){this.customStyle={}},_needsStyleProperties:function(){return Boolean(this._ownStylePropertyNames&&this._ownStylePropertyNames.length)},_beforeAttached:function(){!this._scopeSelector&&this._needsStyleProperties()&&this._updateStyleProperties()},_updateStyleProperties:function(){var t,r=this.domHost||s;r._styleCache||(r._styleCache=new Polymer.StyleCache);var o=e.propertyDataFromStyles(r._styles,this);o.key.customStyle=this.customStyle,t=r._styleCache.retrieve(this.is,o.key,this._styles);var a=Boolean(t);a?this._styleProperties=t._styleProperties:this._computeStyleProperties(o.properties),this._computeOwnStyleProperties(),a||(t=i.retrieve(this.is,this._ownStyleProperties,this._styles));var l=Boolean(t)&&!a,c=this._applyStyleProperties(t);a||(c=c&&n?c.cloneNode(!0):c,t={style:c,_scopeSelector:this._scopeSelector,_styleProperties:this._styleProperties},o.key.customStyle={},this.mixin(o.key.customStyle,this.customStyle),r._styleCache.store(this.is,t,o.key,this._styles),l||i.store(this.is,Object.create(t),this._ownStyleProperties,this._styles))},_computeStyleProperties:function(t){var r=this.domHost||s;r._styleProperties||r._computeStyleProperties();var n=Object.create(r._styleProperties);this.mixin(n,e.hostPropertiesFromStyles(this._styles)),t=t||e.propertyDataFromStyles(r._styles,this).properties,this.mixin(n,t),this.mixin(n,e.scopePropertiesFromStyles(this._styles)),e.mixinCustomStyle(n,this.customStyle),e.reify(n),this._styleProperties=n},_computeOwnStyleProperties:function(){for(var t,e={},r=0;r<this._ownStylePropertyNames.length;r++)t=this._ownStylePropertyNames[r],e[t]=this._styleProperties[t];this._ownStyleProperties=e},_scopeCount:0,_applyStyleProperties:function(t){var r=this._scopeSelector;this._scopeSelector=t?t._scopeSelector:this.is+"-"+this.__proto__._scopeCount++;var s=e.applyElementStyle(this,this._styleProperties,this._scopeSelector,t&&t.style);return n||e.applyElementScopeSelector(this,this._scopeSelector,r,this._scopeCssViaAttr),s},serializeValueToAttribute:function(e,r,s){if(s=s||this,"class"===r){var n=s===this?this.domHost||this.dataHost:this;n&&(e=n._scopeElementClass(s,e))}s=Polymer.dom(s),t.call(this,e,r,s)},_scopeElementClass:function(t,e){return n||this._scopeCssViaAttr||(e+=(e?" ":"")+o+" "+this.is+(t._scopeSelector?" "+a+" "+t._scopeSelector:"")),e},updateStyles:function(t){this.isAttached&&(t&&this.mixin(this.customStyle,t),this._needsStyleProperties()?this._updateStyleProperties():this._styleProperties=null,this._styleCache&&this._styleCache.clear(),this._updateRootStyles())},_updateRootStyles:function(t){t=t||this.root;for(var e,r=Polymer.dom(t)._query(function(t){return t.shadyRoot||t.shadowRoot}),s=0,n=r.length;n>s&&(e=r[s]);s++)e.updateStyles&&e.updateStyles()}}),Polymer.updateStyles=function(t){s.updateStyles(t),Polymer.Base._updateRootStyles(document)};var i=new Polymer.StyleCache;Polymer.customStyleCache=i;var o=r.SCOPE_NAME,a=e.XSCOPE_NAME}(),Polymer.Base._addFeature({_registerFeatures:function(){this._prepIs(),this._prepAttributes(),this._prepExtends(),this._prepConstructor(),this._prepTemplate(),this._prepStyles(),this._prepStyleProperties(),this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepBindings(),this._prepShady()},_prepBehavior:function(t){this._addPropertyEffects(t.properties),this._addComplexObserverEffects(t.observers),this._addHostAttributes(t.hostAttributes)},_initFeatures:function(){this._poolContent(),this._setupConfigure(),this._setupStyleProperties(),this._pushHost(),this._stampTemplate(),this._popHost(),this._marshalAnnotationReferences(),this._marshalHostAttributes(),this._setupDebouncers(),this._marshalInstanceEffects(),this._marshalBehaviors(),this._marshalAttributes(),this._tryReady()},_marshalBehavior:function(t){this._listenListeners(t.listeners)}}),function(){var t=(Polymer.Settings.useNativeShadow,Polymer.StyleProperties),e=Polymer.StyleUtil,r=Polymer.StyleDefaults,s=Polymer.StyleTransformer;Polymer({is:"custom-style","extends":"style",created:function(){this._tryApply()},attached:function(){this._tryApply()},_tryApply:function(){if(!this._appliesToDocument&&this.parentNode&&"dom-module"!==this.parentNode.localName){this._appliesToDocument=!0;var t=this.__appliedElement||this;if(r.addStyle(t),t.textContent)this._apply();else{var e=new MutationObserver(function(){e.disconnect(),this._apply()}.bind(this));e.observe(t,{childList:!0})}}},_apply:function(){var r=this.__appliedElement||this;this._computeStyleProperties();var n=this._styleProperties;r.textContent=e.toCssText(e.rulesForStyle(r),function(e){var r=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(r=r.replace(t.rx.VAR_ASSIGN,""),e.cssText=t.valueForProperties(r,n)),s.documentRule(e)})}})}(),Polymer.Templatizer={properties:{__hideTemplateChildren__:{observer:"_showHideChildren"}},_templatizerStatic:{count:0,callbacks:{},debouncer:null},_instanceProps:Polymer.nob,created:function(){this._templatizerId=this._templatizerStatic.count++},templatize:function(t){if(t._content||(t._content=t.content),t._content._ctor)return this.ctor=t._content._ctor,void this._prepParentProperties(this.ctor.prototype,t);var e=Object.create(Polymer.Base);this._customPrepAnnotations(e,t),e._prepEffects(),this._customPrepEffects(e),e._prepBehaviors(),e._prepBindings(),this._prepParentProperties(e,t),e._notifyPath=this._notifyPathImpl,e._scopeElementClass=this._scopeElementClassImpl,e.listen=this._listenImpl,e._showHideChildren=this._showHideChildrenImpl;var r=this._constructorImpl,s=function(t,e){r.call(this,t,e)};s.prototype=e,e.constructor=s,t._content._ctor=s,this.ctor=s},_getRootDataHost:function(){return this.dataHost&&this.dataHost._rootDataHost||this.dataHost},_showHideChildrenImpl:function(t){for(var e=this._children,r=0;r<e.length;r++){var s=e[r];s.style&&(s.style.display=t?"none":"",s.__hideTemplateChildren__=t)}},_debounceTemplate:function(t){this._templatizerStatic.callbacks[this._templatizerId]=t.bind(this),this._templatizerStatic.debouncer=Polymer.Debounce(this._templatizerStatic.debouncer,this._flushTemplates.bind(this,!0))},_flushTemplates:function(t){for(var e=this._templatizerStatic.debouncer;t||e&&e.finish;){e.stop();var r=this._templatizerStatic.callbacks;this._templatizerStatic.callbacks={};for(var s in r)r[s]();t=!1}},_customPrepEffects:function(t){var e=t._parentProps;for(var r in e)t._addPropertyEffect(r,"function",this._createHostPropEffector(r));for(var r in this._instanceProps)t._addPropertyEffect(r,"function",this._createInstancePropEffector(r))},_customPrepAnnotations:function(t,e){t._template=e;var r=e._content;if(!r._notes){var s=t._rootDataHost;s&&(Polymer.Annotations.prepElement=s._prepElement.bind(s)),r._notes=Polymer.Annotations.parseAnnotations(e),Polymer.Annotations.prepElement=null,this._processAnnotations(r._notes)}t._notes=r._notes,t._parentProps=r._parentProps},_prepParentProperties:function(t,e){var r=this._parentProps=t._parentProps;if(this._forwardParentProp&&r){var s,n=t._parentPropProto;if(!n){for(s in this._instanceProps)delete r[s];n=t._parentPropProto=Object.create(null),e!=this&&Polymer.Bind.prepareModel(n);for(s in r){var i="_parent_"+s,o=[{kind:"function",effect:this._createForwardPropEffector(s)},{kind:"notify"}];Polymer.Bind._createAccessors(n,i,o)}}e!=this&&(Polymer.Bind.prepareInstance(e),e._forwardParentProp=this._forwardParentProp.bind(this)),this._extendTemplate(e,n)}},_createForwardPropEffector:function(t){return function(e,r){this._forwardParentProp(t,r)}},_createHostPropEffector:function(t){return function(e,r){this.dataHost["_parent_"+t]=r}},_createInstancePropEffector:function(t){return function(e,r,s,n){n||this.dataHost._forwardInstanceProp(this,t,r)}},_extendTemplate:function(t,e){Object.getOwnPropertyNames(e).forEach(function(r){var s=t[r],n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n),void 0!==s&&t._propertySetter(r,s)})},_showHideChildren:function(t){},_forwardInstancePath:function(t,e,r){},_forwardInstanceProp:function(t,e,r){},_notifyPathImpl:function(t,e){var r=this.dataHost,s=t.indexOf("."),n=0>s?t:t.slice(0,s);r._forwardInstancePath.call(r,this,t,e),n in r._parentProps&&r.notifyPath("_parent_"+t,e)},_pathEffector:function(t,e,r){this._forwardParentPath&&0===t.indexOf("_parent_")&&this._forwardParentPath(t.substring(8),e),Polymer.Base._pathEffector.apply(this,arguments)},_constructorImpl:function(t,e){this._rootDataHost=e._getRootDataHost(),this._setupConfigure(t),this._pushHost(e),this.root=this.instanceTemplate(this._template),this.root.__noContent=!this._notes._hasContent,this.root.__styleScoped=!0,this._popHost(),this._marshalAnnotatedNodes(),this._marshalInstanceEffects(),this._marshalAnnotatedListeners();for(var r=[],s=this.root.firstChild;s;s=s.nextSibling)r.push(s),s._templateInstance=this;this._children=r,e.__hideTemplateChildren__&&this._showHideChildren(!0),this._tryReady()},_listenImpl:function(t,e,r){var s=this,n=this._rootDataHost,i=n._createEventHandler(t,e,r),o=function(t){t.model=s,i(t)};n._listen(t,e,o)},_scopeElementClassImpl:function(t,e){var r=this._rootDataHost;return r?r._scopeElementClass(t,e):void 0},stamp:function(t){if(t=t||{},this._parentProps)for(var e in this._parentProps)t[e]=this["_parent_"+e];return new this.ctor(t,this)},modelForElement:function(t){for(var e;t;)if(e=t._templateInstance){if(e.dataHost==this)return e;t=e.dataHost}else t=t.parentNode}},Polymer({is:"dom-template","extends":"template",behaviors:[Polymer.Templatizer],ready:function(){this.templatize(this)}}),Polymer._collections=new WeakMap,Polymer.Collection=function(t){Polymer._collections.set(t,this),this.userArray=t,this.store=t.slice(),this.initMap()},Polymer.Collection.prototype={constructor:Polymer.Collection,initMap:function(){for(var t=this.omap=new WeakMap,e=this.pmap={},r=this.store,s=0;s<r.length;s++){var n=r[s];n&&"object"==typeof n?t.set(n,s):e[n]=s}},add:function(t){var e=this.store.push(t)-1;return t&&"object"==typeof t?this.omap.set(t,e):this.pmap[t]=e,e},removeKey:function(t){this._removeFromMap(this.store[t]),delete this.store[t]},_removeFromMap:function(t){t&&"object"==typeof t?this.omap["delete"](t):delete this.pmap[t]},remove:function(t){var e=this.getKey(t);return this.removeKey(e),e},getKey:function(t){return t&&"object"==typeof t?this.omap.get(t):this.pmap[t]},getKeys:function(){return Object.keys(this.store)},setItem:function(t,e){var r=this.store[t];r&&this._removeFromMap(r),e&&"object"==typeof e?this.omap.set(e,t):this.pmap[e]=t,this.store[t]=e},getItem:function(t){return this.store[t]},getItems:function(){var t=[],e=this.store;for(var r in e)t.push(e[r]);return t},_applySplices:function(t){for(var e=[],r=0;r<t.length;r++){var s,n,i,o=t[r],a=[];for(s=0;s<o.removed.length;s++)n=o.removed[s],i=this.remove(n),a.push(i);var l=[];for(s=0;s<o.addedCount;s++)n=this.userArray[o.index+s],i=this.add(n),l.push(i);e.push({index:o.index,removed:a,removedItems:o.removed,added:l})}return e}},Polymer.Collection.get=function(t){return Polymer._collections.get(t)||new Polymer.Collection(t)},Polymer.Collection.applySplices=function(t,e){var r=Polymer._collections.get(t);return r?r._applySplices(e):null},Polymer({is:"dom-repeat","extends":"template",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},behaviors:[Polymer.Templatizer],observers:["_itemsChanged(items.*)"],detached:function(){if(this.rows)for(var t=0;t<this.rows.length;t++)this._detachRow(t)},attached:function(){if(this.rows)for(var t=Polymer.dom(this).parentNode,e=0;e<this.rows.length;e++)Polymer.dom(t).insertBefore(this.rows[e].root,this)},ready:function(){this._instanceProps={__key__:!0},this._instanceProps[this.as]=!0,this._instanceProps[this.indexAs]=!0,this.ctor||this.templatize(this)},_sortChanged:function(){var t=this._getRootDataHost(),e=this.sort;this._sortFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,arguments)}),this._fullRefresh=!0,this.items&&this._debounceTemplate(this._render)},_filterChanged:function(){var t=this._getRootDataHost(),e=this.filter;this._filterFn=e&&("function"==typeof e?e:function(){return t[e].apply(t,arguments)}),this._fullRefresh=!0,this.items&&this._debounceTemplate(this._render)},_observeChanged:function(){this._observePaths=this.observe&&this.observe.replace(".*",".").split(" ")},_itemsChanged:function(t){if("items"==t.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._splices=[],this._fullRefresh=!0,this._debounceTemplate(this._render);else if("items.splices"==t.path)this._splices=this._splices.concat(t.value.keySplices),this._debounceTemplate(this._render);else{var e=t.path.slice(6);this._forwardItemPath(e,t.value),this._checkObservedPaths(e)}},_checkObservedPaths:function(t){if(this._observePaths){t=t.substring(t.indexOf(".")+1);for(var e=this._observePaths,r=0;r<e.length;r++)if(0===t.indexOf(e[r]))return this._fullRefresh=!0,void(this.delay?this.debounce("render",this._render,this.delay):this._debounceTemplate(this._render))}},render:function(){this._fullRefresh=!0,this._debounceTemplate(this._render),this._flushTemplates()},_render:function(){var t=this.collection;this._fullRefresh||(this._sortFn?this._applySplicesViewSort(this._splices):this._filterFn?this._fullRefresh=!0:this._applySplicesArraySort(this._splices)),this._fullRefresh&&(this._sortAndFilter(),this._fullRefresh=!1),this._splices=[];var e=this._rowForKey={},r=this._orderedKeys;this.rows=this.rows||[];for(var s=0;s<r.length;s++){var n=r[s],i=t.getItem(n),o=this.rows[s];e[n]=s,o||this.rows.push(o=this._insertRow(s,null,i)),o.__setProperty(this.as,i,!0),o.__setProperty("__key__",n,!0),o.__setProperty(this.indexAs,s,!0)}for(;s<this.rows.length;s++)this._detachRow(s);this.rows.splice(r.length,this.rows.length-r.length),this.fire("dom-change")},_sortAndFilter:function(){var t=this.collection;if(this._sortFn)this._orderedKeys=t?t.getKeys():[];else{this._orderedKeys=[];var e=this.items;if(e)for(var r=0;r<e.length;r++)this._orderedKeys.push(t.getKey(e[r]))}this._filterFn&&(this._orderedKeys=this._orderedKeys.filter(function(e){return this._filterFn(t.getItem(e))},this)),this._sortFn&&this._orderedKeys.sort(function(e,r){return this._sortFn(t.getItem(e),t.getItem(r))}.bind(this))},_keySort:function(t,e){return this.collection.getKey(t)-this.collection.getKey(e)},_applySplicesViewSort:function(t){var e=this.collection,r=this._orderedKeys,s=this.rows,n=[],i=[],o=[];this._sortFn||this._keySort.bind(this);if(t.forEach(function(t){for(var e=0;e<t.removed.length;e++){var r=this._rowForKey[t.removed[e]];null!=r&&n.push(r)}for(var e=0;e<t.added.length;e++)i.push(t.added[e])},this),n.length){n.sort();for(var a=n.length-1;a>=0;a--){var l=n[a];o.push(this._detachRow(l)),s.splice(l,1),r.splice(l,1)}}if(i.length){this._filterFn&&(i=i.filter(function(t){return this._filterFn(e.getItem(t))},this)),i.sort(function(t,r){return this._sortFn(e.getItem(t),e.getItem(r))}.bind(this));for(var c=0,a=0;a<i.length;a++)c=this._insertRowIntoViewSort(c,i[a],o)}},_insertRowIntoViewSort:function(t,e,r){for(var s=this.collection,n=s.getItem(e),i=this.rows.length-1,o=-1,a=this._sortFn||this._keySort.bind(this);i>=t;){var l=t+i>>1,c=this._orderedKeys[l],h=a(s.getItem(c),n);if(0>h)t=l+1;else{if(!(h>0)){o=l;break}i=l-1}}return 0>o&&(o=i+1),this._orderedKeys.splice(o,0,e),this.rows.splice(o,0,this._insertRow(o,r,s.getItem(e))),o},_applySplicesArraySort:function(t){var e=this._orderedKeys,r=[];t.forEach(function(t){for(var e=0;e<t.removed.length;e++)r.push(this._detachRow(t.index+e));this.rows.splice(t.index,t.removed.length)},this);var s=this.collection;t.forEach(function(t){var n=[t.index,t.removed.length].concat(t.added);e.splice.apply(e,n);for(var i=0;i<t.added.length;i++){var o=s.getItem(t.added[i]),a=this._insertRow(t.index+i,r,o);this.rows.splice(t.index+i,0,a)}},this)},_detachRow:function(t){for(var e=this.rows[t],r=(Polymer.dom(this).parentNode,0);r<e._children.length;r++){var s=e._children[r];Polymer.dom(e.root).appendChild(s)}return e},_insertRow:function(t,e,r){var s=e&&e.pop()||this._generateRow(t,r),n=this.rows[t],i=n?n._children[0]:this,o=Polymer.dom(this).parentNode;return Polymer.dom(o).insertBefore(s.root,i),s},_generateRow:function(t,e){var r={__key__:this.collection.getKey(e)};r[this.as]=e,r[this.indexAs]=t;var s=this.stamp(r);return s},_showHideChildren:function(t){if(this.rows)for(var e=0;e<this.rows.length;e++)this.rows[e]._showHideChildren(t)},_forwardInstanceProp:function(t,e,r){if(e==this.as){var s;s=this._sortFn||this._filterFn?this.items.indexOf(this.collection.getItem(t.__key__)):t[this.indexAs],this.set("items."+s,r)}},_forwardInstancePath:function(t,e,r){0===e.indexOf(this.as+".")&&this.notifyPath("items."+t.__key__+"."+e.slice(this.as.length+1),r)},_forwardParentProp:function(t,e){this.rows&&this.rows.forEach(function(r){r.__setProperty(t,e,!0)},this)},_forwardParentPath:function(t,e){this.rows&&this.rows.forEach(function(r){r.notifyPath(t,e,!0)},this)},_forwardItemPath:function(t,e){if(this._rowForKey){var r=t.indexOf("."),s=t.substring(0,0>r?t.length:r),n=this._rowForKey[s],i=this.rows[n];i&&(r>=0?(t=this.as+"."+t.substring(r+1),i.notifyPath(t,e,!0)):i.__setProperty(this.as,e,!0))}},itemForElement:function(t){var e=this.modelForElement(t);return e&&e[this.as]},keyForElement:function(t){var e=this.modelForElement(t);return e&&e.__key__},indexForElement:function(t){var e=this.modelForElement(t);return e&&e[this.indexAs]}}),Polymer({is:"array-selector",properties:{items:{type:Array,observer:"_itemsChanged"},selected:{type:Object,notify:!0},toggle:Boolean,multi:Boolean},_itemsChanged:function(){if(Array.isArray(this.selected))for(var t=0;t<this.selected.length;t++)this.unlinkPaths("selected."+t);else this.unlinkPaths("selected");this.multi?this.selected=[]:this.selected=null},deselect:function(t){if(this.multi){var e=Polymer.Collection.get(this.selected),r=this.selected.indexOf(t);if(r>=0){var s=e.getKey(t);return this.splice("selected",r,1),this.unlinkPaths("selected."+s),!0}}else this.selected=null,this.unlinkPaths("selected")},select:function(t){var e=Polymer.Collection.get(this.items),r=e.getKey(t);if(this.multi){var s=Polymer.Collection.get(this.selected),n=s.getKey(t);n>=0?this.toggle&&this.deselect(t):(this.push("selected",t),this.async(function(){n=s.getKey(t),this.linkPaths("selected."+n,"items."+r)}))}else this.toggle&&t==this.selected?this.deselect():(this.linkPaths("selected","items."+r),
|
||
this.selected=t)}}),Polymer({is:"dom-if","extends":"template",properties:{"if":{type:Boolean,value:!1,observer:"_queueRender"},restamp:{type:Boolean,value:!1,observer:"_queueRender"}},behaviors:[Polymer.Templatizer],_queueRender:function(){this._debounceTemplate(this._render)},detached:function(){this._teardownInstance()},attached:function(){this["if"]&&this.ctor&&this.async(this._ensureInstance)},render:function(){this._flushTemplates()},_render:function(){this["if"]?(this.ctor||(this._wrapTextNodes(this._content||this.content),this.templatize(this)),this._ensureInstance(),this._showHideChildren()):this.restamp&&this._teardownInstance(),!this.restamp&&this._instance&&this._showHideChildren(),this["if"]!=this._lastIf&&(this.fire("dom-change"),this._lastIf=this["if"])},_ensureInstance:function(){if(!this._instance){this._instance=this.stamp();var t=this._instance.root,e=Polymer.dom(Polymer.dom(this).parentNode);e.insertBefore(t,this)}},_teardownInstance:function(){if(this._instance){var t=this._instance._children;if(t){var e=Polymer.dom(Polymer.dom(t[0]).parentNode);t.forEach(function(t){e.removeChild(t)})}this._instance=null}},_wrapTextNodes:function(t){for(var e=t.firstChild;e;e=e.nextSibling)if(e.nodeType===Node.TEXT_NODE&&e.textContent.trim()){var r=document.createElement("span");t.insertBefore(r,e),r.appendChild(e),e=r}},_showHideChildren:function(){var t=this.__hideTemplateChildren__||!this["if"];this._instance&&this._instance._showHideChildren(t)},_forwardParentProp:function(t,e){this._instance&&(this._instance[t]=e)},_forwardParentPath:function(t,e){this._instance&&this._instance.notifyPath(t,e,!0)}}),Polymer.ImportStatus={_ready:!1,_callbacks:[],whenLoaded:function(t){this._ready?t():this._callbacks.push(t)},_importsLoaded:function(){this._ready=!0,this._callbacks.forEach(function(t){t()}),this._callbacks=[]}},window.addEventListener("load",function(){Polymer.ImportStatus._importsLoaded()}),window.HTMLImports&&HTMLImports.whenReady(function(){Polymer.ImportStatus._importsLoaded()}),Polymer({is:"dom-bind","extends":"template",created:function(){Polymer.ImportStatus.whenLoaded(this._readySelf.bind(this))},_registerFeatures:function(){this._prepExtends(),this._prepConstructor()},_insertChildren:function(){var t=Polymer.dom(Polymer.dom(this).parentNode);t.insertBefore(this.root,this)},_removeChildren:function(){if(this._children)for(var t=0;t<this._children.length;t++)this.root.appendChild(this._children[t])},_initFeatures:function(){},_scopeElementClass:function(t,e){return this.dataHost?this.dataHost._scopeElementClass(t,e):e},_prepConfigure:function(){var t={};for(var e in this._propertyEffects)t[e]=this[e];this._setupConfigure=this._setupConfigure.bind(this,t)},attached:function(){this._children||(this._template=this,this._prepAnnotations(),this._prepEffects(),this._prepBehaviors(),this._prepConfigure(),this._prepBindings(),Polymer.Base._initFeatures.call(this),this._children=Array.prototype.slice.call(this.root.childNodes)),this._insertChildren(),this.fire("dom-change")},detached:function(){this._removeChildren()}});</script><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic"><style is="custom-style">:root {
|
||
|
||
/* Shared Styles */
|
||
|
||
/*
|
||
Unfortunately, we can't use nested rules
|
||
See https://github.com/Polymer/polymer/issues/1399
|
||
*/
|
||
--paper-font-common-base: {
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
};
|
||
|
||
--paper-font-common-code: {
|
||
font-family: 'Inconsolata', 'Consolas', 'Source Code Pro', 'Monaco', 'Menlo', monospace;
|
||
-webkit-font-smoothing: antialiased;
|
||
};
|
||
|
||
--paper-font-common-expensive-kerning: {
|
||
text-rendering: optimizeLegibility;
|
||
};
|
||
|
||
--paper-font-common-nowrap: {
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
};
|
||
|
||
/* Material Font Styles */
|
||
|
||
--paper-font-display4: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
/* @apply(--paper-font-common-nowrap); */
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
|
||
font-size: 112px;
|
||
font-weight: 300;
|
||
letter-spacing: -.044em;
|
||
line-height: 120px;
|
||
};
|
||
|
||
--paper-font-display3: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
/* @apply(--paper-font-common-nowrap); */
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
|
||
font-size: 56px;
|
||
font-weight: 400;
|
||
letter-spacing: -.026em;
|
||
line-height: 60px;
|
||
};
|
||
|
||
--paper-font-display2: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
|
||
font-size: 45px;
|
||
font-weight: 400;
|
||
letter-spacing: -.018em;
|
||
line-height: 48px;
|
||
};
|
||
|
||
--paper-font-display1: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
|
||
font-size: 34px;
|
||
font-weight: 400;
|
||
letter-spacing: -.01em;
|
||
line-height: 40px;
|
||
};
|
||
|
||
--paper-font-headline: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
|
||
font-size: 24px;
|
||
font-weight: 400;
|
||
letter-spacing: -.012em;
|
||
line-height: 32px;
|
||
};
|
||
|
||
--paper-font-title: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
/* @apply(--paper-font-common-nowrap); */
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
|
||
font-size: 20px;
|
||
font-weight: 500;
|
||
line-height: 28px;
|
||
};
|
||
|
||
--paper-font-subhead: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
|
||
font-size: 16px;
|
||
font-weight: 400;
|
||
line-height: 24px;
|
||
};
|
||
|
||
--paper-font-body2: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
line-height: 24px;
|
||
};
|
||
|
||
--paper-font-body1: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
|
||
font-size: 14px;
|
||
font-weight: 400;
|
||
line-height: 20px;
|
||
};
|
||
|
||
--paper-font-caption: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-nowrap); */
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
|
||
font-size: 12px;
|
||
font-weight: 400;
|
||
letter-spacing: 0.011em;
|
||
line-height: 20px;
|
||
};
|
||
|
||
--paper-font-menu: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
/* @apply(--paper-font-common-nowrap); */
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
line-height: 24px;
|
||
};
|
||
|
||
--paper-font-button: {
|
||
/* @apply(--paper-font-common-base) */
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
/* @apply(--paper-font-common-expensive-kerning); */
|
||
text-rendering: optimizeLegibility;
|
||
/* @apply(--paper-font-common-nowrap); */
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
letter-spacing: 0.018em;
|
||
line-height: 24px;
|
||
text-transform: uppercase;
|
||
};
|
||
|
||
--paper-font-code2: {
|
||
/* @apply(--paper-font-common-code); */
|
||
font-family: 'Inconsolata', 'Consolas', 'Source Code Pro', 'Monaco', 'Menlo', monospace;
|
||
-webkit-font-smoothing: antialiased;
|
||
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
line-height: 20px;
|
||
};
|
||
|
||
--paper-font-code1: {
|
||
/* @apply(--paper-font-common-code); */
|
||
font-family: 'Inconsolata', 'Consolas', 'Source Code Pro', 'Monaco', 'Menlo', monospace;
|
||
-webkit-font-smoothing: antialiased;
|
||
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
line-height: 20px;
|
||
};
|
||
|
||
}</style><script>!function(){var e={},t={};Polymer.IronMeta=Polymer({is:"iron-meta",properties:{type:{type:String,value:"default",observer:"_typeChanged"},key:{type:String,observer:"_keyChanged"},value:{type:Object,notify:!0,observer:"_valueChanged"},self:{type:Boolean,observer:"_selfChanged"},list:{type:Array,notify:!0}},factoryImpl:function(e){if(e)for(var t in e)switch(t){case"type":case"key":case"value":this[t]=e[t]}},created:function(){this._metaDatas=e,this._metaArrays=t},_keyChanged:function(e,t){this._resetRegistration(t)},_valueChanged:function(e){this._resetRegistration(this.key)},_selfChanged:function(e){e&&(this.value=this)},_typeChanged:function(i){this._unregisterKey(this.key),e[i]||(e[i]={}),this._metaData=e[i],t[i]||(t[i]=[]),this.list=t[i],this._registerKeyValue(this.key,this.value)},byKey:function(e){return this._metaData&&this._metaData[e]},_resetRegistration:function(e){this._unregisterKey(e),this._registerKeyValue(this.key,this.value)},_unregisterKey:function(e){this._unregister(e,this._metaData,this.list)},_registerKeyValue:function(e,t){this._register(e,t,this._metaData,this.list)},_register:function(e,t,i,a){e&&i&&void 0!==t&&(i[e]=t,a.push(t))},_unregister:function(e,t,i){if(e&&t&&e in t){var a=t[e];delete t[e],this.arrayDelete(i,a)}}}),Polymer.IronMetaQuery=Polymer({is:"iron-meta-query",properties:{type:{type:String,value:"default",observer:"_typeChanged"},key:{type:String,observer:"_keyChanged"},value:{type:Object,notify:!0,readOnly:!0},list:{type:Array,notify:!0}},factoryImpl:function(e){if(e)for(var t in e)switch(t){case"type":case"key":this[t]=e[t]}},created:function(){this._metaDatas=e,this._metaArrays=t},_keyChanged:function(e){this._setValue(this._metaData&&this._metaData[e])},_typeChanged:function(i){this._metaData=e[i],this.list=t[i],this.key&&this._keyChanged(this.key)},byKey:function(e){return this._metaData&&this._metaData[e]}})}();</script><script>Polymer({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24}},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map(function(e){return this.name+":"+e},this)},applyIcon:function(e,t){e=e.root||e,this.removeIcon(e);var n=this._cloneIcon(t);if(n){var o=Polymer.dom(e);return o.insertBefore(n,o.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&(Polymer.dom(e).removeChild(e._svgIcon),e._svgIcon=null)},_nameChanged:function(){new Polymer.IronMeta({type:"iconset",key:this.name,value:this})},_createIconMap:function(){var e=Object.create(null);return Polymer.dom(this).querySelectorAll("[id]").forEach(function(t){e[t.id]=t}),e},_cloneIcon:function(e){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size)},_prepareSvgClone:function(e,t){if(e){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");return n.setAttribute("viewBox",["0","0",t,t].join(" ")),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.style.cssText="pointer-events: none; display: block; width: 100%; height: 100%;",n.appendChild(e.cloneNode(!0)).removeAttribute("id"),n}return null}});</script><style is="custom-style">:root {
|
||
|
||
--layout: {
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
};
|
||
|
||
--layout-inline: {
|
||
display: -ms-inline-flexbox;
|
||
display: -webkit-inline-flex;
|
||
display: inline-flex;
|
||
};
|
||
|
||
--layout-horizontal: {
|
||
/* @apply(--layout); */
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
|
||
-ms-flex-direction: row;
|
||
-webkit-flex-direction: row;
|
||
flex-direction: row;
|
||
};
|
||
|
||
--layout-horizontal-reverse: {
|
||
-ms-flex-direction: row-reverse;
|
||
-webkit-flex-direction: row-reverse;
|
||
flex-direction: row-reverse;
|
||
};
|
||
|
||
--layout-vertical: {
|
||
/* @apply(--layout); */
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
|
||
-ms-flex-direction: column;
|
||
-webkit-flex-direction: column;
|
||
flex-direction: column;
|
||
};
|
||
|
||
--layout-vertical-reverse: {
|
||
-ms-flex-direction: column-reverse;
|
||
-webkit-flex-direction: column-reverse;
|
||
flex-direction: column-reverse;
|
||
};
|
||
|
||
--layout-wrap: {
|
||
-ms-flex-wrap: wrap;
|
||
-webkit-flex-wrap: wrap;
|
||
flex-wrap: wrap;
|
||
};
|
||
|
||
--layout-wrap-reverse: {
|
||
-ms-flex-wrap: wrap-reverse;
|
||
-webkit-flex-wrap: wrap-reverse;
|
||
flex-wrap: wrap-reverse;
|
||
};
|
||
|
||
--layout-flex-auto: {
|
||
-ms-flex: 1 1 auto;
|
||
-webkit-flex: 1 1 auto;
|
||
flex: 1 1 auto;
|
||
};
|
||
|
||
--layout-flex-none: {
|
||
-ms-flex: none;
|
||
-webkit-flex: none;
|
||
flex: none;
|
||
};
|
||
|
||
--layout-flex: {
|
||
-ms-flex: 1 1 0.000000001px;
|
||
-webkit-flex: 1;
|
||
flex: 1;
|
||
-webkit-flex-basis: 0.000000001px;
|
||
flex-basis: 0.000000001px;
|
||
};
|
||
|
||
--layout-flex-2: {
|
||
-ms-flex: 2;
|
||
-webkit-flex: 2;
|
||
flex: 2;
|
||
};
|
||
|
||
--layout-flex-3: {
|
||
-ms-flex: 3;
|
||
-webkit-flex: 3;
|
||
flex: 3;
|
||
};
|
||
|
||
--layout-flex-4: {
|
||
-ms-flex: 4;
|
||
-webkit-flex: 4;
|
||
flex: 4;
|
||
};
|
||
|
||
--layout-flex-5: {
|
||
-ms-flex: 5;
|
||
-webkit-flex: 5;
|
||
flex: 5;
|
||
};
|
||
|
||
--layout-flex-6: {
|
||
-ms-flex: 6;
|
||
-webkit-flex: 6;
|
||
flex: 6;
|
||
};
|
||
|
||
--layout-flex-7: {
|
||
-ms-flex: 7;
|
||
-webkit-flex: 7;
|
||
flex: 7;
|
||
};
|
||
|
||
--layout-flex-8: {
|
||
-ms-flex: 8;
|
||
-webkit-flex: 8;
|
||
flex: 8;
|
||
};
|
||
|
||
--layout-flex-9: {
|
||
-ms-flex: 9;
|
||
-webkit-flex: 9;
|
||
flex: 9;
|
||
};
|
||
|
||
--layout-flex-10: {
|
||
-ms-flex: 10;
|
||
-webkit-flex: 10;
|
||
flex: 10;
|
||
};
|
||
|
||
--layout-flex-11: {
|
||
-ms-flex: 11;
|
||
-webkit-flex: 11;
|
||
flex: 11;
|
||
};
|
||
|
||
--layout-flex-12: {
|
||
-ms-flex: 12;
|
||
-webkit-flex: 12;
|
||
flex: 12;
|
||
};
|
||
|
||
/* alignment in cross axis */
|
||
|
||
--layout-start: {
|
||
-ms-flex-align: start;
|
||
-webkit-align-items: flex-start;
|
||
align-items: flex-start;
|
||
};
|
||
|
||
--layout-center: {
|
||
-ms-flex-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
};
|
||
|
||
--layout-end: {
|
||
-ms-flex-align: end;
|
||
-webkit-align-items: flex-end;
|
||
align-items: flex-end;
|
||
};
|
||
|
||
/* alignment in main axis */
|
||
|
||
--layout-start-justified: {
|
||
-ms-flex-pack: start;
|
||
-webkit-justify-content: flex-start;
|
||
justify-content: flex-start;
|
||
};
|
||
|
||
--layout-center-justified: {
|
||
-ms-flex-pack: center;
|
||
-webkit-justify-content: center;
|
||
justify-content: center;
|
||
};
|
||
|
||
--layout-end-justified: {
|
||
-ms-flex-pack: end;
|
||
-webkit-justify-content: flex-end;
|
||
justify-content: flex-end;
|
||
};
|
||
|
||
--layout-around-justified: {
|
||
-ms-flex-pack: around;
|
||
-webkit-justify-content: space-around;
|
||
justify-content: space-around;
|
||
};
|
||
|
||
--layout-justified: {
|
||
-ms-flex-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
};
|
||
|
||
--layout-center-center: {
|
||
/* @apply(--layout-center --layout-center-justified); */
|
||
-ms-flex-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
-ms-flex-pack: center;
|
||
-webkit-justify-content: center;
|
||
justify-content: center;
|
||
};
|
||
|
||
/* self alignment */
|
||
|
||
--layout-self-start: {
|
||
-ms-align-self: flex-start;
|
||
-webkit-align-self: flex-start;
|
||
align-self: flex-start;
|
||
};
|
||
|
||
--layout-self-center: {
|
||
-ms-align-self: center;
|
||
-webkit-align-self: center;
|
||
align-self: center;
|
||
};
|
||
|
||
--layout-self-end: {
|
||
-ms-align-self: flex-end;
|
||
-webkit-align-self: flex-end;
|
||
align-self: flex-end;
|
||
};
|
||
|
||
--layout-self-stretch: {
|
||
-ms-align-self: stretch;
|
||
-webkit-align-self: stretch;
|
||
align-self: stretch;
|
||
};
|
||
|
||
/*******************************
|
||
Other Layout
|
||
*******************************/
|
||
|
||
--layout-block: {
|
||
display: block;
|
||
};
|
||
|
||
--layout-invisible: {
|
||
visibility: hidden !important;
|
||
};
|
||
|
||
--layout-relative: {
|
||
position: relative;
|
||
};
|
||
|
||
--layout-fit: {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
};
|
||
|
||
--layout-scroll: {
|
||
-webkit-overflow-scrolling: touch;
|
||
overflow: auto;
|
||
};
|
||
|
||
/* fixed position */
|
||
|
||
--layout-fixed-bottom:,
|
||
--layout-fixed-left:,
|
||
--layout-fixed-right:,
|
||
--layout-fixed-top: {
|
||
position: fixed;
|
||
};
|
||
|
||
--layout-fixed-top: {
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
};
|
||
|
||
--layout-fixed-right: {
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
};
|
||
|
||
--layout-fixed-bottom: {
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
};
|
||
|
||
--layout-fixed-left: {
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
};
|
||
|
||
}</style><style is="custom-style">:root {
|
||
--dark-primary-color: #0288D1;
|
||
--default-primary-color: #03A9F4;
|
||
--light-primary-color: #B3E5FC;
|
||
--text-primary-color: #ffffff;
|
||
--accent-color: #FF9800;
|
||
--primary-background-color: #ffffff;
|
||
--primary-text-color: #212121;
|
||
--secondary-text-color: #727272;
|
||
--disabled-text-color: #bdbdbd;
|
||
--divider-color: #B6B6B6;
|
||
|
||
--paper-toggle-button-checked-ink-color: #039be5;
|
||
--paper-toggle-button-checked-button-color: #039be5;
|
||
--paper-toggle-button-checked-bar-color: #039be5;
|
||
|
||
--paper-toolbar-background: #03A9F4;
|
||
}
|
||
|
||
@-webkit-keyframes ha-spin {
|
||
0% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
-webkit-transform: rotate(359deg);
|
||
transform: rotate(359deg);
|
||
}
|
||
}
|
||
@keyframes ha-spin {
|
||
0% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
-webkit-transform: rotate(359deg);
|
||
transform: rotate(359deg);
|
||
}
|
||
}
|
||
|
||
body /deep/ .ha-spin {
|
||
-webkit-animation: ha-spin 2s infinite linear;
|
||
animation: ha-spin 2s infinite linear;
|
||
}</style><style>/*******************************
|
||
Flex Layout
|
||
*******************************/
|
||
|
||
html /deep/ .layout.horizontal,
|
||
html /deep/ .layout.horizontal-reverse,
|
||
html /deep/ .layout.vertical,
|
||
html /deep/ .layout.vertical-reverse {
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
}
|
||
|
||
html /deep/ .layout.inline {
|
||
display: -ms-inline-flexbox;
|
||
display: -webkit-inline-flex;
|
||
display: inline-flex;
|
||
}
|
||
|
||
html /deep/ .layout.horizontal {
|
||
-ms-flex-direction: row;
|
||
-webkit-flex-direction: row;
|
||
flex-direction: row;
|
||
}
|
||
|
||
html /deep/ .layout.horizontal-reverse {
|
||
-ms-flex-direction: row-reverse;
|
||
-webkit-flex-direction: row-reverse;
|
||
flex-direction: row-reverse;
|
||
}
|
||
|
||
html /deep/ .layout.vertical {
|
||
-ms-flex-direction: column;
|
||
-webkit-flex-direction: column;
|
||
flex-direction: column;
|
||
}
|
||
|
||
html /deep/ .layout.vertical-reverse {
|
||
-ms-flex-direction: column-reverse;
|
||
-webkit-flex-direction: column-reverse;
|
||
flex-direction: column-reverse;
|
||
}
|
||
|
||
html /deep/ .layout.wrap {
|
||
-ms-flex-wrap: wrap;
|
||
-webkit-flex-wrap: wrap;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
html /deep/ .layout.wrap-reverse {
|
||
-ms-flex-wrap: wrap-reverse;
|
||
-webkit-flex-wrap: wrap-reverse;
|
||
flex-wrap: wrap-reverse;
|
||
}
|
||
|
||
html /deep/ .flex-auto {
|
||
-ms-flex: 1 1 auto;
|
||
-webkit-flex: 1 1 auto;
|
||
flex: 1 1 auto;
|
||
}
|
||
|
||
html /deep/ .flex-none {
|
||
-ms-flex: none;
|
||
-webkit-flex: none;
|
||
flex: none;
|
||
}
|
||
|
||
html /deep/ .flex,
|
||
html /deep/ .flex-1 {
|
||
-ms-flex: 1;
|
||
-webkit-flex: 1;
|
||
flex: 1;
|
||
}
|
||
|
||
html /deep/ .flex-2 {
|
||
-ms-flex: 2;
|
||
-webkit-flex: 2;
|
||
flex: 2;
|
||
}
|
||
|
||
html /deep/ .flex-3 {
|
||
-ms-flex: 3;
|
||
-webkit-flex: 3;
|
||
flex: 3;
|
||
}
|
||
|
||
html /deep/ .flex-4 {
|
||
-ms-flex: 4;
|
||
-webkit-flex: 4;
|
||
flex: 4;
|
||
}
|
||
|
||
html /deep/ .flex-5 {
|
||
-ms-flex: 5;
|
||
-webkit-flex: 5;
|
||
flex: 5;
|
||
}
|
||
|
||
html /deep/ .flex-6 {
|
||
-ms-flex: 6;
|
||
-webkit-flex: 6;
|
||
flex: 6;
|
||
}
|
||
|
||
html /deep/ .flex-7 {
|
||
-ms-flex: 7;
|
||
-webkit-flex: 7;
|
||
flex: 7;
|
||
}
|
||
|
||
html /deep/ .flex-8 {
|
||
-ms-flex: 8;
|
||
-webkit-flex: 8;
|
||
flex: 8;
|
||
}
|
||
|
||
html /deep/ .flex-9 {
|
||
-ms-flex: 9;
|
||
-webkit-flex: 9;
|
||
flex: 9;
|
||
}
|
||
|
||
html /deep/ .flex-10 {
|
||
-ms-flex: 10;
|
||
-webkit-flex: 10;
|
||
flex: 10;
|
||
}
|
||
|
||
html /deep/ .flex-11 {
|
||
-ms-flex: 11;
|
||
-webkit-flex: 11;
|
||
flex: 11;
|
||
}
|
||
|
||
html /deep/ .flex-12 {
|
||
-ms-flex: 12;
|
||
-webkit-flex: 12;
|
||
flex: 12;
|
||
}
|
||
|
||
/* alignment in cross axis */
|
||
|
||
html /deep/ .layout.start {
|
||
-ms-flex-align: start;
|
||
-webkit-align-items: flex-start;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
html /deep/ .layout.center,
|
||
html /deep/ .layout.center-center {
|
||
-ms-flex-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
}
|
||
|
||
html /deep/ .layout.end {
|
||
-ms-flex-align: end;
|
||
-webkit-align-items: flex-end;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
/* alignment in main axis */
|
||
|
||
html /deep/ .layout.start-justified {
|
||
-ms-flex-pack: start;
|
||
-webkit-justify-content: flex-start;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
html /deep/ .layout.center-justified,
|
||
html /deep/ .layout.center-center {
|
||
-ms-flex-pack: center;
|
||
-webkit-justify-content: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
html /deep/ .layout.end-justified {
|
||
-ms-flex-pack: end;
|
||
-webkit-justify-content: flex-end;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
html /deep/ .layout.around-justified {
|
||
-ms-flex-pack: around;
|
||
-webkit-justify-content: space-around;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
html /deep/ .layout.justified {
|
||
-ms-flex-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
/* self alignment */
|
||
|
||
html /deep/ .self-start {
|
||
-ms-align-self: flex-start;
|
||
-webkit-align-self: flex-start;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
html /deep/ .self-center {
|
||
-ms-align-self: center;
|
||
-webkit-align-self: center;
|
||
align-self: center;
|
||
}
|
||
|
||
html /deep/ .self-end {
|
||
-ms-align-self: flex-end;
|
||
-webkit-align-self: flex-end;
|
||
align-self: flex-end;
|
||
}
|
||
|
||
html /deep/ .self-stretch {
|
||
-ms-align-self: stretch;
|
||
-webkit-align-self: stretch;
|
||
align-self: stretch;
|
||
}
|
||
|
||
/*******************************
|
||
Other Layout
|
||
*******************************/
|
||
|
||
html /deep/ .block {
|
||
display: block;
|
||
}
|
||
|
||
/* IE 10 support for HTML5 hidden attr */
|
||
html /deep/ [hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
html /deep/ .invisible {
|
||
visibility: hidden !important;
|
||
}
|
||
|
||
html /deep/ .relative {
|
||
position: relative;
|
||
}
|
||
|
||
html /deep/ .fit {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
body.fullbleed {
|
||
margin: 0;
|
||
height: 100vh;
|
||
}
|
||
|
||
html /deep/ .scroll {
|
||
-webkit-overflow-scrolling: touch;
|
||
overflow: auto;
|
||
}
|
||
|
||
.fixed-bottom,
|
||
.fixed-left,
|
||
.fixed-right,
|
||
.fixed-top {
|
||
position: fixed;
|
||
}
|
||
|
||
html /deep/ .fixed-top {
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
|
||
html /deep/ .fixed-right {
|
||
top: 0;
|
||
right: 0;
|
||
botttom: 0;
|
||
}
|
||
|
||
html /deep/ .fixed-bottom {
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
html /deep/ .fixed-left {
|
||
top: 0;
|
||
botttom: 0;
|
||
left: 0;
|
||
}</style><style>/*******************************
|
||
Flex Layout
|
||
*******************************/
|
||
|
||
.layout.horizontal,
|
||
.layout.horizontal-reverse,
|
||
.layout.vertical,
|
||
.layout.vertical-reverse {
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
}
|
||
|
||
.layout.inline {
|
||
display: -ms-inline-flexbox;
|
||
display: -webkit-inline-flex;
|
||
display: inline-flex;
|
||
}
|
||
|
||
.layout.horizontal {
|
||
-ms-flex-direction: row;
|
||
-webkit-flex-direction: row;
|
||
flex-direction: row;
|
||
}
|
||
|
||
.layout.horizontal-reverse {
|
||
-ms-flex-direction: row-reverse;
|
||
-webkit-flex-direction: row-reverse;
|
||
flex-direction: row-reverse;
|
||
}
|
||
|
||
.layout.vertical {
|
||
-ms-flex-direction: column;
|
||
-webkit-flex-direction: column;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.layout.vertical-reverse {
|
||
-ms-flex-direction: column-reverse;
|
||
-webkit-flex-direction: column-reverse;
|
||
flex-direction: column-reverse;
|
||
}
|
||
|
||
.layout.wrap {
|
||
-ms-flex-wrap: wrap;
|
||
-webkit-flex-wrap: wrap;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.layout.wrap-reverse {
|
||
-ms-flex-wrap: wrap-reverse;
|
||
-webkit-flex-wrap: wrap-reverse;
|
||
flex-wrap: wrap-reverse;
|
||
}
|
||
|
||
.flex-auto {
|
||
-ms-flex: 1 1 auto;
|
||
-webkit-flex: 1 1 auto;
|
||
flex: 1 1 auto;
|
||
}
|
||
|
||
.flex-none {
|
||
-ms-flex: none;
|
||
-webkit-flex: none;
|
||
flex: none;
|
||
}
|
||
|
||
.flex,
|
||
.flex-1 {
|
||
-ms-flex: 1;
|
||
-webkit-flex: 1;
|
||
flex: 1;
|
||
}
|
||
|
||
.flex-2 {
|
||
-ms-flex: 2;
|
||
-webkit-flex: 2;
|
||
flex: 2;
|
||
}
|
||
|
||
.flex-3 {
|
||
-ms-flex: 3;
|
||
-webkit-flex: 3;
|
||
flex: 3;
|
||
}
|
||
|
||
.flex-4 {
|
||
-ms-flex: 4;
|
||
-webkit-flex: 4;
|
||
flex: 4;
|
||
}
|
||
|
||
.flex-5 {
|
||
-ms-flex: 5;
|
||
-webkit-flex: 5;
|
||
flex: 5;
|
||
}
|
||
|
||
.flex-6 {
|
||
-ms-flex: 6;
|
||
-webkit-flex: 6;
|
||
flex: 6;
|
||
}
|
||
|
||
.flex-7 {
|
||
-ms-flex: 7;
|
||
-webkit-flex: 7;
|
||
flex: 7;
|
||
}
|
||
|
||
.flex-8 {
|
||
-ms-flex: 8;
|
||
-webkit-flex: 8;
|
||
flex: 8;
|
||
}
|
||
|
||
.flex-9 {
|
||
-ms-flex: 9;
|
||
-webkit-flex: 9;
|
||
flex: 9;
|
||
}
|
||
|
||
.flex-10 {
|
||
-ms-flex: 10;
|
||
-webkit-flex: 10;
|
||
flex: 10;
|
||
}
|
||
|
||
.flex-11 {
|
||
-ms-flex: 11;
|
||
-webkit-flex: 11;
|
||
flex: 11;
|
||
}
|
||
|
||
.flex-12 {
|
||
-ms-flex: 12;
|
||
-webkit-flex: 12;
|
||
flex: 12;
|
||
}
|
||
|
||
/* alignment in cross axis */
|
||
|
||
.layout.start {
|
||
-ms-flex-align: start;
|
||
-webkit-align-items: flex-start;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.layout.center,
|
||
.layout.center-center {
|
||
-ms-flex-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
}
|
||
|
||
.layout.end {
|
||
-ms-flex-align: end;
|
||
-webkit-align-items: flex-end;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
/* alignment in main axis */
|
||
|
||
.layout.start-justified {
|
||
-ms-flex-pack: start;
|
||
-webkit-justify-content: flex-start;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.layout.center-justified,
|
||
.layout.center-center {
|
||
-ms-flex-pack: center;
|
||
-webkit-justify-content: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.layout.end-justified {
|
||
-ms-flex-pack: end;
|
||
-webkit-justify-content: flex-end;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.layout.around-justified {
|
||
-ms-flex-pack: around;
|
||
-webkit-justify-content: space-around;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
.layout.justified {
|
||
-ms-flex-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
/* self alignment */
|
||
|
||
.self-start {
|
||
-ms-align-self: flex-start;
|
||
-webkit-align-self: flex-start;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
.self-center {
|
||
-ms-align-self: center;
|
||
-webkit-align-self: center;
|
||
align-self: center;
|
||
}
|
||
|
||
.self-end {
|
||
-ms-align-self: flex-end;
|
||
-webkit-align-self: flex-end;
|
||
align-self: flex-end;
|
||
}
|
||
|
||
.self-stretch {
|
||
-ms-align-self: stretch;
|
||
-webkit-align-self: stretch;
|
||
align-self: stretch;
|
||
}
|
||
|
||
/*******************************
|
||
Other Layout
|
||
*******************************/
|
||
|
||
.block {
|
||
display: block;
|
||
}
|
||
|
||
/* IE 10 support for HTML5 hidden attr */
|
||
[hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
.invisible {
|
||
visibility: hidden !important;
|
||
}
|
||
|
||
.relative {
|
||
position: relative;
|
||
}
|
||
|
||
.fit {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
body.fullbleed {
|
||
margin: 0;
|
||
height: 100vh;
|
||
}
|
||
|
||
.scroll {
|
||
-webkit-overflow-scrolling: touch;
|
||
overflow: auto;
|
||
}
|
||
|
||
/* fixed position */
|
||
|
||
.fixed-bottom,
|
||
.fixed-left,
|
||
.fixed-right,
|
||
.fixed-top {
|
||
position: fixed;
|
||
}
|
||
|
||
.fixed-top {
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
|
||
.fixed-right {
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
}
|
||
|
||
.fixed-bottom {
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
.fixed-left {
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}</style><script>!function(){"use strict";function e(e){var n="";if(e){var t=e.toLowerCase();1==t.length?u.test(t)&&(n=t):n=c.test(t)?t.replace("arrow",""):v.test(t)?"space":"multiply"==t?"*":t}return n}function n(e){var n="";return e&&(n=h.test(e)?y[e]:e.toLowerCase()),n}function t(e){var n="";return Number(e)&&(n=e>=65&&90>=e?String.fromCharCode(32+e):e>=112&&123>=e?"f"+(e-112):e>=48&&57>=e?String(48-e):e>=96&&105>=e?String(96-e):o[e]),n}function i(i){return e(i.key)||n(i.keyIdentifier)||t(i.keyCode)||e(i.detail.key)||""}function s(e,n){return i(n)===e.key&&!!n.shiftKey==!!e.shiftKey&&!!n.ctrlKey==!!e.ctrlKey&&!!n.altKey==!!e.altKey&&!!n.metaKey==!!e.metaKey}function r(e){return e.split("+").reduce(function(e,n){var t=n.split(":"),i=t[0],s=t[1];return i in d?e[d[i]]=!0:(e.key=i,e.event=s||"keydown"),e},{combo:e.split(":").shift()})}function a(e){return e.split(" ").map(function(e){return r(e)})}var y={"U+0009":"tab","U+001B":"esc","U+0020":"space","U+002A":"*","U+0030":"0","U+0031":"1","U+0032":"2","U+0033":"3","U+0034":"4","U+0035":"5","U+0036":"6","U+0037":"7","U+0038":"8","U+0039":"9","U+0041":"a","U+0042":"b","U+0043":"c","U+0044":"d","U+0045":"e","U+0046":"f","U+0047":"g","U+0048":"h","U+0049":"i","U+004A":"j","U+004B":"k","U+004C":"l","U+004D":"m","U+004E":"n","U+004F":"o","U+0050":"p","U+0051":"q","U+0052":"r","U+0053":"s","U+0054":"t","U+0055":"u","U+0056":"v","U+0057":"w","U+0058":"x","U+0059":"y","U+005A":"z","U+007F":"del"},o={9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},d={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},u=/[a-z0-9*]/,h=/U\+/,c=/^arrow/,v=/^space(bar)?/;Polymer.IronA11yKeysBehavior={properties:{keyEventTarget:{type:Object,value:function(){return this}},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,n){this._imperativeKeyBindings[e]=n,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,n){var t,i=a(n);for(t=0;t<i.length;++t)if(s(i[t],e))return!0;return!1},_collectKeyBindings:function(){var e=this.behaviors.map(function(e){return e.keyBindings});return-1===e.indexOf(this.keyBindings)&&e.push(this.keyBindings),e},_prepKeyBindings:function(){this._keyBindings={},this._collectKeyBindings().forEach(function(e){for(var n in e)this._addKeyBinding(n,e[n])},this);for(var e in this._imperativeKeyBindings)this._addKeyBinding(e,this._imperativeKeyBindings[e])},_addKeyBinding:function(e,n){a(e).forEach(function(e){this._keyBindings[e.event]=this._keyBindings[e.event]||[],this._keyBindings[e.event].push([e,n])},this)},_resetKeyEventListeners:function(){this._unlistenKeyEventListeners(),this.isAttached&&this._listenKeyEventListeners()},_listenKeyEventListeners:function(){Object.keys(this._keyBindings).forEach(function(e){var n=this._keyBindings[e],t=this._onKeyBindingEvent.bind(this,n);this._boundKeyHandlers.push([this.keyEventTarget,e,t]),this.keyEventTarget.addEventListener(e,t)},this)},_unlistenKeyEventListeners:function(){for(var e,n,t,i;this._boundKeyHandlers.length;)e=this._boundKeyHandlers.pop(),n=e[0],t=e[1],i=e[2],n.removeEventListener(t,i)},_onKeyBindingEvent:function(e,n){e.forEach(function(e){var t=e[0],i=e[1];!n.defaultPrevented&&s(t,n)&&this._triggerKeyHandler(t,i,n)},this)},_triggerKeyHandler:function(e,n,t){var i=Object.create(e);i.keyboardEvent=t,this[n].call(this,new CustomEvent(e.event,{detail:i}))}}}();</script><style is="custom-style">:root {
|
||
|
||
--dark-primary-color: #303f9f;
|
||
|
||
--default-primary-color: #3f51b5;
|
||
|
||
--light-primary-color: #c5cae9;
|
||
|
||
--text-primary-color: #ffffff;
|
||
|
||
--accent-color: #ff4081;
|
||
|
||
--primary-background-color: #ffffff;
|
||
|
||
--primary-text-color: #212121;
|
||
|
||
--secondary-text-color: #757575;
|
||
|
||
--disabled-text-color: #bdbdbd;
|
||
|
||
--divider-color: #e0e0e0;
|
||
|
||
}</style><script>Polymer.IronControlState={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:Number},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:["_changedControlState(focused, disabled)"],ready:function(){void 0===this.focused&&this._setFocused(!1),this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){var t=e.path?e.path[0]:e.target;if(t===this){var o="focus"===e.type;this._setFocused(o)}else this.shadowRoot||(e.stopPropagation(),this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable}))},_disabledChanged:function(e,t){this.setAttribute("aria-disabled",e?"true":"false"),this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.tabIndex,this.focused=!1,this.tabIndex=-1):void 0!==this._oldTabIndex&&(this.tabIndex=this._oldTabIndex)},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}};</script><script>Polymer.IronButtonStateImpl={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"},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_detectKeyboardFocus(focused)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active=e,this.fire("change")},_downHandler:function(){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent;t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0)},_spaceKeyUpHandler:function(){this.pressed&&this._asyncClick(),this._setPressed(!1)},_asyncClick:function(){this.async(function(){this.click()},1)},_pressedChanged:function(e){this._changedButtonState()},_activeChanged:function(e){this.toggles?this.setAttribute("aria-pressed",e?"true":"false"):this.removeAttribute("aria-pressed"),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},Polymer.IronButtonState=[Polymer.IronA11yKeysBehavior,Polymer.IronButtonStateImpl];</script><script>Polymer.PaperInkyFocusBehaviorImpl={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(o){this.$.ink&&(this.$.ink.holdDown=o)}},Polymer.PaperInkyFocusBehavior=[Polymer.IronButtonState,Polymer.IronControlState,Polymer.PaperInkyFocusBehaviorImpl];</script><style is="custom-style">:root {
|
||
|
||
--shadow-transition: {
|
||
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
||
};
|
||
|
||
--shadow-none: {
|
||
box-shadow: none;
|
||
};
|
||
|
||
/* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
|
||
|
||
--shadow-elevation-2dp: {
|
||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
||
0 1px 5px 0 rgba(0, 0, 0, 0.12),
|
||
0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
||
};
|
||
|
||
--shadow-elevation-3dp: {
|
||
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
|
||
0 1px 8px 0 rgba(0, 0, 0, 0.12),
|
||
0 3px 3px -2px rgba(0, 0, 0, 0.4);
|
||
};
|
||
|
||
--shadow-elevation-4dp: {
|
||
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
|
||
0 1px 10px 0 rgba(0, 0, 0, 0.12),
|
||
0 2px 4px -1px rgba(0, 0, 0, 0.4);
|
||
};
|
||
|
||
--shadow-elevation-6dp: {
|
||
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
|
||
0 1px 18px 0 rgba(0, 0, 0, 0.12),
|
||
0 3px 5px -1px rgba(0, 0, 0, 0.4);
|
||
};
|
||
|
||
--shadow-elevation-8dp: {
|
||
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
||
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
||
0 5px 5px -3px rgba(0, 0, 0, 0.4);
|
||
};
|
||
|
||
--shadow-elevation-16dp: {
|
||
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
|
||
0 6px 30px 5px rgba(0, 0, 0, 0.12),
|
||
0 8px 10px -5px rgba(0, 0, 0, 0.4);
|
||
};
|
||
|
||
}</style><script>Polymer.PaperButtonBehaviorImpl={properties:{_elevation:{type:Number}},observers:["_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)"],hostAttributes:{role:"button",tabindex:"0"},_calculateElevation:function(){var e=1;this.disabled?e=0:this.active||this.pressed?e=4:this.receivedFocusFromKeyboard&&(e=3),this._elevation=e}},Polymer.PaperButtonBehavior=[Polymer.IronButtonState,Polymer.IronControlState,Polymer.PaperButtonBehaviorImpl];</script><style>/*******************************
|
||
Flex Layout
|
||
*******************************/
|
||
|
||
html /deep/ .layout.horizontal,
|
||
html /deep/ .layout.horizontal-reverse,
|
||
html /deep/ .layout.vertical,
|
||
html /deep/ .layout.vertical-reverse {
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
}
|
||
|
||
html /deep/ .layout.inline {
|
||
display: -ms-inline-flexbox;
|
||
display: -webkit-inline-flex;
|
||
display: inline-flex;
|
||
}
|
||
|
||
html /deep/ .layout.horizontal {
|
||
-ms-flex-direction: row;
|
||
-webkit-flex-direction: row;
|
||
flex-direction: row;
|
||
}
|
||
|
||
html /deep/ .layout.horizontal-reverse {
|
||
-ms-flex-direction: row-reverse;
|
||
-webkit-flex-direction: row-reverse;
|
||
flex-direction: row-reverse;
|
||
}
|
||
|
||
html /deep/ .layout.vertical {
|
||
-ms-flex-direction: column;
|
||
-webkit-flex-direction: column;
|
||
flex-direction: column;
|
||
}
|
||
|
||
html /deep/ .layout.vertical-reverse {
|
||
-ms-flex-direction: column-reverse;
|
||
-webkit-flex-direction: column-reverse;
|
||
flex-direction: column-reverse;
|
||
}
|
||
|
||
html /deep/ .layout.wrap {
|
||
-ms-flex-wrap: wrap;
|
||
-webkit-flex-wrap: wrap;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
html /deep/ .layout.wrap-reverse {
|
||
-ms-flex-wrap: wrap-reverse;
|
||
-webkit-flex-wrap: wrap-reverse;
|
||
flex-wrap: wrap-reverse;
|
||
}
|
||
|
||
html /deep/ .flex-auto {
|
||
-ms-flex: 1 1 auto;
|
||
-webkit-flex: 1 1 auto;
|
||
flex: 1 1 auto;
|
||
}
|
||
|
||
html /deep/ .flex-none {
|
||
-ms-flex: none;
|
||
-webkit-flex: none;
|
||
flex: none;
|
||
}
|
||
|
||
html /deep/ .flex,
|
||
html /deep/ .flex-1 {
|
||
-ms-flex: 1;
|
||
-webkit-flex: 1;
|
||
flex: 1;
|
||
}
|
||
|
||
html /deep/ .flex-2 {
|
||
-ms-flex: 2;
|
||
-webkit-flex: 2;
|
||
flex: 2;
|
||
}
|
||
|
||
html /deep/ .flex-3 {
|
||
-ms-flex: 3;
|
||
-webkit-flex: 3;
|
||
flex: 3;
|
||
}
|
||
|
||
html /deep/ .flex-4 {
|
||
-ms-flex: 4;
|
||
-webkit-flex: 4;
|
||
flex: 4;
|
||
}
|
||
|
||
html /deep/ .flex-5 {
|
||
-ms-flex: 5;
|
||
-webkit-flex: 5;
|
||
flex: 5;
|
||
}
|
||
|
||
html /deep/ .flex-6 {
|
||
-ms-flex: 6;
|
||
-webkit-flex: 6;
|
||
flex: 6;
|
||
}
|
||
|
||
html /deep/ .flex-7 {
|
||
-ms-flex: 7;
|
||
-webkit-flex: 7;
|
||
flex: 7;
|
||
}
|
||
|
||
html /deep/ .flex-8 {
|
||
-ms-flex: 8;
|
||
-webkit-flex: 8;
|
||
flex: 8;
|
||
}
|
||
|
||
html /deep/ .flex-9 {
|
||
-ms-flex: 9;
|
||
-webkit-flex: 9;
|
||
flex: 9;
|
||
}
|
||
|
||
html /deep/ .flex-10 {
|
||
-ms-flex: 10;
|
||
-webkit-flex: 10;
|
||
flex: 10;
|
||
}
|
||
|
||
html /deep/ .flex-11 {
|
||
-ms-flex: 11;
|
||
-webkit-flex: 11;
|
||
flex: 11;
|
||
}
|
||
|
||
html /deep/ .flex-12 {
|
||
-ms-flex: 12;
|
||
-webkit-flex: 12;
|
||
flex: 12;
|
||
}
|
||
|
||
/* alignment in cross axis */
|
||
|
||
html /deep/ .layout.start {
|
||
-ms-flex-align: start;
|
||
-webkit-align-items: flex-start;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
html /deep/ .layout.center,
|
||
html /deep/ .layout.center-center {
|
||
-ms-flex-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
}
|
||
|
||
html /deep/ .layout.end {
|
||
-ms-flex-align: end;
|
||
-webkit-align-items: flex-end;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
/* alignment in main axis */
|
||
|
||
html /deep/ .layout.start-justified {
|
||
-ms-flex-pack: start;
|
||
-webkit-justify-content: flex-start;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
html /deep/ .layout.center-justified,
|
||
html /deep/ .layout.center-center {
|
||
-ms-flex-pack: center;
|
||
-webkit-justify-content: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
html /deep/ .layout.end-justified {
|
||
-ms-flex-pack: end;
|
||
-webkit-justify-content: flex-end;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
html /deep/ .layout.around-justified {
|
||
-ms-flex-pack: around;
|
||
-webkit-justify-content: space-around;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
html /deep/ .layout.justified {
|
||
-ms-flex-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
/* self alignment */
|
||
|
||
html /deep/ .self-start {
|
||
-ms-align-self: flex-start;
|
||
-webkit-align-self: flex-start;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
html /deep/ .self-center {
|
||
-ms-align-self: center;
|
||
-webkit-align-self: center;
|
||
align-self: center;
|
||
}
|
||
|
||
html /deep/ .self-end {
|
||
-ms-align-self: flex-end;
|
||
-webkit-align-self: flex-end;
|
||
align-self: flex-end;
|
||
}
|
||
|
||
html /deep/ .self-stretch {
|
||
-ms-align-self: stretch;
|
||
-webkit-align-self: stretch;
|
||
align-self: stretch;
|
||
}
|
||
|
||
/*******************************
|
||
Other Layout
|
||
*******************************/
|
||
|
||
html /deep/ .block {
|
||
display: block;
|
||
}
|
||
|
||
/* IE 10 support for HTML5 hidden attr */
|
||
html /deep/ [hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
html /deep/ .invisible {
|
||
visibility: hidden !important;
|
||
}
|
||
|
||
html /deep/ .relative {
|
||
position: relative;
|
||
}
|
||
|
||
html /deep/ .fit {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
body.fullbleed {
|
||
margin: 0;
|
||
height: 100vh;
|
||
}
|
||
|
||
html /deep/ .scroll {
|
||
-webkit-overflow-scrolling: touch;
|
||
overflow: auto;
|
||
}
|
||
|
||
.fixed-bottom,
|
||
.fixed-left,
|
||
.fixed-right,
|
||
.fixed-top {
|
||
position: fixed;
|
||
}
|
||
|
||
html /deep/ .fixed-top {
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
|
||
html /deep/ .fixed-right {
|
||
top: 0;
|
||
right: 0;
|
||
botttom: 0;
|
||
}
|
||
|
||
html /deep/ .fixed-bottom {
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
html /deep/ .fixed-left {
|
||
top: 0;
|
||
botttom: 0;
|
||
left: 0;
|
||
}</style><style>/*******************************
|
||
Flex Layout
|
||
*******************************/
|
||
|
||
.layout.horizontal,
|
||
.layout.horizontal-reverse,
|
||
.layout.vertical,
|
||
.layout.vertical-reverse {
|
||
display: -ms-flexbox;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
}
|
||
|
||
.layout.inline {
|
||
display: -ms-inline-flexbox;
|
||
display: -webkit-inline-flex;
|
||
display: inline-flex;
|
||
}
|
||
|
||
.layout.horizontal {
|
||
-ms-flex-direction: row;
|
||
-webkit-flex-direction: row;
|
||
flex-direction: row;
|
||
}
|
||
|
||
.layout.horizontal-reverse {
|
||
-ms-flex-direction: row-reverse;
|
||
-webkit-flex-direction: row-reverse;
|
||
flex-direction: row-reverse;
|
||
}
|
||
|
||
.layout.vertical {
|
||
-ms-flex-direction: column;
|
||
-webkit-flex-direction: column;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.layout.vertical-reverse {
|
||
-ms-flex-direction: column-reverse;
|
||
-webkit-flex-direction: column-reverse;
|
||
flex-direction: column-reverse;
|
||
}
|
||
|
||
.layout.wrap {
|
||
-ms-flex-wrap: wrap;
|
||
-webkit-flex-wrap: wrap;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.layout.wrap-reverse {
|
||
-ms-flex-wrap: wrap-reverse;
|
||
-webkit-flex-wrap: wrap-reverse;
|
||
flex-wrap: wrap-reverse;
|
||
}
|
||
|
||
.flex-auto {
|
||
-ms-flex: 1 1 auto;
|
||
-webkit-flex: 1 1 auto;
|
||
flex: 1 1 auto;
|
||
}
|
||
|
||
.flex-none {
|
||
-ms-flex: none;
|
||
-webkit-flex: none;
|
||
flex: none;
|
||
}
|
||
|
||
.flex,
|
||
.flex-1 {
|
||
-ms-flex: 1;
|
||
-webkit-flex: 1;
|
||
flex: 1;
|
||
}
|
||
|
||
.flex-2 {
|
||
-ms-flex: 2;
|
||
-webkit-flex: 2;
|
||
flex: 2;
|
||
}
|
||
|
||
.flex-3 {
|
||
-ms-flex: 3;
|
||
-webkit-flex: 3;
|
||
flex: 3;
|
||
}
|
||
|
||
.flex-4 {
|
||
-ms-flex: 4;
|
||
-webkit-flex: 4;
|
||
flex: 4;
|
||
}
|
||
|
||
.flex-5 {
|
||
-ms-flex: 5;
|
||
-webkit-flex: 5;
|
||
flex: 5;
|
||
}
|
||
|
||
.flex-6 {
|
||
-ms-flex: 6;
|
||
-webkit-flex: 6;
|
||
flex: 6;
|
||
}
|
||
|
||
.flex-7 {
|
||
-ms-flex: 7;
|
||
-webkit-flex: 7;
|
||
flex: 7;
|
||
}
|
||
|
||
.flex-8 {
|
||
-ms-flex: 8;
|
||
-webkit-flex: 8;
|
||
flex: 8;
|
||
}
|
||
|
||
.flex-9 {
|
||
-ms-flex: 9;
|
||
-webkit-flex: 9;
|
||
flex: 9;
|
||
}
|
||
|
||
.flex-10 {
|
||
-ms-flex: 10;
|
||
-webkit-flex: 10;
|
||
flex: 10;
|
||
}
|
||
|
||
.flex-11 {
|
||
-ms-flex: 11;
|
||
-webkit-flex: 11;
|
||
flex: 11;
|
||
}
|
||
|
||
.flex-12 {
|
||
-ms-flex: 12;
|
||
-webkit-flex: 12;
|
||
flex: 12;
|
||
}
|
||
|
||
/* alignment in cross axis */
|
||
|
||
.layout.start {
|
||
-ms-flex-align: start;
|
||
-webkit-align-items: flex-start;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.layout.center,
|
||
.layout.center-center {
|
||
-ms-flex-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
}
|
||
|
||
.layout.end {
|
||
-ms-flex-align: end;
|
||
-webkit-align-items: flex-end;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
/* alignment in main axis */
|
||
|
||
.layout.start-justified {
|
||
-ms-flex-pack: start;
|
||
-webkit-justify-content: flex-start;
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.layout.center-justified,
|
||
.layout.center-center {
|
||
-ms-flex-pack: center;
|
||
-webkit-justify-content: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.layout.end-justified {
|
||
-ms-flex-pack: end;
|
||
-webkit-justify-content: flex-end;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.layout.around-justified {
|
||
-ms-flex-pack: around;
|
||
-webkit-justify-content: space-around;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
.layout.justified {
|
||
-ms-flex-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
/* self alignment */
|
||
|
||
.self-start {
|
||
-ms-align-self: flex-start;
|
||
-webkit-align-self: flex-start;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
.self-center {
|
||
-ms-align-self: center;
|
||
-webkit-align-self: center;
|
||
align-self: center;
|
||
}
|
||
|
||
.self-end {
|
||
-ms-align-self: flex-end;
|
||
-webkit-align-self: flex-end;
|
||
align-self: flex-end;
|
||
}
|
||
|
||
.self-stretch {
|
||
-ms-align-self: stretch;
|
||
-webkit-align-self: stretch;
|
||
align-self: stretch;
|
||
}
|
||
|
||
/*******************************
|
||
Other Layout
|
||
*******************************/
|
||
|
||
.block {
|
||
display: block;
|
||
}
|
||
|
||
/* IE 10 support for HTML5 hidden attr */
|
||
[hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
.invisible {
|
||
visibility: hidden !important;
|
||
}
|
||
|
||
.relative {
|
||
position: relative;
|
||
}
|
||
|
||
.fit {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
body.fullbleed {
|
||
margin: 0;
|
||
height: 100vh;
|
||
}
|
||
|
||
.scroll {
|
||
-webkit-overflow-scrolling: touch;
|
||
overflow: auto;
|
||
}
|
||
|
||
/* fixed position */
|
||
|
||
.fixed-bottom,
|
||
.fixed-left,
|
||
.fixed-right,
|
||
.fixed-top {
|
||
position: fixed;
|
||
}
|
||
|
||
.fixed-top {
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
|
||
.fixed-right {
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
}
|
||
|
||
.fixed-bottom {
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
.fixed-left {
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}</style><style is="custom-style">:root {
|
||
|
||
/* Material Design color palette for Google products */
|
||
|
||
--google-red-100: #f4c7c3;
|
||
--google-red-300: #e67c73;
|
||
--google-red-500: #db4437;
|
||
--google-red-700: #c53929;
|
||
|
||
--google-blue-100: #c6dafc;
|
||
--google-blue-300: #7baaf7;
|
||
--google-blue-500: #4285f4;
|
||
--google-blue-700: #3367d6;
|
||
|
||
--google-green-100: #b7e1cd;
|
||
--google-green-300: #57bb8a;
|
||
--google-green-500: #0f9d58;
|
||
--google-green-700: #0b8043;
|
||
|
||
--google-yellow-100: #fce8b2;
|
||
--google-yellow-300: #f7cb4d;
|
||
--google-yellow-500: #f4b400;
|
||
--google-yellow-700: #f09300;
|
||
|
||
--google-grey-100: #f5f5f5;
|
||
--google-grey-300: #e0e0e0;
|
||
--google-grey-500: #9e9e9e;
|
||
--google-grey-700: #616161;
|
||
|
||
/* Material Design color palette from online spec document */
|
||
|
||
--paper-red-50: #ffebee;
|
||
--paper-red-100: #ffcdd2;
|
||
--paper-red-200: #ef9a9a;
|
||
--paper-red-300: #e57373;
|
||
--paper-red-400: #ef5350;
|
||
--paper-red-500: #f44336;
|
||
--paper-red-600: #e53935;
|
||
--paper-red-700: #d32f2f;
|
||
--paper-red-800: #c62828;
|
||
--paper-red-900: #b71c1c;
|
||
--paper-red-a100: #ff8a80;
|
||
--paper-red-a200: #ff5252;
|
||
--paper-red-a400: #ff1744;
|
||
--paper-red-a700: #d50000;
|
||
|
||
--paper-pink-50: #fce4ec;
|
||
--paper-pink-100: #f8bbd0;
|
||
--paper-pink-200: #f48fb1;
|
||
--paper-pink-300: #f06292;
|
||
--paper-pink-400: #ec407a;
|
||
--paper-pink-500: #e91e63;
|
||
--paper-pink-600: #d81b60;
|
||
--paper-pink-700: #c2185b;
|
||
--paper-pink-800: #ad1457;
|
||
--paper-pink-900: #880e4f;
|
||
--paper-pink-a100: #ff80ab;
|
||
--paper-pink-a200: #ff4081;
|
||
--paper-pink-a400: #f50057;
|
||
--paper-pink-a700: #c51162;
|
||
|
||
--paper-purple-50: #f3e5f5;
|
||
--paper-purple-100: #e1bee7;
|
||
--paper-purple-200: #ce93d8;
|
||
--paper-purple-300: #ba68c8;
|
||
--paper-purple-400: #ab47bc;
|
||
--paper-purple-500: #9c27b0;
|
||
--paper-purple-600: #8e24aa;
|
||
--paper-purple-700: #7b1fa2;
|
||
--paper-purple-800: #6a1b9a;
|
||
--paper-purple-900: #4a148c;
|
||
--paper-purple-a100: #ea80fc;
|
||
--paper-purple-a200: #e040fb;
|
||
--paper-purple-a400: #d500f9;
|
||
--paper-purple-a700: #aa00ff;
|
||
|
||
--paper-deep-purple-50: #ede7f6;
|
||
--paper-deep-purple-100: #d1c4e9;
|
||
--paper-deep-purple-200: #b39ddb;
|
||
--paper-deep-purple-300: #9575cd;
|
||
--paper-deep-purple-400: #7e57c2;
|
||
--paper-deep-purple-500: #673ab7;
|
||
--paper-deep-purple-600: #5e35b1;
|
||
--paper-deep-purple-700: #512da8;
|
||
--paper-deep-purple-800: #4527a0;
|
||
--paper-deep-purple-900: #311b92;
|
||
--paper-deep-purple-a100: #b388ff;
|
||
--paper-deep-purple-a200: #7c4dff;
|
||
--paper-deep-purple-a400: #651fff;
|
||
--paper-deep-purple-a700: #6200ea;
|
||
|
||
--paper-indigo-50: #e8eaf6;
|
||
--paper-indigo-100: #c5cae9;
|
||
--paper-indigo-200: #9fa8da;
|
||
--paper-indigo-300: #7986cb;
|
||
--paper-indigo-400: #5c6bc0;
|
||
--paper-indigo-500: #3f51b5;
|
||
--paper-indigo-600: #3949ab;
|
||
--paper-indigo-700: #303f9f;
|
||
--paper-indigo-800: #283593;
|
||
--paper-indigo-900: #1a237e;
|
||
--paper-indigo-a100: #8c9eff;
|
||
--paper-indigo-a200: #536dfe;
|
||
--paper-indigo-a400: #3d5afe;
|
||
--paper-indigo-a700: #304ffe;
|
||
|
||
--paper-blue-50: #e3f2fd;
|
||
--paper-blue-100: #bbdefb;
|
||
--paper-blue-200: #90caf9;
|
||
--paper-blue-300: #64b5f6;
|
||
--paper-blue-400: #42a5f5;
|
||
--paper-blue-500: #2196f3;
|
||
--paper-blue-600: #1e88e5;
|
||
--paper-blue-700: #1976d2;
|
||
--paper-blue-800: #1565c0;
|
||
--paper-blue-900: #0d47a1;
|
||
--paper-blue-a100: #82b1ff;
|
||
--paper-blue-a200: #448aff;
|
||
--paper-blue-a400: #2979ff;
|
||
--paper-blue-a700: #2962ff;
|
||
|
||
--paper-light-blue-50: #e1f5fe;
|
||
--paper-light-blue-100: #b3e5fc;
|
||
--paper-light-blue-200: #81d4fa;
|
||
--paper-light-blue-300: #4fc3f7;
|
||
--paper-light-blue-400: #29b6f6;
|
||
--paper-light-blue-500: #03a9f4;
|
||
--paper-light-blue-600: #039be5;
|
||
--paper-light-blue-700: #0288d1;
|
||
--paper-light-blue-800: #0277bd;
|
||
--paper-light-blue-900: #01579b;
|
||
--paper-light-blue-a100: #80d8ff;
|
||
--paper-light-blue-a200: #40c4ff;
|
||
--paper-light-blue-a400: #00b0ff;
|
||
--paper-light-blue-a700: #0091ea;
|
||
|
||
--paper-cyan-50: #e0f7fa;
|
||
--paper-cyan-100: #b2ebf2;
|
||
--paper-cyan-200: #80deea;
|
||
--paper-cyan-300: #4dd0e1;
|
||
--paper-cyan-400: #26c6da;
|
||
--paper-cyan-500: #00bcd4;
|
||
--paper-cyan-600: #00acc1;
|
||
--paper-cyan-700: #0097a7;
|
||
--paper-cyan-800: #00838f;
|
||
--paper-cyan-900: #006064;
|
||
--paper-cyan-a100: #84ffff;
|
||
--paper-cyan-a200: #18ffff;
|
||
--paper-cyan-a400: #00e5ff;
|
||
--paper-cyan-a700: #00b8d4;
|
||
|
||
--paper-teal-50: #e0f2f1;
|
||
--paper-teal-100: #b2dfdb;
|
||
--paper-teal-200: #80cbc4;
|
||
--paper-teal-300: #4db6ac;
|
||
--paper-teal-400: #26a69a;
|
||
--paper-teal-500: #009688;
|
||
--paper-teal-600: #00897b;
|
||
--paper-teal-700: #00796b;
|
||
--paper-teal-800: #00695c;
|
||
--paper-teal-900: #004d40;
|
||
--paper-teal-a100: #a7ffeb;
|
||
--paper-teal-a200: #64ffda;
|
||
--paper-teal-a400: #1de9b6;
|
||
--paper-teal-a700: #00bfa5;
|
||
|
||
--paper-green-50: #e8f5e9;
|
||
--paper-green-100: #c8e6c9;
|
||
--paper-green-200: #a5d6a7;
|
||
--paper-green-300: #81c784;
|
||
--paper-green-400: #66bb6a;
|
||
--paper-green-500: #4caf50;
|
||
--paper-green-600: #43a047;
|
||
--paper-green-700: #388e3c;
|
||
--paper-green-800: #2e7d32;
|
||
--paper-green-900: #1b5e20;
|
||
--paper-green-a100: #b9f6ca;
|
||
--paper-green-a200: #69f0ae;
|
||
--paper-green-a400: #00e676;
|
||
--paper-green-a700: #00c853;
|
||
|
||
--paper-light-green-50: #f1f8e9;
|
||
--paper-light-green-100: #dcedc8;
|
||
--paper-light-green-200: #c5e1a5;
|
||
--paper-light-green-300: #aed581;
|
||
--paper-light-green-400: #9ccc65;
|
||
--paper-light-green-500: #8bc34a;
|
||
--paper-light-green-600: #7cb342;
|
||
--paper-light-green-700: #689f38;
|
||
--paper-light-green-800: #558b2f;
|
||
--paper-light-green-900: #33691e;
|
||
--paper-light-green-a100: #ccff90;
|
||
--paper-light-green-a200: #b2ff59;
|
||
--paper-light-green-a400: #76ff03;
|
||
--paper-light-green-a700: #64dd17;
|
||
|
||
--paper-lime-50: #f9fbe7;
|
||
--paper-lime-100: #f0f4c3;
|
||
--paper-lime-200: #e6ee9c;
|
||
--paper-lime-300: #dce775;
|
||
--paper-lime-400: #d4e157;
|
||
--paper-lime-500: #cddc39;
|
||
--paper-lime-600: #c0ca33;
|
||
--paper-lime-700: #afb42b;
|
||
--paper-lime-800: #9e9d24;
|
||
--paper-lime-900: #827717;
|
||
--paper-lime-a100: #f4ff81;
|
||
--paper-lime-a200: #eeff41;
|
||
--paper-lime-a400: #c6ff00;
|
||
--paper-lime-a700: #aeea00;
|
||
|
||
--paper-yellow-50: #fffde7;
|
||
--paper-yellow-100: #fff9c4;
|
||
--paper-yellow-200: #fff59d;
|
||
--paper-yellow-300: #fff176;
|
||
--paper-yellow-400: #ffee58;
|
||
--paper-yellow-500: #ffeb3b;
|
||
--paper-yellow-600: #fdd835;
|
||
--paper-yellow-700: #fbc02d;
|
||
--paper-yellow-800: #f9a825;
|
||
--paper-yellow-900: #f57f17;
|
||
--paper-yellow-a100: #ffff8d;
|
||
--paper-yellow-a200: #ffff00;
|
||
--paper-yellow-a400: #ffea00;
|
||
--paper-yellow-a700: #ffd600;
|
||
|
||
--paper-amber-50: #fff8e1;
|
||
--paper-amber-100: #ffecb3;
|
||
--paper-amber-200: #ffe082;
|
||
--paper-amber-300: #ffd54f;
|
||
--paper-amber-400: #ffca28;
|
||
--paper-amber-500: #ffc107;
|
||
--paper-amber-600: #ffb300;
|
||
--paper-amber-700: #ffa000;
|
||
--paper-amber-800: #ff8f00;
|
||
--paper-amber-900: #ff6f00;
|
||
--paper-amber-a100: #ffe57f;
|
||
--paper-amber-a200: #ffd740;
|
||
--paper-amber-a400: #ffc400;
|
||
--paper-amber-a700: #ffab00;
|
||
|
||
--paper-orange-50: #fff3e0;
|
||
--paper-orange-100: #ffe0b2;
|
||
--paper-orange-200: #ffcc80;
|
||
--paper-orange-300: #ffb74d;
|
||
--paper-orange-400: #ffa726;
|
||
--paper-orange-500: #ff9800;
|
||
--paper-orange-600: #fb8c00;
|
||
--paper-orange-700: #f57c00;
|
||
--paper-orange-800: #ef6c00;
|
||
--paper-orange-900: #e65100;
|
||
--paper-orange-a100: #ffd180;
|
||
--paper-orange-a200: #ffab40;
|
||
--paper-orange-a400: #ff9100;
|
||
--paper-orange-a700: #ff6500;
|
||
|
||
--paper-deep-orange-50: #ff5722;
|
||
--paper-deep-orange-100: #fbe9e7;
|
||
--paper-deep-orange-200: #ffccbc;
|
||
--paper-deep-orange-300: #ff8a65;
|
||
--paper-deep-orange-400: #ff7043;
|
||
--paper-deep-orange-500: #ff5722;
|
||
--paper-deep-orange-600: #f4511e;
|
||
--paper-deep-orange-700: #e64a19;
|
||
--paper-deep-orange-800: #d84315;
|
||
--paper-deep-orange-900: #bf360c;
|
||
--paper-deep-orange-a100: #ff9e80;
|
||
--paper-deep-orange-a200: #ff6e40;
|
||
--paper-deep-orange-a400: #ff3d00;
|
||
--paper-deep-orange-a700: #dd2c00;
|
||
|
||
--paper-brown-50: #efebe9;
|
||
--paper-brown-100: #d7ccc8;
|
||
--paper-brown-200: #bcaaa4;
|
||
--paper-brown-300: #a1887f;
|
||
--paper-brown-400: #8d6e63;
|
||
--paper-brown-500: #795548;
|
||
--paper-brown-600: #6d4c41;
|
||
--paper-brown-700: #5d4037;
|
||
--paper-brown-800: #4e342e;
|
||
--paper-brown-900: #3e2723;
|
||
|
||
--paper-grey-50: #fafafa;
|
||
--paper-grey-100: #f5f5f5;
|
||
--paper-grey-200: #eeeeee;
|
||
--paper-grey-300: #e0e0e0;
|
||
--paper-grey-400: #bdbdbd;
|
||
--paper-grey-500: #9e9e9e;
|
||
--paper-grey-600: #757575;
|
||
--paper-grey-700: #616161;
|
||
--paper-grey-800: #424242;
|
||
--paper-grey-900: #212121;
|
||
|
||
--paper-blue-grey-50: #eceff1;
|
||
--paper-blue-grey-100: #cfd8dc;
|
||
--paper-blue-grey-200: #b0bec5;
|
||
--paper-blue-grey-300: #90a4ae;
|
||
--paper-blue-grey-400: #78909c;
|
||
--paper-blue-grey-500: #607d8b;
|
||
--paper-blue-grey-600: #546e7a;
|
||
--paper-blue-grey-700: #455a64;
|
||
--paper-blue-grey-800: #37474f;
|
||
--paper-blue-grey-900: #263238;
|
||
|
||
/* opacity for dark text on a light background */
|
||
--dark-divider-opacity: 0.12;
|
||
--dark-disabled-opacity: 0.26; /* or hint text */
|
||
--dark-secondary-opacity: 0.54; /* or icon */
|
||
--dark-primary-opacity: 0.87;
|
||
|
||
/* opacity for light text on a dark background */
|
||
--light-divider-opacity: 0.12;
|
||
--light-disabled-opacity: 0.3; /* or hint text */
|
||
--light-secondary-opacity: 0.7; /* or icon */
|
||
--light-primary-opacity: 1.0;
|
||
|
||
}</style><script>Polymer.PaperInputAddonBehavior={hostAttributes:{"add-on":""},attached:function(){this.fire("addon-attached")},update:function(t){}};</script><script>Polymer.IronValidatableBehavior={properties:{validatorType:{type:String,value:"validator"},validator:{type:String},invalid:{notify:!0,reflectToAttribute:!0,type:Boolean,value:!1},_validatorMeta:{type:Object}},observers:["_invalidChanged(invalid)"],get _validator(){return this._validatorMeta&&this._validatorMeta.byKey(this.validator)},ready:function(){this._validatorMeta=new Polymer.IronMeta({type:this.validatorType})},_invalidChanged:function(){this.invalid?this.setAttribute("aria-invalid","true"):this.removeAttribute("aria-invalid")},hasValidator:function(){return null!=this._validator},validate:function(t){var a=this._validator&&this._validator.validate(t);return this.invalid=!a,a}};</script><script>Polymer({is:"iron-input","extends":"input",behaviors:[Polymer.IronValidatableBehavior],properties:{bindValue:{observer:"_bindValueChanged",type:String},preventInvalidInput:{type:Boolean},allowedPattern:{type:String},_previousValidInput:{type:String,value:""},_patternAlreadyChecked:{type:Boolean,value:!1}},listeners:{input:"_onInput",keypress:"_onKeypress"},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else if(this.pattern)e=new RegExp(this.pattern);else switch(this.type){case"number":e=/[0-9.,e-]/}return e},ready:function(){this.bindValue=this.value},_bindValueChanged:function(){this.value!==this.bindValue&&(this.value=this.bindValue?this.bindValue:""),this.fire("bind-value-changed",{value:this.bindValue})},_onInput:function(){if(this.preventInvalidInput&&!this._patternAlreadyChecked){var e=this._checkPatternValidity();e||(this.value=this._previousValidInput)}this.bindValue=this.value,this._previousValidInput=this.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||19==e.keyCode||20==e.keyCode||27==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(0==e.charCode&&t)},_onKeypress:function(e){if(this.preventInvalidInput||"number"===this.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var i=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(i)&&e.preventDefault()}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t<this.value.length;t++)if(!e.test(this.value[t]))return!1;return!0},validate:function(){if(!this.required&&""==this.value)return this.invalid=!1,!0;var e;return this.hasValidator()?e=Polymer.IronValidatableBehavior.validate.call(this,this.value):(this.invalid=!this.validity.valid,e=this.validity.valid),this.fire("iron-input-validate"),e}});</script><script>Polymer({is:"iron-media-query",properties:{queryMatches:{type:Boolean,value:!1,readOnly:!0,notify:!0},query:{type:String,observer:"queryChanged"}},created:function(){this._mqHandler=this.queryHandler.bind(this)},queryChanged:function(e){this._mq&&this._mq.removeListener(this._mqHandler),"("!==e[0]&&(e="("+e+")"),this._mq=window.matchMedia(e),this._mq.addListener(this._mqHandler),this.queryHandler(this._mq)},queryHandler:function(e){this._setQueryMatches(e.matches)}});</script><script>Polymer.IronSelection=function(e){this.selection=[],this.selectCallback=e},Polymer.IronSelection.prototype={get:function(){return this.multi?this.selection:this.selection[0]},clear:function(e){this.selection.slice().forEach(function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)},this)},isSelected:function(e){return this.selection.indexOf(e)>=0},setItemSelected:function(e,t){if(null!=e){if(t)this.selection.push(e);else{var i=this.selection.indexOf(e);i>=0&&this.selection.splice(i,1)}this.selectCallback&&this.selectCallback(e,t)}},select:function(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))},toggle:function(e){this.setItemSelected(e,!this.isSelected(e))}};</script><script>Polymer.IronSelectableBehavior={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null}},observers:["_updateSelected(attrForSelected, selected)"],excludedLocalNames:{template:1},created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new Polymer.IronSelection(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._contentObserver=this._observeContent(this)},detached:function(){this._observer&&this._observer.disconnect(),this._contentObserver&&this._contentObserver.disconnect(),this._removeListener(this.activateEvent)},get items(){var e=Polymer.dom(this).queryDistributedElements(this.selectable||"*");return Array.prototype.filter.call(e,this._bindFilterItem)},indexOf:function(e){return this.items.indexOf(e)},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=(Number(this._valueToIndex(this.selected))-1+e)%e;this.selected=this._indexToValue(t)},selectNext:function(){var e=(Number(this._valueToIndex(this.selected))+1)%this.items.length;this.selected=this._indexToValue(e)},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){this._selection.select(this._valueToItem(this.selected))},_filterItem:function(e){return!this.excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,i=0;t=this.items[i];i++)if(this._valueForItem(t)==e)return i},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){return e[this.attrForSelected]||e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeContent:function(e){var t=e.querySelector("content");return t&&t.parentElement===e?this._observeItems(e.domHost):void 0},_observeItems:function(e){var t=new MutationObserver(function(){null!=this.selected&&this._updateSelected()}.bind(this));return t.observe(e,{childList:!0,subtree:!0}),t},_activateHandler:function(e){if(e.type===this.activateEvent)for(var t=e.target,i=this.items;t&&t!=this;){var s=i.indexOf(t);if(s>=0){var n=this._indexToValue(s);return void this._itemActivate(n,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}};</script><script>Polymer.IronMultiSelectableBehaviorImpl={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0},selectedItems:{type:Array,readOnly:!0,notify:!0}},observers:["_updateSelected(attrForSelected, selectedValues)"],select:function(e){this.multi?this.selectedValues?this._toggleSelected(e):this.selectedValues=[e]:this.selected=e},multiChanged:function(e){this._selection.multi=e},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){if(this._selection.clear(),e)for(var t=0;t<e.length;t++)this._selection.setItemSelected(this._valueToItem(e[t]),!0)},_selectionChange:function(){var e=this._selection.get();this.multi?this._setSelectedItems(e):(this._setSelectedItems([e]),this._setSelectedItem(e))},_toggleSelected:function(e){var t=this.selectedValues.indexOf(e),l=0>t;l?this.selectedValues.push(e):this.selectedValues.splice(t,1),this._selection.setItemSelected(this._valueToItem(e),l)}},Polymer.IronMultiSelectableBehavior=[Polymer.IronSelectableBehavior,Polymer.IronMultiSelectableBehaviorImpl];</script><script>Polymer({is:"iron-selector",behaviors:[Polymer.IronMultiSelectableBehavior]});</script><script>Polymer.IronResizableBehavior={properties:{_parentResizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant:{type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIronRequestResizeNotifications"},created:function(){this._interestedResizables=[],this._boundNotifyResize=this.notifyResize.bind(this)},attached:function(){this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable||(window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},detached:function(){this._parentResizable?this._parentResizable.stopResizeNotificationsFor(this):window.removeEventListener("resize",this._boundNotifyResize),this._parentResizable=null},notifyResize:function(){this.isAttached&&(this._interestedResizables.forEach(function(e){this.resizerShouldNotify(e)&&this._notifyDescendant(e)},this),this._fireResize())},assignParentResizable:function(e){this._parentResizable=e},stopResizeNotificationsFor:function(e){var i=this._interestedResizables.indexOf(e);i>-1&&(this._interestedResizables.splice(i,1),this.unlisten(e,"iron-resize","_onDescendantIronResize"))},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){return this._notifyingDescendant?void e.stopPropagation():void(Polymer.Settings.useShadow||this._fireResize())},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var i=e.path?e.path[0]:e.target;i!==this&&(-1===this._interestedResizables.indexOf(i)&&(this._interestedResizables.push(i),this.listen(i,"iron-resize","_onDescendantIronResize")),i.assignParentResizable(this),this._notifyDescendant(i),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)}};</script><script>Polymer.IronFormElementBehavior={properties:{name:{type:String},value:{notify:!0,type:String},_parentForm:{type:Object}},attached:function(){this._parentForm=Polymer.dom(this).parentNode,this.fire("iron-form-element-register")},detached:function(){this._parentForm&&this._parentForm.fire("iron-form-element-unregister",{target:this})}};</script><script>Polymer.PaperInputBehaviorImpl={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1},preventInvalidInput:{type:Boolean},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},maxlength:{type:Number},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean},inputmode:{type:String},minlength:{type:Number},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},_ariaDescribedBy:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},get inputElement(){return this.$.input},attached:function(){this._updateAriaLabelledBy()},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=e.path?e.path[0]:e.target;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var a="paper-input-add-on-"+Math.floor(1e5*Math.random());t.id=a,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,a)}},validate:function(){return this.inputElement.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(a){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e=Polymer.dom(this.root).querySelector("label");if(!e)return void(this._ariaLabelledBy="");var t;e.id?t=e.id:(t="paper-input-label-"+(new Date).getUTCMilliseconds(),e.id=t),this._ariaLabelledBy=t}},Polymer.PaperInputBehavior=[Polymer.IronControlState,Polymer.PaperInputBehaviorImpl];</script><script>!function(e,t){"use strict";var n;if("object"==typeof exports){try{n=require("moment")}catch(i){}module.exports=t(n)}else"function"==typeof define&&define.amd?define(function(e){var i="moment";try{n=e(i)}catch(a){}return t(n)}):e.Pikaday=t(e.moment)}(this,function(e){"use strict";var t="function"==typeof e,n=!!window.addEventListener,i=window.document,a=window.setTimeout,o=function(e,t,i,a){n?e.addEventListener(t,i,!!a):e.attachEvent("on"+t,i)},s=function(e,t,i,a){n?e.removeEventListener(t,i,!!a):e.detachEvent("on"+t,i)},r=function(e,t,n){var a;i.createEvent?(a=i.createEvent("HTMLEvents"),a.initEvent(t,!0,!1),a=v(a,n),e.dispatchEvent(a)):i.createEventObject&&(a=i.createEventObject(),a=v(a,n),e.fireEvent("on"+t,a))},l=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},h=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},d=function(e,t){h(e,t)||(e.className=""===e.className?t:e.className+" "+t)},u=function(e,t){e.className=l((" "+e.className+" ").replace(" "+t+" "," "))},c=function(e){return/Array/.test(Object.prototype.toString.call(e))},f=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},g=function(e){var t=e.getDay();return 0===t||6===t},m=function(e){return e%4===0&&e%100!==0||e%400===0},p=function(e,t){return[31,m(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},y=function(e){f(e)&&e.setHours(0,0,0,0)},D=function(e,t){return e.getTime()===t.getTime()},v=function(e,t,n){var i,a;for(i in t)a=void 0!==e[i],a&&"object"==typeof t[i]&&null!==t[i]&&void 0===t[i].nodeName?f(t[i])?n&&(e[i]=new Date(t[i].getTime())):c(t[i])?n&&(e[i]=t[i].slice(0)):e[i]=v({},t[i],n):(n||!a)&&(e[i]=t[i]);return e},_=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},b={field:null,bound:void 0,position:"bottom left",reposition:!0,format:"YYYY-MM-DD",defaultDate:null,setDefaultDate:!1,firstDay:0,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,onSelect:null,onOpen:null,onClose:null,onDraw:null},w=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},M=function(e){if(e.isEmpty)return'<td class="is-empty"></td>';var t=[];return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&t.push("is-selected"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+e.day+"</button></td>"},k=function(e,t,n){var i=new Date(n,0,1),a=Math.ceil(((new Date(n,t,e)-i)/864e5+i.getDay()+1)/7);return'<td class="pika-week">'+a+"</td>"},x=function(e,t){return"<tr>"+(t?e.reverse():e).join("")+"</tr>"},R=function(e){return"<tbody>"+e.join("")+"</tbody>"},N=function(e){var t,n=[];for(e.showWeekNumber&&n.push("<th></th>"),t=0;7>t;t++)n.push('<th scope="col"><abbr title="'+w(e,t)+'">'+w(e,t,!0)+"</abbr></th>");return"<thead>"+(e.isRTL?n.reverse():n).join("")+"</thead>"},C=function(e,t,n,i,a){var o,s,r,l,h,d=e._o,u=n===d.minYear,f=n===d.maxYear,g='<div class="pika-title">',m=!0,p=!0;for(r=[],o=0;12>o;o++)r.push('<option value="'+(n===a?o-t:12+o-t)+'"'+(o===i?" selected":"")+(u&&o<d.minMonth||f&&o>d.maxMonth?"disabled":"")+">"+d.i18n.months[o]+"</option>");for(l='<div class="pika-label">'+d.i18n.months[i]+'<select class="pika-select pika-select-month" tabindex="-1">'+r.join("")+"</select></div>",c(d.yearRange)?(o=d.yearRange[0],s=d.yearRange[1]+1):(o=n-d.yearRange,s=1+n+d.yearRange),r=[];s>o&&o<=d.maxYear;o++)o>=d.minYear&&r.push('<option value="'+o+'"'+(o===n?" selected":"")+">"+o+"</option>");return h='<div class="pika-label">'+n+d.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+r.join("")+"</select></div>",g+=d.showMonthAfterYear?h+l:l+h,u&&(0===i||d.minMonth>=i)&&(m=!1),f&&(11===i||d.maxMonth<=i)&&(p=!1),0===t&&(g+='<button class="pika-prev'+(m?"":" is-disabled")+'" type="button">'+d.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(g+='<button class="pika-next'+(p?"":" is-disabled")+'" type="button">'+d.i18n.nextMonth+"</button>"),g+="</div>"},T=function(e,t){return'<table cellpadding="0" cellspacing="0" class="pika-table">'+N(e)+R(t)+"</table>"},E=function(s){var r=this,l=r.config(s);r._onMouseDown=function(e){if(r._v){e=e||window.event;var t=e.target||e.srcElement;if(t){if(!h(t.parentNode,"is-disabled")){if(h(t,"pika-button")&&!h(t,"is-empty"))return r.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),void(l.bound&&a(function(){r.hide(),l.field&&l.field.blur()},100));h(t,"pika-prev")?r.prevMonth():h(t,"pika-next")&&r.nextMonth()}if(h(t,"pika-select"))r._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}}},r._onChange=function(e){e=e||window.event;var t=e.target||e.srcElement;t&&(h(t,"pika-select-month")?r.gotoMonth(t.value):h(t,"pika-select-year")&&r.gotoYear(t.value))},r._onInputChange=function(n){var i;n.firedBy!==r&&(t?(i=e(l.field.value,l.format),i=i&&i.isValid()?i.toDate():null):i=new Date(Date.parse(l.field.value)),f(i)&&r.setDate(i),r._v||r.show())},r._onInputFocus=function(){r.show()},r._onInputClick=function(){r.show()},r._onInputBlur=function(){var e=i.activeElement;do if(h(e,"pika-single"))return;while(e=e.parentNode);r._c||(r._b=a(function(){r.hide()},50)),r._c=!1},r._onClick=function(e){e=e||window.event;var t=e.target||e.srcElement,i=t;if(t){!n&&h(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),o(t,"change",r._onChange)));do if(h(i,"pika-single")||i===l.trigger)return;while(i=i.parentNode);r._v&&t!==l.trigger&&i!==l.trigger&&r.hide()}},r.el=i.createElement("div"),r.el.className="pika-single"+(l.isRTL?" is-rtl":"")+(l.theme?" "+l.theme:""),o(r.el,"ontouchend"in i?"touchend":"mousedown",r._onMouseDown,!0),o(r.el,"change",r._onChange),l.field&&(l.container?l.container.appendChild(r.el):l.bound?i.body.appendChild(r.el):l.field.parentNode.insertBefore(r.el,l.field.nextSibling),o(l.field,"change",r._onInputChange),l.defaultDate||(t&&l.field.value?l.defaultDate=e(l.field.value,l.format).toDate():l.defaultDate=new Date(Date.parse(l.field.value)),l.setDefaultDate=!0));var d=l.defaultDate;f(d)?l.setDefaultDate?r.setDate(d,!0):r.gotoDate(d):r.gotoDate(new Date),l.bound?(this.hide(),r.el.className+=" is-bound",o(l.trigger,"click",r._onInputClick),o(l.trigger,"focus",r._onInputFocus),o(l.trigger,"blur",r._onInputBlur)):this.show()};return E.prototype={config:function(e){this._o||(this._o=v({},b,!0));var t=v(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,f(t.minDate)||(t.minDate=!1),f(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&(y(t.maxDate),t.maxYear=t.maxDate.getFullYear(),t.maxMonth=t.maxDate.getMonth()),c(t.yearRange)){var i=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||i,t.yearRange[1]=parseInt(t.yearRange[1],10)||i}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||b.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(n){return f(this._d)?t?e(this._d).format(n||this._o.format):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,i){t&&e.isMoment(n)&&this.setDate(n.toDate(),i)},getDate:function(){return f(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",r(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),f(e)){var n=this._o.minDate,i=this._o.maxDate;f(n)&&n>e?e=n:f(i)&&e>i&&(e=i),this._d=new Date(e.getTime()),y(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),r(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(e){var t=!0;if(f(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),i=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),a=e.getTime();i.setMonth(i.getMonth()+1),i.setDate(i.getDate()-1),t=a<n.getTime()||i.getTime()<a}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustCalendars:function(){this.calendars[0]=_(this.calendars[0]);for(var e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=_({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){y(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()},setMaxDate:function(e){this._o.maxDate=e},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var t=this._o,n=t.minYear,i=t.maxYear,o=t.minMonth,s=t.maxMonth,r="";this._y<=n&&(this._y=n,!isNaN(o)&&this._m<o&&(this._m=o)),this._y>=i&&(this._y=i,!isNaN(s)&&this._m>s&&(this._m=s));for(var l=0;l<t.numberOfMonths;l++)r+='<div class="pika-lendar">'+C(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year)+this.render(this.calendars[l].year,this.calendars[l].month)+"</div>";if(this.el.innerHTML=r,t.bound&&"hidden"!==t.field.type&&a(function(){t.trigger.focus()},1),"function"==typeof this._o.onDraw){var h=this;a(function(){h._o.onDraw.call(h)},0)}}},adjustPosition:function(){var e,t,n,a,o,s,r,l,h,d;if(!this._o.container){if(this.el.style.position="absolute",e=this._o.trigger,t=e,n=this.el.offsetWidth,a=this.el.offsetHeight,o=window.innerWidth||i.documentElement.clientWidth,s=window.innerHeight||i.documentElement.clientHeight,r=window.pageYOffset||i.body.scrollTop||i.documentElement.scrollTop,"function"==typeof e.getBoundingClientRect)d=e.getBoundingClientRect(),l=d.left+window.pageXOffset,h=d.bottom+window.pageYOffset;else for(l=t.offsetLeft,h=t.offsetTop+t.offsetHeight;t=t.offsetParent;)l+=t.offsetLeft,h+=t.offsetTop;(this._o.reposition&&l+n>o||this._o.position.indexOf("right")>-1&&l-n+e.offsetWidth>0)&&(l=l-n+e.offsetWidth),(this._o.reposition&&h+a>s+r||this._o.position.indexOf("top")>-1&&h-a-e.offsetHeight>0)&&(h=h-a-e.offsetHeight),this.el.style.left=l+"px",this.el.style.top=h+"px"}},render:function(e,t){var n=this._o,i=new Date,a=p(e,t),o=new Date(e,t,1).getDay(),s=[],r=[];y(i),n.firstDay>0&&(o-=n.firstDay,0>o&&(o+=7));for(var l=a+o,h=l;h>7;)h-=7;l+=7-h;for(var d=0,u=0;l>d;d++){var c,m=new Date(e,t,1+(d-o)),v=f(this._d)?D(m,this._d):!1,_=D(m,i),b=o>d||d>=a+o,w=n.startRange&&D(n.startRange,m),R=n.endRange&&D(n.endRange,m),N=n.startRange&&n.endRange&&n.startRange<m&&m<n.endRange,C=n.minDate&&m<n.minDate||n.maxDate&&m>n.maxDate||n.disableWeekends&&g(m)||n.disableDayFn&&n.disableDayFn(m),c={day:1+(d-o),month:t,year:e,isSelected:v,isToday:_,isDisabled:C,isEmpty:b,isStartRange:w,isEndRange:R,isInRange:N};r.push(M(c)),7===++u&&(n.showWeekNumber&&r.unshift(k(d-o,t,e)),s.push(x(r,n.isRTL)),r=[],u=0)}return T(n,s)},isVisible:function(){return this._v},show:function(){this._v||(u(this.el,"is-hidden"),this._v=!0,this.draw(),this._o.bound&&(o(i,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;e!==!1&&(this._o.bound&&s(i,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",d(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){this.hide(),s(this.el,"mousedown",this._onMouseDown,!0),s(this.el,"change",this._onChange),this._o.field&&(s(this._o.field,"change",this._onInputChange),this._o.bound&&(s(this._o.trigger,"click",this._onInputClick),s(this._o.trigger,"focus",this._onInputFocus),s(this._o.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},E});</script><style>@charset "UTF-8";
|
||
|
||
/*!
|
||
* Pikaday
|
||
* Copyright © 2014 David Bushell | BSD & MIT license | http://dbushell.com/
|
||
*/
|
||
|
||
.pika-single {
|
||
z-index: 9999;
|
||
display: block;
|
||
position: relative;
|
||
color: #333;
|
||
background: #fff;
|
||
border: 1px solid #ccc;
|
||
border-bottom-color: #bbb;
|
||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||
}
|
||
|
||
/*
|
||
clear child float (pika-lendar), using the famous micro clearfix hack
|
||
http://nicolasgallagher.com/micro-clearfix-hack/
|
||
*/
|
||
.pika-single:before,
|
||
.pika-single:after {
|
||
content: " ";
|
||
display: table;
|
||
}
|
||
.pika-single:after { clear: both }
|
||
.pika-single { *zoom: 1 }
|
||
|
||
.pika-single.is-hidden {
|
||
display: none;
|
||
}
|
||
|
||
.pika-single.is-bound {
|
||
position: absolute;
|
||
box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
|
||
}
|
||
|
||
.pika-lendar {
|
||
float: left;
|
||
width: 240px;
|
||
margin: 8px;
|
||
}
|
||
|
||
.pika-title {
|
||
position: relative;
|
||
text-align: center;
|
||
}
|
||
|
||
.pika-label {
|
||
display: inline-block;
|
||
*display: inline;
|
||
position: relative;
|
||
z-index: 9999;
|
||
overflow: hidden;
|
||
margin: 0;
|
||
padding: 5px 3px;
|
||
font-size: 14px;
|
||
line-height: 20px;
|
||
font-weight: bold;
|
||
background-color: #fff;
|
||
}
|
||
.pika-title select {
|
||
cursor: pointer;
|
||
position: absolute;
|
||
z-index: 9998;
|
||
margin: 0;
|
||
left: 0;
|
||
top: 5px;
|
||
filter: alpha(opacity=0);
|
||
opacity: 0;
|
||
}
|
||
|
||
.pika-prev,
|
||
.pika-next {
|
||
display: block;
|
||
cursor: pointer;
|
||
position: relative;
|
||
outline: none;
|
||
border: 0;
|
||
padding: 0;
|
||
width: 20px;
|
||
height: 30px;
|
||
/* hide text using text-indent trick, using width value (it's enough) */
|
||
text-indent: 20px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
background-color: transparent;
|
||
background-position: center center;
|
||
background-repeat: no-repeat;
|
||
background-size: 75% 75%;
|
||
opacity: .5;
|
||
*position: absolute;
|
||
*top: 0;
|
||
}
|
||
|
||
.pika-prev:hover,
|
||
.pika-next:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
.pika-prev,
|
||
.is-rtl .pika-next {
|
||
float: left;
|
||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==");
|
||
*left: 0;
|
||
}
|
||
|
||
.pika-next,
|
||
.is-rtl .pika-prev {
|
||
float: right;
|
||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=");
|
||
*right: 0;
|
||
}
|
||
|
||
.pika-prev.is-disabled,
|
||
.pika-next.is-disabled {
|
||
cursor: default;
|
||
opacity: .2;
|
||
}
|
||
|
||
.pika-select {
|
||
display: inline-block;
|
||
*display: inline;
|
||
}
|
||
|
||
.pika-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
border-spacing: 0;
|
||
border: 0;
|
||
}
|
||
|
||
.pika-table th,
|
||
.pika-table td {
|
||
width: 14.285714285714286%;
|
||
padding: 0;
|
||
}
|
||
|
||
.pika-table th {
|
||
color: #999;
|
||
font-size: 12px;
|
||
line-height: 25px;
|
||
font-weight: bold;
|
||
text-align: center;
|
||
}
|
||
|
||
.pika-button {
|
||
cursor: pointer;
|
||
display: block;
|
||
box-sizing: border-box;
|
||
-moz-box-sizing: border-box;
|
||
outline: none;
|
||
border: 0;
|
||
margin: 0;
|
||
width: 100%;
|
||
padding: 5px;
|
||
color: #666;
|
||
font-size: 12px;
|
||
line-height: 15px;
|
||
text-align: right;
|
||
background: #f5f5f5;
|
||
}
|
||
|
||
.pika-week {
|
||
font-size: 11px;
|
||
color: #999;
|
||
}
|
||
|
||
.is-today .pika-button {
|
||
color: #33aaff;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.is-selected .pika-button {
|
||
color: #fff;
|
||
font-weight: bold;
|
||
background: #33aaff;
|
||
box-shadow: inset 0 1px 3px #178fe5;
|
||
border-radius: 3px;
|
||
}
|
||
|
||
.is-inrange .pika-button {
|
||
background: #D5E9F7;
|
||
}
|
||
|
||
.is-startrange .pika-button {
|
||
color: #fff;
|
||
background: #6CB31D;
|
||
box-shadow: none;
|
||
border-radius: 3px;
|
||
}
|
||
|
||
.is-endrange .pika-button {
|
||
color: #fff;
|
||
background: #33aaff;
|
||
box-shadow: none;
|
||
border-radius: 3px;
|
||
}
|
||
|
||
.is-disabled .pika-button {
|
||
pointer-events: none;
|
||
cursor: default;
|
||
color: #999;
|
||
opacity: .3;
|
||
}
|
||
|
||
.pika-button:hover {
|
||
color: #fff;
|
||
background: #ff8000;
|
||
box-shadow: none;
|
||
border-radius: 3px;
|
||
}
|
||
|
||
/* styling for abbr */
|
||
.pika-table abbr {
|
||
border-bottom: none;
|
||
cursor: help;
|
||
}</style><script>!function(){"use strict";Polymer.IronJsonpLibraryBehavior={properties:{libraryLoaded:{type:Boolean,value:!1,notify:!0,readOnly:!0},libraryErrorMessage:{type:String,value:null,notify:!0,readOnly:!0}},_libraryLoadCallback:function(r,i){r?(console.error("Library load failed:",r.message),this._setLibraryErrorMessage(r.message)):(this._setLibraryErrorMessage(null),this._setLibraryLoaded(!0),this.notifyEvent&&this.fire(this.notifyEvent,i))},_loadLibrary:function(){r.require(this.libraryUrl,this._libraryLoadCallback.bind(this),this.callbackName)},ready:function(){this._loadLibrary()}};var r={apiMap:{},require:function(r,t,e){var a=this.nameFromUrl(r);this.apiMap[a]||(this.apiMap[a]=new i(a,r,e)),this.apiMap[a].requestNotify(t)},nameFromUrl:function(r){return r.replace(/[\:\/\%\?\&\.\=\-\,]/g,"_")+"_api"}},i=function(r,i,t){if(this.notifiers=[],!t){if(!(i.indexOf(this.callbackMacro)>=0))return void(this.error=new Error("IronJsonpLibraryBehavior a %callback_name% parameter is required in libraryUrl"));t=r+"_loaded",i=i.replace(this.callbackMacro,t)}this.callbackName=t,window[this.callbackName]=this.success.bind(this),this.addScript(i)};i.prototype={callbackMacro:"%callback%",loaded:!1,addScript:function(r){var i=document.createElement("script");i.src=r,i.onerror=this.handleError.bind(this);var t=document.querySelector("script")||document.body;t.parentNode.insertBefore(i,t),this.script=i},removeScript:function(){this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.script=null},handleError:function(r){this.error=new Error("Library failed to load"),this.notifyAll(),this.cleanup()},success:function(){this.loaded=!0,this.result=Array.prototype.slice.call(arguments),this.notifyAll(),this.cleanup()},cleanup:function(){delete window[this.callbackName]},notifyAll:function(r){this.notifiers.forEach(function(r){r(this.error,this.result)}.bind(this)),this.notifiers=[]},requestNotify:function(r){this.loaded||this.error?r(this.error,this.result):this.notifiers.push(r)}}}();</script><script>Polymer({is:"iron-jsonp-library",behaviors:[Polymer.IronJsonpLibraryBehavior],properties:{libraryUrl:String,callbackName:String,notifyEvent:String}});</script><script>Polymer({is:"google-legacy-loader",behaviors:[Polymer.IronJsonpLibraryBehavior],properties:{libraryUrl:{type:String,value:"https://www.google.com/jsapi?callback=%callback%"},notifyEvent:{type:String,value:"api-load"}},get api(){return google}});</script><script>Polymer.IronMenuBehaviorImpl={properties:{focusedItem:{observer:"_focusedItemChanged",readOnly:!0,type:Object},attrForItemTitle:{type:String}},hostAttributes:{role:"menu",tabindex:"0"},observers:["_updateMultiselectable(multi)"],listeners:{focus:"_onFocus",keydown:"_onKeydown"},keyBindings:{up:"_onUpKey",down:"_onDownKey",esc:"_onEscKey",enter:"_onEnterKey","shift+tab:keydown":"_onShiftTabDown"},_updateMultiselectable:function(e){e?this.setAttribute("aria-multiselectable","true"):this.removeAttribute("aria-multiselectable")},_onShiftTabDown:function(){var e;Polymer.IronMenuBehaviorImpl._shiftTabPressed=!0,e=this.getAttribute("tabindex"),this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",e),Polymer.IronMenuBehaviorImpl._shiftTabPressed=!1},1)},_applySelection:function(e,t){t?e.setAttribute("aria-selected","true"):e.removeAttribute("aria-selected"),Polymer.IronSelectableBehavior._applySelection.apply(this,arguments)},_focusedItemChanged:function(e,t){t&&t.setAttribute("tabindex","-1"),e&&(e.setAttribute("tabindex","0"),e.focus())},select:function(e){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null);var t=this._valueToItem(e);this._setFocusedItem(t),Polymer.IronMultiSelectableBehaviorImpl.select.apply(this,arguments)},_onFocus:function(e){Polymer.IronMenuBehaviorImpl._shiftTabPressed||(this.blur(),this._setFocusedItem(null),this._defaultFocusAsync=this.async(function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;e?this._setFocusedItem(e):this._setFocusedItem(this.items[0])},100))},_onUpKey:function(){this._focusPrevious()},_onDownKey:function(){this._focusNext()},_onEscKey:function(){this.focusedItem.blur()},_onEnterKey:function(e){this._activateFocused(e.detail.keyboardEvent)},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down esc enter")||this._focusWithKeyboardEvent(e)},_focusWithKeyboardEvent:function(e){for(var t,s=0;t=this.items[s];s++){var i=this.attrForItemTitle||"textContent",o=t[i]||t.getAttribute(i);if(o&&o.trim().charAt(0).toLowerCase()===String.fromCharCode(e.keyCode).toLowerCase()){this._setFocusedItem(t);break}}},_activateFocused:function(e){this.focusedItem.hasAttribute("disabled")||this._activateHandler(e)},_focusPrevious:function(){var e=this.items.length,t=(Number(this.indexOf(this.focusedItem))-1+e)%e;this._setFocusedItem(this.items[t])},_focusNext:function(){var e=(Number(this.indexOf(this.focusedItem))+1)%this.items.length;this._setFocusedItem(this.items[e])}},Polymer.IronMenuBehaviorImpl._shiftTabPressed=!1,Polymer.IronMenuBehavior=[Polymer.IronMultiSelectableBehavior,Polymer.IronA11yKeysBehavior,Polymer.IronMenuBehaviorImpl];</script><script>Polymer.NeonAnimationBehavior={properties:{animationTiming:{type:Object,value:function(){return{duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"both"}}}},registered:function(){new Polymer.IronMeta({type:"animation",key:this.is,value:this.constructor})},timingFromConfig:function(i){if(i.timing)for(var n in i.timing)this.animationTiming[n]=i.timing[n];return this.animationTiming},setPrefixedProperty:function(i,n,t){for(var r,e={transform:["webkitTransform"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]},o=e[n],a=0;r=o[a];a++)i.style[r]=t;i.style[n]=t},complete:function(){}};</script><script>!function(a,b){b["true"]=a;var c={},d={},e={},f=null;!function(t){function e(t){if("number"==typeof t)return t;var e={};for(var i in t)e[i]=t[i];return e}function i(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear"}function n(e,n){var r=new i;return n&&(r.fill="both",r.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(i){if("auto"!=e[i]){if(("number"==typeof r[i]||"duration"==i)&&("number"!=typeof e[i]||isNaN(e[i])))return;if("fill"==i&&-1==b.indexOf(e[i]))return;if("direction"==i&&-1==v.indexOf(e[i]))return;if("playbackRate"==i&&1!==e[i]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;r[i]=e[i]}}):r.duration=e,r}function r(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function o(e,i){e=t.numericTimingToObject(e);var r=n(e,i);return r._easing=u(r.easing),r}function a(t,e,i,n){return 0>t||t>1||0>i||i>1?R:function(r){function o(t,e,i){return 3*t*(1-i)*(1-i)*i+3*e*(1-i)*i*i+i*i*i}if(0==r||1==r)return r;for(var a=0,s=1;;){var u=(a+s)/2,c=o(t,i,u);if(Math.abs(r-c)<.001)return o(e,n,u);r>c?a=u:s=u}}}function s(t,e){return function(i){if(i>=1)return 1;var n=1/t;return i+=e*n,i-i%n}}function u(t){var e=P.exec(t);if(e)return a.apply(this,e.slice(1).map(Number));var i=A.exec(t);if(i)return s(Number(i[1]),{start:y,middle:T,end:w}[i[2]]);var n=x[t];return n?n:R}function c(t){return Math.abs(f(t)/t.playbackRate)}function f(t){return t.duration*t.iterations}function l(t,e,i){return null==e?j:e<i.delay?N:e>=i.delay+t?k:O}function h(t,e,i,n,r){switch(n){case N:return"backwards"==e||"both"==e?0:null;case O:return i-r;case k:return"forwards"==e||"both"==e?t:null;case j:return null}}function m(t,e,i,n){return(n.playbackRate<0?e-t:e)*n.playbackRate+i}function d(t,e,i,n,r){return 1/0===i||i===-1/0||i-n==e&&r.iterations&&(r.iterations+r.iterationStart)%1==0?t:i%t}function p(t,e,i,n){return 0===i?0:e==t?n.iterationStart+n.iterations-1:Math.floor(i/t)}function _(t,e,i,n){var r=t%2>=1,o="normal"==n.direction||n.direction==(r?"alternate-reverse":"alternate"),a=o?i:e-i,s=a/e;return e*n.easing(s)}function g(t,e,i){var n=l(t,e,i),r=h(t,i.fill,e,n,i.delay);if(null===r)return null;if(0===t)return n===N?0:1;var o=i.iterationStart*i.duration,a=m(t,r,o,i),s=d(i.duration,f(i),a,o,i),u=p(i.duration,s,a,i);return _(u,i.duration,s,i)/i.duration}var b="backwards|forwards|both|none".split("|"),v="reverse|alternate|alternate-reverse".split("|");i.prototype={_setMember:function(e,i){this["_"+e]=i,this._effect&&(this._effect._timingInput[e]=i,this._effect._timing=t.normalizeTimingInput(t.normalizeTimingInput(this._effect._timingInput)),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){this._setMember("iterations",t)},get iterations(){return this._iterations}};var y=1,T=.5,w=0,x={ease:a(.25,.1,.25,1),"ease-in":a(.42,0,1,1),"ease-out":a(0,0,.58,1),"ease-in-out":a(.42,0,.58,1),"step-start":s(1,y),"step-middle":s(1,T),"step-end":s(1,w)},E="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",P=new RegExp("cubic-bezier\\("+E+","+E+","+E+","+E+"\\)"),A=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,R=function(t){return t},j=0,N=1,k=2,O=3;t.cloneTimingInput=e,t.makeTiming=n,t.numericTimingToObject=r,t.normalizeTimingInput=o,t.calculateActiveDuration=c,t.calculateTimeFraction=g,t.calculatePhase=l,t.toTimingFunction=u}(c,f),function(t){function e(t,e){return t in s?s[t][e]||e:e}function i(t,i,n){var a=r[t];if(a){o.style[t]=i;for(var s in a){var u=a[s],c=o.style[u];n[u]=e(u,c)}}else n[t]=e(t,i)}function n(e){function n(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,i=r[0].offset,n=1;t>n;n++){var o=r[n].offset;if(null!=o){for(var a=1;n-e>a;a++)r[e+a].offset=i+(o-i)*a/(n-e);e=n,i=o}}}if(!Array.isArray(e)&&null!==e)throw new TypeError("Keyframes must be null or an array of keyframes");if(null==e)return[];for(var r=e.map(function(e){var n={};for(var r in e){var o=e[r];if("offset"==r){if(null!=o&&(o=Number(o),!isFinite(o)))throw new TypeError("keyframe offsets must be numbers.")}else{if("composite"==r)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};o="easing"==r?t.toTimingFunction(o):""+o}i(r,o,n)}return void 0==n.offset&&(n.offset=null),void 0==n.easing&&(n.easing=t.toTimingFunction("linear")),n}),o=!0,a=-1/0,s=0;s<r.length;s++){var u=r[s].offset;if(null!=u){if(a>u)throw{code:DOMException.INVALID_MODIFICATION_ERR,name:"InvalidModificationError",message:"Keyframes are not loosely sorted by offset. Sort or specify offsets."};a=u}else o=!1}return r=r.filter(function(t){return t.offset>=0&&t.offset<=1}),o||n(),r}var r={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),a={thin:"1px",medium:"3px",thick:"5px"},s={borderBottomWidth:a,borderLeftWidth:a,borderRightWidth:a,borderTopWidth:a,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:a,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.normalizeKeyframes=n}(c,f),function(t){var e={};t.isDeprecated=function(t,i,n,r){var o=r?"are":"is",a=new Date,s=new Date(i);return s.setMonth(s.getMonth()+3),s>a?(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+n),e[t]=!0,!1):!0},t.deprecated=function(e,i,n,r){var o=r?"are":"is";if(t.isDeprecated(e,i,n,r))throw new Error(e+" "+o+" no longer supported. "+n)}}(c),function(){if(document.documentElement.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(t){void 0===a[t]&&(b=!0)})),!b)return}!function(t,e){function i(t){for(var e={},i=0;i<t.length;i++)for(var n in t[i])if("offset"!=n&&"easing"!=n&&"composite"!=n){var r={offset:t[i].offset,easing:t[i].easing,value:t[i][n]};e[n]=e[n]||[],e[n].push(r)}for(var o in e){var a=e[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}function n(t){var i=[];for(var n in t)for(var r=t[n],o=0;o<r.length-1;o++){var a=r[o].offset,s=r[o+1].offset,u=r[o].value,c=r[o+1].value;a==s&&(1==s?u=c:c=u),i.push({startTime:a,endTime:s,easing:r[o].easing,property:n,interpolation:e.propertyInterpolation(n,u,c)})}return i.sort(function(t,e){return t.startTime-e.startTime}),i}e.convertEffectInput=function(r){var o=t.normalizeKeyframes(r),a=i(o),s=n(a);return function(t,i){if(null!=i)s.filter(function(t){return 0>=i&&0==t.startTime||i>=1&&1==t.endTime||i>=t.startTime&&i<=t.endTime}).forEach(function(n){var r=i-n.startTime,o=n.endTime-n.startTime,a=0==o?0:n.easing(r/o);e.apply(t,n.property,n.interpolation(a))});else for(var n in a)"offset"!=n&&"easing"!=n&&"composite"!=n&&e.clear(t,n)}}}(c,d,f),function(t){function e(t,e,i){r[i]=r[i]||[],r[i].push([t,e])}function i(t,i,n){for(var r=0;r<n.length;r++){var o=n[r];e(t,i,o),/-/.test(o)&&e(t,i,o.replace(/-(.)/g,function(t,e){return e.toUpperCase()}))}}function n(e,i,n){if("initial"==i||"initial"==n){var a=e.replace(/-(.)/g,function(t,e){return e.toUpperCase()});"initial"==i&&(i=o[a]),"initial"==n&&(n=o[a])}for(var s=i==n?[]:r[e],u=0;s&&u<s.length;u++){var c=s[u][0](i),f=s[u][0](n);if(void 0!==c&&void 0!==f){var l=s[u][1](c,f);if(l){var h=t.Interpolation.apply(null,l);return function(t){return 0==t?i:1==t?n:h(t)}}}}return t.Interpolation(!1,!0,function(t){return t?n:i})}var r={};t.addPropertiesHandler=i;var o={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=n}(d,f),function(t,e){function i(e){var i=t.calculateActiveDuration(e),n=function(n){return t.calculateTimeFraction(i,n,e)};return n._totalDuration=e.delay+i+e.endDelay,n._isCurrent=function(n){var r=t.calculatePhase(i,n,e);return r===PhaseActive||r===PhaseBefore},n}e.KeyframeEffect=function(n,r,o){var a,s=i(t.normalizeTimingInput(o)),u=e.convertEffectInput(r),c=function(){u(n,a)};return c._update=function(t){return a=s(t),null!==a},c._clear=function(){u(n,null)},c._hasSameTarget=function(t){return n===t},c._isCurrent=s._isCurrent,c._totalDuration=s._totalDuration,c},e.NullEffect=function(t){var e=function(){t&&(t(),t=null)};return e._update=function(){return null},e._totalDuration=0,e._isCurrent=function(){return!1},e._hasSameTarget=function(){return!1},e}}(c,d,f),function(t){t.apply=function(e,i,n){e.style[t.propertyName(i)]=n},t.clear=function(e,i){e.style[t.propertyName(i)]=""}}(d,f),function(t){window.Element.prototype.animate=function(e,i){return t.timeline._play(t.KeyframeEffect(this,e,i))}}(d),function(t){function e(t,i,n){if("number"==typeof t&&"number"==typeof i)return t*(1-n)+i*n;if("boolean"==typeof t&&"boolean"==typeof i)return.5>n?t:i;if(t.length==i.length){for(var r=[],o=0;o<t.length;o++)r.push(e(t[o],i[o],n));return r}throw"Mismatched interpolation arguments "+t+":"+i}t.Interpolation=function(t,i,n){return function(r){return n(e(t,i,r))}}}(d,f),function(t,e){t.sequenceNumber=0;var i=function(t,e,i){this.target=t,this.currentTime=e,this.timelineTime=i,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};e.Animation=function(e){this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!1,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this._inEffect=this._effect._update(this.playbackRate<0&&0===this.currentTime?-1:this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._tickCurrentTime(t,!0),e.invalidateEffects()))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.invalidateEffects())},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var e=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&this.play(),null!=e&&(this.currentTime=e)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._currentTime=this._playbackRate>0?0:this._totalDuration,this._startTime=null,e.invalidateEffects()),this._finishedFlag=!1,e.restart(),this._idle=!1,this._ensureAlive()},pause:function(){this._isFinished||this._paused||this._idle||(this._currentTimePending=!0),this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1)},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this.currentTime=0,this._startTime=null,this._effect._update(null),e.invalidateEffects(),e.restart())},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var i=this._finishHandlers.indexOf(e);i>=0&&this._finishHandlers.splice(i,1)}},_fireEvents:function(t){var e=this._isFinished;if((e||this._idle)&&!this._finishedFlag){var n=new i(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){r.forEach(function(t){t.call(n.target,n)})},0)}this._finishedFlag=e},_tick:function(t){return this._idle||this._paused||(null==this._startTime?this.startTime=t-this._currentTime/this.playbackRate:this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),this._currentTimePending=!1,this._fireEvents(t),!this._idle&&(this._inEffect||!this._finishedFlag)}}}(c,d,f),function(t,e){function i(t){var e=u;u=[],t<b.currentTime&&(t=b.currentTime),a(t),e.forEach(function(e){e[1](t)}),d&&a(t),o(),l=void 0}function n(t,e){return t._sequenceNumber-e._sequenceNumber}function r(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function o(){p.forEach(function(t){t()}),p.length=0}function a(t){m=!1;var i=e.timeline;i.currentTime=t,i._animations.sort(n),h=!1;var r=i._animations;i._animations=[];var o=[],a=[];r=r.filter(function(e){return e._inTimeline=e._tick(t),e._inEffect?a.push(e._effect):o.push(e._effect),e._isFinished||e._paused||e._idle||(h=!0),e._inTimeline}),p.push.apply(p,o),p.push.apply(p,a),i._animations.push.apply(i._animations,r),d=!1,h&&requestAnimationFrame(function(){})}var s=window.requestAnimationFrame,u=[],c=0;window.requestAnimationFrame=function(t){var e=c++;return 0==u.length&&s(i),u.push([e,t]),e},window.cancelAnimationFrame=function(t){u.forEach(function(e){e[0]==t&&(e[1]=function(){})})},r.prototype={_play:function(i){i._timing=t.normalizeTimingInput(i.timing);var n=new e.Animation(i);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.invalidateEffects(),n}};var f,l=void 0,f=function(){return void 0==l&&(l=performance.now()),l},h=!1,m=!1;e.restart=function(){return h||(h=!0,requestAnimationFrame(function(){}),m=!0),m};var d=!1;e.invalidateEffects=function(){d=!0};var p=[],_=1e3/60,g=window.getComputedStyle;Object.defineProperty(window,"getComputedStyle",{configurable:!0,enumerable:!0,value:function(){if(d){var t=f();t-b.currentTime>0&&(b.currentTime+=_*(Math.floor((t-b.currentTime)/_)+1)),a(b.currentTime)}return o(),g.apply(this,arguments)}});var b=new r;e.timeline=b}(c,d,f),function(t){function e(t,e){var i=t.exec(e);return i?(i=t.ignoreCase?i[0].toLowerCase():i[0],[i,e.substr(i.length)]):void 0}function i(t,e){e=e.replace(/^\s*/,"");var i=t(e);return i?[i[0],i[1].replace(/^\s*/,"")]:void 0}function n(t,n,r){t=i.bind(null,t);for(var o=[];;){var a=t(r);if(!a)return[o,r];if(o.push(a[0]),r=a[1],a=e(n,r),!a||""==a[1])return[o,r];r=a[1]}}function r(t,e){for(var i=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=i);n++)if("("==e[n])i++;else if(")"==e[n]&&(i--,0==i&&n++,0>=i))break;var r=t(e.substr(0,n));return void 0==r?void 0:[r,e.substr(n)]}function o(t,e){for(var i=t,n=e;i&&n;)i>n?i%=n:n%=i;return i=t*e/(i+n)}function a(t){return function(e){var i=t(e);return i&&(i[0]=void 0),i}}function s(t,e){return function(i){var n=t(i);return n?n:[e,i]}}function u(e,i){for(var n=[],r=0;r<e.length;r++){var o=t.consumeTrimmed(e[r],i);if(!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),i=o[1]}return""==i?n:void 0}function c(t,e,i,n,r){for(var a=[],s=[],u=[],c=o(n.length,r.length),f=0;c>f;f++){var l=e(n[f%n.length],r[f%r.length]);if(!l)return;a.push(l[0]),s.push(l[1]),u.push(l[2])}return[a,s,function(e){var n=e.map(function(t,e){return u[e](t)}).join(i);return t?t(n):n}]}function f(t,e,i){for(var n=[],r=[],o=[],a=0,s=0;s<i.length;s++)if("function"==typeof i[s]){var u=i[s](t[a],e[a++]);n.push(u[0]),r.push(u[1]),o.push(u[2])}else!function(t){n.push(!1),r.push(!1),o.push(function(){return i[t]})}(s);return[n,r,function(t){for(var e="",i=0;i<t.length;i++)e+=o[i](t[i]);return e}]}t.consumeToken=e,t.consumeTrimmed=i,t.consumeRepeated=n,t.consumeParenthesised=r,t.ignore=a,t.optional=s,t.consumeList=u,t.mergeNestedRepeated=c.bind(null,null),t.mergeWrappedNestedRepeated=c,t.mergeList=f}(d),function(t){function e(e){function i(e){var i=t.consumeToken(/^inset/i,e);if(i)return n.inset=!0,i;var i=t.consumeLengthOrPercent(e);if(i)return n.lengths.push(i[0]),i;var i=t.consumeColor(e);return i?(n.color=i[0],i):void 0}var n={inset:!1,lengths:[],color:null},r=t.consumeRepeated(i,/^/,e);return r&&r[0].length?[n,r[1]]:void 0}function i(i){var n=t.consumeRepeated(e,/^,/,i);return n&&""==n[1]?n[0]:void 0}function n(e,i){for(;e.lengths.length<Math.max(e.lengths.length,i.lengths.length);)e.lengths.push({px:0});for(;i.lengths.length<Math.max(e.lengths.length,i.lengths.length);)i.lengths.push({px:0});if(e.inset==i.inset&&!!e.color==!!i.color){for(var n,r=[],o=[[],0],a=[[],0],s=0;s<e.lengths.length;s++){var u=t.mergeDimensions(e.lengths[s],i.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),r.push(u[2])}if(e.color&&i.color){var c=t.mergeColors(e.color,i.color);o[1]=c[0],a[1]=c[1],n=c[2]}return[o,a,function(t){for(var i=e.inset?"inset ":" ",o=0;o<r.length;o++)i+=r[o](t[0][o])+" ";return n&&(i+=n(t[1])),i}]}}function r(e,i,n,r){function o(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<n.length||u<r.length;u++){var c=n[u]||o(r[u].inset),f=r[u]||o(n[u].inset);a.push(c),s.push(f)}return t.mergeNestedRepeated(e,i,a,s)}var o=r.bind(null,n,", ");t.addPropertiesHandler(i,o,["box-shadow","text-shadow"])}(d),function(t){function e(t){return t.toFixed(3).replace(".000","")}function i(t,e,i){return Math.min(e,Math.max(t,i))}function n(t){return/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?Number(t):void 0}function r(t,i){return[t,i,e]}function o(t,e){return 0!=t?s(0,1/0)(t,e):void 0}function a(t,e){return[t,e,function(t){return Math.round(i(1,1/0,t))}]}function s(t,n){return function(r,o){return[r,o,function(r){return e(i(t,n,r))}]}}function u(t,e){return[t,e,Math.round]}t.clamp=i,t.addPropertiesHandler(n,s(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(n,s(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(n,o,["flex-grow","flex-shrink"]),t.addPropertiesHandler(n,a,["orphans","widows"]),t.addPropertiesHandler(n,u,["z-index"]),t.parseNumber=n,t.mergeNumbers=r,t.numberToString=e}(d,f),function(t){function e(t,e){return"visible"==t||"visible"==e?[0,1,function(i){return 0>=i?t:i>=1?e:"visible"}]:void 0}t.addPropertiesHandler(String,e,["visibility"])}(d),function(t){function e(t){t=t.trim(),r.fillStyle="#000",r.fillStyle=t;var e=r.fillStyle;if(r.fillStyle="#fff",r.fillStyle=t,e==r.fillStyle){r.fillRect(0,0,1,1);var i=r.getImageData(0,0,1,1).data;r.clearRect(0,0,1,1);var n=i[3]/255;return[i[0]*n,i[1]*n,i[2]*n,n]}}function i(e,i){return[e,i,function(e){function i(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;3>n;n++)e[n]=Math.round(i(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var n=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");n.width=n.height=1;var r=n.getContext("2d");t.addPropertiesHandler(e,i,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,e),t.mergeColors=i}(d,f),function(a,b){function c(a,b){if(b=b.trim().toLowerCase(),"0"==b&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]=null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;g<f.length;)f[g].test(e)?(e=e.replace(f[g],"$1"),g=0):g++;if("D"==e){for(var h in c){var i=eval(b.replace(new RegExp("U"+h,"g"),"").replace(new RegExp(d,"g"),"*0"));if(!isFinite(i))return;c[h]=i}return c}}}function d(t,i){return e(t,i,!0)}function e(t,e,i){var n,r=[];for(n in t)r.push(n);for(n in e)r.indexOf(n)<0&&r.push(n);return t=r.map(function(e){return t[e]||0}),e=r.map(function(t){return e[t]||0}),[t,e,function(t){var e=t.map(function(e,n){return 1==t.length&&i&&(e=Math.max(e,0)),a.numberToString(e)+r[n]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(t){var e=l(t);return e&&""==e[1]?e[0]:void 0},n=a.mergeNestedRepeated.bind(void 0,d," "),o=a.mergeNestedRepeated.bind(void 0,n,",");a.mergeNonNegativeSizePair=n,a.addPropertiesHandler(m,o,["background-size"]),a.addPropertiesHandler(h,d,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),a.addPropertiesHandler(h,e,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","text-indent","top","vertical-align","word-spacing"])}(d,f),function(t){function e(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function i(i){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,e,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],i);return n&&4==n[0].length?n[0]:void 0}function n(e,i){return"auto"==e||"auto"==i?[!0,!1,function(n){var r=n?e:i;if("auto"==r)return"auto";var o=t.mergeDimensions(r,r);return o[2](o[0])}]:t.mergeDimensions(e,i)}function r(t){return"rect("+t+")"}var o=t.mergeWrappedNestedRepeated.bind(null,r,n,", ");t.parseBox=i,t.mergeBoxes=o,t.addPropertiesHandler(i,o,["clip"])}(d,f),function(t){function e(t){return function(e){var i=0;return t.map(function(t){return t===c?e[i++]:t})}}function i(t){return t}function n(e){if(e=e.toLowerCase().trim(),"none"==e)return[];for(var i,n=/\s*(\w+)\(([^)]*)\)/g,r=[],o=0;i=n.exec(e);){if(i.index!=o)return;o=i.index+i[0].length;var a=i[1],s=h[a];if(!s)return;var u=i[2].split(","),c=s[0];if(c.length<u.length)return;for(var m=[],d=0;d<c.length;d++){var p,_=u[d],g=c[d];if(p=_?{A:function(e){return"0"==e.trim()?l:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[g.toUpperCase()](_):{a:l,n:m[0],t:f}[g],void 0===p)return;m.push(p)}if(r.push({t:a,d:m}),n.lastIndex==e.length)return r}}function r(t){return t.toFixed(6).replace(".000000","")}function o(e,i){if(e.decompositionPair!==i){e.decompositionPair=i;var n=t.makeMatrixDecomposition(e)}if(i.decompositionPair!==e){i.decompositionPair=e;var o=t.makeMatrixDecomposition(i)}return null==n[0]||null==o[0]?[[!1],[!0],function(t){return t?i[0].d:e[0].d}]:(n[0].push(0),o[0].push(1),[n,o,function(e){var i=t.quat(n[0][3],o[0][3],e[5]),a=t.composeMatrix(e[0],e[1],e[2],i,e[4]),s=a.map(r).join(",");return s}])}function a(t){return t.replace(/[xy]/,"")}function s(t){return t.replace(/(x|y|z|3d)?$/,"3d")}function u(e,i){var n=t.makeMatrixDecomposition&&!0,r=!1;if(!e.length||!i.length){e.length||(r=!0,e=i,i=[]);for(var u=0;u<e.length;u++){var c=e[u].t,f=e[u].d,l="scale"==c.substr(0,5)?1:0;i.push({t:c,d:f.map(function(t){if("number"==typeof t)return l;var e={};for(var i in t)e[i]=l;return e})})}}var m=function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)},d=[],p=[],_=[];if(e.length!=i.length){if(!n)return;var g=o(e,i);d=[g[0]],p=[g[1]],_=[["matrix",[g[2]]]]}else for(var u=0;u<e.length;u++){var c,b=e[u].t,v=i[u].t,y=e[u].d,T=i[u].d,w=h[b],x=h[v];if(m(b,v)){if(!n)return;var g=o([e[u]],[i[u]]);d.push(g[0]),p.push(g[1]),_.push(["matrix",[g[2]]])}else{if(b==v)c=b;else if(w[2]&&x[2]&&a(b)==a(v))c=a(b),y=w[2](y),T=x[2](T);else{if(!w[1]||!x[1]||s(b)!=s(v)){if(!n)return;var g=o(e,i);d=[g[0]],p=[g[1]],_=[["matrix",[g[2]]]];break}c=s(b),y=w[1](y),T=x[1](T)}for(var E=[],P=[],A=[],R=0;R<y.length;R++){var j="number"==typeof y[R]?t.mergeNumbers:t.mergeDimensions,g=j(y[R],T[R]);E[R]=g[0],P[R]=g[1],A.push(g[2])}d.push(E),p.push(P),_.push([c,A])}}if(r){var N=d;d=p,p=N}return[d,p,function(t){return t.map(function(t,e){var i=t.map(function(t,i){return _[e][1][i](t)}).join(",");return"matrix"==_[e][0]&&16==i.split(",").length&&(_[e][0]="matrix3d"),_[e][0]+"("+i+")"}).join(" ")}]}var c=null,f={px:0},l={deg:0},h={matrix:["NNNNNN",[c,c,0,0,c,c,0,0,0,0,1,0,c,c,0,1],i],matrix3d:["NNNNNNNNNNNNNNNN",i],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",e([c,c,1]),i],scalex:["N",e([c,1,1]),e([c,1])],scaley:["N",e([1,c,1]),e([1,c])],scalez:["N",e([1,1,c])],scale3d:["NNN",i],skew:["Aa",null,i],skewx:["A",null,e([c,l])],skewy:["A",null,e([l,c])],translate:["Tt",e([c,c,f]),i],translatex:["T",e([c,f,f]),e([c,f])],translatey:["T",e([f,c,f]),e([f,c])],translatez:["L",e([f,f,c])],translate3d:["TTL",i]};t.addPropertiesHandler(n,u,["transform"])}(d,f),function(t){function e(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(i[t]=e)})}var i={};e("transform",["webkitTransform","msTransform"]),e("transformOrigin",["webkitTransformOrigin"]),e("perspective",["webkitPerspective"]),e("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return i[t]||t}}(d,f)}(),!function(t,e){function i(t){var e=window.document.timeline;e.currentTime=t,e._discardAnimations(),0==e._animations.length?r=!1:requestAnimationFrame(i)}var n=window.requestAnimationFrame;window.requestAnimationFrame=function(t){return n(function(e){window.document.timeline._updateAnimationsPromises(),t(e),window.document.timeline._updateAnimationsPromises()})},e.AnimationTimeline=function(){this._animations=[],this.currentTime=void 0},e.AnimationTimeline.prototype={getAnimations:function(){return this._discardAnimations(),this._animations.slice()},_updateAnimationsPromises:function(){e.animationsWithPromises=e.animationsWithPromises.filter(function(t){return t._updatePromises()})},_discardAnimations:function(){this._updateAnimationsPromises(),this._animations=this._animations.filter(function(t){return"finished"!=t.playState&&"idle"!=t.playState})},_play:function(t){var i=new e.Animation(t,this);return this._animations.push(i),e.restartWebAnimationsNextTick(),i._updatePromises(),i._animation.play(),i._updatePromises(),i},play:function(t){return t&&t.remove(),this._play(t)}};var r=!1;e.restartWebAnimationsNextTick=function(){r||(r=!0,requestAnimationFrame(i))};var o=new e.AnimationTimeline;e.timeline=o;try{Object.defineProperty(window.document,"timeline",{configurable:!0,get:function(){return o}})}catch(a){}try{window.document.timeline=o}catch(a){}}(c,e,f),function(t,e){e.animationsWithPromises=[],e.Animation=function(e,i){if(this.effect=e,e&&(e._animation=this),!i)throw new Error("Animation with null timeline is not supported");this._timeline=i,this._sequenceNumber=t.sequenceNumber++,this._holdTime=0,this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],this._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(),this._animation.cancel(),this._updatePromises()},e.Animation.prototype={_updatePromises:function(){var t=this._oldPlayState,e=this.playState;return this._readyPromise&&e!==t&&("idle"==e?(this._rejectReadyPromise(),this._readyPromise=void 0):"pending"==t?this._resolveReadyPromise():"pending"==e&&(this._readyPromise=void 0)),this._finishedPromise&&e!==t&&("idle"==e?(this._rejectFinishedPromise(),this._finishedPromise=void 0):"finished"==e?this._resolveFinishedPromise():"finished"==t&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._readyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this._updatePromises();var t,i,n,r,o=this._animation?!0:!1;o&&(t=this.playbackRate,i=this._paused,n=this.startTime,r=this.currentTime,this._animation.cancel(),this._animation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=e.newUnderlyingAnimationForKeyframeEffect(this.effect),e.bindAnimationForKeyframeEffect(this)),
|
||
(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animation=e.newUnderlyingAnimationForGroup(this.effect),e.bindAnimationForGroup(this)),this.effect&&this.effect._onsample&&e.bindAnimationForCustomEffect(this),o&&(1!=t&&(this.playbackRate=t),null!==n?this.startTime=n:null!==r?this.currentTime=r:null!==this._holdTime&&(this.currentTime=this._holdTime),i&&this.pause()),this._updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playState){var t=this.effect._timing.delay;this._childAnimations.forEach(function(i){this._arrangeChildren(i,t),this.effect instanceof window.SequenceEffect&&(t+=e.groupChildDuration(i.effect))}.bind(this))}},_setExternalAnimation:function(t){if(this.effect&&this._isGroup)for(var e=0;e<this.effect.children.length;e++)this.effect.children[e]._animation=t,this._childAnimations[e]._setExternalAnimation(t)},_constructChildAnimations:function(){if(this.effect&&this._isGroup){var t=this.effect._timing.delay;this._removeChildAnimations(),this.effect.children.forEach(function(i){var n=window.document.timeline._play(i);this._childAnimations.push(n),n.playbackRate=this.playbackRate,this._paused&&n.pause(),i._animation=this.effect._animation,this._arrangeChildren(n,t),this.effect instanceof window.SequenceEffect&&(t+=e.groupChildDuration(i))}.bind(this))}},_arrangeChildren:function(t,e){null===this.startTime?t.currentTime=this.currentTime-e/this.playbackRate:t.startTime!==this.startTime+e/this.playbackRate&&(t.startTime=this.startTime+e/this.playbackRate)},get timeline(){return this._timeline},get playState(){return this._animation?this._animation.playState:"idle"},get finished(){return window.Promise?(this._finishedPromise||(-1==e.animationsWithPromises.indexOf(this)&&e.animationsWithPromises.push(this),this._finishedPromise=new Promise(function(t,e){this._resolveFinishedPromise=function(){t(this)},this._rejectFinishedPromise=function(){e({type:DOMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"finished"==this.playState&&this._resolveFinishedPromise()),this._finishedPromise):(console.warn("Animation Promises require JavaScript Promise constructor"),null)},get ready(){return window.Promise?(this._readyPromise||(-1==e.animationsWithPromises.indexOf(this)&&e.animationsWithPromises.push(this),this._readyPromise=new Promise(function(t,e){this._resolveReadyPromise=function(){t(this)},this._rejectReadyPromise=function(){e({type:DOMException.ABORT_ERR,name:"AbortError"})}}.bind(this)),"pending"!==this.playState&&this._resolveReadyPromise()),this._readyPromise):(console.warn("Animation Promises require JavaScript Promise constructor"),null)},get onfinish(){return this._onfinish},set onfinish(t){"function"==typeof t?(this._onfinish=t,this._animation.onfinish=function(e){e.target=this,t.call(this,e)}.bind(this)):(this._animation.onfinish=t,this.onfinish=this._animation.onfinish)},get currentTime(){this._updatePromises();var t=this._animation.currentTime;return this._updatePromises(),t},set currentTime(t){this._updatePromises(),this._animation.currentTime=isFinite(t)?t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChild(function(e,i){e.currentTime=t-i}),this._updatePromises()},get startTime(){return this._animation.startTime},set startTime(t){this._updatePromises(),this._animation.startTime=isFinite(t)?t:Math.sign(t)*Number.MAX_VALUE,this._register(),this._forEachChild(function(e,i){e.startTime=t+i}),this._updatePromises()},get playbackRate(){return this._animation.playbackRate},set playbackRate(t){this._updatePromises();var e=this.currentTime;this._animation.playbackRate=t,this._forEachChild(function(e){e.playbackRate=t}),"paused"!=this.playState&&"idle"!=this.playState&&this.play(),null!==e&&(this.currentTime=e),this._updatePromises()},play:function(){this._updatePromises(),this._paused=!1,this._animation.play(),-1==this._timeline._animations.indexOf(this)&&this._timeline._animations.push(this),this._register(),e.awaitStartTime(this),this._forEachChild(function(t){var e=t.currentTime;t.play(),t.currentTime=e}),this._updatePromises()},pause:function(){this._updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._animation.pause(),this._register(),this._forEachChild(function(t){t.pause()}),this._paused=!0,this._updatePromises()},finish:function(){this._updatePromises(),this._animation.finish(),this._register(),this._updatePromises()},cancel:function(){this._updatePromises(),this._animation.cancel(),this._register(),this._removeChildAnimations(),this._updatePromises()},reverse:function(){this._updatePromises();var t=this.currentTime;this._animation.reverse(),this._forEachChild(function(t){t.reverse()}),null!==t&&(this.currentTime=t),this._updatePromises()},addEventListener:function(t,e){var i=e;"function"==typeof e&&(i=function(t){t.target=this,e.call(this,t)}.bind(this),e._wrapper=i),this._animation.addEventListener(t,i)},removeEventListener:function(t,e){this._animation.removeEventListener(t,e&&e._wrapper||e)},_removeChildAnimations:function(){for(;this._childAnimations.length;)this._childAnimations.pop().cancel()},_forEachChild:function(e){var i=0;if(this.effect.children&&this._childAnimations.length<this.effect.children.length&&this._constructChildAnimations(),this._childAnimations.forEach(function(t){e.call(this,t,i),this.effect instanceof window.SequenceEffect&&(i+=t.effect.activeDuration)}.bind(this)),"pending"!=this.playState){var n=this.effect._timing,r=this.currentTime;null!==r&&(r=t.calculateTimeFraction(t.calculateActiveDuration(n),r,n)),(null==r||isNaN(r))&&this._removeChildAnimations()}}},window.Animation=e.Animation}(c,e,f),function(t,e){function i(e){this._frames=t.normalizeKeyframes(e)}function n(){for(var t=!1;s.length;){var e=s.shift();e._updateChildren(),t=!0}return t}var r=function(t){if(t._animation=void 0,t instanceof window.SequenceEffect||t instanceof window.GroupEffect)for(var e=0;e<t.children.length;e++)r(t.children[e])};e.removeMulti=function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];n._parent?(-1==e.indexOf(n._parent)&&e.push(n._parent),n._parent.children.splice(n._parent.children.indexOf(n),1),n._parent=null,r(n)):n._animation&&n._animation.effect==n&&(n._animation.cancel(),n._animation.effect=new KeyframeEffect(null,[]),n._animation._callback&&(n._animation._callback._animation=null),n._animation._rebuildUnderlyingAnimation(),r(n))}for(i=0;i<e.length;i++)e[i]._rebuild()},e.KeyframeEffect=function(e,n,r){return this.target=e,this._parent=null,r=t.numericTimingToObject(r),this._timingInput=t.cloneTimingInput(r),this._timing=t.normalizeTimingInput(r),this.timing=t.makeTiming(r,!1,this),this.timing._effect=this,"function"==typeof n?(t.deprecated("Custom KeyframeEffect","2015-06-22","Use KeyframeEffect.onsample instead."),this._normalizedKeyframes=n):this._normalizedKeyframes=new i(n),this._keyframes=n,this.activeDuration=t.calculateActiveDuration(this._timing),this},e.KeyframeEffect.prototype={getFrames:function(){return"function"==typeof this._normalizedKeyframes?this._normalizedKeyframes:this._normalizedKeyframes._frames},set onsample(t){if("function"==typeof this.getFrames())throw new Error("Setting onsample on custom effect KeyframeEffect is not supported.");this._onsample=t,this._animation&&this._animation._rebuildUnderlyingAnimation()},get parent(){return this._parent},clone:function(){if("function"==typeof this.getFrames())throw new Error("Cloning custom effects is not supported.");var e=new KeyframeEffect(this.target,[],t.cloneTimingInput(this._timingInput));return e._normalizedKeyframes=this._normalizedKeyframes,e._keyframes=this._keyframes,e},remove:function(){e.removeMulti([this])}};var o=Element.prototype.animate;Element.prototype.animate=function(t,i){return e.timeline._play(new e.KeyframeEffect(this,t,i))};var a=document.createElementNS("http://www.w3.org/1999/xhtml","div");e.newUnderlyingAnimationForKeyframeEffect=function(t){if(t){var e=t.target||a,i=t._keyframes;"function"==typeof i&&(i=[]);var n=t._timingInput}else var e=a,i=[],n=0;return o.apply(e,[i,n])},e.bindAnimationForKeyframeEffect=function(t){t.effect&&"function"==typeof t.effect._normalizedKeyframes&&e.bindAnimationForCustomEffect(t)};var s=[];e.awaitStartTime=function(t){null===t.startTime&&t._isGroup&&(0==s.length&&requestAnimationFrame(n),s.push(t))};var u=window.getComputedStyle;Object.defineProperty(window,"getComputedStyle",{configurable:!0,enumerable:!0,value:function(){window.document.timeline._updateAnimationsPromises();var t=u.apply(this,arguments);return n()&&(t=u.apply(this,arguments)),window.document.timeline._updateAnimationsPromises(),t}}),window.KeyframeEffect=e.KeyframeEffect,window.Element.prototype.getAnimations=function(){return document.timeline.getAnimations().filter(function(t){return null!==t.effect&&t.effect.target==this}.bind(this))}}(c,e,f),function(t,e){function i(t){t._registered||(t._registered=!0,o.push(t),a||(a=!0,requestAnimationFrame(n)))}function n(){var t=o;o=[],t.sort(function(t,e){return t._sequenceNumber-e._sequenceNumber}),t=t.filter(function(t){t();var e=t._animation?t._animation.playState:"idle";return"running"!=e&&"pending"!=e&&(t._registered=!1),t._registered}),o.push.apply(o,t),o.length?(a=!0,requestAnimationFrame(n)):a=!1}var r=(document.createElementNS("http://www.w3.org/1999/xhtml","div"),0);e.bindAnimationForCustomEffect=function(e){var n,o=e.effect.target,a="function"==typeof e.effect.getFrames();n=a?e.effect.getFrames():e.effect._onsample;var s=e.effect.timing,u=null;s=t.normalizeTimingInput(s);var c=function(){var i=c._animation?c._animation.currentTime:null;null!==i&&(i=t.calculateTimeFraction(t.calculateActiveDuration(s),i,s),isNaN(i)&&(i=null)),i!==u&&(a?n(i,o,e.effect):n(i,e.effect,e.effect._animation)),u=i};c._animation=e,c._registered=!1,c._sequenceNumber=r++,e._callback=c,i(c)};var o=[],a=!1;e.Animation.prototype._register=function(){this._callback&&i(this._callback)}}(c,e,f),function(t,e){function i(t){return t._timing.delay+t.activeDuration+t._timing.endDelay}function n(e,i){this._parent=null,this.children=e||[],this._reparent(this.children),i=t.numericTimingToObject(i),this._timingInput=t.cloneTimingInput(i),this._timing=t.normalizeTimingInput(i,!0),this.timing=t.makeTiming(i,!0,this),this.timing._effect=this,"auto"===this._timing.duration&&(this._timing.duration=this.activeDuration)}window.SequenceEffect=function(){n.apply(this,arguments)},window.GroupEffect=function(){n.apply(this,arguments)},n.prototype={_isAncestor:function(t){for(var e=this;null!==e;){if(e==t)return!0;e=e._parent}return!1},_rebuild:function(){for(var t=this;t;)"auto"===t.timing.duration&&(t._timing.duration=t.activeDuration),t=t._parent;this._animation&&this._animation._rebuildUnderlyingAnimation()},_reparent:function(t){e.removeMulti(t);for(var i=0;i<t.length;i++)t[i]._parent=this},_putChild:function(t,e){for(var i=e?"Cannot append an ancestor or self":"Cannot prepend an ancestor or self",n=0;n<t.length;n++)if(this._isAncestor(t[n]))throw{type:DOMException.HIERARCHY_REQUEST_ERR,name:"HierarchyRequestError",message:i};for(var n=0;n<t.length;n++)e?this.children.push(t[n]):this.children.unshift(t[n]);this._reparent(t),this._rebuild()},append:function(){this._putChild(arguments,!0)},prepend:function(){this._putChild(arguments,!1)},get parent(){return this._parent},get firstChild(){return this.children.length?this.children[0]:null},get lastChild(){return this.children.length?this.children[this.children.length-1]:null},clone:function(){for(var e=t.cloneTimingInput(this._timingInput),i=[],n=0;n<this.children.length;n++)i.push(this.children[n].clone());return this instanceof GroupEffect?new GroupEffect(i,e):new SequenceEffect(i,e)},remove:function(){e.removeMulti([this])}},window.SequenceEffect.prototype=Object.create(n.prototype),Object.defineProperty(window.SequenceEffect.prototype,"activeDuration",{get:function(){var t=0;return this.children.forEach(function(e){t+=i(e)}),Math.max(t,0)}}),window.GroupEffect.prototype=Object.create(n.prototype),Object.defineProperty(window.GroupEffect.prototype,"activeDuration",{get:function(){var t=0;return this.children.forEach(function(e){t=Math.max(t,i(e))}),t}}),e.newUnderlyingAnimationForGroup=function(i){var n,r=null,o=function(e){var i=n._wrapper;return i&&"pending"!=i.playState&&i.effect?null==e?void i._removeChildAnimations():0==e&&i.playbackRate<0&&(r||(r=t.normalizeTimingInput(i.effect.timing)),e=t.calculateTimeFraction(t.calculateActiveDuration(r),-1,r),isNaN(e)||null==e)?(i._forEachChild(function(t){t.currentTime=-1}),void i._removeChildAnimations()):void 0:void 0},a=new KeyframeEffect(null,[],i._timing);return a.onsample=o,n=e.timeline._play(a)},e.bindAnimationForGroup=function(t){t._animation._wrapper=t,t._isGroup=!0,e.awaitStartTime(t),t._constructChildAnimations(),t._setExternalAnimation(t)},e.groupChildDuration=i}(c,e,f)}({},function(){return this}());</script><script>Polymer({is:"opaque-animation",behaviors:[Polymer.NeonAnimationBehavior],configure:function(e){var i=e.node;return i.style.opacity="0",this._effect=new KeyframeEffect(i,[{opacity:"1"},{opacity:"1"}],this.timingFromConfig(e)),this._effect},complete:function(e){e.node.style.opacity=""}});</script><script>Polymer.NeonAnimatableBehavior={properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},"fade-in-animation"!==this.entryAnimation?this.animationConfig.entry=[{name:"opaque-animation",node:this},{name:this.entryAnimation,node:this}]:this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(i,n){for(var t in n)i[t]=n[t]},_cloneConfig:function(i){var n={isClone:!0};return this._copyProperties(n,i),n},_getAnimationConfigRecursive:function(i,n,t){if(this.animationConfig){var o;if(o=i?this.animationConfig[i]:this.animationConfig,Array.isArray(o)||(o=[o]),o)for(var e,a=0;e=o[a];a++)if(e.animatable)e.animatable._getAnimationConfigRecursive(e.type||i,n,t);else if(e.id){var r=n[e.id];r?(r.isClone||(n[e.id]=this._cloneConfig(r),r=n[e.id]),this._copyProperties(r,e)):n[e.id]=e}else t.push(e)}},getAnimationConfig:function(i){var n=[],t=[];this._getAnimationConfigRecursive(i,n,t);for(var o in n)t.push(n[o]);return t}};</script><script>Polymer.NeonAnimationRunnerBehaviorImpl={properties:{_animationMeta:{type:Object,value:function(){return new Polymer.IronMeta({type:"animation"})}},_player:{type:Object}},_configureAnimationEffects:function(n){var i=[];if(n.length>0)for(var e,t=0;e=n[t];t++){var o=this._animationMeta.byKey(e.name);if(o){var a=o&&new o,r=a.configure(e);r&&i.push({animation:a,config:e,effect:r})}else console.warn(this.is+":",e.name,"not found!")}return i},_runAnimationEffects:function(n){return document.timeline.play(new GroupEffect(n))},_completeAnimations:function(n){for(var i,e=0;i=n[e];e++)i.animation.complete(i.config)},playAnimation:function(n,i){var e=this.getAnimationConfig(n);if(e){var t=this._configureAnimationEffects(e),o=t.map(function(n){return n.effect});o.length>0?(this._player=this._runAnimationEffects(o),this._player.onfinish=function(){this._completeAnimations(t),this._player&&(this._player.cancel(),this._player=null),this.fire("neon-animation-finish",i,{bubbles:!1})}.bind(this)):this.fire("neon-animation-finish",i,{bubbles:!1})}},cancelAnimation:function(){this._player&&this._player.cancel()}},Polymer.NeonAnimationRunnerBehavior=[Polymer.NeonAnimatableBehavior,Polymer.NeonAnimationRunnerBehaviorImpl];</script><script>Polymer.IronFitBehavior={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){var t;return t=this.fitInto===window?this.fitInto.innerWidth:this.fitInto.getBoundingClientRect().width},get _fitHeight(){var t;return t=this.fitInto===window?this.fitInto.innerHeight:this.fitInto.getBoundingClientRect().height},get _fitLeft(){var t;return t=this.fitInto===window?0:this.fitInto.getBoundingClientRect().left},get _fitTop(){var t;return t=this.fitInto===window?0:this.fitInto.getBoundingClientRect().top},attached:function(){this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):this.fit())},fit:function(){this._discoverInfo(),this.constrain(),this.center()},_discoverInfo:function(){if(!this._fitInfo){var t=window.getComputedStyle(this),i=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||""},positionedBy:{vertically:"auto"!==t.top?"top":"auto"!==t.bottom?"bottom":null,horizontally:"auto"!==t.left?"left":"auto"!==t.right?"right":null,css:t.position},sizedBy:{height:"none"!==i.maxHeight,width:"none"!==i.maxWidth},margin:{top:parseInt(t.marginTop,10)||0,right:parseInt(t.marginRight,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0}}}},resetFit:function(){this._fitInfo&&this._fitInfo.sizedBy.height||(this.sizingTarget.style.maxHeight="",this.style.top=this._fitInfo?this._fitInfo.inlineStyle.top:""),this._fitInfo&&this._fitInfo.sizedBy.width||(this.sizingTarget.style.maxWidth="",this.style.left=this._fitInfo?this._fitInfo.inlineStyle.left:""),this._fitInfo&&(this.style.position=this._fitInfo.positionedBy.css),this._fitInfo=null},refit:function(){this.resetFit(),this.fit()},constrain:function(){var t=this._fitInfo;this._fitInfo.positionedBy.vertically||(this.style.top="0px"),this._fitInfo.positionedBy.horizontally||(this.style.left="0px"),this.sizingTarget.style.boxSizing="border-box";var i=this.getBoundingClientRect();t.sizedBy.height||this._sizeDimension(i,t.positionedBy.vertically,"top","bottom","Height"),t.sizedBy.width||this._sizeDimension(i,t.positionedBy.horizontally,"left","right","Width")},_sizeDimension:function(t,i,n,e,o){var s=this._fitInfo,h="Width"===o?this._fitWidth:this._fitHeight,f=i===e,l=f?h-t[e]:t[n],r=s.margin[f?n:e],a="offset"+o,g=this[a]-this.sizingTarget[a];this.sizingTarget.style["max"+o]=h-r-l-g+"px"},center:function(){if(this._fitInfo.positionedBy.vertically&&this._fitInfo.positionedBy.horizontally||(this.style.position="fixed"),!this._fitInfo.positionedBy.vertically){var t=(this._fitHeight-this.offsetHeight)/2+this._fitTop;t-=this._fitInfo.margin.top,this.style.top=t+"px"}if(!this._fitInfo.positionedBy.horizontally){var i=(this._fitWidth-this.offsetWidth)/2+this._fitLeft;i-=this._fitInfo.margin.left,this.style.left=i+"px"}}};</script><script>Polymer.IronOverlayManager=function(){function n(n){var r=u();f.push(n);var t=u();r>=t&&e(n,r)}function r(n){var r=f.indexOf(n);r>=0&&(f.splice(r,1),t(n,""))}function e(n,r){t(n,r+2)}function t(n,r){n.style.zIndex=r}function a(){return f[f.length-1]}function u(){var n,r=a();if(r){var e=window.getComputedStyle(r).zIndex;isNaN(e)||(n=Number(e))}return n||v}function i(){var n=a();n&&!n.transitioning&&n._applyFocus()}function o(n){if(n.opened)l.push(n);else{var r=l.indexOf(n);r>=0&&l.splice(r,1)}}function c(){return l}var f=[],v=10,l=[];return{addOverlay:n,removeOverlay:r,currentOverlay:a,currentOverlayZ:u,focusOverlay:i,trackBackdrop:o,getBackdrops:c}}();</script><script>Polymer.IronOverlayBehaviorImpl={properties:{opened:{observer:"_openedChanged",type:Boolean,value:!1,notify:!0},canceled:{observer:"_canceledChanged",readOnly:!0,type:Boolean,value:!1},withBackdrop:{type:Boolean,value:!1},noAutoFocus:{type:Boolean,value:!1},noCancelOnEscKey:{type:Boolean,value:!1},noCancelOnOutsideClick:{type:Boolean,value:!1},closingReason:{type:Object},_manager:{type:Object,value:Polymer.IronOverlayManager},_boundOnCaptureClick:{type:Function,value:function(){return this._onCaptureClick.bind(this)}},_boundOnCaptureKeydown:{type:Function,value:function(){return this._onCaptureKeydown.bind(this)}}},listeners:{click:"_onClick","iron-resize":"_onIronResize"},get backdropElement(){return this._backdrop},get _focusNode(){return Polymer.dom(this).querySelector("[autofocus]")||this},registered:function(){this._backdrop=document.createElement("iron-overlay-backdrop")},ready:function(){this._ensureSetup(),this._callOpenedWhenReady&&this._openedChanged()},detached:function(){this.opened=!1,this._completeBackdrop(),this._manager.removeOverlay(this)},toggle:function(){this.opened=!this.opened},open:function(){this.opened=!0,this.closingReason={canceled:!1}},close:function(){this.opened=!1,this._setCanceled(!1)},cancel:function(){this.opened=!1,this._setCanceled(!0)},_ensureSetup:function(){this._overlaySetup||(this._overlaySetup=!0,this.style.outline="none",this.style.display="none")},_openedChanged:function(){return this.opened?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true"),this._overlaySetup?(this._openChangedAsync&&this.cancelAsync(this._openChangedAsync),this._toggleListeners(),this.opened&&this._prepareRenderOpened(),void(this._openChangedAsync=this.async(function(){this.style.display="",this.offsetWidth,this.opened?this._renderOpened():this._renderClosed(),this._openChangedAsync=null}))):void(this._callOpenedWhenReady=this.opened)},_canceledChanged:function(){this.closingReason=this.closingReason||{},this.closingReason.canceled=this.canceled},_toggleListener:function(e,n,t,i,s){e?n.addEventListener(t,i,s):n.removeEventListener(t,i,s)},_toggleListeners:function(){this._toggleListenersAsync&&this.cancelAsync(this._toggleListenersAsync),this._toggleListenersAsync=this.async(function(){this._toggleListener(this.opened,document,"click",this._boundOnCaptureClick,!0),this._toggleListener(this.opened,document,"keydown",this._boundOnCaptureKeydown,!0),this._toggleListenersAsync=null})},_prepareRenderOpened:function(){this._manager.addOverlay(this),this.withBackdrop&&(this.backdropElement.prepare(),this._manager.trackBackdrop(this)),this._preparePositioning(),this.fit(),this._finishPositioning()},_renderOpened:function(){this.withBackdrop&&this.backdropElement.open(),this._finishRenderOpened()},_renderClosed:function(){this.withBackdrop&&this.backdropElement.close(),this._finishRenderClosed()},_onTransitionend:function(e){e&&e.target!==this||(this.opened?this._finishRenderOpened():this._finishRenderClosed())},_finishRenderOpened:function(){this.noAutoFocus||this._focusNode.focus(),this.fire("iron-overlay-opened"),this._squelchNextResize=!0,this.async(this.notifyResize)},_finishRenderClosed:function(){this.resetFit(),this.style.display="none",this._completeBackdrop(),this._manager.removeOverlay(this),this._focusNode.blur(),this._manager.focusOverlay(),this.fire("iron-overlay-closed",this.closingReason),this._squelchNextResize=!0,this.async(this.notifyResize)},_completeBackdrop:function(){this.withBackdrop&&(this._manager.trackBackdrop(this),this.backdropElement.complete())},_preparePositioning:function(){this.style.transition=this.style.webkitTransition="none",this.style.transform=this.style.webkitTransform="none",this.style.display=""},_finishPositioning:function(){this.style.display="none",this.style.transform=this.style.webkitTransform="",this.offsetWidth,this.style.transition=this.style.webkitTransition=""},_applyFocus:function(){this.opened?this.noAutoFocus||this._focusNode.focus():(this._focusNode.blur(),this._manager.focusOverlay())},_onCaptureClick:function(e){this.noCancelOnOutsideClick||this._manager.currentOverlay()!=this||(this._cancelJob=this.async(function(){this.cancel()},10))},_onClick:function(e){this._cancelJob&&(this.cancelAsync(this._cancelJob),this._cancelJob=null)},_onCaptureKeydown:function(e){var n=27;this.noCancelOnEscKey||e.keyCode!==n||(this.cancel(),e.stopPropagation())},_onIronResize:function(){return this._squelchNextResize?void(this._squelchNextResize=!1):void(this.opened&&this.refit())}},Polymer.IronOverlayBehavior=[Polymer.IronFitBehavior,Polymer.IronResizableBehavior,Polymer.IronOverlayBehaviorImpl];</script><script>Polymer.PaperDialogBehaviorImpl={hostAttributes:{role:"dialog",tabindex:"-1"},properties:{modal:{observer:"_modalChanged",type:Boolean,value:!1},_lastFocusedElement:{type:Object},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBackdropClick:{type:Function,value:function(){return this._onBackdropClick.bind(this)}}},listeners:{click:"_onDialogClick","iron-overlay-opened":"_onIronOverlayOpened","iron-overlay-closed":"_onIronOverlayClosed"},attached:function(){this._observer=this._observe(this),this._updateAriaLabelledBy()},detached:function(){this._observer&&this._observer.disconnect()},_observe:function(e){var t=new MutationObserver(function(){this._updateAriaLabelledBy()}.bind(this));return t.observe(e,{childList:!0,subtree:!0}),t},_modalChanged:function(){this.modal?this.setAttribute("aria-modal","true"):this.setAttribute("aria-modal","false"),this.modal&&(this.noCancelOnOutsideClick=!0,this.withBackdrop=!0)},_updateAriaLabelledBy:function(){var e=Polymer.dom(this).querySelector("h2");if(!e)return void this.removeAttribute("aria-labelledby");var t=e.getAttribute("id");if(!t||this.getAttribute("aria-labelledby")!==t){var o;t?o=t:(o="paper-dialog-header-"+(new Date).getUTCMilliseconds(),e.setAttribute("id",o)),this.setAttribute("aria-labelledby",o)}},_updateClosingReasonConfirmed:function(e){this.closingReason=this.closingReason||{},this.closingReason.confirmed=e},_onDialogClick:function(e){for(var t=e.target;t&&t!==this;){if(t.hasAttribute){if(t.hasAttribute("dialog-dismiss")){this._updateClosingReasonConfirmed(!1),this.close();break}if(t.hasAttribute("dialog-confirm")){this._updateClosingReasonConfirmed(!0),this.close();break}}t=t.parentNode}},_onIronOverlayOpened:function(){this.modal&&(document.body.addEventListener("focus",this._boundOnFocus,!0),this.backdropElement.addEventListener("click",this._boundOnBackdropClick))},_onIronOverlayClosed:function(){document.body.removeEventListener("focus",this._boundOnFocus,!0),this.backdropElement.removeEventListener("click",this._boundOnBackdropClick)},_onFocus:function(e){if(this.modal){for(var t=e.target;t&&t!==this&&t!==document.body;)t=t.parentNode;t&&(t===document.body?this._lastFocusedElement?this._lastFocusedElement.focus():this._focusNode.focus():this._lastFocusedElement=e.target)}},_onBackdropClick:function(){this.modal&&(this._lastFocusedElement?this._lastFocusedElement.focus():this._focusNode.focus())}},Polymer.PaperDialogBehavior=[Polymer.IronOverlayBehavior,Polymer.PaperDialogBehaviorImpl];</script><script>Polymer.IronRangeBehavior={properties:{value:{type:Number,value:0,notify:!0,reflectToAttribute:!0},min:{type:Number,value:0,notify:!0},max:{type:Number,value:100,notify:!0},step:{type:Number,value:1,notify:!0},ratio:{type:Number,value:0,readOnly:!0,notify:!0}},observers:["_update(value, min, max, step)"],_calcRatio:function(t){return(this._clampValue(t)-this.min)/(this.max-this.min)},_clampValue:function(t){return Math.min(this.max,Math.max(this.min,this._calcStep(t)))},_calcStep:function(t){return this.step?Math.round(t/this.step)/(1/this.step):t},_validateValue:function(){var t=this._clampValue(this.value);return this.value=this.oldValue=isNaN(t)?this.oldValue:t,this.value!==t},_update:function(){this._validateValue(),this._setRatio(100*this._calcRatio(this.value))}};</script></head><body><div hidden="" by-vulcanize=""><dom-module id="iron-icon" assetpath="../bower_components/iron-icon/"><style>:host {
|
||
@apply(--layout-inline);
|
||
@apply(--layout-center-center);
|
||
position: relative;
|
||
|
||
vertical-align: middle;
|
||
|
||
fill: currentcolor;
|
||
|
||
width: var(--iron-icon-width, 24px);
|
||
height: var(--iron-icon-height, 24px);
|
||
}</style><template><iron-meta id="meta" type="iconset"></iron-meta></template><script>Polymer({is:"iron-icon",properties:{icon:{type:String,observer:"_iconChanged"},theme:{type:String,observer:"_updateIcon"},src:{type:String,observer:"_srcChanged"}},_DEFAULT_ICONSET:"icons",_iconChanged:function(t){var i=(t||"").split(":");this._iconName=i.pop(),this._iconsetName=i.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(t){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?this._iconsetName&&(this._iconset=this.$.meta.byKey(this._iconsetName),this._iconset?this._iconset.applyIcon(this,this._iconName,this.theme):this._warn(this._logf("_updateIcon","could not find iconset `"+this._iconsetName+"`, did you import the iconset?"))):(this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%"),this._img.src=this.src,Polymer.dom(this.root).appendChild(this._img))}});</script></dom-module><iron-iconset-svg name="icons" size="24"><svg><defs><g id="3d-rotation"><path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path></g><g id="accessibility"><path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"></path></g><g id="account-balance"><path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"></path></g><g id="account-balance-wallet"><path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g id="account-box"><path d="M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"></path></g><g id="account-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"></path></g><g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g><g id="add-alert"><path d="M10.01 21.01c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zm8.87-4.19V11c0-3.25-2.25-5.97-5.29-6.69v-.72C13.59 2.71 12.88 2 12 2s-1.59.71-1.59 1.59v.72C7.37 5.03 5.12 7.75 5.12 11v5.82L3 18.94V20h18v-1.06l-2.12-2.12zM16 13.01h-3v3h-2v-3H8V11h3V8h2v3h3v2.01z"></path></g><g id="add-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g><g id="add-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g><g id="add-circle-outline"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="add-shopping-cart"><path d="M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25z"></path></g><g id="alarm"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path></g><g id="alarm-add"><path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm1-11h-2v3H8v2h3v3h2v-3h3v-2h-3V9z"></path></g><g id="alarm-off"><path d="M12 6c3.87 0 7 3.13 7 7 0 .84-.16 1.65-.43 2.4l1.52 1.52c.58-1.19.91-2.51.91-3.92 0-4.97-4.03-9-9-9-1.41 0-2.73.33-3.92.91L9.6 6.43C10.35 6.16 11.16 6 12 6zm10-.28l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM2.92 2.29L1.65 3.57 2.98 4.9l-1.11.93 1.42 1.42 1.11-.94.8.8C3.83 8.69 3 10.75 3 13c0 4.97 4.02 9 9 9 2.25 0 4.31-.83 5.89-2.2l2.2 2.2 1.27-1.27L3.89 3.27l-.97-.98zm13.55 16.1C15.26 19.39 13.7 20 12 20c-3.87 0-7-3.13-7-7 0-1.7.61-3.26 1.61-4.47l9.86 9.86zM8.02 3.28L6.6 1.86l-.86.71 1.42 1.42.86-.71z"></path></g><g id="alarm-on"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm-1.46-5.47L8.41 12.4l-1.06 1.06 3.18 3.18 6-6-1.06-1.06-4.93 4.95z"></path></g><g id="android"><path d="M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z"></path></g><g id="announcement"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z"></path></g><g id="apps"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"></path></g><g id="archive"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"></path></g><g id="arrow-back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g><g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g><g id="arrow-drop-down-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"></path></g><g id="arrow-drop-up"><path d="M7 14l5-5 5 5z"></path></g><g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></g><g id="aspect-ratio"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g><g id="assessment"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g><g id="assignment"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"></path></g><g id="assignment-ind"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"></path></g><g id="assignment-late"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 15h-2v-2h2v2zm0-4h-2V8h2v6zm-1-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"></path></g><g id="assignment-return"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm4 12h-4v3l-5-5 5-5v3h4v4z"></path></g><g id="assignment-returned"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 15l-5-5h3V9h4v4h3l-5 5z"></path></g><g id="assignment-turned-in"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g><g id="attachment"><path d="M7.5 18C4.46 18 2 15.54 2 12.5S4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v1.5H9.5c-.55 0-1 .45-1 1s.45 1 1 1H18c1.38 0 2.5-1.12 2.5-2.5S19.38 8.5 18 8.5H7.5c-2.21 0-4 1.79-4 4s1.79 4 4 4H17V18H7.5z"></path></g><g id="autorenew"><path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"></path></g><g id="backspace"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"></path></g><g id="backup"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g><g id="block"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"></path></g><g id="book"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g><g id="bookmark"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g><g id="bookmark-border"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g><g id="bug-report"><path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"></path></g><g id="build"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"></path></g><g id="cached"><path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"></path></g><g id="camera-enhance"><path d="M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zM12 17l1.25-2.75L16 13l-2.75-1.25L12 9l-1.25 2.75L8 13l2.75 1.25z"></path></g><g id="cancel"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"></path></g><g id="card-giftcard"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g><g id="card-membership"><path d="M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"></path></g><g id="card-travel"><path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z"></path></g><g id="change-history"><path d="M12 7.77L18.39 18H5.61L12 7.77M12 4L2 20h20L12 4z"></path></g><g id="check"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></g><g id="check-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g><g id="check-box-outline-blank"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="check-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g><g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path></g><g id="chevron-right"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path></g><g id="chrome-reader-mode"><path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"></path></g><g id="class"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g><g id="clear"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g><g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g><g id="cloud"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"></path></g><g id="cloud-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3l.14.01C8.58 8.28 10.13 7 12 7c2.21 0 4 1.79 4 4h.5c1.38 0 2.5 1.12 2.5 2.5S17.88 16 16.5 16z"></path></g><g id="cloud-done"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"></path></g><g id="cloud-download"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"></path></g><g id="cloud-off"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-2.85.43-4.01 1.17l1.46 1.46C10.21 6.23 11.08 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 1.13-.64 2.11-1.56 2.62l1.45 1.45C23.16 18.16 24 16.68 24 15c0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.75 2.74C2.56 8.15 0 10.77 0 14c0 3.31 2.69 6 6 6h11.73l2 2L21 20.73 4.27 4 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"></path></g><g id="cloud-queue"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3z"></path></g><g id="cloud-upload"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g><g id="code"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path></g><g id="content-copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path></g><g id="content-cut"><path d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"></path></g><g id="content-paste"><path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"></path></g><g id="create"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></g><g id="credit-card"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g><g id="dashboard"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"></path></g><g id="delete"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"></path></g><g id="description"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"></path></g><g id="dns"><path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g><g id="done"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g><g id="done-all"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"></path></g><g id="drafts"><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z"></path></g><g id="eject"><path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"></path></g><g id="error"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g><g id="error-outline"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g><g id="event"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"></path></g><g id="event-seat"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z" clip-path="url(#b)"></path></g><g id="exit-to-app"><path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="expand-less"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></g><g id="expand-more"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></g><g id="explore"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"></path></g><g id="extension"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"></path></g><g id="face"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"></path></g><g id="favorite"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"></path></g><g id="favorite-border"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"></path></g><g id="feedback"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"></path></g><g id="file-download"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g><g id="file-upload"><path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"></path></g><g id="filter-list"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></g><g id="find-in-page"><path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"></path></g><g id="find-replace"><path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"></path></g><g id="flag"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></g><g id="flight-land"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><defs><path id="c" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><clipPath id="d" clip-path="url(#b)"><use xlink:href="#c" overflow="visible"></use></clipPath><path d="M2.5 19h19v2h-19zm7.18-5.73l4.35 1.16 5.31 1.42c.8.21 1.62-.26 1.84-1.06.21-.8-.26-1.62-1.06-1.84l-5.31-1.42-2.76-9.02L10.12 2v8.28L5.15 8.95l-.93-2.32-1.45-.39v5.17l1.6.43 5.31 1.43z" clip-path="url(#d)"></path></g><g id="flight-takeoff"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M2.5 19h19v2h-19zm19.57-9.36c-.21-.8-1.04-1.28-1.84-1.06L14.92 10l-6.9-6.43-1.93.51 4.14 7.17-4.97 1.33-1.97-1.54-1.45.39 1.82 3.16.77 1.33 1.6-.43 5.31-1.42 4.35-1.16L21 11.49c.81-.23 1.28-1.05 1.07-1.85z" clip-path="url(#b)"></path></g><g id="flip-to-back"><path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zM5 7H3v12c0 1.1.89 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z"></path></g><g id="flip-to-front"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.89 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9c-1.11 0-2 .9-2 2v10c0 1.1.89 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"></path></g><g id="folder"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"></path></g><g id="folder-open"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"></path></g><g id="folder-shared"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2v1z"></path></g><g id="font-download"><path d="M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"></path></g><g id="forward"><path d="M12 8V4l8 8-8 8v-4H4V8z"></path></g><g id="fullscreen"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"></path></g><g id="fullscreen-exit"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"></path></g><g id="gesture"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"></path></g><g id="get-app"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g><g id="gif"><defs><path id="a" d="M24 24H0V0h24v24z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z" clip-path="url(#b)"></path></g><g id="grade"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g><g id="group-work"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g><g id="help"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"></path></g><g id="help-outline"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path></g><g id="highlight-off"><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="history"><path opacity=".9" d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g><g id="home"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path></g><g id="hourglass-empty"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"></path></g><g id="hourglass-full"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z"></path></g><g id="http"><path d="M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5v2zm2.5-.5h1.5V15H10v-4.5h1.5V9H7v1.5zm5.5 0H14V15h1.5v-4.5H17V9h-4.5v1.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5zm0 2.5h-2v-1h2v1z"></path></g><g id="https"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g><g id="inbox"><path d="M19 3H4.99c-1.1 0-1.98.9-1.98 2L3 19c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12h-4c0 1.66-1.34 3-3 3s-3-1.34-3-3H4.99V5H19v10zm-3-5h-2V7h-4v3H8l4 4 4-4z"></path></g><g id="indeterminate-check-box"><defs><path id="a" d="M0 0h24v24H0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path clip-path="url(#b)" d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"></path></g><g id="info"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"></path></g><g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g><g id="input"><path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"></path></g><g id="invert-colors"><path d="M17.66 7.93L12 2.27 6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58c2.05 0 4.1-.78 5.66-2.34 3.12-3.12 3.12-8.19 0-11.31zM12 19.59c-1.6 0-3.11-.62-4.24-1.76C6.62 16.69 6 15.19 6 13.59s.62-3.11 1.76-4.24L12 5.1v14.49z"></path></g><g id="label"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"></path></g><g id="label-outline"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"></path></g><g id="language"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"></path></g><g id="launch"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g><g id="link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g><g id="list"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"></path></g><g id="lock"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g><g id="lock-open"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"></path></g><g id="lock-outline"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6-5.1c1.71 0 3.1 1.39 3.1 3.1v2H9V6h-.1c0-1.71 1.39-3.1 3.1-3.1zM18 20H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"></path></g><g id="loyalty"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7zm11.77 8.27L13 19.54l-4.27-4.27C8.28 14.81 8 14.19 8 13.5c0-1.38 1.12-2.5 2.5-2.5.69 0 1.32.28 1.77.74l.73.72.73-.73c.45-.45 1.08-.73 1.77-.73 1.38 0 2.5 1.12 2.5 2.5 0 .69-.28 1.32-.73 1.77z"></path></g><g id="mail"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g><g id="markunread"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g><g id="markunread-mailbox"><path d="M20 6H10v6H8V4h6V0H6v6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"></path></g><g id="menu"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></g><g id="more-horiz"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="note-add"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"></path></g><g id="offline-pin"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path clip-path="url(#b)" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 16H7v-2h10v2zm-6.7-4L7 10.7l1.4-1.4 1.9 1.9 5.3-5.3L17 7.3 10.3 14z"></path></g><g id="open-in-browser"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6l-4 4h3v6h2v-6h3l-4-4z"></path></g><g id="open-in-new"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g><g id="open-with"><path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"></path></g><g id="pageview"><path d="M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3.21 14.21l-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9-1.42 1.42z"></path></g><g id="payment"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g><g id="perm-camera-mic"><path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 5.91V21h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-6 8c0 1.1-.9 2-2 2s-2-.9-2-2V9c0-1.1.9-2 2-2s2 .9 2 2v4z"></path></g><g id="perm-contact-calendar"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1z"></path></g><g id="perm-data-setting"><path d="M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g id="perm-device-information"><path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"></path></g><g id="perm-identity"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"></path></g><g id="perm-media"><path d="M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2V6zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 15l4.5-6 3.5 4.51 2.5-3.01L21 15H7z"></path></g><g id="perm-phone-msg"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM12 3v10l3-3h6V3h-9z"></path></g><g id="perm-scan-wifi"><path d="M12 3C6.95 3 3.15 4.85 0 7.23L12 22 24 7.25C20.85 4.87 17.05 3 12 3zm1 13h-2v-6h2v6zm-2-8V6h2v2h-2z"></path></g><g id="picture-in-picture"><path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"></path></g><g id="play-for-work"><path fill="#010101" d="M11 5v5.59H7.5l4.5 4.5 4.5-4.5H13V5h-2zm-5 9c0 3.31 2.69 6 6 6s6-2.69 6-6h-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6z"></path></g><g id="polymer"><path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"></path></g><g id="power-settings-new"><path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"></path></g><g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"></path></g><g id="query-builder"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zM12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g><g id="question-answer"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"></path></g><g id="radio-button-checked"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g><g id="radio-button-unchecked"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g><g id="receipt"><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z"></path></g><g id="redeem"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g><g id="redo"><path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"></path></g><g id="refresh"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"></path></g><g id="remove"><path d="M19 13H5v-2h14v2z"></path></g><g id="remove-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"></path></g><g id="remove-circle-outline"><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="reorder"><path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"></path></g><g id="reply"><path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g><g id="reply-all"><path d="M7 8V5l-7 7 7 7v-3l-4-4 4-4zm6 1V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g><g id="report"><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"></path></g><g id="report-problem"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g><g id="restore"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g><g id="room"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g><g id="save"><path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"></path></g><g id="schedule"><path fill-opacity=".9" d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zM12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g><g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g><g id="select-all"><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z"></path></g><g id="send"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path></g><g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g><g id="settings-applications"><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"></path></g><g id="settings-backup-restore"><path d="M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"></path></g><g id="settings-bluetooth"><path d="M11 24h2v-2h-2v2zm-4 0h2v-2H7v2zm8 0h2v-2h-2v2zm2.71-18.29L12 0h-1v7.59L6.41 3 5 4.41 10.59 10 5 15.59 6.41 17 11 12.41V20h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 3.83l1.88 1.88L13 7.59V3.83zm1.88 10.46L13 16.17v-3.76l1.88 1.88z"></path></g><g id="settings-brightness"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5V16zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3V9z"></path></g><g id="settings-cell"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z"></path></g><g id="settings-ethernet"><path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z"></path></g><g id="settings-input-antenna"><path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 3L16.41 21 13 17.59v-3.3zM12 1C5.93 1 1 5.93 1 12h2c0-4.97 4.03-9 9-9s9 4.03 9 9h2c0-6.07-4.93-11-11-11z"></path></g><g id="settings-input-component"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g><g id="settings-input-composite"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g><g id="settings-input-hdmi"><path d="M18 7V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v3H5v6l3 6v3h8v-3l3-6V7h-1zM8 4h8v3h-2V5h-1v2h-2V5h-1v2H8V4z"></path></g><g id="settings-input-svideo"><path d="M8 11.5c0-.83-.67-1.5-1.5-1.5S5 10.67 5 11.5 5.67 13 6.5 13 8 12.33 8 11.5zm7-5c0-.83-.67-1.5-1.5-1.5h-3C9.67 5 9 5.67 9 6.5S9.67 8 10.5 8h3c.83 0 1.5-.67 1.5-1.5zM8.5 15c-.83 0-1.5.67-1.5 1.5S7.67 18 8.5 18s1.5-.67 1.5-1.5S9.33 15 8.5 15zM12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9zm5.5-11c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-2 5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path></g><g id="settings-overscan"><path d="M12.01 5.5L10 8h4l-1.99-2.5zM18 10v4l2.5-1.99L18 10zM6 10l-2.5 2.01L6 14v-4zm8 6h-4l2.01 2.5L14 16zm7-13H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g><g id="settings-phone"><path d="M13 9h-2v2h2V9zm4 0h-2v2h2V9zm3 6.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 9v2h2V9h-2z"></path></g><g id="settings-power"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm2-22h-2v10h2V2zm3.56 2.44l-1.45 1.45C16.84 6.94 18 8.83 18 11c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-2.17 1.16-4.06 2.88-5.12L7.44 4.44C5.36 5.88 4 8.28 4 11c0 4.42 3.58 8 8 8s8-3.58 8-8c0-2.72-1.36-5.12-3.44-6.56zM15 24h2v-2h-2v2z"></path></g><g id="settings-remote"><path d="M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.45-1-1-1zm-3 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM7.05 6.05l1.41 1.41C9.37 6.56 10.62 6 12 6s2.63.56 3.54 1.46l1.41-1.41C15.68 4.78 13.93 4 12 4s-3.68.78-4.95 2.05zM12 0C8.96 0 6.21 1.23 4.22 3.22l1.41 1.41C7.26 3.01 9.51 2 12 2s4.74 1.01 6.36 2.64l1.41-1.41C17.79 1.23 15.04 0 12 0z"></path></g><g id="settings-voice"><path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.41 2.72 6.23 6 6.72V20h2v-3.28c3.28-.49 6-3.31 6-6.72z"></path></g><g id="shop"><path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z"></path></g><g id="shop-two"><path d="M3 9H1v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2H3V9zm15-4V3c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H5v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5h-5zm-6-2h4v2h-4V3zm0 12V8l5.5 3-5.5 4z"></path></g><g id="shopping-basket"><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g><g id="shopping-cart"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="sort"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"></path></g><g id="speaker-notes"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 14H6v-2h2v2zm0-3H6V9h2v2zm0-3H6V6h2v2zm7 6h-5v-2h5v2zm3-3h-8V9h8v2zm0-3h-8V6h8v2z"></path></g><g id="spellcheck"><path d="M12.45 16h2.09L9.43 3H7.57L2.46 16h2.09l1.12-3h5.64l1.14 3zm-6.02-5L8.5 5.48 10.57 11H6.43zm15.16.59l-8.09 8.09L9.83 16l-1.41 1.41 5.09 5.09L23 13l-1.41-1.41z"></path></g><g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g><g id="star-border"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g><g id="star-half"><path d="M22 9.74l-7.19-.62L12 2.5 9.19 9.13 2 9.74l5.46 4.73-1.64 7.03L12 17.77l6.18 3.73-1.63-7.03L22 9.74zM12 15.9V6.6l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.9z"></path></g><g id="stars"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"></path></g><g id="store"><path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"></path></g><g id="subject"><path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z"></path></g><g id="supervisor-account"><path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"></path></g><g id="swap-horiz"><path d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"></path></g><g id="swap-vert"><path d="M16 17.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3z"></path></g><g id="swap-vertical-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"></path></g><g id="system-update-alt"><path d="M12 16.5l4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"></path></g><g id="tab"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z"></path></g><g id="tab-unselected"><path d="M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"></path></g><g id="text-format"><path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"></path></g><g id="theaters"><path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"></path></g><g id="thumb-down"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"></path></g><g id="thumb-up"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"></path></g><g id="thumbs-up-down"><path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1.38-.91l2.26-5.29c.07-.17.11-.36.11-.55V6zm10.5 4h-6.75c-.62 0-1.15.38-1.38.91l-2.26 5.29c-.07.17-.11.36-.11.55V18c0 .55.45 1 1 1h5.18l-.66 3.18-.02.24c0 .31.13.59.33.8l.79.78 4.94-4.94c.27-.27.44-.65.44-1.06v-6.5c0-.83-.67-1.5-1.5-1.5z"></path></g><g id="toc"><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"></path></g><g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"></path></g><g id="toll"><path d="M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12c0-2.61 1.67-4.83 4-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09c-2.33-.82-4-3.04-4-5.65z"></path></g><g id="track-changes"><path fill="#231F20" d="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z"></path></g><g id="translate"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></g><g id="trending-down"><path d="M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"></path></g><g id="trending-flat"><path d="M22 12l-4-4v3H3v2h15v3z"></path></g><g id="trending-up"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"></path></g><g id="turned-in"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g><g id="turned-in-not"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g><g id="undo"><path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"></path></g><g id="unfold-less"><path d="M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z"></path></g><g id="unfold-more"><path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"></path></g><g id="verified-user"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g><g id="view-agenda"><path d="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"></path></g><g id="view-array"><path d="M4 18h3V5H4v13zM18 5v13h3V5h-3zM8 18h9V5H8v13z"></path></g><g id="view-carousel"><path d="M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z"></path></g><g id="view-column"><path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"></path></g><g id="view-day"><path d="M2 21h19v-3H2v3zM20 8H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zM2 3v3h19V3H2z"></path></g><g id="view-headline"><path d="M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"></path></g><g id="view-list"><path d="M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z"></path></g><g id="view-module"><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"></path></g><g id="view-quilt"><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"></path></g><g id="view-stream"><path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"></path></g><g id="view-week"><path d="M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"></path></g><g id="visibility"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g><g id="visibility-off"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"></path></g><g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g><g id="work"><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"></path></g><g id="youtube-searched-for"><path d="M17.01 14h-.8l-.27-.27c.98-1.14 1.57-2.61 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 3-6.5 6.5H2l3.84 4 4.16-4H6.51C6.51 7 8.53 5 11.01 5s4.5 2.01 4.5 4.5c0 2.48-2.02 4.5-4.5 4.5-.65 0-1.26-.14-1.82-.38L7.71 15.1c.97.57 2.09.9 3.3.9 1.61 0 3.08-.59 4.22-1.57l.27.27v.79l5.01 4.99L22 19l-4.99-5z"></path></g><g id="zoom-in"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></g><g id="zoom-out"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="social" size="24"><svg><defs><g id="cake"><path d="M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12C21 10.34 19.66 9 18 9z"></path></g><g id="domain"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"></path></g><g id="group"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"></path></g><g id="group-add"><path d="M8 10H5V7H3v3H0v2h3v3h2v-3h3v-2zm10 1c1.66 0 2.99-1.34 2.99-3S19.66 5 18 5c-.32 0-.63.05-.91.14.57.81.9 1.79.9 2.86s-.34 2.04-.9 2.86c.28.09.59.14.91.14zm-5 0c1.66 0 2.99-1.34 2.99-3S14.66 5 13 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm6.62 2.16c.83.73 1.38 1.66 1.38 2.84v2h3v-2c0-1.54-2.37-2.49-4.38-2.84zM13 13c-2 0-6 1-6 3v2h12v-2c0-2-4-3-6-3z"></path></g><g id="location-city"><path d="M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h2v2zm0-4h-2v-2h2v2z"></path></g><g id="mood"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path></g><g id="mood-bad"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 3c-2.33 0-4.31 1.46-5.11 3.5h10.22c-.8-2.04-2.78-3.5-5.11-3.5z"></path></g><g id="notifications"><path d="M11.5 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6.5-6v-5.5c0-3.07-2.13-5.64-5-6.32V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v.68c-2.87.68-5 3.25-5 6.32V16l-2 2v1h17v-1l-2-2z"></path></g><g id="notifications-active"><path d="M6.58 3.58L5.15 2.15C2.76 3.97 1.18 6.8 1.03 10h2c.15-2.65 1.51-4.97 3.55-6.42zM19.97 10h2c-.15-3.2-1.73-6.03-4.13-7.85l-1.43 1.43c2.05 1.45 3.41 3.77 3.56 6.42zm-1.97.5c0-3.07-2.13-5.64-5-6.32V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v.68c-2.87.68-5 3.25-5 6.32V16l-2 2v1h17v-1l-2-2v-5.5zM11.5 22c.14 0 .27-.01.4-.04.65-.13 1.19-.58 1.44-1.18.1-.24.16-.5.16-.78h-4c0 1.1.9 2 2 2z"></path></g><g id="notifications-none"><path d="M11.5 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6.5-6v-5.5c0-3.07-2.13-5.64-5-6.32V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v.68c-2.87.68-5 3.25-5 6.32V16l-2 2v1h17v-1l-2-2zm-2 1H7v-6.5C7 8.01 9.01 6 11.5 6S16 8.01 16 10.5V17z"></path></g><g id="notifications-off"><path d="M11.5 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zM18 10.5c0-3.07-2.13-5.64-5-6.32V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v.68c-.51.12-.99.32-1.45.56L18 14.18V10.5zm-.27 8.5l2 2L21 19.73 4.27 3 3 4.27l2.92 2.92C5.34 8.16 5 9.29 5 10.5V16l-2 2v1h14.73z"></path></g><g id="notifications-paused"><path d="M11.5 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6.5-6v-5.5c0-3.07-2.13-5.64-5-6.32V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5v.68c-2.87.68-5 3.25-5 6.32V16l-2 2v1h17v-1l-2-2zm-4-6.2l-2.8 3.4H14V15H9v-1.8l2.8-3.4H9V8h5v1.8z"></path></g><g id="pages"><path d="M3 5v6h5L7 7l4 1V3H5c-1.1 0-2 .9-2 2zm5 8H3v6c0 1.1.9 2 2 2h6v-5l-4 1 1-4zm9 4l-4-1v5h6c1.1 0 2-.9 2-2v-6h-5l1 4zm2-14h-6v5l4-1-1 4h5V5c0-1.1-.9-2-2-2z"></path></g><g id="party-mode"><path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 3c1.63 0 3.06.79 3.98 2H12c-1.66 0-3 1.34-3 3 0 .35.07.69.18 1H7.1c-.06-.32-.1-.66-.1-1 0-2.76 2.24-5 5-5zm0 10c-1.63 0-3.06-.79-3.98-2H12c1.66 0 3-1.34 3-3 0-.35-.07-.69-.18-1h2.08c.07.32.1.66.1 1 0 2.76-2.24 5-5 5z"></path></g><g id="people"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"></path></g><g id="people-outline"><path d="M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25zm-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75v1.25zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75v1.25zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"></path></g><g id="person"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g><g id="person-add"><path d="M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g><g id="person-outline"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"></path></g><g id="plus-one"><path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4zm4.5-1.92V7.9l2.5-.5V18h2V5z"></path></g><g id="poll"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g><g id="public"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"></path></g><g id="school"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"></path></g><g id="share"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"></path></g><g id="whatshot"><path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="image" size="24"><svg><defs><g id="add-to-photos"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"></path></g><g id="adjust"><path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z"></path></g><g id="assistant"><path d="M19 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-5.12 10.88L12 17l-1.88-4.12L6 11l4.12-1.88L12 5l1.88 4.12L18 11l-4.12 1.88z"></path></g><g id="assistant-photo"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></g><g id="audiotrack"><path d="M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7z"></path></g><g id="blur-circular"><path d="M10 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM7 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-3-3c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3-6c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm3 6c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-4c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm2-3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-3.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path></g><g id="blur-linear"><path d="M5 17.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM9 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zM3 21h18v-2H3v2zM5 9.5c.83 0 1.5-.67 1.5-1.5S5.83 6.5 5 6.5 3.5 7.17 3.5 8 4.17 9.5 5 9.5zm0 4c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM9 17c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8-.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM3 3v2h18V3H3zm14 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm0 4c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM13 9c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z"></path></g><g id="blur-off"><path d="M14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm-.2 4.48l.2.02c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5l.02.2c.09.67.61 1.19 1.28 1.28zM14 3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-4 0c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm11 7c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm-4 13.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM2.5 5.27l3.78 3.78L6 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1c0-.1-.03-.19-.06-.28l2.81 2.81c-.71.11-1.25.73-1.25 1.47 0 .83.67 1.5 1.5 1.5.74 0 1.36-.54 1.47-1.25l2.81 2.81c-.09-.03-.18-.06-.28-.06-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1c0-.1-.03-.19-.06-.28l3.78 3.78L20 20.23 3.77 4 2.5 5.27zM10 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm11-3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM3 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 11c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3-3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5z"></path></g><g id="blur-on"><path d="M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path></g><g id="brightness-1"><circle cx="12" cy="12" r="10"></circle></g><g id="brightness-2"><path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2z"></path></g><g id="brightness-3"><path d="M9 2c-1.05 0-2.05.16-3 .46 4.06 1.27 7 5.06 7 9.54 0 4.48-2.94 8.27-7 9.54.95.3 1.95.46 3 .46 5.52 0 10-4.48 10-10S14.52 2 9 2z"></path></g><g id="brightness-4"><path d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"></path></g><g id="brightness-5"><path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"></path></g><g id="brightness-6"><path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"></path></g><g id="brightness-7"><path d="M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"></path></g><g id="broken-image"><path d="M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42l3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"></path></g><g id="brush"><path d="M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41z"></path></g><g id="camera"><path d="M9.4 10.5l4.77-8.26C13.47 2.09 12.75 2 12 2c-2.4 0-4.6.85-6.32 2.25l3.66 6.35.06-.1zM21.54 9c-.92-2.92-3.15-5.26-6-6.34L11.88 9h9.66zm.26 1h-7.49l.29.5 4.76 8.25C21 16.97 22 14.61 22 12c0-.69-.07-1.35-.2-2zM8.54 12l-3.9-6.75C3.01 7.03 2 9.39 2 12c0 .69.07 1.35.2 2h7.49l-1.15-2zm-6.08 3c.92 2.92 3.15 5.26 6 6.34L12.12 15H2.46zm11.27 0l-3.9 6.76c.7.15 1.42.24 2.17.24 2.4 0 4.6-.85 6.32-2.25l-3.66-6.35-.93 1.6z"></path></g><g id="camera-alt"><circle cx="12" cy="12" r="3.2"></circle><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"></path></g><g id="camera-front"><path d="M10 20H5v2h5v2l3-3-3-3v2zm4 0v2h5v-2h-5zM12 8c1.1 0 2-.9 2-2s-.9-2-2-2-1.99.9-1.99 2S10.9 8 12 8zm5-8H7C5.9 0 5 .9 5 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zM7 2h10v10.5c0-1.67-3.33-2.5-5-2.5s-5 .83-5 2.5V2z"></path></g><g id="camera-rear"><path d="M10 20H5v2h5v2l3-3-3-3v2zm4 0v2h5v-2h-5zm3-20H7C5.9 0 5 .9 5 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm-5 6c-1.11 0-2-.9-2-2s.89-2 1.99-2 2 .9 2 2C14 5.1 13.1 6 12 6z"></path></g><g id="camera-roll"><path d="M14 5c0-1.1-.9-2-2-2h-1V2c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v15c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2h8V5h-8zm-2 13h-2v-2h2v2zm0-9h-2V7h2v2zm4 9h-2v-2h2v2zm0-9h-2V7h2v2zm4 9h-2v-2h2v2zm0-9h-2V7h2v2z"></path></g><g id="center-focus-strong"><path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-7 7H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4z"></path></g><g id="center-focus-weak"><path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g><g id="collections"><path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"></path></g><g id="collections-bookmark"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zM20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 10l-2.5-1.5L15 12V4h5v8z"></path></g><g id="color-lens"><path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12zm3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g id="colorize"><path d="M20.71 5.63l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"></path></g><g id="compare"><path d="M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2v2zm0 15H5l5-6v6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="control-point"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="control-point-duplicate"><path d="M16 8h-2v3h-3v2h3v3h2v-3h3v-2h-3zM2 12c0-2.79 1.64-5.2 4.01-6.32V3.52C2.52 4.76 0 8.09 0 12s2.52 7.24 6.01 8.48v-2.16C3.64 17.2 2 14.79 2 12zm13-9c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7z"></path></g><g id="crop"><path d="M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"></path></g><g id="crop-16-9"><path d="M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"></path></g><g id="crop-3-2"><path d="M19 4H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V6h14v12z"></path></g><g id="crop-5-4"><path d="M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"></path></g><g id="crop-7-5"><path d="M19 7H5c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm0 8H5V9h14v6z"></path></g><g id="crop-din"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"></path></g><g id="crop-free"><path d="M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2zm2 10H3v4c0 1.1.9 2 2 2h4v-2H5v-4zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2z"></path></g><g id="crop-landscape"><path d="M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"></path></g><g id="crop-original"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-5.04-6.71l-2.75 3.54-1.96-2.36L6.5 17h11l-3.54-4.71z"></path></g><g id="crop-portrait"><path d="M17 3H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7V5h10v14z"></path></g><g id="crop-square"><path d="M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H6V6h12v12z"></path></g><g id="dehaze"><path d="M2 15.5v2h20v-2H2zm0-5v2h20v-2H2zm0-5v2h20v-2H2z"></path></g><g id="details"><path d="M3 4l9 16 9-16H3zm3.38 2h11.25L12 16 6.38 6z"></path></g><g id="edit"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></g><g id="exposure"><path d="M15 17v2h2v-2h2v-2h-2v-2h-2v2h-2v2h2zm5-15H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM5 5h6v2H5V5zm15 15H4L20 4v16z"></path></g><g id="exposure-neg-1"><path d="M4 11v2h8v-2H4zm15 7h-2V7.38L14 8.4V6.7L18.7 5h.3v13z"></path></g><g id="exposure-neg-2"><path d="M15.05 16.29l2.86-3.07c.38-.39.72-.79 1.04-1.18.32-.39.59-.78.82-1.17.23-.39.41-.78.54-1.17s.19-.79.19-1.18c0-.53-.09-1.02-.27-1.46-.18-.44-.44-.81-.78-1.11-.34-.31-.77-.54-1.26-.71-.51-.16-1.08-.24-1.72-.24-.69 0-1.31.11-1.85.32-.54.21-1 .51-1.36.88-.37.37-.65.8-.84 1.3-.18.47-.27.97-.28 1.5h2.14c.01-.31.05-.6.13-.87.09-.29.23-.54.4-.75.18-.21.41-.37.68-.49.27-.12.6-.18.96-.18.31 0 .58.05.81.15.23.1.43.25.59.43.16.18.28.4.37.65.08.25.13.52.13.81 0 .22-.03.43-.08.65-.06.22-.15.45-.29.7-.14.25-.32.53-.56.83-.23.3-.52.65-.88 1.03l-4.17 4.55V18H21v-1.71h-5.95zM2 11v2h8v-2H2z"></path></g><g id="exposure-plus-1"><path d="M10 7H8v4H4v2h4v4h2v-4h4v-2h-4V7zm10 11h-2V7.38L15 8.4V6.7L19.7 5h.3v13z"></path></g><g id="exposure-plus-2"><path d="M16.05 16.29l2.86-3.07c.38-.39.72-.79 1.04-1.18.32-.39.59-.78.82-1.17.23-.39.41-.78.54-1.17.13-.39.19-.79.19-1.18 0-.53-.09-1.02-.27-1.46-.18-.44-.44-.81-.78-1.11-.34-.31-.77-.54-1.26-.71-.51-.16-1.08-.24-1.72-.24-.69 0-1.31.11-1.85.32-.54.21-1 .51-1.36.88-.37.37-.65.8-.84 1.3-.18.47-.27.97-.28 1.5h2.14c.01-.31.05-.6.13-.87.09-.29.23-.54.4-.75.18-.21.41-.37.68-.49.27-.12.6-.18.96-.18.31 0 .58.05.81.15.23.1.43.25.59.43.16.18.28.4.37.65.08.25.13.52.13.81 0 .22-.03.43-.08.65-.06.22-.15.45-.29.7-.14.25-.32.53-.56.83-.23.3-.52.65-.88 1.03l-4.17 4.55V18H22v-1.71h-5.95zM8 7H6v4H2v2h4v4h2v-4h4v-2H8V7z"></path></g><g id="exposure-zero"><path d="M16.14 12.5c0 1-.1 1.85-.3 2.55-.2.7-.48 1.27-.83 1.7-.36.44-.79.75-1.3.95-.51.2-1.07.3-1.7.3-.62 0-1.18-.1-1.69-.3-.51-.2-.95-.51-1.31-.95-.36-.44-.65-1.01-.85-1.7-.2-.7-.3-1.55-.3-2.55v-2.04c0-1 .1-1.85.3-2.55.2-.7.48-1.26.84-1.69.36-.43.8-.74 1.31-.93C10.81 5.1 11.38 5 12 5c.63 0 1.19.1 1.7.29.51.19.95.5 1.31.93.36.43.64.99.84 1.69.2.7.3 1.54.3 2.55v2.04zm-2.11-2.36c0-.64-.05-1.18-.13-1.62-.09-.44-.22-.79-.4-1.06-.17-.27-.39-.46-.64-.58-.25-.13-.54-.19-.86-.19-.32 0-.61.06-.86.18s-.47.31-.64.58c-.17.27-.31.62-.4 1.06s-.13.98-.13 1.62v2.67c0 .64.05 1.18.14 1.62.09.45.23.81.4 1.09s.39.48.64.61.54.19.87.19c.33 0 .62-.06.87-.19s.46-.33.63-.61c.17-.28.3-.64.39-1.09.09-.45.13-.99.13-1.62v-2.66z"></path></g><g id="filter"><path d="M15.96 10.29l-2.75 3.54-1.96-2.36L8.5 15h11l-3.54-4.71zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"></path></g><g id="filter-1"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"></path></g><g id="filter-2"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"></path></g><g id="filter-3"><path d="M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"></path></g><g id="filter-4"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"></path></g><g id="filter-5"><path d="M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"></path></g><g id="filter-6"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-8-2h2c1.1 0 2-.89 2-2v-2c0-1.11-.9-2-2-2h-2V7h4V5h-4c-1.1 0-2 .89-2 2v6c0 1.11.9 2 2 2zm0-4h2v2h-2v-2z"></path></g><g id="filter-7"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-8-2l4-8V5h-6v2h4l-4 8h2z"></path></g><g id="filter-8"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-8-2h2c1.1 0 2-.89 2-2v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-2c-1.1 0-2 .89-2 2v1.5c0 .83.67 1.5 1.5 1.5-.83 0-1.5.67-1.5 1.5V13c0 1.11.9 2 2 2zm0-8h2v2h-2V7zm0 4h2v2h-2v-2z"></path></g><g id="filter-9"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM15 5h-2c-1.1 0-2 .89-2 2v2c0 1.11.9 2 2 2h2v2h-4v2h4c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2zm0 4h-2V7h2v2z"></path></g><g id="filter-9-plus"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 7V8c0-1.11-.9-2-2-2h-1c-1.1 0-2 .89-2 2v1c0 1.11.9 2 2 2h1v1H9v2h3c1.1 0 2-.89 2-2zm-3-3V8h1v1h-1zm10-8H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 8h-2V7h-2v2h-2v2h2v2h2v-2h2v6H7V3h14v6z"></path></g><g id="filter-b-and-w"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16l-7-8v8H5l7-8V5h7v14z"></path></g><g id="filter-center-focus"><path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g><g id="filter-drama"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.61 5.64 5.36 8.04 2.35 8.36 0 10.9 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4h2c0-2.76-1.86-5.08-4.4-5.78C8.61 6.88 10.2 6 12 6c3.03 0 5.5 2.47 5.5 5.5v.5H19c1.65 0 3 1.35 3 3s-1.35 3-3 3z"></path></g><g id="filter-frames"><path d="M20 4h-4l-4-4-4 4H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H4V6h4.52l3.52-3.5L15.52 6H20v14zM18 8H6v10h12"></path></g><g id="filter-hdr"><path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z"></path></g><g id="filter-none"><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"></path></g><g id="filter-tilt-shift"><path d="M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.11-.86 2.44-1.44 3.9-1.62zm7.32.19C16.84 3.05 15.01 2.25 13 2.05v2.02c1.46.18 2.79.76 3.9 1.62l1.42-1.43zM19.93 11h2.02c-.2-2.01-1-3.84-2.21-5.32L18.31 7.1c.86 1.11 1.44 2.44 1.62 3.9zM5.69 7.1L4.26 5.68C3.05 7.16 2.25 8.99 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM4.07 13H2.05c.2 2.01 1 3.84 2.21 5.32l1.43-1.43c-.86-1.1-1.44-2.43-1.62-3.89zM15 12c0-1.66-1.34-3-3-3s-3 1.34-3 3 1.34 3 3 3 3-1.34 3-3zm3.31 4.9l1.43 1.43c1.21-1.48 2.01-3.32 2.21-5.32h-2.02c-.18 1.45-.76 2.78-1.62 3.89zM13 19.93v2.02c2.01-.2 3.84-1 5.32-2.21l-1.43-1.43c-1.1.86-2.43 1.44-3.89 1.62zm-7.32-.19C7.16 20.95 9 21.75 11 21.95v-2.02c-1.46-.18-2.79-.76-3.9-1.62l-1.42 1.43z"></path></g><g id="filter-vintage"><path d="M18.7 12.4c-.28-.16-.57-.29-.86-.4.29-.11.58-.24.86-.4 1.92-1.11 2.99-3.12 3-5.19-1.79-1.03-4.07-1.11-6 0-.28.16-.54.35-.78.54.05-.31.08-.63.08-.95 0-2.22-1.21-4.15-3-5.19C10.21 1.85 9 3.78 9 6c0 .32.03.64.08.95-.24-.2-.5-.39-.78-.55-1.92-1.11-4.2-1.03-6 0 0 2.07 1.07 4.08 3 5.19.28.16.57.29.86.4-.29.11-.58.24-.86.4-1.92 1.11-2.99 3.12-3 5.19 1.79 1.03 4.07 1.11 6 0 .28-.16.54-.35.78-.54-.05.32-.08.64-.08.96 0 2.22 1.21 4.15 3 5.19 1.79-1.04 3-2.97 3-5.19 0-.32-.03-.64-.08-.95.24.2.5.38.78.54 1.92 1.11 4.2 1.03 6 0-.01-2.07-1.08-4.08-3-5.19zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"></path></g><g id="flare"><path d="M7 11H1v2h6v-2zm2.17-3.24L7.05 5.64 5.64 7.05l2.12 2.12 1.41-1.41zM13 1h-2v6h2V1zm5.36 6.05l-1.41-1.41-2.12 2.12 1.41 1.41 2.12-2.12zM17 11v2h6v-2h-6zm-5-2c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm2.83 7.24l2.12 2.12 1.41-1.41-2.12-2.12-1.41 1.41zm-9.19.71l1.41 1.41 2.12-2.12-1.41-1.41-2.12 2.12zM11 23h2v-6h-2v6z"></path></g><g id="flash-auto"><path d="M3 2v12h3v9l7-12H9l4-9H3zm16 0h-2l-3.2 9h1.9l.7-2h3.2l.7 2h1.9L19 2zm-2.15 5.65L18 4l1.15 3.65h-2.3z"></path></g><g id="flash-off"><path d="M3.27 3L2 4.27l5 5V13h3v9l3.58-6.14L17.73 20 19 18.73 3.27 3zM17 10h-4l4-8H7v2.18l8.46 8.46L17 10z"></path></g><g id="flash-on"><path d="M7 2v11h3v9l7-12h-4l4-8z"></path></g><g id="flip"><path d="M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"></path></g><g id="gradient"><path d="M11 9h2v2h-2zm-2 2h2v2H9zm4 0h2v2h-2zm2-2h2v2h-2zM7 9h2v2H7zm12-6H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 18H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm2-7h-2v2h2v2h-2v-2h-2v2h-2v-2h-2v2H9v-2H7v2H5v-2h2v-2H5V5h14v6z"></path></g><g id="grain"><path d="M10 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12-8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-4 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-4-4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="grid-off"><path d="M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2H8zm8 0h4v4h-4V4zM1.27 1.27L0 2.55l2 2V20c0 1.1.9 2 2 2h15.46l2 2 1.27-1.27L1.27 1.27zM10 12.55L11.45 14H10v-1.45zm-6-6L5.45 8H4V6.55zM8 20H4v-4h4v4zm0-6H4v-4h3.45l.55.55V14zm6 6h-4v-4h3.45l.55.54V20zm2 0v-1.46L17.46 20H16z"></path></g><g id="grid-on"><path d="M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z"></path></g><g id="hdr-off"><path d="M17.5 15v-2h1.1l.9 2H21l-.9-2.1c.5-.2.9-.8.9-1.4v-1c0-.8-.7-1.5-1.5-1.5H16v4.9l1.1 1.1h.4zm0-4.5h2v1h-2v-1zm-4.5 0v.4l1.5 1.5v-1.9c0-.8-.7-1.5-1.5-1.5h-1.9l1.5 1.5h.4zm-3.5-1l-7-7-1.1 1L6.9 9h-.4v2h-2V9H3v6h1.5v-2.5h2V15H8v-4.9l1.5 1.5V15h3.4l7.6 7.6 1.1-1.1-12.1-12z"></path></g><g id="hdr-on"><path d="M21 11.5v-1c0-.8-.7-1.5-1.5-1.5H16v6h1.5v-2h1.1l.9 2H21l-.9-2.1c.5-.3.9-.8.9-1.4zm-1.5 0h-2v-1h2v1zm-13-.5h-2V9H3v6h1.5v-2.5h2V15H8V9H6.5v2zM13 9H9.5v6H13c.8 0 1.5-.7 1.5-1.5v-3c0-.8-.7-1.5-1.5-1.5zm0 4.5h-2v-3h2v3z"></path></g><g id="hdr-strong"><path d="M17 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zM5 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g><g id="hdr-weak"><path d="M5 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm12-2c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"></path></g><g id="healing"><path d="M17.73 12.02l3.98-3.98c.39-.39.39-1.02 0-1.41l-4.34-4.34c-.39-.39-1.02-.39-1.41 0l-3.98 3.98L8 2.29C7.8 2.1 7.55 2 7.29 2c-.25 0-.51.1-.7.29L2.25 6.63c-.39.39-.39 1.02 0 1.41l3.98 3.98L2.25 16c-.39.39-.39 1.02 0 1.41l4.34 4.34c.39.39 1.02.39 1.41 0l3.98-3.98 3.98 3.98c.2.2.45.29.71.29.26 0 .51-.1.71-.29l4.34-4.34c.39-.39.39-1.02 0-1.41l-3.99-3.98zM12 9c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-4.71 1.96L3.66 7.34l3.63-3.63 3.62 3.62-3.62 3.63zM10 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm2 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm2-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2.66 9.34l-3.63-3.62 3.63-3.63 3.62 3.62-3.62 3.63z"></path></g><g id="image"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"></path></g><g id="image-aspect-ratio"><path d="M16 10h-2v2h2v-2zm0 4h-2v2h2v-2zm-8-4H6v2h2v-2zm4 0h-2v2h2v-2zm8-6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"></path></g><g id="iso"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5.5 7.5h2v-2H9v2h2V9H9v2H7.5V9h-2V7.5zM19 19H5L19 5v14zm-2-2v-1.5h-5V17h5z"></path></g><g id="landscape"><path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z"></path></g><g id="leak-add"><path d="M6 3H3v3c1.66 0 3-1.34 3-3zm8 0h-2c0 4.97-4.03 9-9 9v2c6.08 0 11-4.93 11-11zm-4 0H8c0 2.76-2.24 5-5 5v2c3.87 0 7-3.13 7-7zm0 18h2c0-4.97 4.03-9 9-9v-2c-6.07 0-11 4.93-11 11zm8 0h3v-3c-1.66 0-3 1.34-3 3zm-4 0h2c0-2.76 2.24-5 5-5v-2c-3.87 0-7 3.13-7 7z"></path></g><g id="leak-remove"><path d="M10 3H8c0 .37-.04.72-.12 1.06l1.59 1.59C9.81 4.84 10 3.94 10 3zM3 4.27l2.84 2.84C5.03 7.67 4.06 8 3 8v2c1.61 0 3.09-.55 4.27-1.46L8.7 9.97C7.14 11.24 5.16 12 3 12v2c2.71 0 5.19-.99 7.11-2.62l2.5 2.5C10.99 15.81 10 18.29 10 21h2c0-2.16.76-4.14 2.03-5.69l1.43 1.43C14.55 17.91 14 19.39 14 21h2c0-1.06.33-2.03.89-2.84L19.73 21 21 19.73 4.27 3 3 4.27zM14 3h-2c0 1.5-.37 2.91-1.02 4.16l1.46 1.46C13.42 6.98 14 5.06 14 3zm5.94 13.12c.34-.08.69-.12 1.06-.12v-2c-.94 0-1.84.19-2.66.52l1.6 1.6zm-4.56-4.56l1.46 1.46C18.09 12.37 19.5 12 21 12v-2c-2.06 0-3.98.58-5.62 1.56z"></path></g><g id="lens"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z"></path></g><g id="looks"><path d="M12 10c-3.86 0-7 3.14-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.86-3.14-7-7-7zm0-4C5.93 6 1 10.93 1 17h2c0-4.96 4.04-9 9-9s9 4.04 9 9h2c0-6.07-4.93-11-11-11z"></path></g><g id="looks-3"><path d="M19.01 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 7.5c0 .83-.67 1.5-1.5 1.5.83 0 1.5.67 1.5 1.5V15c0 1.11-.9 2-2 2h-4v-2h4v-2h-2v-2h2V9h-4V7h4c1.1 0 2 .89 2 2v1.5z"></path></g><g id="looks-4"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 14h-2v-4H9V7h2v4h2V7h2v10z"></path></g><g id="looks-5"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h2c1.1 0 2 .89 2 2v2c0 1.11-.9 2-2 2H9v-2h4v-2H9V7h6v2z"></path></g><g id="looks-6"><path d="M11 15h2v-2h-2v2zm8-12H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h2c1.1 0 2 .89 2 2v2c0 1.11-.9 2-2 2h-2c-1.1 0-2-.89-2-2V9c0-1.11.9-2 2-2h4v2z"></path></g><g id="looks-one"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14h-2V9h-2V7h4v10z"></path></g><g id="looks-two"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 8c0 1.11-.9 2-2 2h-2v2h4v2H9v-4c0-1.11.9-2 2-2h2V9H9V7h4c1.1 0 2 .89 2 2v2z"></path></g><g id="loupe"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10h8c1.1 0 2-.9 2-2v-8c0-5.51-4.49-10-10-10zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="monochrome-photos"><path d="M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3-6c0-2.8-2.2-5-5-5v1.8c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2V18c2.8 0 5-2.2 5-5zm-8.2 0c0 1.8 1.4 3.2 3.2 3.2V9.8c-1.8 0-3.2 1.4-3.2 3.2z"></path></g><g id="movie-creation"><path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"></path></g><g id="music-note"><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"></path></g><g id="nature"><path d="M13 16.12c3.47-.41 6.17-3.36 6.17-6.95 0-3.87-3.13-7-7-7s-7 3.13-7 7c0 3.47 2.52 6.34 5.83 6.89V20H5v2h14v-2h-6v-3.88z"></path></g><g id="nature-people"><path d="M22.17 9.17c0-3.87-3.13-7-7-7s-7 3.13-7 7c0 3.47 2.52 6.34 5.83 6.89V20H6v-3h1v-4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v4h1v5h16v-2h-3v-3.88c3.47-.41 6.17-3.36 6.17-6.95zM4.5 11c.83 0 1.5-.67 1.5-1.5S5.33 8 4.5 8 3 8.67 3 9.5 3.67 11 4.5 11z"></path></g><g id="navigate-before"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path></g><g id="navigate-next"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path></g><g id="palette"><path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12zm3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g id="panorama"><path d="M23 18V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zM8.5 12.5l2.5 3.01L14.5 11l4.5 6H5l3.5-4.5z"></path></g><g id="panorama-fish-eye"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="panorama-horizontal"><path d="M20 6.54v10.91c-2.6-.77-5.28-1.16-8-1.16-2.72 0-5.4.39-8 1.16V6.54c2.6.77 5.28 1.16 8 1.16 2.72.01 5.4-.38 8-1.16M21.43 4c-.1 0-.2.02-.31.06C18.18 5.16 15.09 5.7 12 5.7c-3.09 0-6.18-.55-9.12-1.64-.11-.04-.22-.06-.31-.06-.34 0-.57.23-.57.63v14.75c0 .39.23.62.57.62.1 0 .2-.02.31-.06 2.94-1.1 6.03-1.64 9.12-1.64 3.09 0 6.18.55 9.12 1.64.11.04.21.06.31.06.33 0 .57-.23.57-.63V4.63c0-.4-.24-.63-.57-.63z"></path></g><g id="panorama-vertical"><path d="M19.94 21.12c-1.1-2.94-1.64-6.03-1.64-9.12 0-3.09.55-6.18 1.64-9.12.04-.11.06-.22.06-.31 0-.34-.23-.57-.63-.57H4.63c-.4 0-.63.23-.63.57 0 .1.02.2.06.31C5.16 5.82 5.71 8.91 5.71 12c0 3.09-.55 6.18-1.64 9.12-.05.11-.07.22-.07.31 0 .33.23.57.63.57h14.75c.39 0 .63-.24.63-.57-.01-.1-.03-.2-.07-.31zM6.54 20c.77-2.6 1.16-5.28 1.16-8 0-2.72-.39-5.4-1.16-8h10.91c-.77 2.6-1.16 5.28-1.16 8 0 2.72.39 5.4 1.16 8H6.54z"></path></g><g id="panorama-wide-angle"><path d="M12 6c2.45 0 4.71.2 7.29.64.47 1.78.71 3.58.71 5.36 0 1.78-.24 3.58-.71 5.36-2.58.44-4.84.64-7.29.64s-4.71-.2-7.29-.64C4.24 15.58 4 13.78 4 12c0-1.78.24-3.58.71-5.36C7.29 6.2 9.55 6 12 6m0-2c-2.73 0-5.22.24-7.95.72l-.93.16-.25.9C2.29 7.85 2 9.93 2 12s.29 4.15.87 6.22l.25.89.93.16c2.73.49 5.22.73 7.95.73s5.22-.24 7.95-.72l.93-.16.25-.89c.58-2.08.87-4.16.87-6.23s-.29-4.15-.87-6.22l-.25-.89-.93-.16C17.22 4.24 14.73 4 12 4z"></path></g><g id="photo"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"></path></g><g id="photo-album"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4zm0 15l3-3.86 2.14 2.58 3-3.86L18 19H6z"></path></g><g id="photo-camera"><circle cx="12" cy="12" r="3.2"></circle><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"></path></g><g id="photo-library"><path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"></path></g><g id="photo-size-select-actual"><path d="M21 3H3C2 3 1 4 1 5v14c0 1.1.9 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zM5 17l3.5-4.5 2.5 3.01L14.5 11l4.5 6H5z"></path></g><g id="photo-size-select-large"><path d="M21 15h2v2h-2v-2zm0-4h2v2h-2v-2zm2 8h-2v2c1 0 2-1 2-2zM13 3h2v2h-2V3zm8 4h2v2h-2V7zm0-4v2h2c0-1-1-2-2-2zM1 7h2v2H1V7zm16-4h2v2h-2V3zm0 16h2v2h-2v-2zM3 3C2 3 1 4 1 5h2V3zm6 0h2v2H9V3zM5 3h2v2H5V3zm-4 8v8c0 1.1.9 2 2 2h12V11H1zm2 8l2.5-3.21 1.79 2.15 2.5-3.22L13 19H3z"></path></g><g id="photo-size-select-small"><path d="M23 15h-2v2h2v-2zm0-4h-2v2h2v-2zm0 8h-2v2c1 0 2-1 2-2zM15 3h-2v2h2V3zm8 4h-2v2h2V7zm-2-4v2h2c0-1-1-2-2-2zM3 21h8v-6H1v4c0 1.1.9 2 2 2zM3 7H1v2h2V7zm12 12h-2v2h2v-2zm4-16h-2v2h2V3zm0 16h-2v2h2v-2zM3 3C2 3 1 4 1 5h2V3zm0 8H1v2h2v-2zm8-8H9v2h2V3zM7 3H5v2h2V3z"></path></g><g id="picture-as-pdf"><path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"></path></g><g id="portrait"><path d="M12 12.25c1.24 0 2.25-1.01 2.25-2.25S13.24 7.75 12 7.75 9.75 8.76 9.75 10s1.01 2.25 2.25 2.25zm4.5 4c0-1.5-3-2.25-4.5-2.25s-4.5.75-4.5 2.25V17h9v-.75zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"></path></g><g id="remove-red-eye"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g><g id="rotate-90-degrees-ccw"><path d="M7.34 6.41L.86 12.9l6.49 6.48 6.49-6.48-6.5-6.49zM3.69 12.9l3.66-3.66L11 12.9l-3.66 3.66-3.65-3.66zm15.67-6.26C17.61 4.88 15.3 4 13 4V.76L8.76 5 13 9.24V6c1.79 0 3.58.68 4.95 2.05 2.73 2.73 2.73 7.17 0 9.9C16.58 19.32 14.79 20 13 20c-.97 0-1.94-.21-2.84-.61l-1.49 1.49C10.02 21.62 11.51 22 13 22c2.3 0 4.61-.88 6.36-2.64 3.52-3.51 3.52-9.21 0-12.72z"></path></g><g id="rotate-left"><path d="M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-2.47zm1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9c-.87-.15-1.71-.49-2.46-1.03L7.1 18.32zM13 4.07V1L8.45 5.55 13 10V6.09c2.84.48 5 2.94 5 5.91s-2.16 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93s-3.05-7.44-7-7.93z"></path></g><g id="rotate-right"><path d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"></path></g><g id="slideshow"><path d="M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"></path></g><g id="straighten"><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z"></path></g><g id="style"><path d="M2.53 19.65l1.34.56v-9.03l-2.43 5.86c-.41 1.02.08 2.19 1.09 2.61zm19.5-3.7L17.07 3.98c-.31-.75-1.04-1.21-1.81-1.23-.26 0-.53.04-.79.15L7.1 5.95c-.75.31-1.21 1.03-1.23 1.8-.01.27.04.54.15.8l4.96 11.97c.31.76 1.05 1.22 1.83 1.23.26 0 .52-.05.77-.15l7.36-3.05c1.02-.42 1.51-1.59 1.09-2.6zM7.88 8.75c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-2 11c0 1.1.9 2 2 2h1.45l-3.45-8.34v6.34z"></path></g><g id="switch-camera"><path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 11.5V13H9v2.5L5.5 12 9 8.5V11h6V8.5l3.5 3.5-3.5 3.5z"></path></g><g id="switch-video"><path d="M18 9.5V6c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.5l4 4v-13l-4 4zm-5 6V13H7v2.5L3.5 12 7 8.5V11h6V8.5l3.5 3.5-3.5 3.5z"></path></g><g id="tag-faces"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path></g><g id="texture"><path d="M19.51 3.08L3.08 19.51c.09.34.27.65.51.9.25.24.56.42.9.51L20.93 4.49c-.19-.69-.73-1.23-1.42-1.41zM11.88 3L3 11.88v2.83L14.71 3h-2.83zM5 3c-1.1 0-2 .9-2 2v2l4-4H5zm14 18c.55 0 1.05-.22 1.41-.59.37-.36.59-.86.59-1.41v-2l-4 4h2zm-9.71 0h2.83L21 12.12V9.29L9.29 21z"></path></g><g id="timelapse"><path d="M16.24 7.76C15.07 6.59 13.54 6 12 6v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g><g id="timer"><path d="M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path></g><g id="timer-10"><path d="M0 7.72V9.4l3-1V18h2V6h-.25L0 7.72zm23.78 6.65c-.14-.28-.35-.53-.63-.74-.28-.21-.61-.39-1.01-.53s-.85-.27-1.35-.38c-.35-.07-.64-.15-.87-.23-.23-.08-.41-.16-.55-.25-.14-.09-.23-.19-.28-.3-.05-.11-.08-.24-.08-.39 0-.14.03-.28.09-.41.06-.13.15-.25.27-.34.12-.1.27-.18.45-.24s.4-.09.64-.09c.25 0 .47.04.66.11.19.07.35.17.48.29.13.12.22.26.29.42.06.16.1.32.1.49h1.95c0-.39-.08-.75-.24-1.09-.16-.34-.39-.63-.69-.88-.3-.25-.66-.44-1.09-.59C21.49 9.07 21 9 20.46 9c-.51 0-.98.07-1.39.21-.41.14-.77.33-1.06.57-.29.24-.51.52-.67.84-.16.32-.23.65-.23 1.01s.08.69.23.96c.15.28.36.52.64.73.27.21.6.38.98.53.38.14.81.26 1.27.36.39.08.71.17.95.26s.43.19.57.29c.13.1.22.22.27.34.05.12.07.25.07.39 0 .32-.13.57-.4.77-.27.2-.66.29-1.17.29-.22 0-.43-.02-.64-.08-.21-.05-.4-.13-.56-.24-.17-.11-.3-.26-.41-.44-.11-.18-.17-.41-.18-.67h-1.89c0 .36.08.71.24 1.05.16.34.39.65.7.93.31.27.69.49 1.15.66.46.17.98.25 1.58.25.53 0 1.01-.06 1.44-.19.43-.13.8-.31 1.11-.54.31-.23.54-.51.71-.83.17-.32.25-.67.25-1.06-.02-.4-.09-.74-.24-1.02zm-9.96-7.32c-.34-.4-.75-.7-1.23-.88-.47-.18-1.01-.27-1.59-.27-.58 0-1.11.09-1.59.27-.48.18-.89.47-1.23.88-.34.41-.6.93-.79 1.59-.18.65-.28 1.45-.28 2.39v1.92c0 .94.09 1.74.28 2.39.19.66.45 1.19.8 1.6.34.41.75.71 1.23.89.48.18 1.01.28 1.59.28.59 0 1.12-.09 1.59-.28.48-.18.88-.48 1.22-.89.34-.41.6-.94.78-1.6.18-.65.28-1.45.28-2.39v-1.92c0-.94-.09-1.74-.28-2.39-.18-.66-.44-1.19-.78-1.59zm-.92 6.17c0 .6-.04 1.11-.12 1.53-.08.42-.2.76-.36 1.02-.16.26-.36.45-.59.57-.23.12-.51.18-.82.18-.3 0-.58-.06-.82-.18s-.44-.31-.6-.57c-.16-.26-.29-.6-.38-1.02-.09-.42-.13-.93-.13-1.53v-2.5c0-.6.04-1.11.13-1.52.09-.41.21-.74.38-1 .16-.25.36-.43.6-.55.24-.11.51-.17.81-.17.31 0 .58.06.81.17.24.11.44.29.6.55.16.25.29.58.37.99.08.41.13.92.13 1.52v2.51z"></path></g><g id="timer-3"><path d="M11.61 12.97c-.16-.24-.36-.46-.62-.65-.25-.19-.56-.35-.93-.48.3-.14.57-.3.8-.5.23-.2.42-.41.57-.64.15-.23.27-.46.34-.71.08-.24.11-.49.11-.73 0-.55-.09-1.04-.28-1.46-.18-.42-.44-.77-.78-1.06-.33-.28-.73-.5-1.2-.64-.45-.13-.97-.2-1.53-.2-.55 0-1.06.08-1.52.24-.47.17-.87.4-1.2.69-.33.29-.6.63-.78 1.03-.2.39-.29.83-.29 1.29h1.98c0-.26.05-.49.14-.69.09-.2.22-.38.38-.52.17-.14.36-.25.58-.33.22-.08.46-.12.73-.12.61 0 1.06.16 1.36.47.3.31.44.75.44 1.32 0 .27-.04.52-.12.74-.08.22-.21.41-.38.57-.17.16-.38.28-.63.37-.25.09-.55.13-.89.13H6.72v1.57H7.9c.34 0 .64.04.91.11.27.08.5.19.69.35.19.16.34.36.44.61.1.24.16.54.16.87 0 .62-.18 1.09-.53 1.42-.35.33-.84.49-1.45.49-.29 0-.56-.04-.8-.13-.24-.08-.44-.2-.61-.36-.17-.16-.3-.34-.39-.56-.09-.22-.14-.46-.14-.72H4.19c0 .55.11 1.03.32 1.45.21.42.5.77.86 1.05s.77.49 1.24.63.96.21 1.48.21c.57 0 1.09-.08 1.58-.23.49-.15.91-.38 1.26-.68.36-.3.64-.66.84-1.1.2-.43.3-.93.3-1.48 0-.29-.04-.58-.11-.86-.08-.25-.19-.51-.35-.76zm9.26 1.4c-.14-.28-.35-.53-.63-.74-.28-.21-.61-.39-1.01-.53s-.85-.27-1.35-.38c-.35-.07-.64-.15-.87-.23-.23-.08-.41-.16-.55-.25-.14-.09-.23-.19-.28-.3-.05-.11-.08-.24-.08-.39s.03-.28.09-.41c.06-.13.15-.25.27-.34.12-.1.27-.18.45-.24s.4-.09.64-.09c.25 0 .47.04.66.11.19.07.35.17.48.29.13.12.22.26.29.42.06.16.1.32.1.49h1.95c0-.39-.08-.75-.24-1.09-.16-.34-.39-.63-.69-.88-.3-.25-.66-.44-1.09-.59-.43-.15-.92-.22-1.46-.22-.51 0-.98.07-1.39.21-.41.14-.77.33-1.06.57-.29.24-.51.52-.67.84-.16.32-.23.65-.23 1.01s.08.68.23.96c.15.28.37.52.64.73.27.21.6.38.98.53.38.14.81.26 1.27.36.39.08.71.17.95.26s.43.19.57.29c.13.1.22.22.27.34.05.12.07.25.07.39 0 .32-.13.57-.4.77-.27.2-.66.29-1.17.29-.22 0-.43-.02-.64-.08-.21-.05-.4-.13-.56-.24-.17-.11-.3-.26-.41-.44-.11-.18-.17-.41-.18-.67h-1.89c0 .36.08.71.24 1.05.16.34.39.65.7.93.31.27.69.49 1.15.66.46.17.98.25 1.58.25.53 0 1.01-.06 1.44-.19.43-.13.8-.31 1.11-.54.31-.23.54-.51.71-.83.17-.32.25-.67.25-1.06-.02-.4-.09-.74-.24-1.02z"></path></g><g id="timer-off"><path d="M19.04 4.55l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.83 0-3.53.55-4.95 1.48l1.46 1.46C9.53 6.35 10.73 6 12 6c3.87 0 7 3.13 7 7 0 1.27-.35 2.47-.94 3.49l1.45 1.45C20.45 16.53 21 14.83 21 13c0-2.12-.74-4.07-1.97-5.61l1.42-1.42-1.41-1.42zM15 1H9v2h6V1zm-4 8.44l2 2V8h-2v1.44zM3.02 4L1.75 5.27 4.5 8.03C3.55 9.45 3 11.16 3 13c0 4.97 4.02 9 9 9 1.84 0 3.55-.55 4.98-1.5l2.5 2.5 1.27-1.27-7.71-7.71L3.02 4zM12 20c-3.87 0-7-3.13-7-7 0-1.28.35-2.48.95-3.52l9.56 9.56c-1.03.61-2.23.96-3.51.96z"></path></g><g id="tonality"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93s3.05-7.44 7-7.93v15.86zm2-15.86c1.03.13 2 .45 2.87.93H13v-.93zM13 7h5.24c.25.31.48.65.68 1H13V7zm0 3h6.74c.08.33.15.66.19 1H13v-1zm0 9.93V19h2.87c-.87.48-1.84.8-2.87.93zM18.24 17H13v-1h5.92c-.2.35-.43.69-.68 1zm1.5-3H13v-1h6.93c-.04.34-.11.67-.19 1z"></path></g><g id="transform"><path d="M22 18v-2H8V4h2L7 1 4 4h2v2H2v2h4v8c0 1.1.9 2 2 2h8v2h-2l3 3 3-3h-2v-2h4zM10 8h6v6h2V8c0-1.1-.9-2-2-2h-6v2z"></path></g><g id="tune"><path d="M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"></path></g><g id="view-comfy"><path d="M3 9h4V5H3v4zm0 5h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zM8 9h4V5H8v4zm5-4v4h4V5h-4zm5 9h4v-4h-4v4zM3 19h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zm5 0h4v-4h-4v4zm0-14v4h4V5h-4z"></path></g><g id="view-compact"><path d="M3 19h6v-7H3v7zm7 0h12v-7H10v7zM3 5v6h19V5H3z"></path></g><g id="vignette"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 15c-4.42 0-8-2.69-8-6s3.58-6 8-6 8 2.69 8 6-3.58 6-8 6z"></path></g><g id="wb-auto"><path d="M6.85 12.65h2.3L8 9l-1.15 3.65zM22 7l-1.2 6.29L19.3 7h-1.6l-1.49 6.29L15 7h-.76C12.77 5.17 10.53 4 8 4c-4.42 0-8 3.58-8 8s3.58 8 8 8c3.13 0 5.84-1.81 7.15-4.43l.1.43H17l1.5-6.1L20 16h1.75l2.05-9H22zm-11.7 9l-.7-2H6.4l-.7 2H3.8L7 7h2l3.2 9h-1.9z"></path></g><g id="wb-cloudy"><path d="M19.36 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.64-4.96z"></path></g><g id="wb-incandescent"><path d="M3.55 18.54l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8zM11 22.45h2V19.5h-2v2.95zM4 10.5H1v2h3v-2zm11-4.19V1.5H9v4.81C7.21 7.35 6 9.28 6 11.5c0 3.31 2.69 6 6 6s6-2.69 6-6c0-2.22-1.21-4.15-3-5.19zm5 4.19v2h3v-2h-3zm-2.76 7.66l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4z"></path></g><g id="wb-iridescent"><path d="M5 14.5h14v-6H5v6zM11 .55V3.5h2V.55h-2zm8.04 2.5l-1.79 1.79 1.41 1.41 1.8-1.79-1.42-1.41zM13 22.45V19.5h-2v2.95h2zm7.45-3.91l-1.8-1.79-1.41 1.41 1.79 1.8 1.42-1.42zM3.55 4.46l1.79 1.79 1.41-1.41-1.79-1.79-1.41 1.41zm1.41 15.49l1.79-1.8-1.41-1.41-1.79 1.79 1.41 1.42z"></path></g><g id="wb-sunny"><path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="hardware" size="24"><svg><defs><g id="cast"><path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11z"></path></g><g id="cast-connected"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="computer"><path d="M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"></path></g><g id="desktop-mac"><path d="M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7l-2 3v1h8v-1l-2-3h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 12H3V4h18v10z"></path></g><g id="desktop-windows"><path d="M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v2H8v2h8v-2h-2v-2h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H3V4h18v12z"></path></g><g id="developer-board"><path d="M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9h2zm-4 10H4V5h14v14zM6 13h5v4H6zm6-6h4v3h-4zM6 7h5v5H6zm6 4h4v6h-4z"></path></g><g id="device-hub"><path d="M17 16l-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5h-4z"></path></g><g id="dock"><path d="M8 23h8v-2H8v2zm8-21.99L8 1c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM16 15H8V5h8v10z"></path></g><g id="gamepad"><path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"></path></g><g id="headset"><path d="M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h3c1.66 0 3-1.34 3-3v-7c0-4.97-4.03-9-9-9z"></path></g><g id="headset-mic"><path d="M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"></path></g><g id="keyboard"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"></path></g><g id="keyboard-arrow-down"><path d="M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"></path></g><g id="keyboard-arrow-left"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"></path></g><g id="keyboard-arrow-right"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"></path></g><g id="keyboard-arrow-up"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></g><g id="keyboard-backspace"><path d="M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"></path></g><g id="keyboard-capslock"><path d="M12 8.41L16.59 13 18 11.59l-6-6-6 6L7.41 13 12 8.41zM6 18h12v-2H6v2z"></path></g><g id="keyboard-hide"><path d="M20 3H4c-1.1 0-1.99.9-1.99 2L2 15c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 3h2v2h-2V6zm0 3h2v2h-2V9zM8 6h2v2H8V6zm0 3h2v2H8V9zm-1 2H5V9h2v2zm0-3H5V6h2v2zm9 7H8v-2h8v2zm0-4h-2V9h2v2zm0-3h-2V6h2v2zm3 3h-2V9h2v2zm0-3h-2V6h2v2zm-7 15l4-4H8l4 4z"></path></g><g id="keyboard-return"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"></path></g><g id="keyboard-tab"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6-6-6-1.41 1.41zM20 6v12h2V6h-2z"></path></g><g id="keyboard-voice"><path d="M12 15c1.66 0 2.99-1.34 2.99-3L15 6c0-1.66-1.34-3-3-3S9 4.34 9 6v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 15 6.7 12H5c0 3.42 2.72 6.23 6 6.72V22h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"></path></g><g id="laptop"><path d="M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"></path></g><g id="laptop-chromebook"><path d="M22 18V3H2v15H0v2h24v-2h-2zm-8 0h-4v-1h4v1zm6-3H4V5h16v10z"></path></g><g id="laptop-mac"><path d="M20 18c1.1 0 1.99-.9 1.99-2L22 5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2H0c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2h-4zM4 5h16v11H4V5zm8 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"></path></g><g id="laptop-windows"><path d="M20 18v-1c1.1 0 1.99-.9 1.99-2L22 5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2v1H0v2h24v-2h-4zM4 5h16v10H4V5z"></path></g><g id="memory"><path d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2zm-4 6H7V7h10v10z"></path></g><g id="mouse"><path d="M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"></path></g><g id="phone-android"><path d="M16 1H8C6.34 1 5 2.34 5 4v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3V4c0-1.66-1.34-3-3-3zm-2 20h-4v-1h4v1zm3.25-3H6.75V4h10.5v14z"></path></g><g id="phone-iphone"><path d="M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z"></path></g><g id="phonelink"><path d="M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"></path></g><g id="phonelink-off"><path d="M22 6V4H6.82l2 2H22zM1.92 1.65L.65 2.92l1.82 1.82C2.18 5.08 2 5.52 2 6v11H0v3h17.73l2.35 2.35 1.27-1.27L3.89 3.62 1.92 1.65zM4 6.27L14.73 17H4V6.27zM23 8h-6c-.55 0-1 .45-1 1v4.18l2 2V10h4v7h-2.18l3 3H23c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1z"></path></g><g id="power-input"><path d="M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"></path></g><g id="router"><path d="M20.2 5.9l.8-.8C19.6 3.7 17.8 3 16 3s-3.6.7-5 2.1l.8.8C13 4.8 14.5 4.2 16 4.2s3 .6 4.2 1.7zm-.9.8c-.9-.9-2.1-1.4-3.3-1.4s-2.4.5-3.3 1.4l.8.8c.7-.7 1.6-1 2.5-1 .9 0 1.8.3 2.5 1l.8-.8zM19 13h-2V9h-2v4H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zM8 18H6v-2h2v2zm3.5 0h-2v-2h2v2zm3.5 0h-2v-2h2v2z"></path></g><g id="scanner"><path d="M19.8 10.7L4.2 5l-.7 1.9L17.6 12H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5.5c0-.8-.5-1.6-1.2-1.8zM7 17H5v-2h2v2zm12 0H9v-2h10v2z"></path></g><g id="security"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"></path></g><g id="sim-card"><path d="M19.99 4c0-1.1-.89-2-1.99-2h-8L4 8v12c0 1.1.9 2 2 2h12.01c1.1 0 1.99-.9 1.99-2l-.01-16zM9 19H7v-2h2v2zm8 0h-2v-2h2v2zm-8-4H7v-4h2v4zm4 4h-2v-4h2v4zm0-6h-2v-2h2v2zm4 2h-2v-4h2v4z"></path></g><g id="smartphone"><path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"></path></g><g id="speaker"><path d="M17 2H7c-1.1 0-2 .9-2 2v16c0 1.1.9 1.99 2 1.99L17 22c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-5 2c1.1 0 2 .9 2 2s-.9 2-2 2c-1.11 0-2-.9-2-2s.89-2 2-2zm0 16c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g><g id="speaker-group"><path d="M18.2 1H9.8C8.81 1 8 1.81 8 2.8v14.4c0 .99.81 1.79 1.8 1.79l8.4.01c.99 0 1.8-.81 1.8-1.8V2.8c0-.99-.81-1.8-1.8-1.8zM14 3c1.1 0 2 .89 2 2s-.9 2-2 2-2-.89-2-2 .9-2 2-2zm0 13.5c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"></path><circle cx="14" cy="12.5" r="2.5"></circle><path d="M6 5H4v16c0 1.1.89 2 2 2h10v-2H6V5z"></path></g><g id="tablet"><path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2zm-2 14H5V6h14v12z"></path></g><g id="tablet-android"><path d="M18 0H6C4.34 0 3 1.34 3 3v18c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V3c0-1.66-1.34-3-3-3zm-4 22h-4v-1h4v1zm5.25-3H4.75V3h14.5v16z"></path></g><g id="tablet-mac"><path d="M18.5 0h-14C3.12 0 2 1.12 2 2.5v19C2 22.88 3.12 24 4.5 24h14c1.38 0 2.5-1.12 2.5-2.5v-19C21 1.12 19.88 0 18.5 0zm-7 23c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm7.5-4H4V3h15v16z"></path></g><g id="toys"><path d="M12 12c0-3 2.5-5.5 5.5-5.5S23 9 23 12H12zm0 0c0 3-2.5 5.5-5.5 5.5S1 15 1 12h11zm0 0c-3 0-5.5-2.5-5.5-5.5S9 1 12 1v11zm0 0c3 0 5.5 2.5 5.5 5.5S15 23 12 23V12z"></path></g><g id="tv"><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"></path></g><g id="watch"><path d="M20 12c0-2.54-1.19-4.81-3.04-6.27L16 0H8l-.95 5.73C5.19 7.19 4 9.45 4 12s1.19 4.81 3.05 6.27L8 24h8l.96-5.73C18.81 16.81 20 14.54 20 12zM6 12c0-3.31 2.69-6 6-6s6 2.69 6 6-2.69 6-6 6-6-2.69-6-6z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="av" size="24"><svg><defs><g id="airplay"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><defs><path id="c" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><clipPath id="d" clip-path="url(#b)"><use xlink:href="#c" overflow="visible"></use></clipPath><path d="M6 22h12l-6-6zM21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V5h18v12h-4v2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" clip-path="url(#d)"></path></g><g id="album"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 14.5c-2.49 0-4.5-2.01-4.5-4.5S9.51 7.5 12 7.5s4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-5.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path></g><g id="av-timer"><path d="M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4.97 4.02 9 9 9 4.97 0 9-4.03 9-9s-4.03-9-9-9h-1zm7 9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zM6 12c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z"></path></g><g id="closed-caption"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7 0h-1.5v-.5h-2v3h2V13H18v1c0 .55-.45 1-1 1h-3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1z"></path></g><g id="equalizer"><path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path></g><g id="explicit"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h4v2h-4v2h4v2H9V7h6v2z"></path></g><g id="fast-forward"><path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z"></path></g><g id="fast-rewind"><path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z"></path></g><g id="forward-10"><defs><path id="a" d="M24 24H0V0h24v24z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M4 13c0 4.4 3.6 8 8 8s8-3.6 8-8h-2c0 3.3-2.7 6-6 6s-6-2.7-6-6 2.7-6 6-6v4l5-5-5-5v4c-4.4 0-8 3.6-8 8zm6.8 3H10v-3.3L9 13v-.7l1.8-.6h.1V16zm4.3-1.8c0 .3 0 .6-.1.8l-.3.6s-.3.3-.5.3-.4.1-.6.1-.4 0-.6-.1-.3-.2-.5-.3-.2-.3-.3-.6-.1-.5-.1-.8v-.7c0-.3 0-.6.1-.8l.3-.6s.3-.3.5-.3.4-.1.6-.1.4 0 .6.1.3.2.5.3.2.3.3.6.1.5.1.8v.7zm-.8-.8v-.5s-.1-.2-.1-.3-.1-.1-.2-.2-.2-.1-.3-.1-.2 0-.3.1l-.2.2s-.1.2-.1.3v2s.1.2.1.3.1.1.2.2.2.1.3.1.2 0 .3-.1l.2-.2s.1-.2.1-.3v-1.5z" clip-path="url(#b)"></path></g><g id="forward-30"><defs><path id="a" d="M24 24H0V0h24v24z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M9.6 13.5h.4c.2 0 .4-.1.5-.2s.2-.2.2-.4v-.2s-.1-.1-.1-.2-.1-.1-.2-.1h-.5s-.1.1-.2.1-.1.1-.1.2v.2h-1c0-.2 0-.3.1-.5s.2-.3.3-.4.3-.2.4-.2.4-.1.5-.1c.2 0 .4 0 .6.1s.3.1.5.2.2.2.3.4.1.3.1.5v.3s-.1.2-.1.3-.1.2-.2.2-.2.1-.3.2c.2.1.4.2.5.4s.2.4.2.6c0 .2 0 .4-.1.5s-.2.3-.3.4-.3.2-.5.2-.4.1-.6.1c-.2 0-.4 0-.5-.1s-.3-.1-.5-.2-.2-.2-.3-.4-.1-.4-.1-.6h.8v.2s.1.1.1.2.1.1.2.1h.5s.1-.1.2-.1.1-.1.1-.2v-.5s-.1-.1-.1-.2-.1-.1-.2-.1h-.6v-.7zm5.7.7c0 .3 0 .6-.1.8l-.3.6s-.3.3-.5.3-.4.1-.6.1-.4 0-.6-.1-.3-.2-.5-.3-.2-.3-.3-.6-.1-.5-.1-.8v-.7c0-.3 0-.6.1-.8l.3-.6s.3-.3.5-.3.4-.1.6-.1.4 0 .6.1.3.2.5.3.2.3.3.6.1.5.1.8v.7zm-.9-.8v-.5s-.1-.2-.1-.3-.1-.1-.2-.2-.2-.1-.3-.1-.2 0-.3.1l-.2.2s-.1.2-.1.3v2s.1.2.1.3.1.1.2.2.2.1.3.1.2 0 .3-.1l.2-.2s.1-.2.1-.3v-1.5zM4 13c0 4.4 3.6 8 8 8s8-3.6 8-8h-2c0 3.3-2.7 6-6 6s-6-2.7-6-6 2.7-6 6-6v4l5-5-5-5v4c-4.4 0-8 3.6-8 8z" clip-path="url(#b)"></path></g><g id="forward-5"><defs><path id="a" d="M24 24H0V0h24v24z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M4 13c0 4.4 3.6 8 8 8s8-3.6 8-8h-2c0 3.3-2.7 6-6 6s-6-2.7-6-6 2.7-6 6-6v4l5-5-5-5v4c-4.4 0-8 3.6-8 8zm6.7.9l.2-2.2h2.4v.7h-1.7l-.1.9s.1 0 .1-.1.1 0 .1-.1.1 0 .2 0h.2c.2 0 .4 0 .5.1s.3.2.4.3.2.3.3.5.1.4.1.6c0 .2 0 .4-.1.5s-.1.3-.3.5-.3.2-.5.3-.4.1-.6.1c-.2 0-.4 0-.5-.1s-.3-.1-.5-.2-.2-.2-.3-.4-.1-.3-.1-.5h.8c0 .2.1.3.2.4s.2.1.4.1c.1 0 .2 0 .3-.1l.2-.2s.1-.2.1-.3v-.6l-.1-.2-.2-.2s-.2-.1-.3-.1h-.2s-.1 0-.2.1-.1 0-.1.1-.1.1-.1.1h-.6z" clip-path="url(#b)"></path></g><g id="games"><path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"></path></g><g id="hd"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z"></path></g><g id="hearing"><path d="M17 20c-.29 0-.56-.06-.76-.15-.71-.37-1.21-.88-1.71-2.38-.51-1.56-1.47-2.29-2.39-3-.79-.61-1.61-1.24-2.32-2.53C9.29 10.98 9 9.93 9 9c0-2.8 2.2-5 5-5s5 2.2 5 5h2c0-3.93-3.07-7-7-7S7 5.07 7 9c0 1.26.38 2.65 1.07 3.9.91 1.65 1.98 2.48 2.85 3.15.81.62 1.39 1.07 1.71 2.05.6 1.82 1.37 2.84 2.73 3.55.51.23 1.07.35 1.64.35 2.21 0 4-1.79 4-4h-2c0 1.1-.9 2-2 2zM7.64 2.64L6.22 1.22C4.23 3.21 3 5.96 3 9s1.23 5.79 3.22 7.78l1.41-1.41C6.01 13.74 5 11.49 5 9s1.01-4.74 2.64-6.36zM11.5 9c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5-1.12-2.5-2.5-2.5-2.5 1.12-2.5 2.5z"></path></g><g id="high-quality"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 11H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm7-1c0 .55-.45 1-1 1h-.75v1.5h-1.5V15H14c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v4zm-3.5-.5h2v-3h-2v3z"></path></g><g id="library-add"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"></path></g><g id="library-books"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"></path></g><g id="library-music"><path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 5h-3v5.5c0 1.38-1.12 2.5-2.5 2.5S10 13.88 10 12.5s1.12-2.5 2.5-2.5c.57 0 1.08.19 1.5.51V5h4v2zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z"></path></g><g id="loop"><path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"></path></g><g id="mic"><path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"></path></g><g id="mic-none"><path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm-1.2-9.1c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2l-.01 6.2c0 .66-.53 1.2-1.19 1.2-.66 0-1.2-.54-1.2-1.2V4.9zm6.5 6.1c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"></path></g><g id="mic-off"><path d="M19 11h-1.7c0 .74-.16 1.43-.43 2.05l1.23 1.23c.56-.98.9-2.09.9-3.28zm-4.02.17c0-.06.02-.11.02-.17V5c0-1.66-1.34-3-3-3S9 3.34 9 5v.18l5.98 5.99zM4.27 3L3 4.27l6.01 6.01V11c0 1.66 1.33 3 2.99 3 .22 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c.91-.13 1.77-.45 2.54-.9L19.73 21 21 19.73 4.27 3z"></path></g><g id="movie"><path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"></path></g><g id="new-releases"><path d="M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-10 5h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g><g id="not-interested"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"></path></g><g id="pause"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"></path></g><g id="pause-circle-filled"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"></path></g><g id="pause-circle-outline"><path d="M9 16h2V8H9v8zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm1-4h2V8h-2v8z"></path></g><g id="play-arrow"><path d="M8 5v14l11-7z"></path></g><g id="play-circle-filled"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z"></path></g><g id="play-circle-outline"><path d="M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="playlist-add"><path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z"></path></g><g id="queue"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"></path></g><g id="queue-music"><path d="M15 6H3v2h12V6zm0 4H3v2h12v-2zM3 16h8v-2H3v2zM17 6v8.18c-.31-.11-.65-.18-1-.18-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3V8h3V6h-5z"></path></g><g id="radio"><path d="M3.24 6.15C2.51 6.43 2 7.17 2 8v12c0 1.1.89 2 2 2h16c1.11 0 2-.9 2-2V8c0-1.11-.89-2-2-2H8.3l8.26-3.34L15.88 1 3.24 6.15zM7 20c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm13-8h-2v-2h-2v2H4V8h16v4z"></path></g><g id="recent-actors"><path d="M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8 7.75c1.24 0 2.25 1.01 2.25 2.25S9.24 12.25 8 12.25 5.75 11.24 5.75 10 6.76 7.75 8 7.75zM12.5 17h-9v-.75c0-1.5 3-2.25 4.5-2.25s4.5.75 4.5 2.25V17z"></path></g><g id="repeat"><path d="M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4z"></path></g><g id="repeat-one"><path d="M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z"></path></g><g id="replay"><path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"></path></g><g id="replay-10"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6H4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8zm-1.1 11H10v-3.3L9 13v-.7l1.8-.6h.1V16zm4.3-1.8c0 .3 0 .6-.1.8l-.3.6s-.3.3-.5.3-.4.1-.6.1-.4 0-.6-.1-.3-.2-.5-.3-.2-.3-.3-.6-.1-.5-.1-.8v-.7c0-.3 0-.6.1-.8l.3-.6s.3-.3.5-.3.4-.1.6-.1.4 0 .6.1c.2.1.3.2.5.3s.2.3.3.6.1.5.1.8v.7zm-.9-.8v-.5s-.1-.2-.1-.3-.1-.1-.2-.2-.2-.1-.3-.1-.2 0-.3.1l-.2.2s-.1.2-.1.3v2s.1.2.1.3.1.1.2.2.2.1.3.1.2 0 .3-.1l.2-.2s.1-.2.1-.3v-1.5z" clip-path="url(#b)"></path></g><g id="replay-30"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6H4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8zm-2.4 8.5h.4c.2 0 .4-.1.5-.2s.2-.2.2-.4v-.2s-.1-.1-.1-.2-.1-.1-.2-.1h-.5s-.1.1-.2.1-.1.1-.1.2v.2h-1c0-.2 0-.3.1-.5s.2-.3.3-.4.3-.2.4-.2.4-.1.5-.1c.2 0 .4 0 .6.1s.3.1.5.2.2.2.3.4.1.3.1.5v.3s-.1.2-.1.3-.1.2-.2.2-.2.1-.3.2c.2.1.4.2.5.4s.2.4.2.6c0 .2 0 .4-.1.5s-.2.3-.3.4-.3.2-.5.2-.4.1-.6.1c-.2 0-.4 0-.5-.1s-.3-.1-.5-.2-.2-.2-.3-.4-.1-.4-.1-.6h.8v.2s.1.1.1.2.1.1.2.1h.5s.1-.1.2-.1.1-.1.1-.2v-.5s-.1-.1-.1-.2-.1-.1-.2-.1h-.6v-.7zm5.7.7c0 .3 0 .6-.1.8l-.3.6s-.3.3-.5.3-.4.1-.6.1-.4 0-.6-.1-.3-.2-.5-.3-.2-.3-.3-.6-.1-.5-.1-.8v-.7c0-.3 0-.6.1-.8l.3-.6s.3-.3.5-.3.4-.1.6-.1.4 0 .6.1.3.2.5.3.2.3.3.6.1.5.1.8v.7zm-.8-.8v-.5c0-.1-.1-.2-.1-.3s-.1-.1-.2-.2-.2-.1-.3-.1-.2 0-.3.1l-.2.2s-.1.2-.1.3v2s.1.2.1.3.1.1.2.2.2.1.3.1.2 0 .3-.1l.2-.2s.1-.2.1-.3v-1.5z" clip-path="url(#b)"></path></g><g id="replay-5"><defs><path id="a" d="M0 0h24v24H0V0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6H4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8zm-1.3 8.9l.2-2.2h2.4v.7h-1.7l-.1.9s.1 0 .1-.1.1 0 .1-.1.1 0 .2 0h.2c.2 0 .4 0 .5.1s.3.2.4.3.2.3.3.5.1.4.1.6c0 .2 0 .4-.1.5s-.1.3-.3.5-.3.2-.4.3-.4.1-.6.1c-.2 0-.4 0-.5-.1s-.3-.1-.5-.2-.2-.2-.3-.4-.1-.3-.1-.5h.8c0 .2.1.3.2.4s.2.1.4.1c.1 0 .2 0 .3-.1l.2-.2s.1-.2.1-.3v-.6l-.1-.2-.2-.2s-.2-.1-.3-.1h-.2s-.1 0-.2.1-.1 0-.1.1-.1.1-.1.1h-.7z" clip-path="url(#b)"></path></g><g id="shuffle"><path d="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z"></path></g><g id="skip-next"><path d="M6 18l8.5-6L6 6v12zM16 6v12h2V6h-2z"></path></g><g id="skip-previous"><path d="M6 6h2v12H6zm3.5 6l8.5 6V6z"></path></g><g id="snooze"><path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm-3-9h3.63L9 15.2V17h6v-2h-3.63L15 10.8V9H9v2z"></path></g><g id="sort-by-alpha"><path d="M14.94 4.66h-4.72l2.36-2.36zm-4.69 14.71h4.66l-2.33 2.33zM6.1 6.27L1.6 17.73h1.84l.92-2.45h5.11l.92 2.45h1.84L7.74 6.27H6.1zm-1.13 7.37l1.94-5.18 1.94 5.18H4.97zm10.76 2.5h6.12v1.59h-8.53v-1.29l5.92-8.56h-5.88v-1.6h8.3v1.26l-5.93 8.6z"></path></g><g id="stop"><path d="M6 6h12v12H6z"></path></g><g id="subtitles"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM4 12h4v2H4v-2zm10 6H4v-2h10v2zm6 0h-4v-2h4v2zm0-4H10v-2h10v2z"></path></g><g id="surround-sound"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.76 16.24l-1.41 1.41C4.78 16.1 4 14.05 4 12c0-2.05.78-4.1 2.34-5.66l1.41 1.41C6.59 8.93 6 10.46 6 12s.59 3.07 1.76 4.24zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm5.66 1.66l-1.41-1.41C17.41 15.07 18 13.54 18 12s-.59-3.07-1.76-4.24l1.41-1.41C19.22 7.9 20 9.95 20 12c0 2.05-.78 4.1-2.34 5.66zM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="video-library"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z"></path></g><g id="videocam"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"></path></g><g id="videocam-off"><path d="M21 6.5l-4 4V7c0-.55-.45-1-1-1H9.82L21 17.18V6.5zM3.27 2L2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.54-.18L19.73 21 21 19.73 3.27 2z"></path></g><g id="volume-down"><path d="M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z"></path></g><g id="volume-mute"><path d="M7 9v6h4l5 5V4l-5 5H7z"></path></g><g id="volume-off"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"></path></g><g id="volume-up"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"></path></g><g id="web"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="homeassistant-100" size="100"><svg><defs><g id="thermostat"><path d="M66.861,60.105V17.453c0-9.06-7.347-16.405-16.408-16.405c-9.06,0-16.404,7.345-16.404,16.405v42.711 c-4.04,4.14-6.533,9.795-6.533,16.035c0,12.684,10.283,22.967,22.967,22.967c12.682,0,22.964-10.283,22.964-22.967 C73.447,69.933,70.933,64.254,66.861,60.105z M60.331,20.38h-13.21v6.536h6.63v6.539h-6.63v6.713h6.63v6.538h-6.63v6.5h6.63v6.536 h-6.63v7.218c-3.775,1.373-6.471,4.993-6.471,9.24h-6.626c0-5.396,2.598-10.182,6.61-13.185V17.446c0-0.038,0.004-0.075,0.004-0.111 l-0.004-0.007c0-5.437,4.411-9.846,9.849-9.846c5.438,0,9.848,4.409,9.848,9.846V20.38z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="homeassistant-24" size="24"><svg><defs><g id="group"><path d="M9 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm5-3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-7c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g></defs></svg></iron-iconset-svg><dom-module id="paper-ripple" assetpath="../bower_components/paper-ripple/"><style>:host {
|
||
display: block;
|
||
position: absolute;
|
||
border-radius: inherit;
|
||
overflow: hidden;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
}
|
||
|
||
:host([animating]) {
|
||
/* This resolves a rendering issue in Chrome (as of 40) where the
|
||
ripple is not properly clipped by its parent (which may have
|
||
rounded corners). See: http://jsbin.com/temexa/4
|
||
|
||
Note: We only apply this style conditionally. Otherwise, the browser
|
||
will create a new compositing layer for every ripple element on the
|
||
page, and that would be bad. */
|
||
-webkit-transform: translate(0, 0);
|
||
transform: translate3d(0, 0, 0);
|
||
}
|
||
|
||
:host([noink]) {
|
||
pointer-events: none;
|
||
}
|
||
|
||
#background,
|
||
#waves,
|
||
.wave-container,
|
||
.wave {
|
||
pointer-events: none;
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
#background,
|
||
.wave {
|
||
opacity: 0;
|
||
}
|
||
|
||
#waves,
|
||
.wave {
|
||
overflow: hidden;
|
||
}
|
||
|
||
.wave-container,
|
||
.wave {
|
||
border-radius: 50%;
|
||
}
|
||
|
||
:host(.circle) #background,
|
||
:host(.circle) #waves {
|
||
border-radius: 50%;
|
||
}
|
||
|
||
:host(.circle) .wave-container {
|
||
overflow: hidden;
|
||
}</style><template><div id="background"></div><div id="waves"></div></template></dom-module><script>!function(){function t(t){this.element=t,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function i(t){this.element=t,this.color=window.getComputedStyle(t).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Polymer.dom(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}var e={cssColorWithAlpha:function(t,i){var e=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);return"undefined"==typeof i&&(i=1),e?"rgba("+e[1]+", "+e[2]+", "+e[3]+", "+i+")":"rgba(255, 255, 255, "+i+")"},distance:function(t,i,e,n){var s=t-e,o=i-n;return Math.sqrt(s*s+o*o)},now:function(){return window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now}()};t.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(t,i){var n=e.distance(t,i,0,0),s=e.distance(t,i,this.width,0),o=e.distance(t,i,0,this.height),a=e.distance(t,i,this.width,this.height);return Math.max(n,s,o,a)}},i.MAX_RADIUS=300,i.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var t;return this.mouseDownStart?(t=e.now()-this.mouseDownStart,this.mouseUpStart&&(t-=this.mouseUpElapsed),t):0},get mouseUpElapsed(){return this.mouseUpStart?e.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var t=this.containerMetrics.width*this.containerMetrics.width,e=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(t+e),i.MAX_RADIUS)+5,s=1.1-.2*(n/i.MAX_RADIUS),o=this.mouseInteractionSeconds/s,a=n*(1-Math.pow(80,-o));return Math.abs(a)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var t=.3*this.mouseUpElapsedSeconds,i=this.opacity;return Math.max(0,Math.min(t,i))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,i.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,i.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new t(this.element)},draw:function(){var t,i,e;this.wave.style.opacity=this.opacity,t=this.radius/(this.containerMetrics.size/2),i=this.xNow-this.containerMetrics.width/2,e=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+i+"px, "+e+"px)",this.waveContainer.style.transform="translate3d("+i+"px, "+e+"px, 0)",this.wave.style.webkitTransform="scale("+t+","+t+")",this.wave.style.transform="scale3d("+t+","+t+",1)"},downAction:function(t){var i=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=e.now(),this.center?(this.xStart=i,this.yStart=n,this.slideDistance=e.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=t?t.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=t?t.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=i,this.yEnd=n,this.slideDistance=e.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(t){this.isMouseDown&&(this.mouseUpStart=e.now())},remove:function(){Polymer.dom(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Polymer({is:"paper-ripple",behaviors:[Polymer.IronA11yKeysBehavior],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){var t,i=Polymer.dom(this).getOwnerRoot();return t=11==this.parentNode.nodeType?i.host:this.parentNode},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){this.listen(this.target,"up","upAction"),this.listen(this.target,"down","downAction"),this.target.hasAttribute("noink")||(this.keyEventTarget=this.target)},get shouldKeepAnimating(){for(var t=0;t<this.ripples.length;++t)if(!this.ripples[t].isAnimationComplete)return!0;return!1},simulatedRipple:function(){this.downAction(null),this.async(function(){this.upAction()},1)},downAction:function(t){if(!(this.holdDown&&this.ripples.length>0)){var i=this.addRipple();i.downAction(t),this._animating||this.animate()}},upAction:function(t){this.holdDown||(this.ripples.forEach(function(i){i.upAction(t)}),this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var t=new i(this);return Polymer.dom(this.$.waves).appendChild(t.waveContainer),this.$.background.style.backgroundColor=t.color,this.ripples.push(t),this._setAnimating(!0),t},removeRipple:function(t){var i=this.ripples.indexOf(t);0>i||(this.ripples.splice(i,1),t.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){var t,i;for(this._animating=!0,t=0;t<this.ripples.length;++t)i=this.ripples[t],i.draw(),this.$.background.style.opacity=i.outerOpacity,i.isOpacityFullyDecayed&&!i.isRestingAtMaxRadius&&this.removeRipple(i);this.shouldKeepAnimating||0!==this.ripples.length?window.requestAnimationFrame(this._boundAnimate):this.onAnimationComplete()},_onEnterKeydown:function(){this.downAction(),this.async(this.upAction,1)},_onSpaceKeydown:function(){this.downAction()},_onSpaceKeyup:function(){this.upAction()},_holdDownChanged:function(t){t?this.downAction():this.upAction()}})}();</script><dom-module id="paper-checkbox" assetpath="../bower_components/paper-checkbox/"><style>/*
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: inline-block;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
:host(:focus) {
|
||
outline: none;
|
||
}
|
||
|
||
.hidden {
|
||
display: none;
|
||
}
|
||
|
||
#checkboxContainer {
|
||
display: inline-block;
|
||
position: relative;
|
||
width: 18px;
|
||
height: 18px;
|
||
cursor: pointer;
|
||
-webkit-transform: translateZ(0);
|
||
transform: translateZ(0);
|
||
vertical-align: middle;
|
||
}
|
||
|
||
:host #ink {
|
||
position: absolute;
|
||
top: -15px;
|
||
left: -15px;
|
||
width: 48px;
|
||
height: 48px;
|
||
color: var(--paper-checkbox-unchecked-ink-color, --primary-text-color);
|
||
opacity: 0.6;
|
||
}
|
||
|
||
:host #ink[checked] {
|
||
color: var(--paper-checkbox-checked-ink-color, --default-primary-color);
|
||
}
|
||
|
||
:host #checkbox {
|
||
position: relative;
|
||
box-sizing: border-box;
|
||
height: 100%;
|
||
border: solid 2px;
|
||
border-color: var(--paper-checkbox-unchecked-color, --primary-text-color);
|
||
border-radius: 2px;
|
||
pointer-events: none;
|
||
-webkit-transition: background-color 140ms, border-color 140ms;
|
||
transition: background-color 140ms, border-color 140ms;
|
||
}
|
||
|
||
/* checkbox checked animations */
|
||
#checkbox.checked #checkmark {
|
||
-webkit-animation: checkmark-expand 140ms ease-out forwards;
|
||
animation: checkmark-expand 140ms ease-out forwards;
|
||
}
|
||
|
||
@-webkit-keyframes checkmark-expand {
|
||
0% {
|
||
top: 9px;
|
||
left: 6px;
|
||
width: 0px;
|
||
height: 0px;
|
||
}
|
||
100% {
|
||
top: -1px;
|
||
left: 4px;
|
||
width: 5px;
|
||
height: 10px;
|
||
}
|
||
}
|
||
|
||
@keyframes checkmark-expand {
|
||
0% {
|
||
top: 9px;
|
||
left: 6px;
|
||
width: 0px;
|
||
height: 0px;
|
||
}
|
||
100% {
|
||
top: -1px;
|
||
left: 4px;
|
||
width: 5px;
|
||
height: 10px;
|
||
}
|
||
}
|
||
|
||
:host #checkbox.checked {
|
||
background-color: var(--paper-checkbox-checked-color, --default-primary-color);
|
||
border-color: var(--paper-checkbox-checked-color, --default-primary-color);
|
||
}
|
||
|
||
:host #checkmark {
|
||
-webkit-transform: rotate(45deg);
|
||
transform: rotate(45deg);
|
||
position: absolute;
|
||
top: -1px;
|
||
left: 4px;
|
||
width: 5px;
|
||
height: 10px;
|
||
border-style: solid;
|
||
border-top: none;
|
||
border-left: none;
|
||
border-right-width: 2px;
|
||
border-bottom-width: 2px;
|
||
border-color: white;
|
||
}
|
||
|
||
/* label */
|
||
#checkboxLabel {
|
||
position: relative;
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
padding-left: 8px;
|
||
white-space: normal;
|
||
pointer-events: none;
|
||
color: var(--paper-checkbox-label-color, --primary-text-color);
|
||
}
|
||
|
||
#checkboxLabel[hidden] {
|
||
display: none;
|
||
}
|
||
|
||
/* disabled state */
|
||
:host([disabled]) {
|
||
pointer-events: none;
|
||
}
|
||
|
||
:host([disabled]) #checkbox {
|
||
opacity: 0.5;
|
||
border-color: var(--paper-checkbox-unchecked-color, --primary-text-color);
|
||
}
|
||
|
||
:host([disabled][checked]) #checkbox {
|
||
background-color: var(--paper-checkbox-unchecked-color, --primary-text-color);
|
||
opacity: 0.5;
|
||
}
|
||
|
||
:host([disabled]) #checkboxLabel {
|
||
opacity: 0.65;
|
||
}</style><template><div id="checkboxContainer"><paper-ripple id="ink" class="circle" center="" checked$="[[checked]]"></paper-ripple><div id="checkbox" class$="[[_computeCheckboxClass(checked)]]"><div id="checkmark" class$="[[_computeCheckmarkClass(checked)]]"></div></div></div><div id="checkboxLabel" aria-hidden="true"><content></content></div></template><script>Polymer({is:"paper-checkbox",behaviors:[Polymer.PaperInkyFocusBehavior],hostAttributes:{role:"checkbox","aria-checked":!1,tabindex:0},properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0}},ready:function(){""==Polymer.dom(this).textContent?this.$.checkboxLabel.hidden=!0:this.setAttribute("aria-label",Polymer.dom(this).textContent),this._isReady=!0},_buttonStateChanged:function(){this.disabled||this._isReady&&(this.checked=this.active)},_checkedChanged:function(e){this.setAttribute("aria-checked",this.checked?"true":"false"),this.active=this.checked,this.fire("iron-change")},_computeCheckboxClass:function(e){return e?"checked":""},_computeCheckmarkClass:function(e){return e?"":"hidden"}});</script></dom-module><dom-module id="paper-material" assetpath="../bower_components/paper-material/"><style>:host {
|
||
display: block;
|
||
position: relative;
|
||
@apply(--shadow-transition);
|
||
}
|
||
|
||
:host([elevation="1"]) {
|
||
@apply(--shadow-elevation-2dp);
|
||
}
|
||
|
||
:host([elevation="2"]) {
|
||
@apply(--shadow-elevation-4dp);
|
||
}
|
||
|
||
:host([elevation="3"]) {
|
||
@apply(--shadow-elevation-6dp);
|
||
}
|
||
|
||
:host([elevation="4"]) {
|
||
@apply(--shadow-elevation-8dp);
|
||
}
|
||
|
||
:host([elevation="5"]) {
|
||
@apply(--shadow-elevation-16dp);
|
||
}</style><template><content></content></template></dom-module><script>Polymer({is:"paper-material",properties:{elevation:{type:Number,reflectToAttribute:!0,value:1},animated:{type:Boolean,reflectToAttribute:!0,value:!1}}});</script><dom-module id="paper-button" assetpath="../bower_components/paper-button/"><style>:host {
|
||
display: inline-block;
|
||
position: relative;
|
||
box-sizing: border-box;
|
||
min-width: 5.14em;
|
||
margin: 0 0.29em;
|
||
background: transparent;
|
||
text-align: center;
|
||
font: inherit;
|
||
text-transform: uppercase;
|
||
outline: none;
|
||
border-radius: 3px;
|
||
-moz-user-select: none;
|
||
-ms-user-select: none;
|
||
-webkit-user-select: none;
|
||
user-select: none;
|
||
cursor: pointer;
|
||
z-index: 0;
|
||
|
||
@apply(--paper-button);
|
||
}
|
||
|
||
.keyboard-focus {
|
||
font-weight: bold;
|
||
}
|
||
|
||
:host([disabled]) {
|
||
background: #eaeaea;
|
||
color: #a8a8a8;
|
||
cursor: auto;
|
||
pointer-events: none;
|
||
|
||
@apply(--paper-button-disabled);
|
||
}
|
||
|
||
:host([noink]) paper-ripple {
|
||
display: none;
|
||
}
|
||
|
||
paper-material {
|
||
border-radius: inherit;
|
||
}
|
||
|
||
.content > ::content * {
|
||
text-transform: inherit;
|
||
}
|
||
|
||
.content {
|
||
padding: 0.7em 0.57em
|
||
}</style><template><paper-ripple></paper-ripple><paper-material class$="[[_computeContentClass(receivedFocusFromKeyboard)]]" elevation="[[_elevation]]" animated=""><content></content></paper-material></template></dom-module><script>Polymer({is:"paper-button",behaviors:[Polymer.PaperButtonBehavior],properties:{raised:{type:Boolean,reflectToAttribute:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){this.raised?Polymer.PaperButtonBehaviorImpl._calculateElevation.apply(this):this._elevation=0},_computeContentClass:function(e){var t="content ";return e&&(t+=" keyboard-focus"),t}});</script><dom-module id="paper-input-container" assetpath="../bower_components/paper-input/"><style>:host {
|
||
display: block;
|
||
padding: 8px 0;
|
||
|
||
@apply(--paper-input-container);
|
||
}
|
||
|
||
:host[inline] {
|
||
display: inline-block;
|
||
}
|
||
|
||
:host([disabled]) {
|
||
pointer-events: none;
|
||
opacity: 0.33;
|
||
}
|
||
|
||
.floated-label-placeholder {
|
||
@apply(--paper-font-caption);
|
||
}
|
||
|
||
.underline {
|
||
position: relative;
|
||
}
|
||
|
||
.focused-line {
|
||
height: 2px;
|
||
|
||
-webkit-transform-origin: center center;
|
||
transform-origin: center center;
|
||
-webkit-transform: scale3d(0,1,1);
|
||
transform: scale3d(0,1,1);
|
||
|
||
background: var(--paper-input-container-focus-color, --default-primary-color);
|
||
}
|
||
|
||
.underline.is-highlighted .focused-line {
|
||
-webkit-transform: none;
|
||
transform: none;
|
||
-webkit-transition: -webkit-transform 0.25s;
|
||
transition: transform 0.25s;
|
||
|
||
@apply(--paper-transition-easing);
|
||
}
|
||
|
||
.underline.is-invalid .focused-line {
|
||
background: var(--paper-input-container-invalid-color, --google-red-500);
|
||
|
||
-webkit-transform: none;
|
||
transform: none;
|
||
-webkit-transition: -webkit-transform 0.25s;
|
||
transition: transform 0.25s;
|
||
|
||
@apply(--paper-transition-easing);
|
||
}
|
||
|
||
.unfocused-line {
|
||
height: 1px;
|
||
background: var(--paper-input-container-color, --secondary-text-color);
|
||
}
|
||
|
||
:host([disabled]) .unfocused-line {
|
||
border-bottom: 1px dashed;
|
||
border-color: var(--paper-input-container-color, --secondary-text-color);
|
||
background: transparent;
|
||
}
|
||
|
||
.input-content {
|
||
position: relative;
|
||
}
|
||
|
||
.input-content ::content label,
|
||
.input-content ::content .paper-input-label {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
left: 0;
|
||
font: inherit;
|
||
color: var(--paper-input-container-color, --secondary-text-color);
|
||
|
||
@apply(--paper-font-subhead);
|
||
@apply(--paper-input-container-label);
|
||
}
|
||
|
||
.input-content.label-is-floating ::content label,
|
||
.input-content.label-is-floating ::content .paper-input-label {
|
||
-webkit-transform: translate3d(0, -75%, 0) scale(0.75);
|
||
transform: translate3d(0, -75%, 0) scale(0.75);
|
||
-webkit-transform-origin: left top;
|
||
transform-origin: left top;
|
||
-webkit-transition: -webkit-transform 0.25s;
|
||
transition: transform 0.25s;
|
||
|
||
@apply(--paper-transition-easing);
|
||
}
|
||
|
||
.input-content.label-is-highlighted ::content label,
|
||
.input-content.label-is-highlighted ::content .paper-input-label {
|
||
color: var(--paper-input-container-focus-color, --default-primary-color);
|
||
}
|
||
|
||
.input-content.is-invalid ::content label,
|
||
.input-content.is-invalid ::content .paper-input-label {
|
||
color: var(--paper-input-container-invalid-color, --google-red-500);
|
||
}
|
||
|
||
.input-content.label-is-hidden ::content label,
|
||
.input-content.label-is-hidden ::content .paper-input-label {
|
||
visibility: hidden;
|
||
}
|
||
|
||
.input-content ::content input,
|
||
.input-content ::content textarea,
|
||
.input-content ::content iron-autogrow-textarea,
|
||
.input-content ::content .paper-input-input {
|
||
position: relative; /* to make a stacking context */
|
||
outline: none;
|
||
box-shadow: none;
|
||
padding: 0;
|
||
width: 100%;
|
||
background: transparent;
|
||
border: none;
|
||
color: var(--paper-input-container-input-color, --primary-text-color);
|
||
|
||
@apply(--paper-font-subhead);
|
||
@apply(--paper-input-container-input);
|
||
}
|
||
|
||
/* Firefox sets a min-width on the input, which can cause layout issues */
|
||
.input-content ::content input {
|
||
min-width: 0;
|
||
}
|
||
|
||
.input-content ::content textarea {
|
||
resize: none;
|
||
}
|
||
|
||
.add-on-content.is-invalid ::content * {
|
||
color: var(--paper-input-container-invalid-color, --google-red-500);
|
||
}
|
||
|
||
.add-on-content.is-highlighted ::content * {
|
||
color: var(--paper-input-container-focus-color, --default-primary-color);
|
||
}</style><template><template is="dom-if" if="[[!noLabelFloat]]"><div class="floated-label-placeholder"> </div></template><div class$="[[_computeInputContentClass(noLabelFloat,alwaysFloatLabel,focused,invalid,_inputHasContent)]]"><content select=":not([add-on])"></content></div><div class$="[[_computeUnderlineClass(focused,invalid)]]"><div class="unfocused-line fit"></div><div class="focused-line fit"></div></div><div class$="[[_computeAddOnContentClass(focused,invalid)]]"><content id="addOnContent" select="[add-on]"></content></div></template></dom-module><script>!function(){Polymer({is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return Polymer.CaseMap.dashToCamelCase(this.attrForValue)},get _inputElement(){return Polymer.dom(this).querySelector(this._inputSelector)},ready:function(){this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0),this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput)},attached:function(){this._handleValue(this._inputElement)},_onAddonAttached:function(t){this._addons||(this._addons=[]);var n=t.target;-1===this._addons.indexOf(n)&&(this._addons.push(n),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1)},_onInput:function(t){this._handleValue(t.target)},_onValueChanged:function(t){this._handleValue(t.target)},_handleValue:function(t){var n=t[this._propertyForValue]||t.value;if(this.autoValidate){var e;e=t.validate?t.validate(n):t.checkValidity(),this.invalid=!e}n||"number"===t.type&&!t.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:t,value:n,invalid:this.invalid})},_onIronInputValidate:function(t){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(t){for(var n,e=0;n=this._addons[e];e++)n.update(t)},_computeInputContentClass:function(t,n,e,i,a){var u="input-content";return t?a&&(u+=" label-is-hidden"):(n||a)&&(u+=" label-is-floating",i?u+=" is-invalid":e&&(u+=" label-is-highlighted")),u},_computeUnderlineClass:function(t,n){var e="underline";return n?e+=" is-invalid":t&&(e+=" is-highlighted"),e},_computeAddOnContentClass:function(t,n){var e="add-on-content";return n?e+=" is-invalid":t&&(e+=" is-highlighted"),e}})}();</script><dom-module id="paper-input-error" assetpath="../bower_components/paper-input/"><style>:host {
|
||
/* need to use display: none for role="alert" */
|
||
display: none;
|
||
float: left;
|
||
|
||
color: var(--paper-input-container-invalid-color, --google-red-500);
|
||
|
||
@apply(--paper-font-caption);
|
||
@apply(--paper-input-error);
|
||
}
|
||
|
||
:host([invalid]) {
|
||
display: inline-block;
|
||
};</style><template><content></content></template></dom-module><script>!function(){Polymer({is:"paper-input-error",behaviors:[Polymer.PaperInputAddonBehavior],hostAttributes:{role:"alert"},properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}})}();</script><dom-module id="paper-spinner" assetpath="../bower_components/paper-spinner/"><style>/**
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
|
||
*/
|
||
/**************************/
|
||
/* STYLES FOR THE SPINNER */
|
||
/**************************/
|
||
|
||
/*
|
||
* Constants:
|
||
* STROKEWIDTH = 3px
|
||
* ARCSIZE = 270 degrees (amount of circle the arc takes up)
|
||
* ARCTIME = 1333ms (time it takes to expand and contract arc)
|
||
* ARCSTARTROT = 216 degrees (how much the start location of the arc
|
||
* should rotate each time, 216 gives us a
|
||
* 5 pointed star shape (it's 360/5 * 3).
|
||
* For a 7 pointed star, we might do
|
||
* 360/7 * 3 = 154.286)
|
||
* CONTAINERWIDTH = 28px
|
||
* SHRINK_TIME = 400ms
|
||
*/
|
||
|
||
:host {
|
||
display: inline-block;
|
||
position: relative;
|
||
width: 28px; /* CONTAINERWIDTH */
|
||
height: 28px; /* CONTAINERWIDTH */
|
||
}
|
||
|
||
#spinnerContainer {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
#spinnerContainer.active {
|
||
/* duration: 360 * ARCTIME / (ARCSTARTROT + (360-ARCSIZE)) */
|
||
-webkit-animation: container-rotate 1568ms linear infinite;
|
||
animation: container-rotate 1568ms linear infinite;
|
||
}
|
||
|
||
@-webkit-keyframes container-rotate {
|
||
to { -webkit-transform: rotate(360deg) }
|
||
}
|
||
|
||
@keyframes container-rotate {
|
||
to { transform: rotate(360deg) }
|
||
}
|
||
|
||
.spinner-layer {
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
opacity: 0;
|
||
}
|
||
|
||
.layer-1 {
|
||
border-color: var(--paper-spinner-layer-1-color, --google-blue-500);
|
||
}
|
||
|
||
.layer-2 {
|
||
border-color: var(--paper-spinner-layer-2-color, --google-red-500);
|
||
}
|
||
|
||
.layer-3 {
|
||
border-color: var(--paper-spinner-layer-3-color, --google-yellow-500);
|
||
}
|
||
|
||
.layer-4 {
|
||
border-color: var(--paper-spinner-layer-4-color, --google-blue-500);
|
||
}
|
||
|
||
/**
|
||
* IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee):
|
||
*
|
||
* iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't
|
||
* guarantee that the animation will start _exactly_ after that value. So we avoid using
|
||
* animation-delay and instead set custom keyframes for each color (as layer-2undant as it
|
||
* seems).
|
||
*
|
||
* We write out each animation in full (instead of separating animation-name,
|
||
* animation-duration, etc.) because under the polyfill, Safari does not recognize those
|
||
* specific properties properly, treats them as -webkit-animation, and overrides the
|
||
* other animation rules. See https://github.com/Polymer/platform/issues/53.
|
||
*/
|
||
.active .spinner-layer.layer-1 {
|
||
/* durations: 4 * ARCTIME */
|
||
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-1-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
}
|
||
|
||
.active .spinner-layer.layer-2 {
|
||
/* durations: 4 * ARCTIME */
|
||
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-2-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
}
|
||
|
||
.active .spinner-layer.layer-3 {
|
||
/* durations: 4 * ARCTIME */
|
||
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-3-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
}
|
||
|
||
.active .spinner-layer.layer-4 {
|
||
/* durations: 4 * ARCTIME */
|
||
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, layer-4-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
}
|
||
|
||
@-webkit-keyframes fill-unfill-rotate {
|
||
12.5% { -webkit-transform: rotate(135deg); } /* 0.5 * ARCSIZE */
|
||
25% { -webkit-transform: rotate(270deg); } /* 1 * ARCSIZE */
|
||
37.5% { -webkit-transform: rotate(405deg); } /* 1.5 * ARCSIZE */
|
||
50% { -webkit-transform: rotate(540deg); } /* 2 * ARCSIZE */
|
||
62.5% { -webkit-transform: rotate(675deg); } /* 2.5 * ARCSIZE */
|
||
75% { -webkit-transform: rotate(810deg); } /* 3 * ARCSIZE */
|
||
87.5% { -webkit-transform: rotate(945deg); } /* 3.5 * ARCSIZE */
|
||
to { -webkit-transform: rotate(1080deg); } /* 4 * ARCSIZE */
|
||
}
|
||
|
||
@keyframes fill-unfill-rotate {
|
||
12.5% { transform: rotate(135deg); } /* 0.5 * ARCSIZE */
|
||
25% { transform: rotate(270deg); } /* 1 * ARCSIZE */
|
||
37.5% { transform: rotate(405deg); } /* 1.5 * ARCSIZE */
|
||
50% { transform: rotate(540deg); } /* 2 * ARCSIZE */
|
||
62.5% { transform: rotate(675deg); } /* 2.5 * ARCSIZE */
|
||
75% { transform: rotate(810deg); } /* 3 * ARCSIZE */
|
||
87.5% { transform: rotate(945deg); } /* 3.5 * ARCSIZE */
|
||
to { transform: rotate(1080deg); } /* 4 * ARCSIZE */
|
||
}
|
||
|
||
/**
|
||
* HACK: Even though the intention is to have the current .spinner-layer at
|
||
* `opacity: 1`, we set it to `opacity: 0.99` instead since this forces Chrome
|
||
* to do proper subpixel rendering for the elements being animated. This is
|
||
* especially visible in Chrome 39 on Ubuntu 14.04. See:
|
||
*
|
||
* - https://github.com/Polymer/paper-spinner/issues/9
|
||
* - https://code.google.com/p/chromium/issues/detail?id=436255
|
||
*/
|
||
@-webkit-keyframes layer-1-fade-in-out {
|
||
from { opacity: 0.99; }
|
||
25% { opacity: 0.99; }
|
||
26% { opacity: 0; }
|
||
89% { opacity: 0; }
|
||
90% { opacity: 0.99; }
|
||
100% { opacity: 0.99; }
|
||
}
|
||
|
||
@keyframes layer-1-fade-in-out {
|
||
from { opacity: 0.99; }
|
||
25% { opacity: 0.99; }
|
||
26% { opacity: 0; }
|
||
89% { opacity: 0; }
|
||
90% { opacity: 0.99; }
|
||
100% { opacity: 0.99; }
|
||
}
|
||
|
||
@-webkit-keyframes layer-2-fade-in-out {
|
||
from { opacity: 0; }
|
||
15% { opacity: 0; }
|
||
25% { opacity: 0.99; }
|
||
50% { opacity: 0.99; }
|
||
51% { opacity: 0; }
|
||
}
|
||
|
||
@keyframes layer-2-fade-in-out {
|
||
from { opacity: 0; }
|
||
15% { opacity: 0; }
|
||
25% { opacity: 0.99; }
|
||
50% { opacity: 0.99; }
|
||
51% { opacity: 0; }
|
||
}
|
||
|
||
@-webkit-keyframes layer-3-fade-in-out {
|
||
from { opacity: 0; }
|
||
40% { opacity: 0; }
|
||
50% { opacity: 0.99; }
|
||
75% { opacity: 0.99; }
|
||
76% { opacity: 0; }
|
||
}
|
||
|
||
@keyframes layer-3-fade-in-out {
|
||
from { opacity: 0; }
|
||
40% { opacity: 0; }
|
||
50% { opacity: 0.99; }
|
||
75% { opacity: 0.99; }
|
||
76% { opacity: 0; }
|
||
}
|
||
|
||
@-webkit-keyframes layer-4-fade-in-out {
|
||
from { opacity: 0; }
|
||
65% { opacity: 0; }
|
||
75% { opacity: 0.99; }
|
||
90% { opacity: 0.99; }
|
||
100% { opacity: 0; }
|
||
}
|
||
|
||
@keyframes layer-4-fade-in-out {
|
||
from { opacity: 0; }
|
||
65% { opacity: 0; }
|
||
75% { opacity: 0.99; }
|
||
90% { opacity: 0.99; }
|
||
100% { opacity: 0; }
|
||
}
|
||
|
||
/**
|
||
* Patch the gap that appear between the two adjacent div.circle-clipper while the
|
||
* spinner is rotating (appears on Chrome 38, Safari 7.1, and IE 11).
|
||
*
|
||
* Update: the gap no longer appears on Chrome when .spinner-layer's opacity is 0.99,
|
||
* but still does on Safari and IE.
|
||
*/
|
||
.gap-patch {
|
||
position: absolute;
|
||
box-sizing: border-box;
|
||
top: 0;
|
||
left: 45%;
|
||
width: 10%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
border-color: inherit;
|
||
}
|
||
|
||
.gap-patch .circle {
|
||
width: 1000%;
|
||
left: -450%;
|
||
}
|
||
|
||
.circle-clipper {
|
||
display: inline-block;
|
||
position: relative;
|
||
width: 50%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
border-color: inherit;
|
||
}
|
||
|
||
.circle-clipper .circle {
|
||
width: 200%;
|
||
}
|
||
|
||
.circle {
|
||
box-sizing: border-box;
|
||
height: 100%;
|
||
border-width: 3px; /* STROKEWIDTH */
|
||
border-style: solid;
|
||
border-color: inherit;
|
||
border-bottom-color: transparent !important;
|
||
border-radius: 50%;
|
||
-webkit-animation: none;
|
||
animation: none;
|
||
|
||
@apply(--layout-fit);
|
||
}
|
||
|
||
.circle-clipper.left .circle {
|
||
border-right-color: transparent !important;
|
||
-webkit-transform: rotate(129deg);
|
||
transform: rotate(129deg);
|
||
}
|
||
|
||
.circle-clipper.right .circle {
|
||
left: -100%;
|
||
border-left-color: transparent !important;
|
||
-webkit-transform: rotate(-129deg);
|
||
transform: rotate(-129deg);
|
||
}
|
||
|
||
.active .circle-clipper.left .circle {
|
||
/* duration: ARCTIME */
|
||
-webkit-animation: left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
animation: left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
}
|
||
|
||
.active .circle-clipper.right .circle {
|
||
/* duration: ARCTIME */
|
||
-webkit-animation: right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
animation: right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
||
}
|
||
|
||
@-webkit-keyframes left-spin {
|
||
from { -webkit-transform: rotate(130deg); }
|
||
50% { -webkit-transform: rotate(-5deg); }
|
||
to { -webkit-transform: rotate(130deg); }
|
||
}
|
||
|
||
@keyframes left-spin {
|
||
from { transform: rotate(130deg); }
|
||
50% { transform: rotate(-5deg); }
|
||
to { transform: rotate(130deg); }
|
||
}
|
||
|
||
@-webkit-keyframes right-spin {
|
||
from { -webkit-transform: rotate(-130deg); }
|
||
50% { -webkit-transform: rotate(5deg); }
|
||
to { -webkit-transform: rotate(-130deg); }
|
||
}
|
||
|
||
@keyframes right-spin {
|
||
from { transform: rotate(-130deg); }
|
||
50% { transform: rotate(5deg); }
|
||
to { transform: rotate(-130deg); }
|
||
}
|
||
|
||
#spinnerContainer.cooldown {
|
||
/* duration: SHRINK_TIME */
|
||
-webkit-animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
||
animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
||
}
|
||
|
||
@-webkit-keyframes fade-out {
|
||
from { opacity: 0.99; }
|
||
to { opacity: 0; }
|
||
}
|
||
|
||
@keyframes fade-out {
|
||
from { opacity: 0.99; }
|
||
to { opacity: 0; }
|
||
}</style><template><div id="spinnerContainer" class-name="[[_spinnerContainerClassName]]"><div class="spinner-layer layer-1"><div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div><div class="spinner-layer layer-2"><div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div><div class="spinner-layer layer-3"><div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div><div class="spinner-layer layer-4"><div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div></div></template><script>!function(){"use strict";function t(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&t[i]&&e.push(i);return e.join(" ")}Polymer({is:"paper-spinner",listeners:{animationend:"reset",webkitAnimationEnd:"reset"},properties:{active:{observer:"_activeChanged",type:Boolean,value:!1},alt:{observer:"_altChanged",type:String,value:"loading"},_coolingDown:{type:Boolean,value:!1},_spinnerContainerClassName:{type:String,computed:"_computeSpinnerContainerClassName(active, _coolingDown)"}},_computeSpinnerContainerClassName:function(e,i){return t({active:e||i,cooldown:i})},ready:function(){this.hasAttribute("aria-label")?this.alt=this.getAttribute("aria-label"):this.setAttribute("aria-label",this.alt),this.active||this.setAttribute("aria-hidden","true")},_activeChanged:function(){this.active?this.removeAttribute("aria-hidden"):(this._coolingDown=!0,this.setAttribute("aria-hidden","true"))},_altChanged:function(){""===this.alt?this.setAttribute("aria-hidden","true"):this.removeAttribute("aria-hidden"),this.setAttribute("aria-label",this.alt)},reset:function(){this.active=!1,this._coolingDown=!1}})}();</script></dom-module><dom-module id="login-form" assetpath="layouts/"><style>:host {
|
||
white-space: nowrap;
|
||
}
|
||
|
||
#passwordDecorator {
|
||
display: block;
|
||
height: 57px;
|
||
}
|
||
|
||
paper-checkbox {
|
||
margin-right: 8px;
|
||
}
|
||
|
||
paper-checkbox::shadow #checkbox.checked {
|
||
background-color: #03a9f4;
|
||
border-color: #03a9f4;
|
||
}
|
||
|
||
paper-checkbox::shadow #ink[checked] {
|
||
color: #03a9f4;
|
||
}
|
||
|
||
paper-button {
|
||
margin-left: 72px;
|
||
}
|
||
|
||
.interact {
|
||
height: 125px;
|
||
}
|
||
|
||
#validatebox {
|
||
text-align: center;
|
||
}
|
||
|
||
.validatemessage {
|
||
margin-top: 10px;
|
||
}</style><template><div class="layout horizontal center fit login" id="splash"><div class="layout vertical center flex"><img src="/static/favicon-192x192.png"><h1>Home Assistant</h1><a href="#" id="hideKeyboardOnFocus"></a><div class="interact"><div id="loginform" hidden$="[[isValidating]]"><paper-input-container id="passwordDecorator" invalid="[[isInvalid]]"><label>Password</label><input is="iron-input" type="password" id="passwordInput"><paper-input-error invalid="[[isInvalid]]">[[errorMessage]]</paper-input-error></paper-input-container><div class="layout horizontal center"><paper-checkbox for="" id="rememberLogin">Remember</paper-checkbox><paper-button id="loginButton">Log In</paper-button></div></div><div id="validatebox" hidden$="[[!isValidating]]"><paper-spinner active="true"></paper-spinner><br><div class="validatemessage">Loading data…</div></div></div></div></div></template></dom-module><dom-module id="paper-drawer-panel" assetpath="../bower_components/paper-drawer-panel/"><style>/**
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: block;
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
}
|
||
|
||
iron-selector > #drawer {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
height: 100%;
|
||
background-color: white;
|
||
|
||
-moz-box-sizing: border-box;
|
||
box-sizing: border-box;
|
||
|
||
@apply(--paper-drawer-panel-drawer-container);
|
||
}
|
||
|
||
.transition > #drawer {
|
||
transition: -webkit-transform ease-in-out 0.3s, width ease-in-out 0.3s, visibility 0.3s;
|
||
transition: transform ease-in-out 0.3s, width ease-in-out 0.3s, visibility 0.3s;
|
||
}
|
||
|
||
.left-drawer > #drawer {
|
||
@apply(--paper-drawer-panel-left-drawer-container);
|
||
}
|
||
|
||
.right-drawer > #drawer {
|
||
left: auto;
|
||
right: 0;
|
||
|
||
@apply(--paper-drawer-panel-right-drawer-container);
|
||
}
|
||
|
||
iron-selector > #main {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
|
||
@apply(--paper-drawer-panel-main-container);
|
||
}
|
||
|
||
.transition > #main {
|
||
transition: left ease-in-out 0.3s, padding ease-in-out 0.3s;
|
||
}
|
||
|
||
.right-drawer > #main {
|
||
left: 0;
|
||
}
|
||
|
||
.right-drawer.transition > #main {
|
||
transition: right ease-in-out 0.3s, padding ease-in-out 0.3s;
|
||
}
|
||
|
||
#main > ::content > [main] {
|
||
height: 100%;
|
||
}
|
||
|
||
#drawer > ::content > [drawer] {
|
||
height: 100%;
|
||
}
|
||
|
||
#scrim {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
visibility: hidden;
|
||
opacity: 0;
|
||
transition: opacity ease-in-out 0.38s, visibility ease-in-out 0.38s;
|
||
background-color: rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.narrow-layout > #drawer {
|
||
will-change: transform;
|
||
}
|
||
|
||
.narrow-layout > #drawer.iron-selected {
|
||
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
|
||
}
|
||
|
||
.right-drawer.narrow-layout > #drawer.iron-selected {
|
||
box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.15);
|
||
}
|
||
|
||
.narrow-layout > #drawer > ::content > [drawer] {
|
||
border: 0;
|
||
}
|
||
|
||
.left-drawer.narrow-layout > #drawer:not(.iron-selected) {
|
||
-webkit-transform: translateX(-100%);
|
||
transform: translateX(-100%);
|
||
}
|
||
|
||
.right-drawer.narrow-layout > #drawer:not(.iron-selected) {
|
||
left: auto;
|
||
visibility: hidden;
|
||
|
||
-webkit-transform: translateX(100%);
|
||
transform: translateX(100%);
|
||
}
|
||
|
||
.right-drawer.narrow-layout.dragging > #drawer:not(.iron-selected),
|
||
.right-drawer.narrow-layout.peeking > #drawer:not(.iron-selected) {
|
||
visibility: visible;
|
||
}
|
||
|
||
.narrow-layout > #main {
|
||
padding: 0;
|
||
}
|
||
|
||
.right-drawer.narrow-layout > #main {
|
||
left: 0;
|
||
right: 0;
|
||
}
|
||
|
||
.narrow-layout > #main:not(.iron-selected) > #scrim,
|
||
.dragging > #main > #scrim {
|
||
visibility: visible;
|
||
opacity: var(--paper-drawer-panel-scrim-opacity, 1);
|
||
}
|
||
|
||
.narrow-layout > #main > * {
|
||
margin: 0;
|
||
min-height: 100%;
|
||
left: 0;
|
||
right: 0;
|
||
|
||
-moz-box-sizing: border-box;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
iron-selector:not(.narrow-layout) #main ::content [paper-drawer-toggle] {
|
||
display: none;
|
||
}</style><template><iron-media-query id="mq" on-query-matches-changed="_onQueryMatchesChanged" query="[[_computeMediaQuery(forceNarrow, responsiveWidth)]]"></iron-media-query><iron-selector attr-for-selected="id" class$="[[_computeIronSelectorClass(narrow, transition, dragging, rightDrawer, peeking)]]" activate-event="" selected="[[selected]]"><div id="main" style$="[[_computeMainStyle(narrow, rightDrawer, drawerWidth)]]"><content select="[main]"></content><div id="scrim" on-tap="closeDrawer"></div></div><div id="drawer" style$="[[_computeDrawerStyle(drawerWidth)]]"><content select="[drawer]"></content></div></iron-selector></template></dom-module><script>!function(){"use strict";function e(e){var t=[];for(var i in e)e.hasOwnProperty(i)&&e[i]&&t.push(i);return t.join(" ")}var t=null;Polymer({is:"paper-drawer-panel",properties:{defaultSelected:{type:String,value:"main"},disableEdgeSwipe:{type:Boolean,value:!1},disableSwipe:{type:Boolean,value:!1},dragging:{type:Boolean,value:!1,readOnly:!0,notify:!0},drawerWidth:{type:String,value:"256px"},edgeSwipeSensitivity:{type:Number,value:30},forceNarrow:{type:Boolean,value:!1},hasTransform:{type:Boolean,value:function(){return"transform"in this.style}},hasWillChange:{type:Boolean,value:function(){return"willChange"in this.style}},narrow:{reflectToAttribute:!0,type:Boolean,value:!1,readOnly:!0,notify:!0},peeking:{type:Boolean,value:!1,readOnly:!0,notify:!0},responsiveWidth:{type:String,value:"640px"},rightDrawer:{type:Boolean,value:!1},selected:{reflectToAttribute:!0,notify:!0,type:String,value:null},drawerToggleAttribute:{type:String,value:"paper-drawer-toggle"},transition:{type:Boolean,value:!1}},listeners:{tap:"_onTap",track:"_onTrack",down:"_downHandler",up:"_upHandler"},observers:["_forceNarrowChanged(forceNarrow, defaultSelected)"],togglePanel:function(){this._isMainSelected()?this.openDrawer():this.closeDrawer()},openDrawer:function(){this.selected="drawer"},closeDrawer:function(){this.selected="main"},ready:function(){this.transition=!0},_computeIronSelectorClass:function(t,i,r,n,a){return e({dragging:r,"narrow-layout":t,"right-drawer":n,"left-drawer":!n,transition:i,peeking:a})},_computeDrawerStyle:function(e){return"width:"+e+";"},_computeMainStyle:function(e,t,i){var r="";return r+="left:"+(e||t?"0":i)+";",t&&(r+="right:"+(e?"":i)+";"),r},_computeMediaQuery:function(e,t){return e?"":"(max-width: "+t+")"},_computeSwipeOverlayHidden:function(e,t){return!e||t},_onTrack:function(e){if(!t||this===t)switch(e.detail.state){case"start":this._trackStart(e);break;case"track":this._trackX(e);break;case"end":this._trackEnd(e)}},_responsiveChange:function(e){this._setNarrow(e),this.narrow&&(this.selected=this.defaultSelected),this.setScrollDirection(this._swipeAllowed()?"y":"all"),this.fire("paper-responsive-change",{narrow:this.narrow})},_onQueryMatchesChanged:function(e){this._responsiveChange(e.detail.value)},_forceNarrowChanged:function(){this._responsiveChange(this.forceNarrow||this.$.mq.queryMatches)},_swipeAllowed:function(){return this.narrow&&!this.disableSwipe},_isMainSelected:function(){return"main"===this.selected},_startEdgePeek:function(){this.width=this.$.drawer.offsetWidth,this._moveDrawer(this._translateXForDeltaX(this.rightDrawer?-this.edgeSwipeSensitivity:this.edgeSwipeSensitivity)),this._setPeeking(!0)},_stopEdgePeek:function(){this.peeking&&(this._setPeeking(!1),this._moveDrawer(null))},_downHandler:function(e){!this.dragging&&this._isMainSelected()&&this._isEdgeTouch(e)&&!t&&(this._startEdgePeek(),e.preventDefault(),t=this)},_upHandler:function(){this._stopEdgePeek(),t=null},_onTap:function(e){var t=Polymer.dom(e).localTarget,i=t&&this.drawerToggleAttribute&&t.hasAttribute(this.drawerToggleAttribute);i&&this.togglePanel()},_isEdgeTouch:function(e){var t=e.detail.x;return!this.disableEdgeSwipe&&this._swipeAllowed()&&(this.rightDrawer?t>=this.offsetWidth-this.edgeSwipeSensitivity:t<=this.edgeSwipeSensitivity)},_trackStart:function(e){this._swipeAllowed()&&(t=this,this._setDragging(!0),this._isMainSelected()&&this._setDragging(this.peeking||this._isEdgeTouch(e)),this.dragging&&(this.width=this.$.drawer.offsetWidth,this.transition=!1))},_translateXForDeltaX:function(e){var t=this._isMainSelected();return this.rightDrawer?Math.max(0,t?this.width+e:e):Math.min(0,t?e-this.width:e)},_trackX:function(e){if(this.dragging){var t=e.detail.dx;if(this.peeking){if(Math.abs(t)<=this.edgeSwipeSensitivity)return;this._setPeeking(!1)}this._moveDrawer(this._translateXForDeltaX(t))}},_trackEnd:function(e){if(this.dragging){var i=e.detail.dx>0;this._setDragging(!1),this.transition=!0,t=null,this._moveDrawer(null),this.rightDrawer?this[i?"closeDrawer":"openDrawer"]():this[i?"openDrawer":"closeDrawer"]()}},_transformForTranslateX:function(e){return null===e?"":this.hasWillChange?"translateX("+e+"px)":"translate3d("+e+"px, 0, 0)"},_moveDrawer:function(e){this.transform(this._transformForTranslateX(e),this.$.drawer)}})}();</script><dom-module id="paper-icon-button" assetpath="../bower_components/paper-icon-button/"><style>:host {
|
||
display: inline-block;
|
||
position: relative;
|
||
padding: 8px;
|
||
outline: none;
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
-ms-user-select: none;
|
||
user-select: none;
|
||
cursor: pointer;
|
||
z-index: 0;
|
||
|
||
@apply(--paper-icon-button);
|
||
}
|
||
|
||
:host #ink {
|
||
color: var(--paper-icon-button-ink-color, --primary-text-color);
|
||
opacity: 0.6;
|
||
}
|
||
|
||
:host([disabled]) {
|
||
color: var(--paper-icon-button-disabled-text, --disabled-text-color);
|
||
pointer-events: none;
|
||
cursor: auto;
|
||
@apply(--paper-icon-button-disabled);
|
||
}</style><template><paper-ripple id="ink" class="circle" center=""></paper-ripple><iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-icon></template></dom-module><script>Polymer({is:"paper-icon-button",hostAttributes:{role:"button",tabindex:"0"},behaviors:[Polymer.PaperInkyFocusBehavior],properties:{src:{type:String},icon:{type:String},alt:{type:String,observer:"_altChanged"}},_altChanged:function(t,e){var r=this.getAttribute("aria-label");r&&e!=r||this.setAttribute("aria-label",t)}});</script><dom-module id="paper-scroll-header-panel" assetpath="../bower_components/paper-scroll-header-panel/"><style>:host {
|
||
display: block;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
#mainContainer {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
|
||
-moz-box-sizing: border-box;
|
||
box-sizing: border-box;
|
||
|
||
-webkit-overflow-scrolling: touch;
|
||
|
||
overflow-x: hidden;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
#headerContainer {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
left: 0;
|
||
}
|
||
|
||
.bg-container {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
}
|
||
|
||
#headerBg {
|
||
@apply(--paper-scroll-header-panel-full-header);
|
||
}
|
||
|
||
#condensedHeaderBg {
|
||
@apply(--paper-scroll-header-panel-condensed-header);
|
||
}
|
||
|
||
#headerBg, #condensedHeaderBg {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background-repeat: no-repeat;
|
||
background-size: cover;
|
||
background-position: center center;
|
||
}
|
||
|
||
#condensedHeaderBg {
|
||
opacity: 0;
|
||
}</style><template><div id="mainContainer"><content id="mainContent" select=":not(paper-toolbar):not(.paper-header)"></content></div><div id="headerContainer"><div class="bg-container"><div id="condensedHeaderBg"></div><div id="headerBg"></div></div><content id="headerContent" select="paper-toolbar, .paper-header"></content></div></template></dom-module><script>!function(){"use strict";Polymer({is:"paper-scroll-header-panel",behaviors:[Polymer.IronResizableBehavior],properties:{condenses:{type:Boolean,value:!1},noDissolve:{type:Boolean,value:!1},noReveal:{type:Boolean,value:!1},fixed:{type:Boolean,value:!1},keepCondensedHeader:{type:Boolean,value:!1},headerHeight:{type:Number,value:0},condensedHeaderHeight:{type:Number,value:0},scrollAwayTopbar:{type:Boolean,value:!1},headerState:{type:Number,readOnly:!0,value:0},_prevScrollTop:{type:Number,value:0},_y:{type:Number,value:0},_defaultCondsensedHeaderHeight:{type:Number,value:0}},observers:["_setup(headerHeight, condensedHeaderHeight, fixed)","_condensedHeaderHeightChanged(condensedHeaderHeight)","_headerHeightChanged(headerHeight, condensedHeaderHeight)","_condensesChanged(condenses)"],listeners:{"iron-resize":"measureHeaderHeight"},ready:function(){this.async(this.measureHeaderHeight,5),this._scrollHandler=this._scroll.bind(this),this.scroller.addEventListener("scroll",this._scrollHandler)},detached:function(){this.scroller.removeEventListener("scroll",this._scrollHandler)},HEADER_STATE_EXPANDED:0,HEADER_STATE_HIDDEN:1,HEADER_STATE_CONDESED:2,HEADER_STATE_INTERPOLATED:3,get header(){return Polymer.dom(this.$.headerContent).getDistributedNodes()[0]},get content(){return Polymer.dom(this.$.mainContent).getDistributedNodes()[0]},get scroller(){return this.$.mainContainer},get _headerMaxDelta(){return this.keepCondensedHeader?this._headerMargin:this.headerHeight},get _headerMargin(){return this.headerHeight-this.condensedHeaderHeight},measureHeaderHeight:function(){var e=this.header;e&&e.offsetHeight&&(this.headerHeight=e.offsetHeight)},_headerHeightChanged:function(e){null!==this._defaultCondsensedHeaderHeight&&(this._defaultCondsensedHeaderHeight=1*e/3,this.condensedHeaderHeight=this._defaultCondsensedHeaderHeight)},_condensedHeaderHeightChanged:function(e){e&&this._defaultCondsensedHeaderHeight!=e&&(this._defaultCondsensedHeaderHeight=null)},_condensesChanged:function(){this.condenses?this._scroll():this._condenseHeader(null)},_setup:function(){var e=this.scroller.style;if(e.paddingTop=this.fixed?"":this.headerHeight+"px",e.top=this.fixed?this.headerHeight+"px":"",this.fixed)this._setHeaderState(this.HEADER_STATE_EXPANDED),this._transformHeader(null);else switch(this.headerState){case this.HEADER_STATE_HIDDEN:this._transformHeader(this._headerMaxDelta);break;case this.HEADER_STATE_CONDESED:this._transformHeader(this._headerMargin)}},_transformHeader:function(e){this._translateY(this.$.headerContainer,-e),this.condenses&&this._condenseHeader(e),this.fire("paper-header-transform",{y:e,height:this.headerHeight,condensedHeight:this.condensedHeaderHeight})},_condenseHeader:function(e){var t=null===e;!this.scrollAwayTopbar&&this.header&&this.header.$&&this.header.$.topBar&&this._translateY(this.header.$.topBar,t?null:Math.min(e,this._headerMargin)),this.noDissolve||(this.$.headerBg.style.opacity=t?"":(this._headerMargin-e)/this._headerMargin),this._translateY(this.$.headerBg,t?null:e/2),this.noDissolve||(this.$.condensedHeaderBg.style.opacity=t?"":e/this._headerMargin,this._translateY(this.$.condensedHeaderBg,t?null:e/2))},_translateY:function(e,t){this.transform(null===t?"":"translate3d(0, "+t+"px, 0)",e)},_scroll:function(e){if(this.header){this._y=this._y||0,this._prevScrollTop=this._prevScrollTop||0;var t=this.scroller.scrollTop,s=t-this._prevScrollTop,i=Math.max(0,this.noReveal?t:this._y+s);i>this._headerMaxDelta?(i=this._headerMaxDelta,this._setHeaderState(this.HEADER_STATE_HIDDEN)):this.condenses&&this._prevScrollTop>=t&&t>this._headerMargin?(i=Math.max(i,this._headerMargin),this._setHeaderState(this.HEADER_STATE_CONDESED)):0===i?this._setHeaderState(this.HEADER_STATE_EXPANDED):this._setHeaderState(this.HEADER_STATE_INTERPOLATED),(!e||!this.fixed&&i!==this._y)&&this._transformHeader(i),this._prevScrollTop=Math.max(t,0),this._y=i,e&&this.fire("content-scroll",{target:this.scroller},{cancelable:!1})}}})}();</script><dom-module id="paper-toolbar" assetpath="../bower_components/paper-toolbar/"><style>:host {
|
||
/* technical */
|
||
display: block;
|
||
position: relative;
|
||
box-sizing: border-box;
|
||
-moz-box-sizing: border-box;
|
||
|
||
/* size */
|
||
height: 64px;
|
||
|
||
background: var(--paper-toolbar-background, --default-primary-color);
|
||
color: var(--paper-toolbar-color, --text-primary-color);
|
||
|
||
@apply(--paper-toolbar);
|
||
}
|
||
|
||
:host(.animate) {
|
||
/* transition */
|
||
transition: height 0.18s ease-in;
|
||
}
|
||
|
||
:host(.medium-tall) {
|
||
height: 128px;
|
||
}
|
||
|
||
:host(.tall) {
|
||
height: 192px;
|
||
}
|
||
|
||
.toolbar-tools {
|
||
position: relative;
|
||
height: 64px;
|
||
padding: 0 16px;
|
||
pointer-events: none;
|
||
}
|
||
|
||
/*
|
||
* TODO: Where should media query breakpoints live so they can be shared between elements?
|
||
*/
|
||
|
||
@media (max-width: 639px) {
|
||
:host {
|
||
height: 56px;
|
||
}
|
||
|
||
:host(.medium-tall) {
|
||
height: 112px;
|
||
}
|
||
|
||
:host(.tall) {
|
||
height: 168px;
|
||
}
|
||
|
||
.toolbar-tools {
|
||
height: 56px;
|
||
}
|
||
}
|
||
|
||
#topBar {
|
||
position: relative;
|
||
}
|
||
|
||
/* middle bar */
|
||
#middleBar {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
left: 0;
|
||
}
|
||
|
||
:host(.tall) #middleBar,
|
||
:host(.medium-tall) #middleBar {
|
||
-webkit-transform: translateY(100%);
|
||
transform: translateY(100%);
|
||
}
|
||
|
||
/* bottom bar */
|
||
#bottomBar {
|
||
position: absolute;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
/*
|
||
* make elements (e.g. buttons) respond to mouse/touch events
|
||
*
|
||
* `.toolbar-tools` disables touch events so multiple toolbars can stack and not
|
||
* absorb events. All children must have pointer events re-enabled to work as
|
||
* expected.
|
||
*/
|
||
.toolbar-tools > ::content > *:not([disabled]) {
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.toolbar-tools > ::content .title {
|
||
@apply(--paper-font-title);
|
||
@apply(--layout-flex);
|
||
|
||
pointer-events: none;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
|
||
/*
|
||
* Polymer/polymer/issues/1525
|
||
* --paper-font-title defines a `font-weight`
|
||
* let's override its value, but we need `important!`
|
||
* because all mixins are resolved in rule's selector that has higher precedence
|
||
* than the current selector.
|
||
*/
|
||
font-weight: 400 !important;
|
||
}
|
||
|
||
/**
|
||
* TODO: Refactor these selectors
|
||
* Work in progress.
|
||
*/
|
||
.toolbar-tools > ::content paper-icon-button[icon=menu] {
|
||
margin-right: 24px;
|
||
}
|
||
|
||
.toolbar-tools > ::content > .title,
|
||
.toolbar-tools > ::content[select=".middle"] > .title,
|
||
.toolbar-tools > ::content[select=".bottom"] > .title {
|
||
margin-left: 56px;
|
||
}
|
||
|
||
.toolbar-tools > ::content > paper-icon-button + .title,
|
||
.toolbar-tools > ::content[select=".middle"] paper-icon-button + .title,
|
||
.toolbar-tools > ::content[select=".bottom"] paper-icon-button + .title {
|
||
margin-left: 0;
|
||
}</style><template><div id="topBar" class$="[[_computeBarClassName(justify)]]"><content select=":not(.middle):not(.bottom)"></content></div><div id="middleBar" class$="[[_computeBarClassName(middleJustify)]]"><content select=".middle"></content></div><div id="bottomBar" class$="[[_computeBarClassName(bottomJustify)]]"><content select=".bottom"></content></div></template></dom-module><script>!function(){"use strict";function t(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&t[r]&&e.push(r);return e.join(" ")}Polymer({is:"paper-toolbar",hostAttributes:{role:"toolbar"},properties:{bottomJustify:{type:String,value:""},justify:{type:String,value:""},middleJustify:{type:String,value:""}},attached:function(){this._observer=this._observe(this),this._updateAriaLabelledBy()},detached:function(){this._observer&&this._observer.disconnect()},_observe:function(t){var e=new MutationObserver(function(){this._updateAriaLabelledBy()}.bind(this));return e.observe(t,{childList:!0,subtree:!0}),e},_updateAriaLabelledBy:function(){for(var t,e=[],r=Polymer.dom(this.root).querySelectorAll("content"),i=0;t=r[i];i++)for(var o,s=Polymer.dom(t).getDistributedNodes(),a=0;o=s[a];a++)if(o.classList&&o.classList.contains("title"))if(o.id)e.push(o.id);else{var n="paper-toolbar-label-"+Math.floor(1e4*Math.random());o.id=n,e.push(n)}e.length>0&&this.setAttribute("aria-labelledby",e.join(" "))},_computeBarClassName:function(e){var r={center:!0,horizontal:!0,layout:!0,"toolbar-tools":!0};if(e){var i="justified"===e?e:e+"-justified";r[i]=!0}return t(r)}})}();</script><dom-module id="partial-base" assetpath="layouts/"><style>:host {
|
||
-ms-user-select: none;
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
}</style><template><paper-scroll-header-panel class="fit"><paper-toolbar><paper-icon-button icon="menu" hidden$="[[!narrow]]" on-click="toggleMenu"></paper-icon-button><div class="title"><content select="[header-title]"></content></div><content select="[header-buttons]"></content></paper-toolbar><content></content></paper-scroll-header-panel></template></dom-module><dom-module id="iron-image" assetpath="../bower_components/iron-image/"><style>:host {
|
||
display: inline-block;
|
||
overflow: hidden;
|
||
position: relative;
|
||
}
|
||
|
||
:host([sizing]) #img {
|
||
display: none;
|
||
}
|
||
|
||
#placeholder {
|
||
background-color: inherit;
|
||
opacity: 1;
|
||
}
|
||
|
||
#placeholder.faded-out {
|
||
transition: opacity 0.5s linear;
|
||
opacity: 0;
|
||
}</style><template><img id="img" role="none" hidden$="[[_computeImageVisibility(sizing)]]"><div id="placeholder" hidden$="[[_computePlaceholderVisibility(fade,loaded,preload)]]" class$="[[_computePlaceholderClassName(fade,loaded,preload)]]"></div><content></content></template></dom-module><script>Polymer({is:"iron-image",properties:{src:{observer:"_srcChanged",type:String,value:""},preventLoad:{type:Boolean,value:!1},sizing:{type:String,value:null},position:{type:String,value:"center"},preload:{type:Boolean,value:!1},placeholder:{type:String,value:null},fade:{type:Boolean,value:!1},loaded:{notify:!0,type:Boolean,value:!1},loading:{notify:!0,type:Boolean,value:!1},width:{observer:"_widthChanged",type:Number,value:null},height:{observer:"_heightChanged",type:Number,value:null},_placeholderBackgroundUrl:{type:String,computed:"_computePlaceholderBackgroundUrl(preload,placeholder)",observer:"_placeholderBackgroundUrlChanged"},requiresPreload:{type:Boolean,computed:"_computeRequiresPreload(preload,loaded)"},canLoad:{type:Boolean,computed:"_computeCanLoad(preventLoad, src)"}},observers:["_transformChanged(sizing, position)","_loadBehaviorChanged(canLoad, preload, loaded)","_loadStateChanged(src, preload, loaded)"],ready:function(){this.hasAttribute("role")||this.setAttribute("role","img")},_computeImageVisibility:function(){return!!this.sizing},_computePlaceholderVisibility:function(){return!this.preload||this.loaded&&!this.fade},_computePlaceholderClassName:function(){if(!this.preload)return"";var e="fit";return this.loaded&&this.fade&&(e+=" faded-out"),e},_computePlaceholderBackgroundUrl:function(){return this.preload&&this.placeholder?"url("+this.placeholder+")":null},_computeRequiresPreload:function(){return this.preload&&!this.loaded},_computeCanLoad:function(){return Boolean(!this.preventLoad&&this.src)},_widthChanged:function(){this.style.width=isNaN(this.width)?this.width:this.width+"px"},_heightChanged:function(){this.style.height=isNaN(this.height)?this.height:this.height+"px"},_srcChanged:function(e,t){e!==t&&(this.loaded=!1)},_placeholderBackgroundUrlChanged:function(){this.$.placeholder.style.backgroundImage=this._placeholderBackgroundUrl},_transformChanged:function(){var e=this.$.placeholder.style;this.style.backgroundSize=e.backgroundSize=this.sizing,this.style.backgroundPosition=e.backgroundPosition=this.sizing?this.position:"",this.style.backgroundRepeat=e.backgroundRepeat=this.sizing?"no-repeat":""},_loadBehaviorChanged:function(){var e;this.canLoad&&(this.requiresPreload?(e=new Image,e.src=this.src,this.loading=!0,e.onload=function(){this.loading=!1,this.loaded=!0}.bind(this)):this.loaded=!0)},_loadStateChanged:function(){this.requiresPreload||(this.sizing?this.style.backgroundImage=this.src?"url("+this.src+")":"":this.$.img.src=this.src||"")}});</script><dom-module id="domain-icon" assetpath="components/"><template><iron-icon icon="[[computeIcon(domain, state)]]"></iron-icon></template></dom-module><dom-module id="state-badge" assetpath="components/"><style>:host {
|
||
position: relative;
|
||
display: inline-block;
|
||
width: 45px;
|
||
background-color: #4fc3f7;
|
||
color: white;
|
||
border-radius: 50%;
|
||
}
|
||
|
||
div {
|
||
height: 45px;
|
||
text-align: center;
|
||
}
|
||
|
||
iron-image {
|
||
border-radius: 50%;
|
||
}
|
||
|
||
domain-icon {
|
||
margin: 0 auto;
|
||
transition: color .3s ease-in-out;
|
||
}
|
||
|
||
/* Color the icon if light or sun is on */
|
||
domain-icon[data-domain=light][data-state=on],
|
||
domain-icon[data-domain=switch][data-state=on],
|
||
domain-icon[data-domain=sun][data-state=above_horizon] {
|
||
color: #fff176;
|
||
}</style><template><div class="layout horizontal center"><domain-icon id="icon" domain="[[stateObj.domain]]" data-domain$="[[stateObj.domain]]" state="[[stateObj.state]]" data-state$="[[stateObj.state]]"></domain-icon><template is="dom-if" if="[[stateObj.attributes.entity_picture]]"><iron-image sizing="cover" class="fit" src$="[[stateObj.attributes.entity_picture]]"></iron-image></template></div></template></dom-module><dom-module id="relative-ha-datetime" assetpath="components/"><template><span>[[relativeTime]]</span></template></dom-module><dom-module id="state-info" assetpath="components/"><style>:host {
|
||
line-height: normal;
|
||
min-width: 150px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
state-badge {
|
||
float: left;
|
||
}
|
||
|
||
.info {
|
||
margin-left: 60px;
|
||
}
|
||
|
||
.name {
|
||
text-transform: capitalize;
|
||
font-weight: 300;
|
||
font-size: 1.3rem;
|
||
text-overflow: ellipsis;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.time-ago {
|
||
color: darkgrey;
|
||
margin-top: -2px;
|
||
font-size: 1rem;
|
||
text-overflow: ellipsis;
|
||
overflow-x: hidden;
|
||
}</style><template><div><state-badge state-obj="[[stateObj]]"></state-badge><div class="info"><div class="name">[[stateObj.entityDisplay]]</div><div class="time-ago"><relative-ha-datetime datetime-obj="[[stateObj.lastChangedAsDate]]"></relative-ha-datetime></div></div></div></template></dom-module><dom-module id="state-card-display" assetpath="cards/"><style>.state {
|
||
margin-left: 16px;
|
||
text-transform: capitalize;
|
||
font-weight: 300;
|
||
font-size: 1.3rem;
|
||
text-align: right;
|
||
}</style><template><div class="horizontal justified layout"><state-info state-obj="[[stateObj]]"></state-info><div class="state">[[stateObj.stateDisplay]]</div></div></template></dom-module><dom-module id="paper-toggle-button" assetpath="../bower_components/paper-toggle-button/"><style>/*
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: inline-block;
|
||
}
|
||
|
||
:host([disabled]) {
|
||
pointer-events: none;
|
||
}
|
||
|
||
:host(:focus) {
|
||
outline:none;
|
||
}
|
||
|
||
:host .toggle-bar {
|
||
background-color: var(--paper-toggle-button-unchecked-bar-color, #000000);
|
||
}
|
||
|
||
:host .toggle-button {
|
||
background-color: var(--paper-toggle-button-unchecked-button-color, --paper-grey-50);
|
||
}
|
||
|
||
:host([checked]) .toggle-bar {
|
||
background-color: var(--paper-toggle-button-checked-bar-color, --google-green-500);
|
||
}
|
||
|
||
:host([checked]) .toggle-button {
|
||
background-color: var(--paper-toggle-button-checked-button-color, --google-green-500);
|
||
}
|
||
|
||
:host .toggle-ink {
|
||
color: var(--paper-toggle-button-unchecked-ink-color, --primary-text-color);
|
||
}
|
||
|
||
:host([checked]) .toggle-ink {
|
||
color: var(--paper-toggle-button-checked-ink-color, --google-green-500);
|
||
}
|
||
|
||
/* ID selectors should not be overriden by users. */
|
||
|
||
#toggleContainer {
|
||
position: relative;
|
||
width: 36px;
|
||
height: 14px;
|
||
}
|
||
|
||
#toggleBar {
|
||
position: absolute;
|
||
height: 100%;
|
||
width: 100%;
|
||
border-radius: 8px;
|
||
pointer-events: none;
|
||
opacity: 0.4;
|
||
transition: background-color linear .08s;
|
||
}
|
||
|
||
:host([checked]) #toggleBar {
|
||
opacity: 0.5;
|
||
}
|
||
|
||
:host([disabled]) #toggleBar {
|
||
background-color: #000;
|
||
opacity: 0.12;
|
||
}
|
||
|
||
#toggleButton {
|
||
position: absolute;
|
||
top: -3px;
|
||
height: 20px;
|
||
width: 20px;
|
||
border-radius: 50%;
|
||
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);
|
||
transition: -webkit-transform linear .08s, background-color linear .08s;
|
||
transition: transform linear .08s, background-color linear .08s;
|
||
will-change: transform;
|
||
}
|
||
|
||
#toggleButton.dragging {
|
||
-webkit-transition: none;
|
||
transition: none;
|
||
}
|
||
|
||
:host([checked]) #toggleButton {
|
||
-webkit-transform: translate(16px, 0);
|
||
transform: translate(16px, 0);
|
||
}
|
||
|
||
:host([disabled]) #toggleButton {
|
||
background-color: #bdbdbd;
|
||
opacity: 1;
|
||
}
|
||
|
||
#ink {
|
||
position: absolute;
|
||
top: -14px;
|
||
left: -14px;
|
||
width: 48px;
|
||
height: 48px;
|
||
opacity: 0.5;
|
||
}</style><template><div id="toggleContainer"><div id="toggleBar" class="toggle-bar"></div><div id="toggleButton" class="toggle-button"><paper-ripple id="ink" class="toggle-ink circle" recenters=""></paper-ripple></div></div></template><script>Polymer({is:"paper-toggle-button",behaviors:[Polymer.PaperInkyFocusBehavior],hostAttributes:{role:"button","aria-pressed":"false",tabindex:0},properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0}},listeners:{track:"_ontrack"},ready:function(){this._isReady=!0},_buttonStateChanged:function(){this.disabled||this._isReady&&(this.checked=this.active)},_checkedChanged:function(t){this.active=this.checked,this.fire("iron-change")},_ontrack:function(t){var e=t.detail;"start"===e.state?this._trackStart(e):"track"===e.state?this._trackMove(e):"end"===e.state&&this._trackEnd(e)},_trackStart:function(t){this._width=this.$.toggleBar.offsetWidth/2,this._trackChecked=this.checked,this.$.toggleButton.classList.add("dragging")},_trackMove:function(t){var e=t.dx;this._x=Math.min(this._width,Math.max(0,this._trackChecked?this._width+e:e)),this.translate3d(this._x+"px",0,0,this.$.toggleButton),this._userActivate(this._x>this._width/2)},_trackEnd:function(t){this.$.toggleButton.classList.remove("dragging"),this.transform("",this.$.toggleButton)}});</script></dom-module><dom-module id="state-card-toggle" assetpath="cards/"><style>paper-toggle-button {
|
||
margin-left: 16px;
|
||
}</style><template><div class="horizontal justified layout"><state-info state-obj="[[stateObj]]"></state-info><paper-toggle-button class="self-center" checked="[[toggleChecked]]" on-change="toggleChanged" on-tap="toggleTapped"></paper-toggle-button></div></template></dom-module><dom-module id="state-card-thermostat" assetpath="cards/"><style>:host {
|
||
line-height: normal;
|
||
}
|
||
|
||
.state {
|
||
margin-left: 16px;
|
||
text-align: right;
|
||
}
|
||
|
||
.target {
|
||
text-transform: capitalize;
|
||
font-weight: 300;
|
||
font-size: 1.3rem;
|
||
}
|
||
|
||
.current {
|
||
color: darkgrey;
|
||
margin-top: -2px;
|
||
font-size: 1rem;
|
||
}</style><template><div class="horizontal justified layout"><state-info state-obj="[[stateObj]]"></state-info><div class="state"><div class="target">[[stateObj.stateDisplay]]</div><div class="current"><span>Currently:</span> <span>[[stateObj.attributes.current_temperature]]</span> <span></span> <span>[[stateObj.attributes.unit_of_measurement]]</span></div></div></div></template></dom-module><dom-module id="state-card-configurator" assetpath="cards/"><template><state-card-display state-obj="[[stateObj]]"></state-card-display><template is="dom-if" if="[[stateObj.attributes.description_image]]"><img hidden="" src="[[stateObj.attributes.description_image]]"></template></template></dom-module><dom-module id="state-card-scene" assetpath="cards/"><template><template is="dom-if" if="[[allowToggle]]"><state-card-toggle state-obj="[[stateObj]]"></state-card-toggle></template><template is="dom-if" if="[[!allowToggle]]"><state-card-display state-obj="[[stateObj]]"></state-card-display></template></template></dom-module><dom-module id="state-card-media_player" assetpath="cards/"><style>:host {
|
||
line-height: normal;
|
||
}
|
||
|
||
.state {
|
||
margin-left: 16px;
|
||
text-align: right;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.main-text {
|
||
white-space: nowrap;
|
||
overflow-x: hidden;
|
||
text-overflow: ellipsis;
|
||
text-transform: capitalize;
|
||
font-weight: 300;
|
||
font-size: 1.3rem;
|
||
}
|
||
|
||
.secondary-text {
|
||
color: darkgrey;
|
||
margin-top: -2px;
|
||
font-size: 1rem;
|
||
}</style><template><div class="horizontal justified layout"><state-info state-obj="[[stateObj]]"></state-info><div class="state"><div class="main-text">[[computePrimaryText(stateObj, isPlaying)]]</div><div class="secondary-text">[[computeSecondaryText(stateObj, isPlaying)]]</div></div></div></template></dom-module><dom-module id="state-card" assetpath="cards/"><style>:host {
|
||
border-radius: 2px;
|
||
box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
|
||
transition: all 0.30s ease-out;
|
||
|
||
position: relative;
|
||
background-color: white;
|
||
padding: 16px;
|
||
width: 100%;
|
||
|
||
cursor: pointer;
|
||
overflow: hidden;
|
||
|
||
-ms-user-select: none;
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
}</style><template><state-card-content state-obj="[[stateObj]]"></state-card-content></template></dom-module><dom-module id="state-cards" assetpath="components/"><style>:host {
|
||
display: block;
|
||
}
|
||
|
||
@media all and (min-width: 1020px) {
|
||
.state-card {
|
||
width: calc(50% - 44px);
|
||
margin: 8px 0 0 8px;
|
||
}
|
||
}
|
||
|
||
@media all and (min-width: 1356px) {
|
||
.state-card {
|
||
width: calc(33% - 38px);
|
||
}
|
||
}
|
||
|
||
@media all and (min-width: 1706px) {
|
||
.state-card {
|
||
width: calc(25% - 42px);
|
||
}
|
||
}
|
||
|
||
.no-states-content {
|
||
max-width: 500px;
|
||
background-color: #fff;
|
||
border-radius: 2px;
|
||
box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
|
||
padding: 0 16px 8px;
|
||
margin: 16px;
|
||
}</style><template><div class="horizontal layout wrap"><template is="dom-repeat" items="{{states}}"><state-card class="state-card" state-obj="[[item]]"></state-card></template><template is="dom-if" if="[[computeEmptyStates(states)]]"><div class="no-states-content"><h3>Hi there!</h3><p>It looks like we have nothing to show you right now. It could be that we have not yet discovered all your devices but it is more likely that you have not configured Home Assistant yet.</p><p>Please see the <a href="https://home-assistant.io/getting-started/" target="_blank">Getting Started</a> section on how to setup your devices.</p></div></template></div></template></dom-module><dom-module id="ha-voice-command-progress" assetpath="components/"><style>:host {
|
||
display: block;
|
||
}
|
||
|
||
iron-icon {
|
||
margin-right: 8px;
|
||
}
|
||
|
||
.interimTranscript {
|
||
color: darkgrey;
|
||
}
|
||
|
||
.listening paper-spinner {
|
||
float: right;
|
||
}</style><template><iron-icon icon="av:hearing"></iron-icon><span>{{finalTranscript}}</span> <span class="interimTranscript">[[interimTranscript]]</span><paper-spinner active$="[[isTransmitting]]" alt="Sending voice command to Home Assistant"></paper-spinner></template></dom-module><dom-module id="partial-states" assetpath="layouts/"><style>.content-wrapper {
|
||
position: relative;
|
||
height: 100%;
|
||
background-color: #E5E5E5;
|
||
}
|
||
|
||
.content-wrapper ::content .listening {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 1;
|
||
|
||
border-radius: 2px;
|
||
box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
|
||
padding: 16px;
|
||
background-color: rgba(255, 255, 255, 0.95);
|
||
line-height: 2em;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.interimTranscript {
|
||
color: darkgrey;
|
||
}
|
||
|
||
.listening paper-spinner {
|
||
float: right;
|
||
}</style><template><partial-base narrow="[[narrow]]"><span header-title="">[[computeHeaderTitle(filter)]]</span> <span header-buttons=""><paper-icon-button icon="refresh" class$="[[computeRefreshButtonClass(isFetching)]]" on-click="handleRefresh" hidden$="[[isStreaming]]"></paper-icon-button><paper-icon-button icon="[[computeListenButtonIcon(isListening)]]" hidden$="[[!canListen]]" on-click="handleListenClick"></paper-icon-button></span><div class="content-wrapper"><div class="listening" hidden$="[[!showListenInterface]]" on-click="handleListenClick"><ha-voice-command-progress></ha-voice-command-progress></div><state-cards states="[[states]]"><h3>Hi there!</h3><p>It looks like we have nothing to show you right now. It could be that we have not yet discovered all your devices but it is more likely that you have not configured Home Assistant yet.</p><p>Please see the <a href="https://home-assistant.io/getting-started/" target="_blank">Getting Started</a> section on how to setup your devices.</p></state-cards></div></partial-base></template></dom-module><dom-module id="paper-input-char-counter" assetpath="../bower_components/paper-input/"><style>:host {
|
||
display: inline-block;
|
||
float: right;
|
||
|
||
@apply(--paper-font-caption);
|
||
@apply(--paper-input-char-counter);
|
||
}</style><template><span>[[_charCounterStr]]</span></template></dom-module><script>!function(){Polymer({is:"paper-input-char-counter",behaviors:[Polymer.PaperInputAddonBehavior],properties:{_charCounterStr:{type:String,value:"0"}},update:function(e){if(e.inputElement){e.value=e.value||"";var t=e.value.replace(/(\r\n|\n|\r)/g,"--").length;e.inputElement.hasAttribute("maxlength")&&(t+="/"+e.inputElement.getAttribute("maxlength")),this._charCounterStr=t}}})}();</script><dom-module id="paper-input" assetpath="../bower_components/paper-input/"><style>:host {
|
||
display: block;
|
||
}
|
||
|
||
input::-webkit-input-placeholder {
|
||
color: var(--paper-input-container-color, --secondary-text-color);
|
||
}
|
||
|
||
input:-moz-placeholder {
|
||
color: var(--paper-input-container-color, --secondary-text-color);
|
||
}
|
||
|
||
input::-moz-placeholder {
|
||
color: var(--paper-input-container-color, --secondary-text-color);
|
||
}
|
||
|
||
input:-ms-input-placeholder {
|
||
color: var(--paper-input-container-color, --secondary-text-color);
|
||
}</style><template><paper-input-container no-label-float="[[noLabelFloat]]" always-float-label="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"><label hidden$="[[!label]]">[[label]]</label><input is="iron-input" id="input" aria-labelledby$="[[_ariaLabelledBy]]" aria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" bind-value="{{value}}" invalid="{{invalid}}" prevent-invalid-input="[[preventInvalidInput]]" allowed-pattern="[[allowedPattern]]" validator="[[validator]]" type$="[[type]]" pattern$="[[pattern]]" maxlength$="[[maxlength]]" required$="[[required]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlength$="[[minlength]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" size$="[[size]]"><template is="dom-if" if="[[errorMessage]]"><paper-input-error>[[errorMessage]]</paper-input-error></template><template is="dom-if" if="[[charCounter]]"><paper-input-char-counter></paper-input-char-counter></template></paper-input-container></template></dom-module><script>!function(){Polymer({is:"paper-input",behaviors:[Polymer.PaperInputBehavior,Polymer.IronControlState]})}();</script><dom-module id="display-time" assetpath="components/"><template>[[computeTime(dateObj)]]</template></dom-module><dom-module id="logbook-entry" assetpath="components/"><style>:host {
|
||
display: block;
|
||
line-height: 2em;
|
||
}
|
||
|
||
display-time {
|
||
width: 55px;
|
||
font-size: .8em;
|
||
color: var(--secondary-text-color);
|
||
}
|
||
|
||
domain-icon {
|
||
margin: 0 8px 0 16px;
|
||
color: var(--primary-text-color);
|
||
}
|
||
|
||
.name {
|
||
text-transform: capitalize;
|
||
}
|
||
|
||
.message {
|
||
color: var(--primary-text-color);
|
||
}
|
||
|
||
a {
|
||
color: var(--accent-color);
|
||
}</style><template><div class="horizontal layout"><display-time date-obj="[[entryObj.when]]"></display-time><domain-icon domain="[[entryObj.domain]]" class="icon"></domain-icon><div class="message" flex=""><template is="dom-if" if="[[!entryObj.entityId]]"><span class="name">[[entryObj.name]]</span></template><template is="dom-if" if="[[entryObj.entityId]]"><a href="#" on-click="entityClicked" class="name">[[entryObj.name]]</a> <span></span></template><span>[[entryObj.message]]</span></div></div></template></dom-module><dom-module id="ha-logbook" assetpath="components/"><style>:host {
|
||
display: block;
|
||
padding: 16px;
|
||
}</style><template><template is="dom-if" if="[[noEntries(entries)]]">No logbook entries found.</template><template is="dom-repeat" items="[[entries]]"><logbook-entry entry-obj="[[item]]"></logbook-entry></template></template></dom-module><dom-module id="loading-box" assetpath="components/"><style>.text {
|
||
display: inline-block;
|
||
line-height: 28px;
|
||
vertical-align: top;
|
||
margin-left: 8px;
|
||
}</style><template><div layout="horizontal"><paper-spinner active="true"></paper-spinner><div class="text"><content></content>…</div></div></template></dom-module><dom-module id="partial-logbook" assetpath="layouts/"><style>.selected-date-container {
|
||
padding: 0 16px;
|
||
}
|
||
|
||
paper-input {
|
||
max-width: 200px;
|
||
}</style><template><partial-base narrow="[[narrow]]"><span header-title="">Logbook</span><paper-icon-button icon="refresh" header-buttons="" on-click="handleRefresh"></paper-icon-button><div><div class="selected-date-container"><paper-input label="Showing entries for" id="datePicker" value="[[selectedDate]]" on-focus="datepickerFocus"></paper-input><loading-box hidden$="[[!isLoading]]">Loading logbook entries</loading-box></div><ha-logbook entries="[[entries]]" hidden$="[[isLoading]]"></ha-logbook></div></partial-base></template></dom-module><dom-module is="state-history-chart-timeline"><style>:host {
|
||
display: block;
|
||
}</style><template></template></dom-module><dom-module id="state-history-charts" assetpath="components/"><style>:host {
|
||
display: block;
|
||
}
|
||
|
||
.loading-container {
|
||
text-align: center;
|
||
padding: 8px;
|
||
}
|
||
|
||
.loading {
|
||
height: 0px;
|
||
overflow: hidden;
|
||
}</style><template><google-legacy-loader on-api-load="googleApiLoaded"></google-legacy-loader><div hidden$="{{!isLoading}}" class="loading-container"><loading-box>Updating history data</loading-box></div><div class$="[[computeContentClasses(isLoading)]]"><template is="dom-if" if="[[computeIsEmpty(stateHistory)]]">No state history found.</template><state-history-chart-timeline data="[[groupedStateHistory.timeline]]" is-single-device="[[isSingleDevice]]"></state-history-chart-timeline><template is="dom-repeat" items="[[groupedStateHistory.line]]"><state-history-chart-line unit="[[extractUnit(item)]]" data="[[extractData(item)]]" is-single-device="[[isSingleDevice]]"></state-history-chart-line></template></div></template></dom-module><dom-module id="partial-history" assetpath="layouts/"><style>.content {
|
||
background-color: white;
|
||
}
|
||
|
||
.content.wide {
|
||
padding: 8px;
|
||
}
|
||
|
||
paper-input {
|
||
max-width: 200px;
|
||
}
|
||
|
||
.narrow paper-input {
|
||
margin-left: 8px;
|
||
}</style><template><partial-base narrow="[[narrow]]"><span header-title="">History</span><paper-icon-button icon="refresh" header-buttons="" on-click="handleRefreshClick"></paper-icon-button><div class$="[[computeContentClasses(narrow)]]"><paper-input label="Showing entries for" id="datePicker" value="[[selectedDate]]"></paper-input><state-history-charts state-history="[[stateHistory]]" is-loading-data="[[isLoadingData]]"></state-history-charts></div></partial-base></template></dom-module><dom-module id="iron-autogrow-textarea" assetpath="../bower_components/iron-autogrow-textarea/"><style>:host {
|
||
display: inline-block;
|
||
position: relative;
|
||
width: 400px;
|
||
border: 1px solid;
|
||
padding: 2px;
|
||
-moz-appearance: textarea;
|
||
-webkit-appearance: textarea;
|
||
}
|
||
|
||
.mirror-text {
|
||
visibility: hidden;
|
||
word-wrap: break-word;
|
||
}
|
||
|
||
textarea {
|
||
position: relative;
|
||
outline: none;
|
||
border: none;
|
||
resize: none;
|
||
background: inherit;
|
||
/* see comments in template */
|
||
width: 100%;
|
||
height: 100%;
|
||
font-size: inherit;
|
||
font-family: inherit;
|
||
}
|
||
|
||
::content textarea:invalid {
|
||
box-shadow: none;
|
||
}</style><template><div id="mirror" class="mirror-text" aria-hidden="true"> </div><div class="textarea-container fit"><textarea id="textarea" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" required$="[[required]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea></div></template></dom-module><script>Polymer({is:"iron-autogrow-textarea",behaviors:[Polymer.IronValidatableBehavior,Polymer.IronControlState],properties:{bindValue:{observer:"_bindValueChanged",type:String},rows:{type:Number,value:1,observer:"_updateCached"},maxRows:{type:Number,value:0,observer:"_updateCached"},autocomplete:{type:String,value:"off"},autofocus:{type:String,value:"off"},inputmode:{type:String},name:{type:String},placeholder:{type:String},readonly:{type:String},required:{type:Boolean},maxlength:{type:Number}},listeners:{input:"_onInput"},get textarea(){return this.$.textarea},_update:function(){this.$.mirror.innerHTML=this._valueForMirror();var e=this.textarea;e&&this.bindValue!=e.value&&(this.bindValue=e.value)},_bindValueChanged:function(){var e=this.textarea;e&&(e.value=this.bindValue,this._update(),this.fire("bind-value-changed",{value:this.bindValue}))},_onInput:function(e){this.bindValue=e.path?e.path[0].value:e.target.value,this._update()},_constrain:function(e){var t;for(e=e||[""],t=this.maxRows>0&&e.length>this.maxRows?e.slice(0,this.maxRows):e.slice(0);this.rows>0&&t.length<this.rows;)t.push("");return t.join("<br>")+" "},_valueForMirror:function(){var e=this.textarea;if(e)return this.tokens=e&&e.value?e.value.replace(/&/gm,"&").replace(/"/gm,""").replace(/'/gm,"'").replace(/</gm,"<").replace(/>/gm,">").split("\n"):[""],this._constrain(this.tokens)},_updateCached:function(){this.$.mirror.innerHTML=this._constrain(this.tokens)}});</script><dom-module id="paper-textarea" assetpath="../bower_components/paper-input/"><template><paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"><label hidden$="[[!label]]">[[label]]</label><iron-autogrow-textarea id="input" class="paper-input-input" bind-value="{{value}}" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" required$="[[required]]" maxlength$="[[maxlength]]"></iron-autogrow-textarea><template is="dom-if" if="[[errorMessage]]"><paper-input-error>[[errorMessage]]</paper-input-error></template><template is="dom-if" if="[[charCounter]]"><paper-input-char-counter></paper-input-char-counter></template></paper-input-container></template></dom-module><script>!function(){Polymer({is:"paper-textarea",behaviors:[Polymer.PaperInputBehavior,Polymer.IronFormElementBehavior],properties:{_ariaLabelledBy:{observer:"_ariaLabelledByChanged",type:String},_ariaDescribedBy:{observer:"_ariaDescribedByChanged",type:String}},_ariaLabelledByChanged:function(e){this.$.input.textarea.setAttribute("aria-labelledby",e)},_ariaDescribedByChanged:function(e){this.$.input.textarea.setAttribute("aria-describedby",e)}})}();</script><dom-module id="paper-menu" assetpath="../bower_components/paper-menu/"><style>:host {
|
||
display: block;
|
||
padding: 8px 0;
|
||
|
||
background: var(--paper-menu-background-color, --primary-background-color);
|
||
color: var(--paper-menu-color, --primary-text-color);
|
||
|
||
@apply(--paper-menu);
|
||
}
|
||
|
||
/* need a wrapper element to make this higher specificity than the :host rule in paper-item */
|
||
.content > ::content > .iron-selected {
|
||
font-weight: bold;
|
||
|
||
@apply(--paper-menu-selected-item);
|
||
}
|
||
|
||
.content > ::content > [disabled] {
|
||
color: var(--paper-menu-disabled-color, --disabled-text-color);
|
||
}
|
||
|
||
.content > ::content > *:focus {
|
||
position: relative;
|
||
outline: 0;
|
||
|
||
@apply(--paper-menu-colored-focused-item);
|
||
}
|
||
|
||
.content > ::content > *:focus:after {
|
||
@apply(--layout-fit);
|
||
background: currentColor;
|
||
/* FIXME move to paper-styles for next widget */
|
||
opacity: 0.12;
|
||
content: '';
|
||
|
||
@apply(--paper-menu-colored-focused-item-after);
|
||
}
|
||
|
||
.content > ::content > *[colored]:focus:after {
|
||
opacity: 0.26;
|
||
}</style><template><div class="content"><content></content></div></template></dom-module><script>!function(){Polymer({is:"paper-menu",behaviors:[Polymer.IronMenuBehavior]})}();</script><dom-module id="services-list" assetpath="components/"><style>ul {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
li {
|
||
list-style: none;
|
||
line-height: 2em;
|
||
}
|
||
|
||
a {
|
||
color: var(--accent-color);
|
||
}</style><template><ul><template is="dom-repeat" items="[[serviceDomains]]" as="domain"><template is="dom-repeat" items="[[domain.services]]" as="service"><li><a href="#" on-click="serviceClicked"><span>[[domain.domain]]</span>/<span>[[service]]</span></a></li></template></template></ul></template></dom-module><dom-module id="partial-dev-call-service" assetpath="layouts/"><style>.form {
|
||
padding: 24px;
|
||
background-color: white;
|
||
}
|
||
|
||
.ha-form {
|
||
margin-right: 16px;
|
||
}</style><template><partial-base narrow="[[narrow]]"><span header-title="">Call Service</span><div class="form fit"><p>Call a service from a component.</p><div class$="[[computeFormClasses(narrow)]]"><div class="ha-form flex"><paper-input label="Domain" autofocus="" value="{{domain}}"></paper-input><paper-input label="Service" value="{{service}}"></paper-input><paper-textarea label="Service Data (JSON, optional)" value="{{serviceData}}"></paper-textarea><paper-button on-click="callService" raised="">Call Service</paper-button></div><div><h4>Available services:</h4><services-list on-service-selected="serviceSelected"></services-list></div></div></div></partial-base></template></dom-module><dom-module id="events-list" assetpath="components/"><style>ul {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
li {
|
||
list-style: none;
|
||
line-height: 2em;
|
||
}
|
||
|
||
a {
|
||
color: var(--accent-color);
|
||
}</style><template><ul><template is="dom-repeat" items="[[events]]" as="event"><li><a href="#" on-click="eventSelected">{{event.event}}</a> <span>(</span><span>{{event.listener_count}}</span><span>listeners)</span></li></template></ul></template></dom-module><dom-module id="partial-dev-fire-event" assetpath="layouts/"><style>.form {
|
||
padding: 24px;
|
||
background-color: white;
|
||
}
|
||
|
||
.ha-form {
|
||
margin-right: 16px;
|
||
}</style><template><partial-base narrow="{{narrow}}"><span header-title="">Fire Event</span><div class="form fit"><p>Fire an event on the event bus.</p><div class$="[[computeFormClasses(narrow)]]"><div class="ha-form flex"><paper-input label="Event Type" autofocus="" required="" value="{{eventType}}"></paper-input><paper-textarea label="Event Data (JSON, optional)" value="{{eventData}}"></paper-textarea><paper-button on-click="fireEvent" raised="">Fire Event</paper-button></div><div><h4>Available events:</h4><events-list on-event-selected="eventSelected"></events-list></div></div></div></partial-base></template></dom-module><dom-module id="entity-list" assetpath="components/"><style>ul {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
li {
|
||
list-style: none;
|
||
line-height: 2em;
|
||
}
|
||
|
||
a {
|
||
color: var(--accent-color);
|
||
}</style><template><ul><template is="dom-repeat" items="[[entities]]" as="entity"><li><a href="#" on-click="entitySelected">[[entity.entityId]]</a></li></template></ul></template></dom-module><dom-module id="partial-dev-set-state" assetpath="layouts/"><style>.form {
|
||
padding: 24px;
|
||
background-color: white;
|
||
}
|
||
|
||
.ha-form {
|
||
margin-right: 16px;
|
||
}</style><template><partial-base narrow="[[narrow]]"><span header-title="">Set State</span><div class="form fit"><div>Set the representation of a device within Home Assistant.<br>This will not communicate with the actual device.</div><div class$="[[computeFormClasses(narrow)]]"><div class="ha-form flex"><paper-input label="Entity ID" autofocus="" required="" value="{{entityId}}"></paper-input><paper-input label="State" required="" value="{{state}}"></paper-input><paper-textarea label="State attributes (JSON, optional)" value="{{stateAttributes}}"></paper-textarea><paper-button on-click="handleSetState" raised="">Set State</paper-button></div><div class="sidebar"><h4>Current entities:</h4><entity-list on-entity-selected="entitySelected"></entity-list></div></div></div></partial-base></template></dom-module><dom-module id="iron-a11y-announcer" assetpath="../bower_components/iron-a11y-announcer/"><style>:host {
|
||
display: inline-block;
|
||
position: fixed;
|
||
clip: rect(0px,0px,0px,0px);
|
||
}</style><template><span aria-live$="[[mode]]">[[_text]]</span></template><script>!function(){"use strict";Polymer.IronA11yAnnouncer=Polymer({is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},_text:{type:String,value:""}},created:function(){Polymer.IronA11yAnnouncer.instance||(Polymer.IronA11yAnnouncer.instance=this),document.body.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(n){this._text="",this.async(function(){this._text=n},100)},_onIronAnnounce:function(n){n.detail&&n.detail.text&&this.announce(n.detail.text)}}),Polymer.IronA11yAnnouncer.instance=null,Polymer.IronA11yAnnouncer.requestAvailability=function(){Polymer.IronA11yAnnouncer.instance||(Polymer.IronA11yAnnouncer.instance=document.createElement("iron-a11y-announcer")),document.body.appendChild(Polymer.IronA11yAnnouncer.instance)}}();</script></dom-module><dom-module id="paper-toast" assetpath="../bower_components/paper-toast/"><style>:host {
|
||
display: inline-block;
|
||
position: fixed;
|
||
|
||
background: #323232;
|
||
color: #f1f1f1;
|
||
min-height: 48px;
|
||
min-width: 288px;
|
||
padding: 16px 24px 12px;
|
||
box-sizing: border-box;
|
||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
|
||
border-radius: 2px;
|
||
bottom: 12px;
|
||
left: 12px;
|
||
font-size: 14px;
|
||
cursor: default;
|
||
|
||
-webkit-transition: visibility 0.3s, -webkit-transform 0.3s;
|
||
transition: visibility 0.3s, transform 0.3s;
|
||
|
||
-webkit-transform: translateY(100px);
|
||
transform: translateY(100px);
|
||
|
||
visibility: hidden;
|
||
}
|
||
|
||
:host(.capsule) {
|
||
border-radius: 24px;
|
||
}
|
||
|
||
:host(.fit-bottom) {
|
||
bottom: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
min-width: 0;
|
||
border-radius: 0;
|
||
}
|
||
|
||
:host(.paper-toast-open){
|
||
visibility: visible;
|
||
|
||
-webkit-transform: translateY(0px);
|
||
transform: translateY(0px);
|
||
}</style><template><span id="label">{{text}}</span><content></content></template></dom-module><script>!function(){var t=Polymer({is:"paper-toast",properties:{duration:{type:Number,value:3e3},text:{type:String,value:""},visible:{type:Boolean,readOnly:!0,value:!1,observer:"_visibleChanged"}},created:function(){Polymer.IronA11yAnnouncer.requestAvailability()},ready:function(){this.async(function(){this.hide()})},show:function(){t.currentToast&&t.currentToast.hide(),t.currentToast=this,this.removeAttribute("aria-hidden"),this._setVisible(!0),this.fire("iron-announce",{text:this.text}),this.debounce("hide",this.hide,this.duration)},hide:function(){this.setAttribute("aria-hidden","true"),this._setVisible(!1)},toggle:function(){this.visible?this.hide():this.show()},_visibleChanged:function(t){this.toggleClass("paper-toast-open",t)}});t.currentToast=null}();</script><dom-module id="notification-manager" assetpath="managers/"><style>paper-toast {
|
||
z-index: 1;
|
||
}</style><template><paper-toast id="toast" text="{{text}}"></paper-toast></template></dom-module><dom-module id="iron-overlay-backdrop" assetpath="../bower_components/iron-overlay-behavior/"><style>:host {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100vw;
|
||
height: 100vh;
|
||
background-color: var(--iron-overlay-backdrop-background-color, #000);
|
||
opacity: 0;
|
||
transition: opacity 0.2s;
|
||
|
||
@apply(--iron-overlay-backdrop);
|
||
}
|
||
|
||
:host([opened]) {
|
||
opacity: var(--iron-overlay-backdrop-opacity, 0.6);
|
||
|
||
@apply(--iron-overlay-backdrop-opened);
|
||
}</style><template><content></content></template></dom-module><script>!function(){Polymer({is:"iron-overlay-backdrop",properties:{opened:{readOnly:!0,reflectToAttribute:!0,type:Boolean,value:!1},_manager:{type:Object,value:Polymer.IronOverlayManager}},prepare:function(){this.parentNode||(Polymer.dom(document.body).appendChild(this),this.style.zIndex=this._manager.currentOverlayZ()-1)},open:function(){this._manager.getBackdrops().length<2&&this._setOpened(!0)},close:function(){this._manager.getBackdrops().length<2&&this._setOpened(!1)},complete:function(){0===this._manager.getBackdrops().length&&this.parentNode&&Polymer.dom(this.parentNode).removeChild(this)}})}();</script><dom-module id="paper-dialog" assetpath="../bower_components/paper-dialog/"><style>/*
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: block;
|
||
margin: 24px 40px;
|
||
|
||
background: var(--paper-dialog-background-color, --primary-background-color);
|
||
color: var(--paper-dialog-color, --primary-text-color);
|
||
|
||
@apply(--layout-scroll);
|
||
@apply(--paper-font-body1);
|
||
@apply(--shadow-elevation-16dp);
|
||
@apply(--paper-dialog);
|
||
}
|
||
|
||
:host > ::content > * {
|
||
margin-top: 20px;
|
||
padding: 0 24px;
|
||
}
|
||
|
||
:host > ::content > .no-padding {
|
||
padding: 0;
|
||
}
|
||
|
||
:host > ::content > *:first-child {
|
||
margin-top: 24px;
|
||
}
|
||
|
||
:host > ::content > *:last-child {
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
:host > ::content h2 {
|
||
position: relative;
|
||
margin: 0;
|
||
@apply(--paper-font-title);
|
||
|
||
@apply(--paper-dialog-title);
|
||
}
|
||
|
||
:host > ::content .buttons {
|
||
position: relative;
|
||
padding: 8px 8px 8px 24px;
|
||
margin: 0;
|
||
|
||
color: var(--paper-dialog-button-color, --default-primary-color);
|
||
|
||
@apply(--layout-horizontal);
|
||
@apply(--layout-end-justified);
|
||
}</style><template><content></content></template></dom-module><script>!function(){Polymer({is:"paper-dialog",behaviors:[Polymer.PaperDialogBehavior,Polymer.NeonAnimationRunnerBehavior],listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},_renderOpened:function(){this.withBackdrop&&this.backdropElement.open(),this.playAnimation("entry")},_renderClosed:function(){this.withBackdrop&&this.backdropElement.close(),this.playAnimation("exit")},_onNeonAnimationFinish:function(){this.opened?this._finishRenderOpened():this._finishRenderClosed()}})}();</script><dom-module id="paper-dialog-scrollable" assetpath="../bower_components/paper-dialog-scrollable/"><style>:host {
|
||
display: block;
|
||
position: relative;
|
||
}
|
||
|
||
:host(.is-scrolled:not(:first-child))::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: 1px;
|
||
background: var(--divider-color);
|
||
}
|
||
|
||
:host(.can-scroll:not(.scrolled-to-bottom):not(:last-child))::after {
|
||
content: '';
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: 1px;
|
||
background: var(--divider-color);
|
||
}
|
||
|
||
.scrollable {
|
||
padding: 0 24px;
|
||
|
||
@apply(--layout-scroll);
|
||
|
||
@apply(--paper-dialog-scrollable);
|
||
}</style><template><div id="scrollable" class="scrollable"><content></content></div></template></dom-module><script>!function(){Polymer({is:"paper-dialog-scrollable",properties:{dialogElement:{type:Object,value:function(){return this.parentNode}}},listeners:{"scrollable.scroll":"_onScroll","iron-resize":"_onIronResize"},get scrollTarget(){return this.$.scrollable},attached:function(){this.classList.add("no-padding"),this.dialogElement.sizingTarget=this.scrollTarget,requestAnimationFrame(function(){this.offsetHeight>0&&this.$.scrollable.classList.add("fit"),this._scroll()}.bind(this))},_scroll:function(){this.toggleClass("is-scrolled",this.scrollTarget.scrollTop>0),this.toggleClass("can-scroll",this.scrollTarget.offsetHeight<this.scrollTarget.scrollHeight),this.toggleClass("scrolled-to-bottom",this.scrollTarget.scrollTop+this.scrollTarget.offsetHeight>=this.scrollTarget.scrollHeight)},_onScroll:function(){this._scroll()}})}();</script><dom-module id="more-info-default" assetpath="more-infos/"><style>.data-entry .value {
|
||
max-width: 200px;
|
||
}</style><template><div class="layout vertical"><template is="dom-repeat" items="[[computeDisplayAttributes(stateObj)]]" as="attribute"><div class="data-entry layout justified horizontal"><div class="key">[[attribute]]</div><div class="value">[[getAttributeValue(stateObj, attribute)]]</div></div></template></div></template></dom-module><dom-module id="more-info-group" assetpath="more-infos/"><style>.child-card {
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.child-card:last-child {
|
||
margin-bottom: 0;
|
||
}</style><template><template is="dom-repeat" items="[[states]]" as="state"><div class="child-card"><state-card-content state-obj="[[state]]"></state-card-content></div></template></template></dom-module><dom-module id="more-info-sun" assetpath="more-infos/"><template><div class="data-entry layout justified horizontal" id="rising"><div class="key">Rising<relative-ha-datetime datetime-obj="[[risingDate]]"></relative-ha-datetime></div><div class="value">[[risingTime]]</div></div><div class="data-entry layout justified horizontal" id="setting"><div class="key">Setting<relative-ha-datetime datetime-obj="[[settingDate]]"></relative-ha-datetime></div><div class="value">[[settingTime]]</div></div></template></dom-module><dom-module id="more-info-configurator" assetpath="more-infos/"><style>p {
|
||
margin: 8px 0;
|
||
}
|
||
|
||
p > img {
|
||
max-width: 100%;
|
||
}
|
||
|
||
p.center {
|
||
text-align: center;
|
||
}
|
||
|
||
p.error {
|
||
color: #C62828;
|
||
}
|
||
|
||
p.submit {
|
||
text-align: center;
|
||
height: 41px;
|
||
}</style><template><div class="layout vertical"><template is="dom-if" if="[[isConfigurable]]"><p hidden$="[[!stateObj.attributes.description]]">[[stateObj.attributes.description]]</p><p class="error" hidden$="[[!stateObj.attributes.errors]]">[[stateObj.attributes.errors]]</p><p class="center" hidden$="[[!stateObj.attributes.description_image]]"><img src="[[stateObj.attributes.description_image]]"></p><p class="submit"><paper-button raised="" on-click="submitClicked" hidden$="[[isConfiguring]]">[[submitCaption]]</paper-button><loading-box hidden$="[[!isConfiguring]]">Configuring</loading-box></p></template></div></template></dom-module><dom-module id="paper-progress" assetpath="../bower_components/paper-progress/"><style>:host {
|
||
display: inline-block;
|
||
width: 200px;
|
||
height: 4px;
|
||
}
|
||
|
||
#progressContainer {
|
||
position: relative;
|
||
height: 100%;
|
||
background-color: var(--paper-progress-container-color, --google-grey-300);
|
||
overflow: hidden;
|
||
}
|
||
|
||
#activeProgress,
|
||
#secondaryProgress {
|
||
-webkit-transform-origin: left center;
|
||
transform-origin: left center;
|
||
-webkit-transform: scaleX(0);
|
||
transform: scaleX(0);
|
||
}
|
||
|
||
#activeProgress {
|
||
background-color: var(--paper-progress-active-color, --google-green-500);
|
||
}
|
||
|
||
#secondaryProgress {
|
||
background-color: var(--paper-progress-secondary-color, --google-green-100);
|
||
}
|
||
|
||
#activeProgress.indeterminate {
|
||
-webkit-transform-origin: center center;
|
||
transform-origin: center center;
|
||
-webkit-animation: indeterminate-bar 1s linear infinite;
|
||
animation: indeterminate-bar 1s linear infinite;
|
||
}
|
||
|
||
@-webkit-keyframes indeterminate-bar {
|
||
0% {
|
||
-webkit-transform: translate(-50%) scaleX(0);
|
||
}
|
||
50% {
|
||
-webkit-transform: translate(0%) scaleX(0.3);
|
||
}
|
||
100% {
|
||
-webkit-transform: translate(50%) scaleX(0);
|
||
}
|
||
}
|
||
|
||
@keyframes indeterminate-bar {
|
||
0% {
|
||
transform: translate(-50%) scaleX(0);
|
||
}
|
||
50% {
|
||
transform: translate(0%) scaleX(0.3);
|
||
}
|
||
100% {
|
||
transform: translate(50%) scaleX(0);
|
||
}
|
||
}</style><template><div id="progressContainer" role="progressbar" aria-valuenow$="{{value}}" aria-valuemin$="{{min}}" aria-valuemax$="{{max}}"><div id="secondaryProgress" class="fit"></div><div id="activeProgress" class="fit"></div></div></template></dom-module><script>Polymer({is:"paper-progress",behaviors:[Polymer.IronRangeBehavior],properties:{secondaryProgress:{type:Number,value:0,notify:!0},secondaryRatio:{type:Number,value:0,readOnly:!0,observer:"_secondaryRatioChanged"},indeterminate:{type:Boolean,value:!1,notify:!0,observer:"_toggleIndeterminate"}},observers:["_ratioChanged(ratio)","_secondaryProgressChanged(secondaryProgress, min, max)"],_toggleIndeterminate:function(){this.toggleClass("indeterminate",this.indeterminate,this.$.activeProgress)},_transformProgress:function(e,r){var s="scaleX("+r/100+")";e.style.transform=e.style.webkitTransform=s},_ratioChanged:function(e){this._transformProgress(this.$.activeProgress,e)},_secondaryRatioChanged:function(e){this._transformProgress(this.$.secondaryProgress,e)},_secondaryProgressChanged:function(){this.secondaryProgress=this._clampValue(this.secondaryProgress),this._setSecondaryRatio(100*this._calcRatio(this.secondaryProgress))}});</script><dom-module id="paper-slider" assetpath="../bower_components/paper-slider/"><style>/**
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: inline-block;
|
||
width: 200px;
|
||
cursor: default;
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
-ms-user-select: none;
|
||
user-select: none;
|
||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||
}
|
||
|
||
:host(:not([disabled])) #sliderBar::shadow #activeProgress {
|
||
background-color: var(--paper-slider-active-color, --google-blue-700);
|
||
}
|
||
|
||
:host(:not([disabled])) #sliderBar::shadow #secondaryProgress {
|
||
background-color: var(--paper-slider-secondary-color, --google-blue-300);
|
||
}
|
||
|
||
:host([disabled]) #sliderBar::shadow #activeProgress {
|
||
background-color: var(--paper-slider-disabled-active-color, --google-grey-500);
|
||
}
|
||
|
||
:host([disabled]) #sliderBar::shadow #secondaryProgress {
|
||
background-color: var(--paper-slider-disabled-secondary-color, --google-grey-300);
|
||
}
|
||
|
||
:host(:focus) {
|
||
outline: none;
|
||
}
|
||
|
||
#sliderContainer {
|
||
position: relative;
|
||
width: calc(100% - 32px);
|
||
height: 32px;
|
||
}
|
||
|
||
#sliderContainer.editable {
|
||
float: left;
|
||
width: calc(100% - 72px);
|
||
margin: 12px 0;
|
||
}
|
||
|
||
.bar-container {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 16px;
|
||
height: 100%;
|
||
width: 100%;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ring > .bar-container {
|
||
left: 20px;
|
||
width: calc(100% - 4px);
|
||
transition: left 0.18s ease, width 0.18s ease;
|
||
}
|
||
|
||
.ring.expand:not(.pin) > .bar-container {
|
||
left: 30px;
|
||
width: calc(100% - 14px);
|
||
}
|
||
|
||
.ring.expand.dragging > .bar-container {
|
||
transition: none;
|
||
}
|
||
|
||
#sliderBar {
|
||
position: absolute;
|
||
top: 15px;
|
||
left: 0;
|
||
height: 2px;
|
||
width: 100%;
|
||
padding: 8px 0;
|
||
margin: -8px 0;
|
||
background-color: var(--paper-slider-bar-color, transparent);
|
||
}
|
||
|
||
.ring #sliderBar {
|
||
left: -4px;
|
||
width: calc(100% + 4px);
|
||
}
|
||
|
||
.ring.expand:not(.pin) #sliderBar {
|
||
left: -14px;
|
||
width: calc(100% + 14px);
|
||
}
|
||
|
||
.slider-markers {
|
||
position: absolute;
|
||
top: 15px;
|
||
left: 15px;
|
||
height: 2px;
|
||
width: calc(100% + 2px);
|
||
box-sizing: border-box;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.slider-markers::after,
|
||
.slider-marker::after {
|
||
content: "";
|
||
display: block;
|
||
width: 2px;
|
||
height: 2px;
|
||
border-radius: 50%;
|
||
background-color: black;
|
||
}
|
||
|
||
.transiting #sliderBar::shadow #activeProgress {
|
||
-webkit-transition: -webkit-transform 0.08s ease;
|
||
transition: transform 0.08s ease;
|
||
}
|
||
|
||
#sliderKnob {
|
||
@apply(--layout-center-justified);
|
||
@apply(--layout-center);
|
||
@apply(--layout-horizontal);
|
||
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
width: 32px;
|
||
height: 32px;
|
||
}
|
||
|
||
.transiting > #sliderKnob {
|
||
transition: left 0.08s ease;
|
||
}
|
||
|
||
#sliderKnob:focus {
|
||
outline: none;
|
||
}
|
||
|
||
#sliderKnob.dragging {
|
||
transition: none;
|
||
}
|
||
|
||
.snaps > #sliderKnob.dragging {
|
||
transition: -webkit-transform 0.08s ease;
|
||
transition: transform 0.08s ease;
|
||
}
|
||
|
||
#sliderKnobInner {
|
||
width: 12px;
|
||
height: 12px;
|
||
box-sizing: border-box;
|
||
-moz-box-sizing: border-box;
|
||
border-radius: 50%;
|
||
background-color: var(--paper-slider-knob-color, --google-blue-700);
|
||
transition-property: height, width, background-color, border;
|
||
transition-duration: 0.1s;
|
||
transition-timing-function: ease;
|
||
}
|
||
|
||
.expand:not(.pin) > #sliderKnob > #sliderKnobInner {
|
||
width: 100%;
|
||
height: 100%;
|
||
-webkit-transform: translateZ(0);
|
||
transform: translateZ(0);
|
||
}
|
||
|
||
.ring > #sliderKnob > #sliderKnobInner {
|
||
background-color: transparent;
|
||
border: 2px solid #c8c8c8;
|
||
}
|
||
|
||
#sliderKnobInner::before {
|
||
background-color: var(--paper-slider-pin-color, --google-blue-700);
|
||
}
|
||
|
||
.pin > #sliderKnob > #sliderKnobInner::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 26px;
|
||
height: 26px;
|
||
margin-left: 3px;
|
||
border-radius: 50% 50% 50% 0;
|
||
-webkit-transform: rotate(-45deg) scale(0) translate(0);
|
||
transform: rotate(-45deg) scale(0) translate(0);
|
||
}
|
||
|
||
#sliderKnobInner::before,
|
||
#sliderKnobInner::after {
|
||
transition: -webkit-transform .2s ease, background-color .18s ease;
|
||
transition: transform .2s ease, background-color .18s ease;
|
||
}
|
||
|
||
.pin.ring > #sliderKnob > #sliderKnobInner::before {
|
||
background-color: #c8c8c8;
|
||
}
|
||
|
||
.pin.expand > #sliderKnob > #sliderKnobInner::before {
|
||
-webkit-transform: rotate(-45deg) scale(1) translate(17px, -17px);
|
||
transform: rotate(-45deg) scale(1) translate(17px, -17px);
|
||
}
|
||
|
||
.pin > #sliderKnob > #sliderKnobInner::after {
|
||
content: attr(value);
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 32px;
|
||
height: 26px;
|
||
text-align: center;
|
||
color: var(--paper-slider-font-color, #fff);
|
||
font-size: 10px;
|
||
-webkit-transform: scale(0) translate(0);
|
||
transform: scale(0) translate(0);
|
||
}
|
||
|
||
.pin.expand > #sliderKnob > #sliderKnobInner::after {
|
||
-webkit-transform: scale(1) translate(0, -17px);
|
||
transform: scale(1) translate(0, -17px);
|
||
}
|
||
|
||
/* editable: paper-input */
|
||
.slider-input {
|
||
width: 40px;
|
||
float: right;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.slider-input::shadow input {
|
||
/* FIXME(ffu): should one be able set text-align directly on paper-input? */
|
||
text-align: center;
|
||
}
|
||
|
||
/* disabled state */
|
||
#sliderContainer.disabled {
|
||
pointer-events: none;
|
||
}
|
||
|
||
.disabled > #sliderKnob > #sliderKnobInner {
|
||
width: 8px;
|
||
height: 8px;
|
||
background-color: var(--paper-slider-disabled-knob-color, --google-grey-500);
|
||
}
|
||
|
||
.disabled.ring > #sliderKnob > #sliderKnobInner {
|
||
background-color: transparent;
|
||
}
|
||
|
||
paper-ripple {
|
||
color: var(--paper-slider-knob-color, --google-blue-700);
|
||
}</style><template><div id="sliderContainer" class$="[[_getClassNames(disabled, pin, snaps, immediateValue, min, expand, dragging, transiting, editable)]]"><div class="bar-container"><paper-progress id="sliderBar" aria-hidden="true" min="[[min]]" max="[[max]]" step="[[step]]" value="[[immediateValue]]" secondary-progress="[[secondaryProgress]]" on-down="_bardown" on-up="_resetKnob" on-track="_onTrack"></paper-progress></div><template is="dom-if" if="[[snaps]]"><div class="slider-markers horizontal layout"><template is="dom-repeat" items="[[markers]]"><div class="slider-marker flex"></div></template></div></template><div id="sliderKnob" class="center-justified center horizontal layout" on-down="_knobdown" on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobTransitionEnd"><paper-ripple id="ink" class="circle" center="" hidden$="[[!receivedFocusFromKeyboard]]"></paper-ripple><div id="sliderKnobInner" value$="[[immediateValue]]"></div></div></div><template is="dom-if" if="[[editable]]"><paper-input id="input" class="slider-input" disabled$="[[disabled]]" on-change="_inputChange"></paper-input></template></template></dom-module><script>Polymer({is:"paper-slider",behaviors:[Polymer.IronA11yKeysBehavior,Polymer.PaperInkyFocusBehavior,Polymer.IronFormElementBehavior,Polymer.IronRangeBehavior],properties:{snaps:{type:Boolean,value:!1,notify:!0},pin:{type:Boolean,value:!1,notify:!0},secondaryProgress:{type:Number,value:0,notify:!0,observer:"_secondaryProgressChanged"},editable:{type:Boolean,value:!1},immediateValue:{type:Number,value:0,readOnly:!0},maxMarkers:{type:Number,value:0,notify:!0,observer:"_maxMarkersChanged"},expand:{type:Boolean,value:!1,readOnly:!0},dragging:{type:Boolean,value:!1,readOnly:!0},transiting:{type:Boolean,value:!1,readOnly:!0},markers:{type:Array,readOnly:!0,value:[]}},observers:["_updateKnob(value, min, max, snaps, step)","_minChanged(min)","_maxChanged(max)","_valueChanged(value)","_immediateValueChanged(immediateValue)"],hostAttributes:{role:"slider",tabindex:0},keyBindings:{"left down pagedown home":"_decrementKey","right up pageup end":"_incrementKey"},ready:function(){this.async(function(){this._updateKnob(this.value),this._updateInputValue()},1)},increment:function(){this.value=this._clampValue(this.value+this.step)},decrement:function(){this.value=this._clampValue(this.value-this.step)},_updateKnob:function(t){this._positionKnob(this._calcRatio(t))},_minChanged:function(){this.setAttribute("aria-valuemin",this.min)},_maxChanged:function(){this.setAttribute("aria-valuemax",this.max)},_valueChanged:function(){this.setAttribute("aria-valuenow",this.value),this.fire("value-change")},_immediateValueChanged:function(){this.dragging?this.fire("immediate-value-change"):this.value=this.immediateValue,this._updateInputValue()},_secondaryProgressChanged:function(){this.secondaryProgress=this._clampValue(this.secondaryProgress)},_updateInputValue:function(){this.editable&&(this.$$("#input").value=this.immediateValue.toString())},_expandKnob:function(){this._setExpand(!0)},_resetKnob:function(){this.cancelDebouncer("expandKnob"),this._setExpand(!1)},_positionKnob:function(t){this._setImmediateValue(this._calcStep(this._calcKnobPosition(t))),this._setRatio(this._calcRatio(this.immediateValue)),this.$.sliderKnob.style.left=100*this.ratio+"%"},_inputChange:function(){this.value=this.$$("#input").value,this.fire("change")},_calcKnobPosition:function(t){return(this.max-this.min)*t+this.min},_onTrack:function(t){switch(t.detail.state){case"start":this._trackStart(t);break;case"track":this._trackX(t);break;case"end":this._trackEnd()}},_trackStart:function(t){this._w=this.$.sliderBar.offsetWidth,this._x=this.ratio*this._w,this._startx=this._x||0,this._minx=-this._startx,this._maxx=this._w-this._startx,this.$.sliderKnob.classList.add("dragging"),this._setDragging(!0)},_trackX:function(t){this.dragging||this._trackStart(t);var e=Math.min(this._maxx,Math.max(this._minx,t.detail.dx));this._x=this._startx+e;var i=this._calcStep(this._calcKnobPosition(this._x/this._w));this._setImmediateValue(i);var a=this._calcRatio(i)*this._w-this._startx;this.translate3d(a+"px",0,0,this.$.sliderKnob)},_trackEnd:function(){var t=this.$.sliderKnob.style;this.$.sliderKnob.classList.remove("dragging"),this._setDragging(!1),this._resetKnob(),this.value=this.immediateValue,t.transform=t.webkitTransform="",this.fire("change")},_knobdown:function(t){this._expandKnob(),t.detail.sourceEvent.preventDefault(),this.focus()},_bardown:function(t){this._w=this.$.sliderBar.offsetWidth;var e=this.$.sliderBar.getBoundingClientRect(),i=(t.detail.x-e.left)/this._w,a=this.ratio;this._setTransiting(!0),this._positionKnob(i),this.debounce("expandKnob",this._expandKnob,60),a===this.ratio&&this._setTransiting(!1),this.async(function(){this.fire("change")}),t.detail.sourceEvent.preventDefault()},_knobTransitionEnd:function(t){t.target===this.$.sliderKnob&&this._setTransiting(!1)},_maxMarkersChanged:function(t){var e=(this.max-this.min)/this.step;!this.snaps&&e>t?this._setMarkers([]):this._setMarkers(new Array(e))},_getClassNames:function(){var t={};return t.disabled=this.disabled,t.pin=this.pin,t.snaps=this.snaps,t.ring=this.immediateValue<=this.min,t.expand=this.expand,t.dragging=this.dragging,t.transiting=this.transiting,t.editable=this.editable,Object.keys(t).filter(function(e){return t[e]}).join(" ")},_incrementKey:function(t){"end"===t.detail.key?this.value=this.max:this.increment(),this.fire("change")},_decrementKey:function(t){"home"===t.detail.key?this.value=this.min:this.decrement(),this.fire("change")}});</script><dom-module id="more-info-thermostat" assetpath="more-infos/"><style>paper-slider {
|
||
width: 100%;
|
||
}
|
||
|
||
.away-mode-toggle {
|
||
display: none;
|
||
margin-top: 16px;
|
||
}
|
||
|
||
.has-away_mode .away-mode-toggle {
|
||
display: block;
|
||
}</style><template><div class$="[[computeClassNames(stateObj)]]"><div><div>Target Temperature</div><paper-slider min="[[tempMin]]" max="[[tempMax]]" value="[[targetTemperatureSliderValue]]" pin="" on-change="targetTemperatureSliderChanged"></paper-slider></div><div class="away-mode-toggle"><div class="center horizontal layout"><div class="flex">Away Mode</div><paper-toggle-button checked="[[awayToggleChecked]]" on-change="toggleChanged"></paper-toggle-button></div></div></div></template></dom-module><dom-module id="more-info-script" assetpath="more-infos/"><template><div class="layout vertical"><div class="data-entry layout justified horizontal"><div class="key">Last Action</div><div class="value">[[stateObj.attributes.last_action]]</div></div></div></template></dom-module><dom-module id="ha-color-picker" assetpath="components/"><style>canvas {
|
||
cursor: crosshair;
|
||
}</style><template><canvas width="[[width]]" height="[[height]]"></canvas></template></dom-module><dom-module id="more-info-light" assetpath="more-infos/"><style>.brightness {
|
||
margin-bottom: 8px;
|
||
|
||
max-height: 0px;
|
||
overflow: hidden;
|
||
transition: max-height .5s ease-in;
|
||
}
|
||
|
||
ha-color-picker {
|
||
display: block;
|
||
width: 350px;
|
||
margin: 0 auto;
|
||
|
||
max-height: 0px;
|
||
overflow: hidden;
|
||
transition: max-height .5s ease-in;
|
||
}
|
||
|
||
.has-brightness .brightness {
|
||
max-height: 40px;
|
||
}
|
||
|
||
.has-xy_color ha-color-picker {
|
||
max-height: 500px;
|
||
}</style><template><div class$="[[computeClassNames(stateObj)]]"><div class="brightness center horizontal layout"><div>Brightness</div><paper-slider max="255" id="brightness" value="{{brightnessSliderValue}}" on-change="brightnessSliderChanged" class="flex"></paper-slider></div><ha-color-picker on-colorselected="colorPicked" width="350" height="200"></ha-color-picker></div></template></dom-module><dom-module id="more-info-media_player" assetpath="more-infos/"><style>.media-state {
|
||
text-transform: capitalize;
|
||
}
|
||
|
||
paper-icon-button[highlight] {
|
||
color: var(--accent-color);
|
||
}
|
||
|
||
.volume {
|
||
margin-bottom: 8px;
|
||
|
||
max-height: 0px;
|
||
overflow: hidden;
|
||
transition: max-height .5s ease-in;
|
||
}
|
||
|
||
.has-volume_level .volume {
|
||
max-height: 40px;
|
||
}</style><template><div class$="[[computeClassNames(stateObj)]]"><div class="layout horizontal"><div class="flex"><paper-icon-button icon="power-settings-new" highlight$="[[isOff]]" on-tap="handleTogglePower" hidden$="[[computeHidePowerButton(isOff, supportsTurnOn, supportsTurnOff)]]"></paper-icon-button></div><div><template is="dom-if" if="[[!isOff]]"><paper-icon-button icon="av:skip-previous" on-tap="handlePrevious" hidden$="[[!supportsPreviousTrack]]"></paper-icon-button><paper-icon-button icon="[[computePlaybackControlIcon(stateObj)]]" on-tap="handlePlaybackControl" highlight=""></paper-icon-button><paper-icon-button icon="av:skip-next" on-tap="handleNext" hidden$="[[!supportsNextTrack]]"></paper-icon-button></template></div></div><div class="volume center horizontal layout" hidden$="[[!supportsVolumeSet]]"><paper-icon-button on-tap="handleVolumeTap" icon="[[computeMuteVolumeIcon(isMuted)]]"></paper-icon-button><paper-slider disabled$="[[isMuted]]" min="0" max="100" value="[[volumeSliderValue]]" on-change="volumeSliderChanged" class="flex"></paper-slider></div></div></template></dom-module><dom-module id="more-info-camera" assetpath="more-infos/"><style>:host {
|
||
max-width:640px;
|
||
}
|
||
|
||
.camera-image {
|
||
width: 100%;
|
||
}</style><template><img class="camera-image" src="[[computeCameraImageUrl(dialogOpen)]]" on-load="imageLoaded"></template></dom-module><dom-module id="more-info-content" assetpath="more-infos/"><style>:host {
|
||
display: block;
|
||
}</style></dom-module><dom-module id="more-info-dialog" assetpath="dialogs/"><style>state-card-content {
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
@media all and (max-width: 450px) {
|
||
paper-dialog {
|
||
margin: 0;
|
||
width: 100%;
|
||
max-height: calc(100% - 64px);
|
||
|
||
position: fixed !important;
|
||
bottom: 0px;
|
||
left: 0px;
|
||
right: 0px;
|
||
overflow: scroll;
|
||
}
|
||
}</style><template><paper-dialog id="dialog" with-backdrop="" opened="{{dialogOpen}}"><h2><state-card-content state-obj="[[stateObj]]"></state-card-content></h2><div><template is="dom-if" if="[[showHistoryComponent]]"><state-history-charts state-history="[[stateHistory]]" is-loading-data="[[isLoadingHistoryData]]"></state-history-charts></template><paper-dialog-scrollable><more-info-content state-obj="[[stateObj]]" dialog-open="[[dialogOpen]]"></more-info-content></paper-dialog-scrollable></div></paper-dialog></template></dom-module><dom-module id="paper-header-panel" assetpath="../bower_components/paper-header-panel/"><style>:host {
|
||
@apply(--layout);
|
||
@apply(--layout-vertical);
|
||
|
||
display: block;
|
||
position: relative;
|
||
height: 100%;
|
||
|
||
/* Create a stack context, we will need it for the shadow*/
|
||
z-index: 0;
|
||
}
|
||
|
||
:root {
|
||
/**
|
||
* Default paper header panel shadow
|
||
*/
|
||
--paper-header-panel-shadow: {
|
||
height: 6px;
|
||
bottom: -6px;
|
||
box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
|
||
};
|
||
}
|
||
|
||
#mainContainer {
|
||
@apply(--layout-flex);
|
||
|
||
position: relative;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
-webkit-overflow-scrolling: touch;
|
||
flex-basis: 0.0001px;
|
||
}
|
||
|
||
/*
|
||
* mode: scroll
|
||
*/
|
||
:host([mode=scroll]) #mainContainer {
|
||
@apply(--paper-header-panel-scroll-container);
|
||
overflow: visible;
|
||
}
|
||
|
||
:host([mode=scroll]) {
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
/*
|
||
* mode: cover
|
||
*/
|
||
:host([mode=cover]) #mainContainer {
|
||
@apply(--paper-header-panel-cover-container);
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
|
||
/*
|
||
* mode: standard
|
||
*/
|
||
:host([mode=standard]) #mainContainer {
|
||
@apply(--paper-header-panel-standard-container);
|
||
}
|
||
|
||
/*
|
||
* mode: waterfall
|
||
*/
|
||
:host([mode=waterfall]) #mainContainer {
|
||
@apply(--paper-header-panel-waterfall-container);
|
||
}
|
||
|
||
/*
|
||
* mode: waterfall-tall
|
||
*/
|
||
:host([mode=waterfall-tall]) #mainContainer {
|
||
@apply(--paper-header-panel-waterfall-tall-container);
|
||
}
|
||
|
||
:host ::content paper-toolbar,
|
||
:host ::content .paper-header {
|
||
position: relative;
|
||
overflow: visible !important;
|
||
}
|
||
|
||
:host ::content paper-toolbar:after,
|
||
:host ::content .paper-header:after {
|
||
@apply(--paper-header-panel-shadow);
|
||
|
||
-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
|
||
transition: opacity 0.5s, transform 0.5s;
|
||
|
||
opacity: 0;
|
||
content: "";
|
||
|
||
width: 100%;
|
||
position: absolute;
|
||
left: 0px;
|
||
right: 0px;
|
||
z-index: 1;
|
||
|
||
-webkit-transform: scale3d(1, 0, 1);
|
||
-webkit-transform-origin: 0% 0%;
|
||
|
||
transform: scale3d(1, 0, 1);
|
||
transform-origin: 0% 0%;
|
||
}
|
||
|
||
:host ::content paper-toolbar.has-shadow:after,
|
||
:host ::content .paper-header.has-shadow:after {
|
||
opacity: 1;
|
||
-webkit-transform: scale3d(1, 1, 1);
|
||
transform: scale3d(1, 1, 1);
|
||
}</style><template><content id="headerContent" select="paper-toolbar, .paper-header"></content><div id="mainContainer" class$="[[_computeMainContainerClass(mode)]]"><content id="mainContent" select="*"></content></div></template></dom-module><script>!function(){"use strict";var e=1,t=2,s={outerScroll:{scroll:!0},shadowMode:{standard:t,waterfall:e,"waterfall-tall":e},tallMode:{"waterfall-tall":!0}};Polymer({is:"paper-header-panel",properties:{mode:{type:String,value:"standard",observer:"_modeChanged",reflectToAttribute:!0},shadow:{type:Boolean,value:!1},tallClass:{type:String,value:"tall"},atTop:{type:Boolean,value:!0,readOnly:!0}},observers:["_computeDropShadowHidden(atTop, mode, shadow)"],ready:function(){this.scrollHandler=this._scroll.bind(this),this._addListener(),this._keepScrollingState()},detached:function(){this._removeListener()},get header(){return Polymer.dom(this.$.headerContent).getDistributedNodes()[0]},get scroller(){return this._getScrollerForMode(this.mode)},get visibleShadow(){return this.header.classList.contains("has-shadow")},_computeDropShadowHidden:function(o,l,a){var r=s.shadowMode[l];this.shadow?this.toggleClass("has-shadow",!0,this.header):r===t?this.toggleClass("has-shadow",!0,this.header):r!==e||o?this.toggleClass("has-shadow",!1,this.header):this.toggleClass("has-shadow",!0,this.header)},_computeMainContainerClass:function(e){var t={};return t.flex="cover"!==e,Object.keys(t).filter(function(e){return t[e]}).join(" ")},_addListener:function(){this.scroller.addEventListener("scroll",this.scrollHandler,!1)},_removeListener:function(){this.scroller.removeEventListener("scroll",this.scrollHandler)},_modeChanged:function(e,t){var o=s,l=this.header,a=200;l&&(o.tallMode[t]&&!o.tallMode[e]?(l.classList.remove(this.tallClass),this.async(function(){l.classList.remove("animate")},a)):l.classList.toggle("animate",o.tallMode[e])),this._keepScrollingState()},_keepScrollingState:function(){var e=this.scroller,t=this.header;this._setAtTop(0===e.scrollTop),t&&s.tallMode[this.mode]&&this.toggleClass(this.tallClass,this.atTop||t.classList.contains(this.tallClass)&&e.scrollHeight<this.offsetHeight,t)},_scroll:function(e){this._keepScrollingState(),this.fire("content-scroll",{target:this.scroller},{bubbles:!1})},_getScrollerForMode:function(e){return s.outerScroll[e]?this:this.$.mainContainer}})}();</script><dom-module id="paper-item" assetpath="../bower_components/paper-item/"><style>/*
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: block;
|
||
min-height: var(--paper-item-min-height, 48px);
|
||
padding: 0px 16px;
|
||
}
|
||
|
||
:host > ::content > *:not(:first-child):not(:last-child) {
|
||
margin-right: 16px;
|
||
}</style><style>:host {
|
||
@apply(--layout-horizontal);
|
||
@apply(--layout-center);
|
||
@apply(--paper-font-subhead);
|
||
|
||
@apply(--paper-item);
|
||
}</style><template><content></content></template></dom-module><script>!function(){Polymer({is:"paper-item",hostAttributes:{role:"listitem"}})}();</script><dom-module id="paper-icon-item" assetpath="../bower_components/paper-item/"><style>/*
|
||
@license
|
||
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||
Code distributed by Google as part of the polymer project is also
|
||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
|
||
:host {
|
||
display: block;
|
||
min-height: var(--paper-item-min-height, 48px);
|
||
padding: 0px 16px;
|
||
}
|
||
|
||
:host > ::content > *:not(:first-child):not(:last-child) {
|
||
margin-right: 16px;
|
||
}</style><style>:host {
|
||
@apply(--layout-horizontal);
|
||
@apply(--layout-center);
|
||
@apply(--paper-font-subhead);
|
||
|
||
@apply(--paper-item);
|
||
@apply(--paper-icon-item);
|
||
}
|
||
|
||
.content-icon {
|
||
width: var(--paper-item-icon-width, 56px);
|
||
}</style><template><div id="contentIcon" class="content-icon layout horizontal center"><content select="[item-icon]"></content></div><content></content></template></dom-module><script>!function(){Polymer({is:"paper-icon-item",hostAttributes:{role:"listitem"}})}();</script><iron-iconset-svg name="notification" size="24"><svg><defs><g id="adb"><path d="M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5v4zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7.68 5 10v1h14v-1c0-2.32-1.14-4.36-2.88-5.63zM9 9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"></path></g><g id="airline-seat-flat"><path d="M22 11v2H9V7h9c2.21 0 4 1.79 4 4zM2 14v2h6v2h8v-2h6v-2H2zm5.14-1.9c1.16-1.19 1.14-3.08-.04-4.24-1.19-1.16-3.08-1.14-4.24.04-1.16 1.19-1.14 3.08.04 4.24 1.19 1.16 3.08 1.14 4.24-.04z"></path></g><g id="airline-seat-flat-angled"><path d="M22.25 14.29l-.69 1.89L9.2 11.71l2.08-5.66 8.56 3.09c2.1.76 3.18 3.06 2.41 5.15zM1.5 12.14L8 14.48V19h8v-1.63L20.52 19l.69-1.89-19.02-6.86-.69 1.89zm5.8-1.94c1.49-.72 2.12-2.51 1.41-4C7.99 4.71 6.2 4.08 4.7 4.8c-1.49.71-2.12 2.5-1.4 4 .71 1.49 2.5 2.12 4 1.4z"></path></g><g id="airline-seat-individual-suite"><path d="M7 13c1.65 0 3-1.35 3-3S8.65 7 7 7s-3 1.35-3 3 1.35 3 3 3zm12-6h-8v7H3V7H1v10h22v-6c0-2.21-1.79-4-4-4z"></path></g><g id="airline-seat-legroom-extra"><path d="M4 12V3H2v9c0 2.76 2.24 5 5 5h6v-2H7c-1.66 0-3-1.34-3-3zm18.83 5.24c-.38-.72-1.29-.97-2.03-.63l-1.09.5-3.41-6.98c-.34-.68-1.03-1.12-1.79-1.12L11 9V3H5v8c0 1.66 1.34 3 3 3h7l3.41 7 3.72-1.7c.77-.36 1.1-1.3.7-2.06z"></path></g><g id="airline-seat-legroom-normal"><path d="M5 12V3H3v9c0 2.76 2.24 5 5 5h6v-2H8c-1.66 0-3-1.34-3-3zm15.5 6H19v-7c0-1.1-.9-2-2-2h-5V3H6v8c0 1.65 1.35 3 3 3h7v7h4.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5z"></path></g><g id="airline-seat-legroom-reduced"><path d="M19.97 19.2c.18.96-.55 1.8-1.47 1.8H14v-3l1-4H9c-1.65 0-3-1.35-3-3V3h6v6h5c1.1 0 2 .9 2 2l-2 7h1.44c.73 0 1.39.49 1.53 1.2zM5 12V3H3v9c0 2.76 2.24 5 5 5h4v-2H8c-1.66 0-3-1.34-3-3z"></path></g><g id="airline-seat-recline-extra"><path d="M5.35 5.64c-.9-.64-1.12-1.88-.49-2.79.63-.9 1.88-1.12 2.79-.49.9.64 1.12 1.88.49 2.79-.64.9-1.88 1.12-2.79.49zM16 19H8.93c-1.48 0-2.74-1.08-2.96-2.54L4 7H2l1.99 9.76C4.37 19.2 6.47 21 8.94 21H16v-2zm.23-4h-4.88l-1.03-4.1c1.58.89 3.28 1.54 5.15 1.22V9.99c-1.63.31-3.44-.27-4.69-1.25L9.14 7.47c-.23-.18-.49-.3-.76-.38-.32-.09-.66-.12-.99-.06h-.02c-1.23.22-2.05 1.39-1.84 2.61l1.35 5.92C7.16 16.98 8.39 18 9.83 18h6.85l3.82 3 1.5-1.5-5.77-4.5z"></path></g><g id="airline-seat-recline-normal"><path d="M7.59 5.41c-.78-.78-.78-2.05 0-2.83.78-.78 2.05-.78 2.83 0 .78.78.78 2.05 0 2.83-.79.79-2.05.79-2.83 0zM6 16V7H4v9c0 2.76 2.24 5 5 5h6v-2H9c-1.66 0-3-1.34-3-3zm14 4.07L14.93 15H11.5v-3.68c1.4 1.15 3.6 2.16 5.5 2.16v-2.16c-1.66.02-3.61-.87-4.67-2.04l-1.4-1.55c-.19-.21-.43-.38-.69-.5-.29-.14-.62-.23-.96-.23h-.03C8.01 7 7 8.01 7 9.25V15c0 1.66 1.34 3 3 3h5.07l3.5 3.5L20 20.07z"></path></g><g id="bluetooth-audio"><path d="M14.24 12.01l2.32 2.32c.28-.72.44-1.51.44-2.33 0-.82-.16-1.59-.43-2.31l-2.33 2.32zm5.29-5.3l-1.26 1.26c.63 1.21.98 2.57.98 4.02s-.36 2.82-.98 4.02l1.2 1.2c.97-1.54 1.54-3.36 1.54-5.31-.01-1.89-.55-3.67-1.48-5.19zm-3.82 1L10 2H9v7.59L4.41 5 3 6.41 8.59 12 3 17.59 4.41 19 9 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM11 5.83l1.88 1.88L11 9.59V5.83zm1.88 10.46L11 18.17v-3.76l1.88 1.88z"></path></g><g id="confirmation-number"><defs><path id="a" d="M0 0h24v24H0z"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path d="M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2zm-9 7.5h-2v-2h2v2zm0-4.5h-2v-2h2v2zm0-4.5h-2v-2h2v2z" clip-path="url(#b)"></path></g><g id="disc-full"><path d="M20 16h2v-2h-2v2zm0-9v5h2V7h-2zM10 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g><g id="do-not-disturb"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"></path></g><g id="do-not-disturb-alt"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zM4 12c0-4.4 3.6-8 8-8 1.8 0 3.5.6 4.9 1.7L5.7 16.9C4.6 15.5 4 13.8 4 12zm8 8c-1.8 0-3.5-.6-4.9-1.7L18.3 7.1C19.4 8.5 20 10.2 20 12c0 4.4-3.6 8-8 8z"></path></g><g id="drive-eta"><path d="M18.92 5.01C18.72 4.42 18.16 4 17.5 4h-11c-.66 0-1.21.42-1.42 1.01L3 11v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 15c-.83 0-1.5-.67-1.5-1.5S5.67 12 6.5 12s1.5.67 1.5 1.5S7.33 15 6.5 15zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 10l1.5-4.5h11L19 10H5z"></path></g><g id="event-available"><path d="M16.53 11.06L15.47 10l-4.88 4.88-2.12-2.12-1.06 1.06L10.59 17l5.94-5.94zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"></path></g><g id="event-busy"><path d="M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"></path></g><g id="event-note"><path d="M17 10H7v2h10v-2zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-5-5H7v2h7v-2z"></path></g><g id="folder-special"><path d="M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6.42 12L10 15.9 6.42 18l.95-4.07-3.16-2.74 4.16-.36L10 7l1.63 3.84 4.16.36-3.16 2.74.95 4.06z"></path></g><g id="live-tv"><path d="M21 6h-7.59l3.29-3.29L16 2l-4 4-4-4-.71.71L10.59 6H3c-1.1 0-2 .89-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.11-.9-2-2-2zm0 14H3V8h18v12zM9 10v8l7-4z"></path></g><g id="mms"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM5 14l3.5-4.5 2.5 3.01L14.5 8l4.5 6H5z"></path></g><g id="more"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.97.89 1.66.89H22c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g id="network-locked"><path d="M19.5 10c.17 0 .33.03.5.05V1L1 20h13v-3c0-.89.39-1.68 1-2.23v-.27c0-2.48 2.02-4.5 4.5-4.5zm2.5 6v-1.5c0-1.38-1.12-2.5-2.5-2.5S17 13.12 17 14.5V16c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1zm-1 0h-3v-1.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V16z"></path></g><g id="ondemand-video"><path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2zm0 14H3V5h18v12zm-5-6l-7 4V7z"></path></g><g id="personal-video"><path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2zm0 14H3V5h18v12z"></path></g><g id="phone-bluetooth-speaker"><path d="M14.71 9.5L17 7.21V11h.5l2.85-2.85L18.21 6l2.15-2.15L17.5 1H17v3.79L14.71 2.5l-.71.71L16.79 6 14 8.79l.71.71zM18 2.91l.94.94-.94.94V2.91zm0 4.3l.94.94-.94.94V7.21zm2 8.29c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z"></path></g><g id="phone-forwarded"><path d="M18 11l5-5-5-5v3h-4v4h4v3zm2 4.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z"></path></g><g id="phone-in-talk"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 12h2c0-4.97-4.03-9-9-9v2c3.87 0 7 3.13 7 7zm-4 0h2c0-2.76-2.24-5-5-5v2c1.66 0 3 1.34 3 3z"></path></g><g id="phone-locked"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM20 4v-.5C20 2.12 18.88 1 17.5 1S15 2.12 15 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-.8 0h-3.4v-.5c0-.94.76-1.7 1.7-1.7s1.7.76 1.7 1.7V4z"></path></g><g id="phone-missed"><path d="M6.5 5.5L12 11l7-7-1-1-6 6-4.5-4.5H11V3H5v6h1.5V5.5zm17.21 11.17C20.66 13.78 16.54 12 12 12 7.46 12 3.34 13.78.29 16.67c-.18.18-.29.43-.29.71s.11.53.29.71l2.48 2.48c.18.18.43.29.71.29.27 0 .52-.11.7-.28.79-.74 1.69-1.36 2.66-1.85.33-.16.56-.5.56-.9v-3.1c1.45-.48 3-.73 4.6-.73 1.6 0 3.15.25 4.6.72v3.1c0 .39.23.74.56.9.98.49 1.87 1.12 2.67 1.85.18.18.43.28.7.28.28 0 .53-.11.71-.29l2.48-2.48c.18-.18.29-.43.29-.71s-.12-.52-.3-.7z"></path></g><g id="phone-paused"><path d="M17 3h-2v7h2V3zm3 12.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 3v7h2V3h-2z"></path></g><g id="power"><path d="M16.01 7L16 3h-2v4h-4V3H8v4h-.01C7 6.99 6 7.99 6 8.99v5.49L9.5 18v3h5v-3l3.5-3.51v-5.5c0-1-1-2-1.99-1.99z"></path></g><g id="sd-card"><path d="M18 2h-8L4.02 8 4 20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 6h-2V4h2v4zm3 0h-2V4h2v4zm3 0h-2V4h2v4z"></path></g><g id="sim-card-alert"><path d="M18 2h-8L4.02 8 4 20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-5 15h-2v-2h2v2zm0-4h-2V8h2v5z"></path></g><g id="sms"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"></path></g><g id="sms-failed"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"></path></g><g id="sync"><path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"></path></g><g id="sync-disabled"><path d="M10 6.35V4.26c-.8.21-1.55.54-2.23.96l1.46 1.46c.25-.12.5-.24.77-.33zm-7.14-.94l2.36 2.36C4.45 8.99 4 10.44 4 12c0 2.21.91 4.2 2.36 5.64L4 20h6v-6l-2.24 2.24C6.68 15.15 6 13.66 6 12c0-1 .25-1.94.68-2.77l8.08 8.08c-.25.13-.5.25-.77.34v2.09c.8-.21 1.55-.54 2.23-.96l2.36 2.36 1.27-1.27L4.14 4.14 2.86 5.41zM20 4h-6v6l2.24-2.24C17.32 8.85 18 10.34 18 12c0 1-.25 1.94-.68 2.77l1.46 1.46C19.55 15.01 20 13.56 20 12c0-2.21-.91-4.2-2.36-5.64L20 4z"></path></g><g id="sync-problem"><path d="M3 12c0 2.21.91 4.2 2.36 5.64L3 20h6v-6l-2.24 2.24C5.68 15.15 5 13.66 5 12c0-2.61 1.67-4.83 4-5.65V4.26C5.55 5.15 3 8.27 3 12zm8 5h2v-2h-2v2zM21 4h-6v6l2.24-2.24C18.32 8.85 19 10.34 19 12c0 2.61-1.67 4.83-4 5.65v2.09c3.45-.89 6-4.01 6-7.74 0-2.21-.91-4.2-2.36-5.64L21 4zm-10 9h2V7h-2v6z"></path></g><g id="system-update"><path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14zm-1-6h-3V8h-2v5H8l4 4 4-4z"></path></g><g id="tap-and-play"><path d="M2 16v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0 4v3h3c0-1.66-1.34-3-3-3zm0-8v2c4.97 0 9 4.03 9 9h2c0-6.08-4.92-11-11-11zM17 1.01L7 1c-1.1 0-2 .9-2 2v7.37c.69.16 1.36.37 2 .64V5h10v13h-3.03c.52 1.25.84 2.59.95 4H17c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99z"></path></g><g id="time-to-leave"><path d="M18.92 5.01C18.72 4.42 18.16 4 17.5 4h-11c-.66 0-1.21.42-1.42 1.01L3 11v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 15c-.83 0-1.5-.67-1.5-1.5S5.67 12 6.5 12s1.5.67 1.5 1.5S7.33 15 6.5 15zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 10l1.5-4.5h11L19 10H5z"></path></g><g id="vibration"><path d="M0 15h2V9H0v6zm3 2h2V7H3v10zm19-8v6h2V9h-2zm-3 8h2V7h-2v10zM16.5 3h-9C6.67 3 6 3.67 6 4.5v15c0 .83.67 1.5 1.5 1.5h9c.83 0 1.5-.67 1.5-1.5v-15c0-.83-.67-1.5-1.5-1.5zM16 19H8V5h8v14z"></path></g><g id="voice-chat"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12l-4-3.2V14H6V6h8v3.2L18 6v8z"></path></g><g id="vpn-lock"><path d="M22 4v-.5C22 2.12 20.88 1 19.5 1S17 2.12 17 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-.8 0h-3.4v-.5c0-.94.76-1.7 1.7-1.7s1.7.76 1.7 1.7V4zm-2.28 8c.04.33.08.66.08 1 0 2.08-.8 3.97-2.1 5.39-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H7v-2h2c.55 0 1-.45 1-1V8h2c1.1 0 2-.9 2-2V3.46c-.95-.3-1.95-.46-3-.46C5.48 3 1 7.48 1 13s4.48 10 10 10 10-4.48 10-10c0-.34-.02-.67-.05-1h-2.03zM10 20.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L8 16v1c0 1.1.9 2 2 2v1.93z"></path></g><g id="wc"><path d="M5.5 22v-7.5H4V9c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5.5H9.5V22h-4zM18 22v-6h3l-2.54-7.63C18.18 7.55 17.42 7 16.56 7h-.12c-.86 0-1.63.55-1.9 1.37L12 16h3v6h3zM7.5 6c1.11 0 2-.89 2-2s-.89-2-2-2-2 .89-2 2 .89 2 2 2zm9 0c1.11 0 2-.89 2-2s-.89-2-2-2-2 .89-2 2 .89 2 2 2z"></path></g><g id="wifi"><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"></path></g></defs></svg></iron-iconset-svg><dom-module id="stream-status" assetpath="components/"><style>:host {
|
||
display: inline-block;
|
||
height: 24px;
|
||
}
|
||
|
||
paper-toggle-button {
|
||
vertical-align: middle;
|
||
}</style><template><iron-icon icon="warning" hidden$="[[!hasError]]"></iron-icon><paper-toggle-button id="toggle" on-change="toggleChanged" checked$="[[isStreaming]]" hidden$="[[hasError]]"></paper-toggle-button></template></dom-module><dom-module id="ha-sidebar" assetpath="components/"><style>.sidenav {
|
||
background: #fafafa;
|
||
box-shadow: 1px 0 1px rgba(0, 0, 0, 0.1);
|
||
overflow: hidden;
|
||
|
||
white-space: nowrap;
|
||
|
||
-ms-user-select: none;
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
}
|
||
|
||
/*.sidenav paper-menu {
|
||
--paper-menu-color: var(--secondary-text-color);
|
||
--paper-menu-background-color: #fafafa;
|
||
}*/
|
||
|
||
div.menu {
|
||
color: var(--secondary-text-color);
|
||
background-color: #fafafa;
|
||
}
|
||
|
||
paper-icon-item {
|
||
cursor: pointer;
|
||
}
|
||
|
||
paper-icon-item.selected {
|
||
font-weight: bold;
|
||
}
|
||
|
||
paper-icon-item.logout {
|
||
margin-top: 16px;
|
||
}
|
||
|
||
.divider {
|
||
border-top: 1px solid #e0e0e0;
|
||
}
|
||
|
||
.text {
|
||
padding: 16px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.dev-tools {
|
||
padding: 0 8px;
|
||
}</style><template><paper-header-panel mode="scroll" class="sidenav fit"><paper-toolbar><paper-icon-button hidden=""></paper-icon-button><div class="title">Home Assistant</div></paper-toolbar><div class="menu"><paper-icon-item on-click="menuClicked" data-panel="states"><iron-icon item-icon="" icon="apps"></iron-icon>States</paper-icon-item><template is="dom-repeat" items="{{possibleFilters}}"><paper-icon-item on-click="menuClicked" data-panel$="[[filterType(item)]]"><iron-icon item-icon="" icon="[[filterIcon(item)]]"></iron-icon><span>[[filterName(item)]]</span></paper-icon-item></template><template is="dom-if" if="[[hasHistoryComponent]]"><paper-icon-item on-click="menuClicked" data-panel="history"><iron-icon item-icon="" icon="assessment"></iron-icon>History</paper-icon-item></template><template is="dom-if" if="[[hasLogbookComponent]]"><paper-icon-item on-click="menuClicked" data-panel="logbook"><iron-icon item-icon="" icon="list"></iron-icon>Logbook</paper-icon-item></template><paper-icon-item on-click="menuClicked" data-panel="logout" class="logout"><iron-icon item-icon="" icon="exit-to-app"></iron-icon>Log Out</paper-icon-item><paper-item class="divider horizontal layout justified"><div>Streaming updates</div><stream-status></stream-status></paper-item><div class="text label divider">Developer Tools</div><div class="dev-tools layout horizontal justified"><paper-icon-button icon="settings-remote" data-panel="devService" on-click="handleDevClick"></paper-icon-button><paper-icon-button icon="settings-ethernet" data-panel="devState" on-click="handleDevClick"></paper-icon-button><paper-icon-button icon="settings-input-antenna" data-panel="devEvent" on-click="handleDevClick"></paper-icon-button></div></div></paper-header-panel></template></dom-module><dom-module id="home-assistant-main" assetpath="layouts/"><template><notification-manager></notification-manager><more-info-dialog></more-info-dialog><paper-drawer-panel id="drawer" narrow="{{narrow}}"><ha-sidebar drawer=""></ha-sidebar><template is="dom-if" if="[[isSelectedStates]]"><partial-states main="" narrow="[[narrow]]"></partial-states></template><template is="dom-if" if="[[isSelectedLogbook]]"><partial-logbook main="" narrow="[[narrow]]"></partial-logbook></template><template is="dom-if" if="[[isSelectedHistory]]"><partial-history main="" narrow="[[narrow]]"></partial-history></template><template is="dom-if" if="[[isSelectedDevService]]"><partial-dev-call-service main="" narrow="[[narrow]]"></partial-dev-call-service></template><template is="dom-if" if="[[isSelectedDevEvent]]"><partial-dev-fire-event main="" narrow="[[narrow]]"></partial-dev-fire-event></template><template is="dom-if" if="[[isSelectedDevState]]"><partial-dev-set-state main="" narrow="[[narrow]]"></partial-dev-set-state></template></paper-drawer-panel></template></dom-module></div><dom-module id="home-assistant"><style>:host {
|
||
font-family: 'Roboto', 'Noto', sans-serif;
|
||
font-weight: 300;
|
||
-webkit-font-smoothing: antialiased;
|
||
text-rendering: optimizeLegibility;
|
||
}</style><template><template is="dom-if" if="[[!loaded]]"><login-form></login-form></template><template is="dom-if" if="[[loaded]]"><home-assistant-main></home-assistant-main></template></template></dom-module><script>!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(3),u=n(5),s=r(u),c=n(60),l=r(c);n(147),n(146),e["default"]=o["default"]({is:"home-assistant",hostAttributes:{auth:null},behaviors:[s["default"]],properties:{auth:{type:String},loaded:{type:Boolean,bindNuclear:a.syncGetters.isDataLoaded}},ready:function(){document.getElementById("init").remove(),this.auth?l["default"](this.auth,!1):a.localStoragePreferences.authToken&&l["default"](a.localStoragePreferences.authToken,!0),a.localStoragePreferences.startSync()}}),t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=window.Polymer,t.exports=e["default"]},function(t,e,n){"use strict";!function(e,n){t.exports=n()}(void 0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){var r=n(1);e.Reactor=n(2),e.Store=n(3),e.Immutable=n(7),e.isKeyPath=n(4).isKeyPath,e.isGetter=n(5).isGetter,e.toJS=r.toJS,e.toImmutable=r.toImmutable,e.isImmutable=r.isImmutable,e.createReactMixin=n(6)},function(t,e,n){function r(t){return u.Iterable.isIterable(t)}function i(t){return r(t)||!s(t)}function o(t){return r(t)?t.toJS():t}function a(t){return r(t)?t:u.fromJS(t)}var u=n(7),s=n(8).isObject;e.toJS=o,e.toImmutable=a,e.isImmutable=r,e.isImmutableValue=i},function(t,e,n){function r(t){return this instanceof r?(t=t||{},this.debug=!!t.debug,this.ReactMixin=l(this),this.__state=i.Map({}),this.__stores=i.Map({}),this.__evaluator=new c,void(this.__changeObserver=new a(this.__state,this.__evaluator))):new r(t)}var i=n(7),o=n(9),a=n(10),u=n(5),s=n(4),c=n(11),l=n(6),f=n(1).toJS,d=n(1).isImmutableValue,h=n(8).each;r.prototype.evaluate=function(t){return this.__evaluator.evaluate(this.__state,t)},r.prototype.evaluateToJS=function(t){return f(this.evaluate(t))},r.prototype.observe=function(t,e){return 1===arguments.length?(e=t,t=u.fromKeyPath([])):s.isKeyPath(t)&&(t=u.fromKeyPath(t)),this.__changeObserver.onChange(t,e)},r.prototype.dispatch=function(t,e){var n=this.debug,r=this.__state;this.__state=this.__state.withMutations(function(r){this.debug&&o.dispatchStart(t,e),this.__stores.forEach(function(i,a){var u=r.get(a),s=i.handle(u,t,e);if(n&&void 0===s){var c="Store handler must return a value, did you forget a return statement";throw o.dispatchError(c),new Error(c)}r.set(a,s),this.debug&&o.storeHandled(a,u,s)}.bind(this)),this.debug&&o.dispatchEnd(r)}.bind(this)),this.__state!==r&&this.__changeObserver.notifyObservers(this.__state)},r.prototype.registerStore=function(t,e){console.warn("Deprecation warning: `registerStore` will no longer be supported in 1.1, use `registerStores` instead");var n={};n[t]=e,this.registerStores(n)},r.prototype.registerStores=function(t){h(t,function(t,e){this.__stores.get(e)&&console.warn("Store already defined for id = "+e);var n=t.getInitialState();if(this.debug&&!d(n))throw new Error("Store getInitialState() must return an immutable value, did you forget to call toImmutable");this.__stores=this.__stores.set(e,t),this.__state=this.__state.set(e,n)}.bind(this)),this.__changeObserver.notifyObservers(this.__state)},r.prototype.reset=function(){var t=this.debug,e=this.__state;this.__state=i.Map().withMutations(function(n){this.__stores.forEach(function(r,i){var o=e.get(i),a=r.handleReset(o);if(t&&void 0===a)throw new Error("Store handleReset() must return a value, did you forget a return statement");if(t&&!d(a))throw new Error("Store reset state must be an immutable value, did you forget to call toImmutable");n.set(i,a)})}.bind(this)),this.__evaluator.reset(),this.__changeObserver.reset(this.__state)},t.exports=r},function(t,e,n){function r(t){return this instanceof r?(this.__handlers=o({}),t&&a(this,t),void this.initialize()):new r(t)}function i(t){return t instanceof r}var o=n(7).Map,a=n(8).extend;r.prototype.initialize=function(){},r.prototype.getInitialState=function(){return o()},r.prototype.handle=function(t,e,n){var r=this.__handlers.get(e);return"function"==typeof r?r.call(this,t,n,e):t},r.prototype.handleReset=function(t){return this.getInitialState()},r.prototype.on=function(t,e){this.__handlers=this.__handlers.set(t,e)},t.exports=r,t.exports.isStore=i},function(t,e,n){var r=n(8).isArray,i=n(8).isFunction;e.isKeyPath=function(t){return r(t)&&!i(t[t.length-1])}},function(t,e,n){function r(t){return s(t)&&u(t[t.length-1])}function i(t){return t[t.length-1]}function o(t){return t.slice(0,t.length-1)}function a(t){if(!c(t))throw new Error("Cannot create Getter from KeyPath: "+t);return[t,l]}var u=n(8).isFunction,s=n(8).isArray,c=n(4).isKeyPath,l=function(t){return t};t.exports={isGetter:r,getComputeFn:i,getDeps:o,fromKeyPath:a}},function(t,e,n){function r(t,e){var n={};return i(e,function(e,r){n[r]=t.evaluate(e)}),n}var i=n(8).each;t.exports=function(t){return{getInitialState:function(){return r(t,this.getDataBindings())},componentDidMount:function(){var e=this;e.__unwatchFns=[],i(this.getDataBindings(),function(n,r){var i=t.observe(n,function(t){var n={};n[r]=t,e.setState(n)});e.__unwatchFns.push(i)})},componentWillUnmount:function(){for(;this.__unwatchFns.length;)this.__unwatchFns.shift()()}}}},function(t,e,n){function r(){function t(t,e,n,r){var i;if(r){var o=r.prototype;i=Oe.create(o)}else i=t.prototype;return Oe.keys(e).forEach(function(t){i[t]=e[t]}),Oe.keys(n).forEach(function(e){t[e]=n[e]}),i.constructor=t,t.prototype=i,t}function e(t,e,n,r){return Oe.getPrototypeOf(e)[n].apply(t,r)}function n(t,n,r){e(t,n,"constructor",r)}function r(t,e){return t===e||t!==t&&e!==e?!0:t&&e?("function"==typeof t.valueOf&&"function"==typeof e.valueOf&&(t=t.valueOf(),e=e.valueOf()),"function"==typeof t.equals&&"function"==typeof e.equals?t.equals(e):t===e||t!==t&&e!==e):!1}function i(t,e){if(!t)throw new Error(e)}function o(t){return t.value=!1,t}function a(t){t&&(t.value=!0)}function u(){}function s(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;n>i;i++)r[i]=t[i+e];return r}function c(t){i(t!==1/0,"Cannot perform this action with an infinite size.")}function l(t){return void 0===t.size&&(t.size=t.__iterate(d)),t.size}function f(t,e){return e>=0?+e:l(t)+ +e}function d(){return!0}function h(t,e,n){return(0===t||void 0!==n&&-n>=t)&&(void 0===e||void 0!==n&&e>=n)}function _(t,e){return v(t,e,0)}function p(t,e){return v(t,e,e)}function v(t,e,n){return void 0===t?n:0>t?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function y(t){return t>>>1&1073741824|3221225471&t}function g(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){for(var n=0|t;t>4294967295;)t/=4294967295,n^=t;return y(n)}return"string"===e?t.length>Le?m(t):b(t):"function"==typeof t.hashCode?t.hashCode():O(t)}function m(t){var e=ze[t];return void 0===e&&(e=b(t),Re===Ne&&(Re=0,ze={}),Re++,ze[t]=e),e}function b(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return y(e)}function O(t){var e=ke&&ke.get(t);if(e)return e;if(e=t[Ae])return e;if(!Pe){if(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ae])return e;if(e=S(t))return e}if(Object.isExtensible&&!Object.isExtensible(t))throw new Error("Non-extensible objects are not allowed as keys.");if(e=++xe,1073741824&xe&&(xe=0),ke)ke.set(t,e);else if(Pe)Object.defineProperty(t,Ae,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ae]=e;else{if(!t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ae]=e}return e}function S(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function w(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function T(){return{value:void 0,done:!0}}function M(t){return!!C(t)}function E(t){return t&&"function"==typeof t.next}function j(t){var e=C(t);return e&&e.call(t)}function C(t){var e=t&&(Ue&&t[Ue]||t[Fe]);return"function"==typeof e?e:void 0}function I(t){return!(!t||!t[Je])}function D(t){return!(!t||!t[$e])}function P(t){return!(!t||!t[Ze])}function k(t){return D(t)||P(t)}function x(t){return!(!t||!t[Xe])}function A(t,e){return e}function L(t,e){return[e,t]}function N(t){return function(){return!t.apply(this,arguments)}}function R(t){return function(){return-t.apply(this,arguments)}}function z(t){return"string"==typeof t?JSON.stringify(t):t}function Y(t,e){return e>t?1:t>e?-1:0}function H(t,e){if(t===e)return!0;if(!I(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||D(t)!==D(e)||P(t)!==P(e)||x(t)!==x(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!k(t);if(x(t)){var i=t.entries();return e.every(function(t,e){var o=i.next().value;return o&&r(o[1],t)&&(n||r(o[0],e))})&&i.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)t.cacheResult();else{o=!0;var a=t;t=e,e=a}var u=!0,s=e.__iterate(function(e,i){return(n?t.has(e):o?r(e,t.get(i,je)):r(t.get(i,je),e))?void 0:(u=!1,!1)});return u&&t.size===s}function G(t){if(t.size===1/0)return 0;var e=x(t),n=D(t),r=e?1:0,i=t.__iterate(n?e?function(t,e){r=31*r+U(g(t),g(e))|0}:function(t,e){r=r+U(g(t),g(e))|0}:e?function(t){r=31*r+g(t)|0}:function(t){r=r+g(t)|0});return F(i,r)}function F(t,e){return e=De(e,3432918353),e=De(e<<15|e>>>-15,461845907),e=De(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=De(e^e>>>16,2246822507),e=De(e^e>>>13,3266489909),e=y(e^e>>>16)}function U(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}function B(t,e){var n=t.prototype,r=function(t){n[t]=e[t]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}function V(t){return!(!t||!t[hn])}function q(){return gn||(gn=new _n([]))}function W(t){var e=Array.isArray(t)?new _n(t).fromEntrySeq():E(t)?new yn(t).fromEntrySeq():M(t)?new vn(t).fromEntrySeq():"object"==typeof t?new pn(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function K(t){var e=$(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function J(t){var e=$(t)||"object"==typeof t&&new pn(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function $(t){return Z(t)?new _n(t):E(t)?new yn(t):M(t)?new vn(t):void 0}function Z(t){return t&&"number"==typeof t.length}function X(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;o>=a;a++){var u=i[n?o-a:a];if(e(u[1],r?u[0]:a,t)===!1)return a+1}return a}return t.__iterateUncached(e,n)}function Q(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new Ve(function(){var t=i[n?o-a:a];return a++>o?T():w(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function tt(t,e){return e?et(e,t,"",{"":t}):nt(t)}function et(t,e,n,r){return Array.isArray(e)?t.call(r,n,cn(e).map(function(n,r){return et(t,n,r,e)})):rt(e)?t.call(r,n,un(e).map(function(n,r){return et(t,n,r,e)})):e}function nt(t){return Array.isArray(t)?cn(t).map(nt).toList():rt(t)?un(t).map(nt).toMap():t}function rt(t){return t&&t.constructor===Object}function it(t){return!(!t||!t[jn])}function ot(t,e){return w(t,e[0],e[1])}function at(t,e){return{node:t,index:0,__prev:e}}function ut(t,e,n,r){var i=Object.create(Cn);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function st(){return Hn||(Hn=ut(0))}function ct(t,e,n){var r,i;if(t._root){var a=o(Ce),u=o(Ie);if(r=lt(t._root,t.__ownerID,0,void 0,e,n,a,u),!u.value)return t;i=t.size+(a.value?n===je?-1:1:0)}else{if(n===je)return t;i=1,r=new In(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?ut(i,r):st()}function lt(t,e,n,r,i,o,u,s){return t?t.update(e,n,r,i,o,u,s):o===je?t:(a(s),a(u),new Rn(e,r,[i,o]))}function ft(t){return t.constructor===Rn||t.constructor===Ln}function dt(t,e,n,r,i){if(t.keyHash===r)return new Ln(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&Ee,u=(0===n?r:r>>>n)&Ee,s=a===u?[dt(t,e,n+Te,r,i)]:(o=new Rn(e,r,i),u>a?[t,o]:[o,t]);return new Pn(e,1<<a|1<<u,s)}function ht(t,e,n,r){t||(t=new u);for(var i=new Rn(t,g(n),[n,r]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}function _t(t,e,n,r){for(var i=0,o=0,a=new Array(n),u=0,s=1,c=e.length;c>u;u++,s<<=1){var l=e[u];void 0!==l&&u!==r&&(i|=s,a[o++]=l)}return new Pn(t,i,a)}function pt(t,e,n,r,i){for(var o=0,a=new Array(Me),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[o++]:void 0;return a[r]=i,new xn(t,o+1,a)}function vt(t,e,n){for(var r=[],i=0;i<n.length;i++){var o=n[i],a=tn(o);I(o)||(a=a.map(function(t){return tt(t)})),r.push(a)}return gt(t,e,r)}function yt(t){return function(e,n){return e&&e.mergeDeepWith&&I(n)?e.mergeDeepWith(t,n):t?t(e,n):n}}function gt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0===t.size&&1===n.length?t.constructor(n[0]):t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,je,function(t){return t===je?n:e(t,n)})}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)})}function mt(t,e,n,r){var o=t===je,a=e.next();if(a.done){var u=o?n:t,s=r(u);return s===u?t:s}i(o||t&&t.set,"invalid keyPath");var c=a.value,l=o?je:t.get(c,je),f=mt(l,e,n,r);return f===l?t:f===je?t.remove(c):(o?st():t).set(c,f)}function bt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Ot(t,e,n,r){var i=r?t:s(t);return i[e]=n,i}function St(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,u=0;i>u;u++)u===e?(o[u]=n,a=-1):o[u]=t[u+a];return o}function wt(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;r>a;a++)a===e&&(o=1),i[a]=t[a+o];return i}function Tt(t){var e=Vt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.contains(e)},e.contains=function(e){return t.has(e)},e.cacheResult=qt,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return e(n,t,r)!==!1},n)},e.__iteratorUncached=function(e,n){if(e===Ge){var r=t.__iterator(e,n);return new Ve(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===He?Ye:He,n)},e}function Mt(t,e,n){var r=Vt(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,je);return o===je?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return r(e.call(n,t,i,a),i,o)!==!1},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(Ge,i);return new Ve(function(){var i=o.next();if(i.done)return i;var a=i.value,u=a[0];return w(r,u,e.call(n,a[1],u,t),i)})},r}function Et(t,e){var n=Vt(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Tt(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.contains=function(e){return t.contains(e)},n.cacheResult=qt,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function jt(t,e,n,r){var i=Vt(t);return r&&(i.has=function(r){var i=t.get(r,je);return i!==je&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,je);return o!==je&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,u=0;return t.__iterate(function(t,o,s){return e.call(n,t,o,s)?(u++,i(t,r?o:u-1,a)):void 0},o),u},i.__iteratorUncached=function(i,o){var a=t.__iterator(Ge,o),u=0;return new Ve(function(){for(;;){var o=a.next();if(o.done)return o;var s=o.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return w(i,r?c:u++,l,o)}})},i}function Ct(t,e,n){var r=En().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function It(t,e,n){var r=D(t),i=En().asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=Bt(t);return i.map(function(e){return Gt(t,o(e))})}function Dt(t,e){if(e>t.size)return t;0>e&&(e=0);var n=Vt(t);return n.size=t.size&&Math.min(t.size,e),n.__iterateUncached=function(n,r){var i=this;if(0===e)return 0;if(r)return this.cacheResult().__iterate(n,r);var o=0;return t.__iterate(function(t,r){return++o&&n(t,r,i)!==!1&&e>o}),o},n.__iteratorUncached=function(n,r){if(r)return this.cacheResult().__iterator(n,r);var i=e&&t.__iterator(n,r),o=0;return new Ve(function(){return o++>e?T():i.next()})},n}function Pt(t,e,n){var r=Vt(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,u){return e.call(n,t,i,u)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(Ge,i),u=!0;return new Ve(function(){if(!u)return T();var t=a.next();if(t.done)return t;var i=t.value,s=i[0],c=i[1];return e.call(n,c,s,o)?r===Ge?t:w(r,s,c,t):(u=!1,T())})},r}function kt(t,e,n){if(0>=e)return t;var r=Vt(t);return r.size=t.size&&Math.max(0,t.size-e),r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0,u=!0,s=0;return t.__iterate(function(t,i){return u&&(u=a++<e)?void 0:(s++,r(t,n?i:s-1,o))}),s},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e&&t.__iterator(r,i),a=0,u=0;return new Ve(function(){for(;e>a;)a++,o.next();var t=o.next();return n||r===He?t:r===Ye?w(r,u++,void 0,t):w(r,u++,t.value[1],t)})},r}function xt(t,e,n,r){var i=Vt(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var u=!0,s=0;return t.__iterate(function(t,o,c){return u&&(u=e.call(n,t,o,c))?void 0:(s++,i(t,r?o:s-1,a))}),s},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var u=t.__iterator(Ge,o),s=!0,c=0;return new Ve(function(){var t,o,l;do{if(t=u.next(),t.done)return r||i===He?t:i===Ye?w(i,c++,void 0,t):w(i,c++,t.value[1],t);var f=t.value;o=f[0],l=f[1],s&&(s=e.call(n,l,o,a))}while(s);return i===Ge?t:w(i,o,l,t)})},i}function At(t,e){var n=D(t),r=[t].concat(e).map(function(t){return I(t)?n&&(t=tn(t)):t=n?W(t):K(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===r.length)return t;if(1===r.length){var i=r[0];if(i===t||n&&D(i)||P(t)&&P(i))return i}var o=new _n(r);return n?o=o.toKeyedSeq():P(t)||(o=o.toSetSeq()),o=o.flatten(!0),o.size=r.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),o}function Lt(t,e,n){var r=Vt(t);return r.__iterateUncached=function(r,i){function o(t,s){var c=this;t.__iterate(function(t,i){return(!e||e>s)&&I(t)?o(t,s+1):r(t,n?i:a++,c)===!1&&(u=!0),!u},i)}var a=0,u=!1;return o(t,0),a},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),a=[],u=0;return new Ve(function(){for(;o;){var t=o.next();if(t.done===!1){var s=t.value;if(r===Ge&&(s=s[1]),e&&!(a.length<e)||!I(s))return n?t:w(r,u++,s,t);a.push(o),o=s.__iterator(r,i)}else o=a.pop()}return T()})},r}function Nt(t,e,n){var r=Bt(t);return t.toSeq().map(function(i,o){return r(e.call(n,i,o,t))}).flatten(!0)}function Rt(t,e){var n=Vt(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate(function(t,r){return(!o||n(e,o++,i)!==!1)&&n(t,o++,i)!==!1},r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(He,r),a=0;return new Ve(function(){return(!i||a%2)&&(i=o.next(),i.done)?i:a%2?w(n,a++,e):w(n,a++,i.value,i)})},n}function zt(t,e,n){e||(e=Wt);var r=D(t),i=0,o=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).toArray();return o.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?un(o):P(t)?cn(o):fn(o)}function Yt(t,e,n){if(e||(e=Wt),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Ht(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Ht(e,t,n)?n:t})}function Ht(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function Gt(t,e){return V(t)?e:t.constructor(e)}function Ft(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ut(t){return c(t.size),l(t)}function Bt(t){return D(t)?tn:P(t)?nn:rn}function Vt(t){return Object.create((D(t)?un:P(t)?cn:fn).prototype)}function qt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):on.prototype.cacheResult.call(this)}function Wt(t,e){return t>e?1:e>t?-1:0}function Kt(t){return!(!t||!t[Jn])}function Jt(t,e){function n(t,e,n){return 0===e?r(t,n):i(t,e,n)}function r(t,n){var r=n===u?s&&s.array:t&&t.array,i=n>o?0:o-n,c=a-n;return c>Me&&(c=Me),function(){if(i===c)return tr;var t=e?--c:i++;return r&&r[t]}}function i(t,r,i){var u,s=t&&t.array,c=i>o?0:o-i>>r,l=(a-i>>r)+1;return l>Me&&(l=Me),function(){for(;;){if(u){var t=u();if(t!==tr)return t;u=null}if(c===l)return tr;var o=e?--l:c++;u=n(s&&s[o],r-Te,i+(o<<r))}}}var o=t._origin,a=t._capacity,u=ie(a),s=t._tail;return n(t._root,t._level,0)}function $t(t,e,n,r,i,o,a){var u=Object.create($n);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=i,u.__ownerID=o,u.__hash=a,u.__altered=!1,u}function Zt(){return Qn||(Qn=$t(0,0,Te))}function Xt(t,e,n){if(e=f(t,e),e>=t.size||0>e)return t.withMutations(function(t){0>e?ne(t,e).set(0,n):ne(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,a=o(Ie);return e>=ie(t._capacity)?r=Qt(r,t.__ownerID,0,e,n,a):i=Qt(i,t.__ownerID,t._level,e,n,a),a.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):$t(t._origin,t._capacity,t._level,i,r):t}function Qt(t,e,n,r,i,o){var u=r>>>n&Ee,s=t&&u<t.array.length;if(!s&&void 0===i)return t;var c;if(n>0){var l=t&&t.array[u],f=Qt(l,e,n-Te,r,i,o);return f===l?t:(c=te(t,e),c.array[u]=f,c)}return s&&t.array[u]===i?t:(a(o),c=te(t,e),void 0===i&&u===c.array.length-1?c.array.pop():c.array[u]=i,c)}function te(t,e){return e&&t&&e===t.ownerID?t:new Zn(t?t.array.slice():[],e)}function ee(t,e){if(e>=ie(t._capacity))return t._tail;if(e<1<<t._level+Te){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&Ee],r-=Te;return n}}function ne(t,e,n){var r=t.__ownerID||new u,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:0>n?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var c=t._level,l=t._root,f=0;0>a+f;)l=new Zn(l&&l.array.length?[void 0,l]:[],r),c+=Te,f+=1<<c;f&&(a+=f,i+=f,s+=f,o+=f);for(var d=ie(o),h=ie(s);h>=1<<c+Te;)l=new Zn(l&&l.array.length?[l]:[],r),c+=Te;var _=t._tail,p=d>h?ee(t,s-1):h>d?new Zn([],r):_;if(_&&h>d&&o>a&&_.array.length){l=te(l,r);for(var v=l,y=c;y>Te;y-=Te){var g=d>>>y&Ee;v=v.array[g]=te(v.array[g],r)}v.array[d>>>Te&Ee]=_}if(o>s&&(p=p&&p.removeAfter(r,0,s)),a>=h)a-=h,s-=h,c=Te,l=null,p=p&&p.removeBefore(r,0,a);else if(a>i||d>h){for(f=0;l;){var m=a>>>c&Ee;if(m!==h>>>c&Ee)break;m&&(f+=(1<<c)*m),c-=Te,l=l.array[m]}l&&a>i&&(l=l.removeBefore(r,c,a-f)),l&&d>h&&(l=l.removeAfter(r,c,h-f)),f&&(a-=f,s-=f)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=l,t._tail=p,t.__hash=void 0,t.__altered=!0,t):$t(a,s,c,l,p)}function re(t,e,n){for(var r=[],i=0,o=0;o<n.length;o++){var a=n[o],u=nn(a);u.size>i&&(i=u.size),I(a)||(u=u.map(function(t){return tt(t)})),r.push(u)}return i>t.size&&(t=t.setSize(i)),gt(t,e,r)}function ie(t){return Me>t?0:t-1>>>Te<<Te}function oe(t){return it(t)&&x(t)}function ae(t,e,n,r){var i=Object.create(er.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function ue(){return nr||(nr=ae(st(),Zt()))}function se(t,e,n){var r,i,o=t._map,a=t._list,u=o.get(e),s=void 0!==u;if(n===je){if(!s)return t;a.size>=Me&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&u!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;r=o,i=a.set(u,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):ae(r,i)}function ce(t){return!(!t||!t[or])}function le(t,e,n,r){var i=Object.create(ar);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function fe(){return ur||(ur=le(0))}function de(t){return!(!t||!t[cr])}function he(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function _e(t,e){var n=Object.create(lr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function pe(){return fr||(fr=_e(st()))}function ve(t){return de(t)&&x(t)}function ye(t,e){var n=Object.create(hr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function ge(){return _r||(_r=ye(ue()))}function me(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function be(t){return t._name||t.constructor.name}var Oe=Object,Se={};Se.createClass=t,Se.superCall=e,Se.defaultSuperCall=n;var we="delete",Te=5,Me=1<<Te,Ee=Me-1,je={},Ce={value:!1},Ie={value:!1},De="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t=0|t,e=0|e;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Pe=function(){try{return Object.defineProperty({},"x",{}),!0}catch(t){return!1}}(),ke="function"==typeof WeakMap&&new WeakMap,xe=0,Ae="__immutablehash__";"function"==typeof Symbol&&(Ae=Symbol(Ae));var Le=16,Ne=255,Re=0,ze={},Ye=0,He=1,Ge=2,Fe="@@iterator",Ue="function"==typeof Symbol&&Symbol.iterator,Be=Ue||Fe,Ve=function(t){this.next=t};Se.createClass(Ve,{toString:function(){return"[Iterator]"}},{}),Ve.KEYS=Ye,Ve.VALUES=He,Ve.ENTRIES=Ge;var qe=Ve.prototype;qe.inspect=qe.toSource=function(){return this.toString()},qe[Be]=function(){return this};var We=function(t){return I(t)?t:on(t)},Ke=We;Se.createClass(We,{toArray:function(){c(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new Vn(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toKeyedSeq:function(){return new Bn(this,!0)},toMap:function(){return En(this.toKeyedSeq())},toObject:function(){c(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return er(this.toKeyedSeq())},toOrderedSet:function(){return dr(D(this)?this.valueSeq():this)},toSet:function(){return sr(D(this)?this.valueSeq():this)},toSetSeq:function(){return new qn(this)},toSeq:function(){return P(this)?this.toIndexedSeq():D(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return rr(D(this)?this.valueSeq():this)},toList:function(){return Kn(D(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Gt(this,At(this,t))},contains:function(t){return this.some(function(e){return r(e,t)})},entries:function(){return this.__iterator(Ge)},every:function(t,e){c(this.size);var n=!0;return this.__iterate(function(r,i,o){return t.call(e,r,i,o)?void 0:(n=!1,!1)}),n},filter:function(t,e){return Gt(this,jt(this,t,e,!0))},find:function(t,e,n){var r=n;return this.__iterate(function(n,i,o){return t.call(e,n,i,o)?(r=n,!1):void 0}),r},forEach:function(t,e){return c(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){c(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r:""}),e},keys:function(){return this.__iterator(Ye)},map:function(t,e){return Gt(this,Mt(this,t,e))},reduce:function(t,e,n){c(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Gt(this,Et(this,!0))},slice:function(t,e){if(h(t,e,this.size))return this;var n=_(t,this.size),r=p(e,this.size);if(n!==n||r!==r)return this.toSeq().cacheResult().slice(t,e);var i=0===n?this:this.skip(n);return Gt(this,void 0===r||r===this.size?i:i.take(r-n))},some:function(t,e){return!this.every(N(t),e)},sort:function(t){return Gt(this,zt(this,t))},values:function(){return this.__iterator(He)},butLast:function(){return this.slice(0,-1)},count:function(t,e){return l(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return Ct(this,t,e)},equals:function(t){return H(this,t)},entrySeq:function(){var t=this;if(t._cache)return new _n(t._cache);var e=t.toSeq().map(L).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(N(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(d)},flatMap:function(t,e){return Gt(this,Nt(this,t,e))},flatten:function(t){return Gt(this,Lt(this,t,!0))},fromEntrySeq:function(){return new Wn(this)},get:function(t,e){return this.find(function(e,n){return r(n,t)},void 0,e)},getIn:function(t,e){var n=this;if(t)for(var r,i=j(t)||j(Ke(t));!(r=i.next()).done;){var o=r.value;if(n=n&&n.get?n.get(o,je):je,n===je)return e}return n},groupBy:function(t,e){return It(this,t,e)},has:function(t){return this.get(t,je)!==je},hasIn:function(t){return this.getIn(t,je)!==je},isSubset:function(t){return t="function"==typeof t.contains?t:Ke(t),this.every(function(e){return t.contains(e)})},isSuperset:function(t){return t.isSubset(this)},keySeq:function(){return this.toSeq().map(A).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Yt(this,t)},maxBy:function(t,e){return Yt(this,e,t)},min:function(t){return Yt(this,t?R(t):Y)},minBy:function(t,e){return Yt(this,e?R(e):Y,t)},rest:function(){return this.slice(1)},skip:function(t){return Gt(this,kt(this,t,!0))},skipLast:function(t){return Gt(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Gt(this,xt(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(N(t),e)},sortBy:function(t,e){return Gt(this,zt(this,e,t))},take:function(t){return Gt(this,Dt(this,t))},takeLast:function(t){return Gt(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Gt(this,Pt(this,t,e))},takeUntil:function(t,e){return this.takeWhile(N(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=G(this))}},{});var Je="@@__IMMUTABLE_ITERABLE__@@",$e="@@__IMMUTABLE_KEYED__@@",Ze="@@__IMMUTABLE_INDEXED__@@",Xe="@@__IMMUTABLE_ORDERED__@@",Qe=We.prototype;Qe[Je]=!0,Qe[Be]=Qe.values,Qe.toJSON=Qe.toJS,Qe.__toJS=Qe.toArray,Qe.__toStringMapper=z,Qe.inspect=Qe.toSource=function(){return this.toString()},Qe.chain=Qe.flatMap,function(){try{Object.defineProperty(Qe,"length",{get:function(){if(!We.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}();var tn=function(t){return D(t)?t:un(t)};Se.createClass(tn,{flip:function(){return Gt(this,Tt(this))},findKey:function(t,e){var n;return this.__iterate(function(r,i,o){
|
||
return t.call(e,r,i,o)?(n=i,!1):void 0}),n},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return r(e,t)})},lastKeyOf:function(t){return this.toSeq().reverse().keyOf(t)},mapEntries:function(t,e){var n=this,r=0;return Gt(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Gt(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}},{},We);var en=tn.prototype;en[$e]=!0,en[Be]=Qe.entries,en.__toJS=Qe.toObject,en.__toStringMapper=function(t,e){return e+": "+z(t)};var nn=function(t){return P(t)?t:cn(t)};Se.createClass(nn,{toKeyedSeq:function(){return new Bn(this,!1)},filter:function(t,e){return Gt(this,jt(this,t,e,!1))},findIndex:function(t,e){var n=this.toKeyedSeq().findKey(t,e);return void 0===n?-1:n},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Gt(this,Et(this,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=_(t,this.size);var r=this.slice(0,t);return Gt(this,1===n?r:r.concat(s(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Gt(this,Lt(this,t,!1))},get:function(t,e){return t=f(this,t),0>t||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return t=f(this,t),t>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Gt(this,Rt(this,t))},last:function(){return this.get(-1)},skip:function(t){var e=this,n=kt(e,t,!1);return V(e)&&n!==e&&(n.get=function(n,r){return n=f(this,n),n>=0?e.get(n+t,r):r}),Gt(this,n)},skipWhile:function(t,e){return Gt(this,xt(this,t,e,!1))},take:function(t){var e=this,n=Dt(e,t);return V(e)&&n!==e&&(n.get=function(n,r){return n=f(this,n),n>=0&&t>n?e.get(n,r):r}),Gt(this,n)}},{},We),nn.prototype[Ze]=!0,nn.prototype[Xe]=!0;var rn=function(t){return I(t)&&!k(t)?t:fn(t)};Se.createClass(rn,{get:function(t,e){return this.has(t)?t:e},contains:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}},{},We),rn.prototype.has=Qe.contains,We.isIterable=I,We.isKeyed=D,We.isIndexed=P,We.isAssociative=k,We.isOrdered=x,We.Keyed=tn,We.Indexed=nn,We.Set=rn,We.Iterator=Ve;var on=function(t){return null===t||void 0===t?q():I(t)?t.toSeq():J(t)},an=on;Se.createClass(on,{toSeq:function(){return this},toString:function(){return this.__toString("Seq {","}")},cacheResult:function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},__iterate:function(t,e){return X(this,t,e,!0)},__iterator:function(t,e){return Q(this,t,e,!0)}},{of:function(){return an(arguments)}},We);var un=function(t){return null===t||void 0===t?q().toKeyedSeq():I(t)?D(t)?t.toSeq():t.fromEntrySeq():W(t)},sn=un;Se.createClass(un,{toKeyedSeq:function(){return this},toSeq:function(){return this}},{of:function(){return sn(arguments)}},on),B(un,tn.prototype);var cn=function(t){return null===t||void 0===t?q():I(t)?D(t)?t.entrySeq():t.toIndexedSeq():K(t)},ln=cn;Se.createClass(cn,{toIndexedSeq:function(){return this},toString:function(){return this.__toString("Seq [","]")},__iterate:function(t,e){return X(this,t,e,!1)},__iterator:function(t,e){return Q(this,t,e,!1)}},{of:function(){return ln(arguments)}},on),B(cn,nn.prototype);var fn=function(t){return(null===t||void 0===t?q():I(t)?D(t)?t.entrySeq():t:K(t)).toSetSeq()},dn=fn;Se.createClass(fn,{toSetSeq:function(){return this}},{of:function(){return dn(arguments)}},on),B(fn,rn.prototype),on.isSeq=V,on.Keyed=un,on.Set=fn,on.Indexed=cn;var hn="@@__IMMUTABLE_SEQ__@@";on.prototype[hn]=!0;var _n=function(t){this._array=t,this.size=t.length};Se.createClass(_n,{get:function(t,e){return this.has(t)?this._array[f(this,t)]:e},__iterate:function(t,e){for(var n=this._array,r=n.length-1,i=0;r>=i;i++)if(t(n[e?r-i:i],i,this)===!1)return i+1;return i},__iterator:function(t,e){var n=this._array,r=n.length-1,i=0;return new Ve(function(){return i>r?T():w(t,i,n[e?r-i++:i++])})}},{},cn);var pn=function(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length};Se.createClass(pn,{get:function(t,e){return void 0===e||this.has(t)?this._object[t]:e},has:function(t){return this._object.hasOwnProperty(t)},__iterate:function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;i>=o;o++){var a=r[e?i-o:o];if(t(n[a],a,this)===!1)return o+1}return o},__iterator:function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new Ve(function(){var a=r[e?i-o:o];return o++>i?T():w(t,a,n[a])})}},{},un),pn.prototype[Xe]=!0;var vn=function(t){this._iterable=t,this.size=t.length||t.size};Se.createClass(vn,{__iterateUncached:function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=j(n),i=0;if(E(r))for(var o;!(o=r.next()).done&&t(o.value,i++,this)!==!1;);return i},__iteratorUncached:function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=j(n);if(!E(r))return new Ve(T);var i=0;return new Ve(function(){var e=r.next();return e.done?e:w(t,i++,e.value)})}},{},cn);var yn=function(t){this._iterator=t,this._iteratorCache=[]};Se.createClass(yn,{__iterateUncached:function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(t(r[i],i++,this)===!1)return i;for(var o;!(o=n.next()).done;){var a=o.value;if(r[i]=a,t(a,i++,this)===!1)break}return i},__iteratorUncached:function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new Ve(function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return w(t,i,r[i++])})}},{},cn);var gn,mn=function(){throw TypeError("Abstract")};Se.createClass(mn,{},{},We);var bn=function(){Se.defaultSuperCall(this,On.prototype,arguments)},On=bn;Se.createClass(bn,{},{},mn),B(bn,tn.prototype);var Sn=function(){Se.defaultSuperCall(this,wn.prototype,arguments)},wn=Sn;Se.createClass(Sn,{},{},mn),B(Sn,nn.prototype);var Tn=function(){Se.defaultSuperCall(this,Mn.prototype,arguments)},Mn=Tn;Se.createClass(Tn,{},{},mn),B(Tn,rn.prototype),mn.Keyed=bn,mn.Indexed=Sn,mn.Set=Tn;var En=function(t){return null===t||void 0===t?st():it(t)?t:st().withMutations(function(e){var n=tn(t);c(n.size),n.forEach(function(t,n){return e.set(n,t)})})};Se.createClass(En,{toString:function(){return this.__toString("Map {","}")},get:function(t,e){return this._root?this._root.get(0,void 0,t,e):e},set:function(t,e){return ct(this,t,e)},setIn:function(t,e){return this.updateIn(t,je,function(){return e})},remove:function(t){return ct(this,t,je)},deleteIn:function(t){return this.updateIn(t,function(){return je})},update:function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},updateIn:function(t,e,n){n||(n=e,e=void 0);var r=mt(this,j(t)||j(We(t)),e,n);return r===je?void 0:r},clear:function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):st()},merge:function(){return vt(this,void 0,arguments)},mergeWith:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return vt(this,t,e)},mergeIn:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return this.updateIn(t,st(),function(t){return t.merge.apply(t,e)})},mergeDeep:function(){return vt(this,yt(void 0),arguments)},mergeDeepWith:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return vt(this,yt(t),e)},mergeDeepIn:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return this.updateIn(t,st(),function(t){return t.mergeDeep.apply(t,e)})},sort:function(t){return er(zt(this,t))},sortBy:function(t,e){return er(zt(this,e,t))},withMutations:function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},asMutable:function(){return this.__ownerID?this:this.__ensureOwner(new u)},asImmutable:function(){return this.__ensureOwner()},wasAltered:function(){return this.__altered},__iterator:function(t,e){return new Yn(this,t,e)},__iterate:function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},__ensureOwner:function(t){return t===this.__ownerID?this:t?ut(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)}},{},bn),En.isMap=it;var jn="@@__IMMUTABLE_MAP__@@",Cn=En.prototype;Cn[jn]=!0,Cn[we]=Cn.remove,Cn.removeIn=Cn.deleteIn;var In=function(t,e){this.ownerID=t,this.entries=e},Dn=In;Se.createClass(In,{get:function(t,e,n,i){for(var o=this.entries,a=0,u=o.length;u>a;a++)if(r(n,o[a][0]))return o[a][1];return i},update:function(t,e,n,i,o,u,c){for(var l=o===je,f=this.entries,d=0,h=f.length;h>d&&!r(i,f[d][0]);d++);var _=h>d;if(_?f[d][1]===o:l)return this;if(a(c),(l||!_)&&a(u),!l||1!==f.length){if(!_&&!l&&f.length>=Gn)return ht(t,f,i,o);var p=t&&t===this.ownerID,v=p?f:s(f);return _?l?d===h-1?v.pop():v[d]=v.pop():v[d]=[i,o]:v.push([i,o]),p?(this.entries=v,this):new Dn(t,v)}}},{});var Pn=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n},kn=Pn;Se.createClass(Pn,{get:function(t,e,n,r){void 0===e&&(e=g(n));var i=1<<((0===t?e:e>>>t)&Ee),o=this.bitmap;return 0===(o&i)?r:this.nodes[bt(o&i-1)].get(t+Te,e,n,r)},update:function(t,e,n,r,i,o,a){void 0===n&&(n=g(r));var u=(0===e?n:n>>>e)&Ee,s=1<<u,c=this.bitmap,l=0!==(c&s);if(!l&&i===je)return this;var f=bt(c&s-1),d=this.nodes,h=l?d[f]:void 0,_=lt(h,t,e+Te,n,r,i,o,a);if(_===h)return this;if(!l&&_&&d.length>=Fn)return pt(t,d,c,u,_);if(l&&!_&&2===d.length&&ft(d[1^f]))return d[1^f];if(l&&_&&1===d.length&&ft(_))return _;var p=t&&t===this.ownerID,v=l?_?c:c^s:c|s,y=l?_?Ot(d,f,_,p):wt(d,f,p):St(d,f,_,p);return p?(this.bitmap=v,this.nodes=y,this):new kn(t,v,y)}},{});var xn=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n},An=xn;Se.createClass(xn,{get:function(t,e,n,r){void 0===e&&(e=g(n));var i=(0===t?e:e>>>t)&Ee,o=this.nodes[i];return o?o.get(t+Te,e,n,r):r},update:function(t,e,n,r,i,o,a){void 0===n&&(n=g(r));var u=(0===e?n:n>>>e)&Ee,s=i===je,c=this.nodes,l=c[u];if(s&&!l)return this;var f=lt(l,t,e+Te,n,r,i,o,a);if(f===l)return this;var d=this.count;if(l){if(!f&&(d--,Un>d))return _t(t,c,d,u)}else d++;var h=t&&t===this.ownerID,_=Ot(c,u,f,h);return h?(this.count=d,this.nodes=_,this):new An(t,d,_)}},{});var Ln=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n},Nn=Ln;Se.createClass(Ln,{get:function(t,e,n,i){for(var o=this.entries,a=0,u=o.length;u>a;a++)if(r(n,o[a][0]))return o[a][1];return i},update:function(t,e,n,i,o,u,c){void 0===n&&(n=g(i));var l=o===je;if(n!==this.keyHash)return l?this:(a(c),a(u),dt(this,t,e,n,[i,o]));for(var f=this.entries,d=0,h=f.length;h>d&&!r(i,f[d][0]);d++);var _=h>d;if(_?f[d][1]===o:l)return this;if(a(c),(l||!_)&&a(u),l&&2===h)return new Rn(t,this.keyHash,f[1^d]);var p=t&&t===this.ownerID,v=p?f:s(f);return _?l?d===h-1?v.pop():v[d]=v.pop():v[d]=[i,o]:v.push([i,o]),p?(this.entries=v,this):new Nn(t,this.keyHash,v)}},{});var Rn=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n},zn=Rn;Se.createClass(Rn,{get:function(t,e,n,i){return r(n,this.entry[0])?this.entry[1]:i},update:function(t,e,n,i,o,u,s){var c=o===je,l=r(i,this.entry[0]);return(l?o===this.entry[1]:c)?this:(a(s),c?void a(u):l?t&&t===this.ownerID?(this.entry[1]=o,this):new zn(t,this.keyHash,[i,o]):(a(u),dt(this,t,e,g(i),[i,o])))}},{}),In.prototype.iterate=Ln.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;i>=r;r++)if(t(n[e?i-r:r])===!1)return!1},Pn.prototype.iterate=xn.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;i>=r;r++){var o=n[e?i-r:r];if(o&&o.iterate(t,e)===!1)return!1}},Rn.prototype.iterate=function(t,e){return t(this.entry)};var Yn=function(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&at(t._root)};Se.createClass(Yn,{next:function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return ot(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,n>=i)return ot(t,r.entries[this._reverse?n-i:i])}else if(n=r.nodes.length-1,n>=i){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return ot(t,o.entry);e=this._stack=at(o,e)}continue}e=this._stack=this._stack.__prev}return T()}},{},Ve);var Hn,Gn=Me/4,Fn=Me/2,Un=Me/4,Bn=function(t,e){this._iter=t,this._useKeys=e,this.size=t.size};Se.createClass(Bn,{get:function(t,e){return this._iter.get(t,e)},has:function(t){return this._iter.has(t)},valueSeq:function(){return this._iter.valueSeq()},reverse:function(){var t=this,e=Et(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},map:function(t,e){var n=this,r=Mt(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},__iterate:function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ut(this):0,function(i){return t(i,e?--n:n++,r)}),e)},__iterator:function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(He,e),r=e?Ut(this):0;return new Ve(function(){var i=n.next();return i.done?i:w(t,e?--r:r++,i.value,i)})}},{},un),Bn.prototype[Xe]=!0;var Vn=function(t){this._iter=t,this.size=t.size};Se.createClass(Vn,{contains:function(t){return this._iter.contains(t)},__iterate:function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},__iterator:function(t,e){var n=this._iter.__iterator(He,e),r=0;return new Ve(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})}},{},cn);var qn=function(t){this._iter=t,this.size=t.size};Se.createClass(qn,{has:function(t){return this._iter.contains(t)},__iterate:function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},__iterator:function(t,e){var n=this._iter.__iterator(He,e);return new Ve(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})}},{},fn);var Wn=function(t){this._iter=t,this.size=t.size};Se.createClass(Wn,{entrySeq:function(){return this._iter.toSeq()},__iterate:function(t,e){var n=this;return this._iter.__iterate(function(e){return e?(Ft(e),t(e[1],e[0],n)):void 0},e)},__iterator:function(t,e){var n=this._iter.__iterator(He,e);return new Ve(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r)return Ft(r),t===Ge?e:w(t,r[0],r[1],e)}})}},{},un),Vn.prototype.cacheResult=Bn.prototype.cacheResult=qn.prototype.cacheResult=Wn.prototype.cacheResult=qt;var Kn=function(t){var e=Zt();if(null===t||void 0===t)return e;if(Kt(t))return t;var n=nn(t),r=n.size;return 0===r?e:(c(r),r>0&&Me>r?$t(0,r,Te,null,new Zn(n.toArray())):e.withMutations(function(t){t.setSize(r),n.forEach(function(e,n){return t.set(n,e)})}))};Se.createClass(Kn,{toString:function(){return this.__toString("List [","]")},get:function(t,e){if(t=f(this,t),0>t||t>=this.size)return e;t+=this._origin;var n=ee(this,t);return n&&n.array[t&Ee]},set:function(t,e){return Xt(this,t,e)},remove:function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},clear:function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=Te,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Zt()},push:function(){var t=arguments,e=this.size;return this.withMutations(function(n){ne(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},pop:function(){return ne(this,0,-1)},unshift:function(){var t=arguments;return this.withMutations(function(e){ne(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},shift:function(){return ne(this,1)},merge:function(){return re(this,void 0,arguments)},mergeWith:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return re(this,t,e)},mergeDeep:function(){return re(this,yt(void 0),arguments)},mergeDeepWith:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return re(this,yt(t),e)},setSize:function(t){return ne(this,0,t)},slice:function(t,e){var n=this.size;return h(t,e,n)?this:ne(this,_(t,n),p(e,n))},__iterator:function(t,e){var n=0,r=Jt(this,e);return new Ve(function(){var e=r();return e===tr?T():w(t,n++,e)})},__iterate:function(t,e){for(var n,r=0,i=Jt(this,e);(n=i())!==tr&&t(n,r++,this)!==!1;);return r},__ensureOwner:function(t){return t===this.__ownerID?this:t?$t(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)}},{of:function(){return this(arguments)}},Sn),Kn.isList=Kt;var Jn="@@__IMMUTABLE_LIST__@@",$n=Kn.prototype;$n[Jn]=!0,$n[we]=$n.remove,$n.setIn=Cn.setIn,$n.deleteIn=$n.removeIn=Cn.removeIn,$n.update=Cn.update,$n.updateIn=Cn.updateIn,$n.mergeIn=Cn.mergeIn,$n.mergeDeepIn=Cn.mergeDeepIn,$n.withMutations=Cn.withMutations,$n.asMutable=Cn.asMutable,$n.asImmutable=Cn.asImmutable,$n.wasAltered=Cn.wasAltered;var Zn=function(t,e){this.array=t,this.ownerID=e},Xn=Zn;Se.createClass(Zn,{removeBefore:function(t,e,n){if(n===e?1<<e:0||0===this.array.length)return this;var r=n>>>e&Ee;if(r>=this.array.length)return new Xn([],t);var i,o=0===r;if(e>0){var a=this.array[r];if(i=a&&a.removeBefore(t,e-Te,n),i===a&&o)return this}if(o&&!i)return this;var u=te(this,t);if(!o)for(var s=0;r>s;s++)u.array[s]=void 0;return i&&(u.array[r]=i),u},removeAfter:function(t,e,n){if(n===e?1<<e:0||0===this.array.length)return this;var r=n-1>>>e&Ee;if(r>=this.array.length)return this;var i,o=r===this.array.length-1;if(e>0){var a=this.array[r];if(i=a&&a.removeAfter(t,e-Te,n),i===a&&o)return this}if(o&&!i)return this;var u=te(this,t);return o||u.array.pop(),i&&(u.array[r]=i),u}},{});var Qn,tr={},er=function(t){return null===t||void 0===t?ue():oe(t)?t:ue().withMutations(function(e){var n=tn(t);c(n.size),n.forEach(function(t,n){return e.set(n,t)})})};Se.createClass(er,{toString:function(){return this.__toString("OrderedMap {","}")},get:function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},clear:function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ue()},set:function(t,e){return se(this,t,e)},remove:function(t){return se(this,t,je)},wasAltered:function(){return this._map.wasAltered()||this._list.wasAltered()},__iterate:function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},__iterator:function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},__ensureOwner:function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?ae(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)}},{of:function(){return this(arguments)}},En),er.isOrderedMap=oe,er.prototype[Xe]=!0,er.prototype[we]=er.prototype.remove;var nr,rr=function(t){return null===t||void 0===t?fe():ce(t)?t:fe().unshiftAll(t)},ir=rr;Se.createClass(rr,{toString:function(){return this.__toString("Stack [","]")},get:function(t,e){for(var n=this._head;n&&t--;)n=n.next;return n?n.value:e},peek:function(){return this._head&&this._head.value},push:function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):le(t,e)},pushAll:function(t){if(t=nn(t),0===t.size)return this;c(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):le(e,n)},pop:function(){return this.slice(1)},unshift:function(){return this.push.apply(this,arguments)},unshiftAll:function(t){return this.pushAll(t)},shift:function(){return this.pop.apply(this,arguments)},clear:function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):fe()},slice:function(t,e){if(h(t,e,this.size))return this;var n=_(t,this.size),r=p(e,this.size);if(r!==this.size)return Se.superCall(this,ir.prototype,"slice",[t,e]);for(var i=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):le(i,o)},__ensureOwner:function(t){return t===this.__ownerID?this:t?le(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},__iterate:function(t,e){if(e)return this.toSeq().cacheResult.__iterate(t,e);for(var n=0,r=this._head;r&&t(r.value,n++,this)!==!1;)r=r.next;return n},__iterator:function(t,e){if(e)return this.toSeq().cacheResult().__iterator(t,e);var n=0,r=this._head;return new Ve(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return T()})}},{of:function(){return this(arguments)}},Sn),rr.isStack=ce;var or="@@__IMMUTABLE_STACK__@@",ar=rr.prototype;ar[or]=!0,ar.withMutations=Cn.withMutations,ar.asMutable=Cn.asMutable,ar.asImmutable=Cn.asImmutable,ar.wasAltered=Cn.wasAltered;var ur,sr=function(t){return null===t||void 0===t?pe():de(t)?t:pe().withMutations(function(e){var n=rn(t);c(n.size),n.forEach(function(t){return e.add(t)})})};Se.createClass(sr,{toString:function(){return this.__toString("Set {","}")},has:function(t){return this._map.has(t)},add:function(t){return he(this,this._map.set(t,!0))},remove:function(t){return he(this,this._map.remove(t))},clear:function(){return he(this,this._map.clear())},union:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0===this.size&&1===t.length?this.constructor(t[0]):this.withMutations(function(e){for(var n=0;n<t.length;n++)rn(t[n]).forEach(function(t){return e.add(t)})})},intersect:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return this;t=t.map(function(t){return rn(t)});var n=this;return this.withMutations(function(e){n.forEach(function(n){t.every(function(t){return t.contains(n)})||e.remove(n)})})},subtract:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return this;t=t.map(function(t){return rn(t)});var n=this;return this.withMutations(function(e){n.forEach(function(n){t.some(function(t){return t.contains(n)})&&e.remove(n)})})},merge:function(){return this.union.apply(this,arguments)},mergeWith:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return this.union.apply(this,e)},sort:function(t){return dr(zt(this,t))},sortBy:function(t,e){return dr(zt(this,e,t))},wasAltered:function(){return this._map.wasAltered()},__iterate:function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},__iterator:function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},__ensureOwner:function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)}},{of:function(){return this(arguments)},fromKeys:function(t){return this(tn(t).keySeq())}},Tn),sr.isSet=de;var cr="@@__IMMUTABLE_SET__@@",lr=sr.prototype;lr[cr]=!0,lr[we]=lr.remove,lr.mergeDeep=lr.merge,lr.mergeDeepWith=lr.mergeWith,lr.withMutations=Cn.withMutations,lr.asMutable=Cn.asMutable,lr.asImmutable=Cn.asImmutable,lr.__empty=pe,lr.__make=_e;var fr,dr=function(t){return null===t||void 0===t?ge():ve(t)?t:ge().withMutations(function(e){var n=rn(t);c(n.size),n.forEach(function(t){return e.add(t)})})};Se.createClass(dr,{toString:function(){return this.__toString("OrderedSet {","}")}},{of:function(){return this(arguments)},fromKeys:function(t){return this(tn(t).keySeq())}},sr),dr.isOrderedSet=ve;var hr=dr.prototype;hr[Xe]=!0,hr.__empty=ge,hr.__make=ye;var _r,pr=function(t,e){var n=function(t){return this instanceof n?void(this._map=En(t)):new n(t)},r=Object.keys(t),o=n.prototype=Object.create(vr);o.constructor=n,e&&(o._name=e),o._defaultValues=t,o._keys=r,o.size=r.length;try{r.forEach(function(t){Object.defineProperty(n.prototype,t,{get:function(){return this.get(t)},set:function(e){i(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})})}catch(a){}return n};Se.createClass(pr,{toString:function(){return this.__toString(be(this)+" {","}")},has:function(t){return this._defaultValues.hasOwnProperty(t)},get:function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},clear:function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=Object.getPrototypeOf(this).constructor;return t._empty||(t._empty=me(this,st()))},set:function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+be(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:me(this,n)},remove:function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:me(this,e)},wasAltered:function(){return this._map.wasAltered()},__iterator:function(t,e){var n=this;return tn(this._defaultValues).map(function(t,e){return n.get(e)}).__iterator(t,e)},__iterate:function(t,e){var n=this;return tn(this._defaultValues).map(function(t,e){return n.get(e)}).__iterate(t,e)},__ensureOwner:function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?me(this,e,t):(this.__ownerID=t,this._map=e,this)}},{},bn);var vr=pr.prototype;vr[we]=vr.remove,vr.deleteIn=vr.removeIn=Cn.removeIn,vr.merge=Cn.merge,vr.mergeWith=Cn.mergeWith,vr.mergeIn=Cn.mergeIn,vr.mergeDeep=Cn.mergeDeep,vr.mergeDeepWith=Cn.mergeDeepWith,vr.mergeDeepIn=Cn.mergeDeepIn,vr.setIn=Cn.setIn,vr.update=Cn.update,vr.updateIn=Cn.updateIn,vr.withMutations=Cn.withMutations,vr.asMutable=Cn.asMutable,vr.asImmutable=Cn.asImmutable;var yr=function(t,e,n){return this instanceof gr?(i(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),t===e&&br?br:(n=void 0===n?1:Math.abs(n),t>e&&(n=-n),this._start=t,this._end=e,this._step=n,void(this.size=Math.max(0,Math.ceil((e-t)/n-1)+1)))):new gr(t,e,n)},gr=yr;Se.createClass(yr,{toString:function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},get:function(t,e){return this.has(t)?this._start+f(this,t)*this._step:e},contains:function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},slice:function(t,e){return h(t,e,this.size)?this:(t=_(t,this.size),e=p(e,this.size),t>=e?br:new gr(this.get(t,this._end),this.get(e,this._end),this._step))},indexOf:function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},lastIndexOf:function(t){return this.indexOf(t)},take:function(t){return this.slice(0,Math.max(0,t))},skip:function(t){return this.slice(Math.max(0,t))},__iterate:function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;n>=o;o++){if(t(i,o,this)===!1)return o+1;i+=e?-r:r}return o},__iterator:function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new Ve(function(){var a=i;return i+=e?-r:r,o>n?T():w(t,o++,a)})},equals:function(t){return t instanceof gr?this._start===t._start&&this._end===t._end&&this._step===t._step:H(this,t)}},{},cn);var mr=yr.prototype;mr.__toJS=mr.toArray,mr.first=$n.first,mr.last=$n.last;var br=yr(0,0),Or=function(t,e){return 0>=e&&Tr?Tr:this instanceof Sr?(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),void(0===this.size&&(Tr=this))):new Sr(t,e)},Sr=Or;Se.createClass(Or,{toString:function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},get:function(t,e){return this.has(t)?this._value:e},contains:function(t){return r(this._value,t)},slice:function(t,e){var n=this.size;return h(t,e,n)?this:new Sr(this._value,p(e,n)-_(t,n))},reverse:function(){return this},indexOf:function(t){return r(this._value,t)?0:-1},lastIndexOf:function(t){return r(this._value,t)?this.size:-1},__iterate:function(t,e){for(var n=0;n<this.size;n++)if(t(this._value,n,this)===!1)return n+1;return n},__iterator:function(t,e){var n=this,r=0;return new Ve(function(){return r<n.size?w(t,r++,n._value):T()})},equals:function(t){return t instanceof Sr?r(this._value,t._value):H(t)}},{},cn);var wr=Or.prototype;wr.last=wr.first,wr.has=mr.has,wr.take=mr.take,wr.skip=mr.skip,wr.__toJS=mr.__toJS;var Tr,Mr={Iterable:We,Seq:on,Collection:mn,Map:En,OrderedMap:er,List:Kn,Stack:rr,Set:sr,OrderedSet:dr,Record:pr,Range:yr,Repeat:Or,is:r,fromJS:tt};return Mr}t.exports=r()},function(t,e,n){function r(t){return t&&"object"==typeof t&&toString.call(t)}function i(t){return"number"==typeof t&&t>-1&&t%1===0&&t<=Number.MAX_VALUE}e.isString=function(t){return"string"==typeof t||"[object String]"===r(t)},e.isArray=Array.isArray||function(t){return"[object Array]"===r(t)},"function"!=typeof/./&&"object"!=typeof Int8Array?e.isFunction=function(t){return"function"==typeof t||!1}:e.isFunction=function(t){return"[object Function]"===toString.call(t)},e.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},e.extend=function(t){var e=arguments.length;if(!t||2>e)return t||{};for(var n=1;e>n;n++)for(var r=arguments[n],i=Object.keys(r),o=i.length,a=0;o>a;a++){var u=i[a];t[u]=r[u]}return t},e.clone=function(t){return e.isObject(t)?e.isArray(t)?t.slice():e.extend({},t):t},e.each=function(t,e,n){var r,o,a=t?t.length:0,u=-1;if(n&&(o=e,e=function(t,e,r){return o.call(n,t,e,r)}),i(a))for(;++u<a&&e(t[u],u,t)!==!1;);else for(r=Object.keys(t),a=r.length;++u<a&&e(t[r[u]],r[u],t)!==!1;);return t},e.partial=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);return function(){return t.apply(this,n.concat(e.call(arguments)))}}},function(t,e,n){e.dispatchStart=function(t,e){console.group&&(console.groupCollapsed("Dispatch: %s",t),console.group("payload"),console.debug(e),console.groupEnd())},e.dispatchError=function(t){console.group&&(console.debug("Dispatch error: "+t),console.groupEnd())},e.storeHandled=function(t,e,n){console.group&&e!==n&&console.debug("Core changed: "+t)},e.dispatchEnd=function(t){console.group&&(console.debug("Dispatch done, new state: ",t.toJS()),console.groupEnd())}},function(t,e,n){function r(t,e){this.__prevState=t,this.__evaluator=e,this.__prevValues=i.Map(),this.__observers=[]}var i=n(7),o=n(12),a=n(13);r.prototype.notifyObservers=function(t){if(this.__observers.length>0){var e=i.Map();this.__observers.forEach(function(n){var r,i=n.getter,u=o(i),s=this.__prevState;this.__prevValues.has(u)?r=this.__prevValues.get(u):(r=this.__evaluator.evaluate(s,i),this.__prevValues=this.__prevValues.set(u,r));var c=this.__evaluator.evaluate(t,i);a(r,c)||(n.handler.call(null,c),e=e.set(u,c))}.bind(this)),this.__prevValues=e}this.__prevState=t},r.prototype.onChange=function(t,e){var n={getter:t,handler:e};return this.__observers.push(n),function(){var t=this.__observers.indexOf(n);t>-1&&this.__observers.splice(t,1)}.bind(this)},r.prototype.reset=function(t){this.__prevState=t,this.__prevValues=i.Map(),this.__observers=[]},t.exports=r},function(t,e,n){function r(){this.__cachedGetters=i.Map({})}var i=n(7),o=n(1).toImmutable,a=n(12),u=n(13),s=n(5).getComputeFn,c=n(5).getDeps,l=n(4).isKeyPath,f=n(5).isGetter,d=!1;r.prototype.evaluate=function(t,e){if(l(e))return t.getIn(e);if(!f(e))throw new Error("evaluate must be passed a keyPath or Getter");var n=a(e);if(this.__isCached(t,e))return this.__cachedGetters.getIn([n,"value"]);var r=c(e).map(function(e){return this.evaluate(t,e)}.bind(this));if(this.__hasStaleValue(t,e)){var i=this.__cachedGetters.getIn([n,"args"]);if(u(i,o(r))){var h=this.__cachedGetters.getIn([n,"value"]);return this.__cacheValue(t,e,i,h),h}}if(d===!0)throw d=!1,new Error("Evaluate may not be called within a Getters computeFn");d=!0;var _=s(e).apply(null,r);return d=!1,this.__cacheValue(t,e,r,_),_},r.prototype.__hasStaleValue=function(t,e){var n=a(e),r=this.__cachedGetters;return r.has(n)&&r.getIn([n,"stateHashCode"])!==t.hashCode()},r.prototype.__cacheValue=function(t,e,n,r){
|
||
var u=a(e);this.__cachedGetters=this.__cachedGetters.set(u,i.Map({value:r,args:o(n),stateHashCode:t.hashCode()}))},r.prototype.__isCached=function(t,e){var n=a(e);return this.__cachedGetters.hasIn([n,"value"])&&this.__cachedGetters.getIn([n,"stateHashCode"])===t.hashCode()},r.prototype.untrack=function(t){},r.prototype.reset=function(){this.__cachedGetters=i.Map({})},t.exports=r},function(t,e,n){var r=n(7);t.exports=function(t,e){if(t.hasOwnProperty("__hashCode"))return t.__hashCode;var n=r.fromJS(t).hashCode();return e||(Object.defineProperty(t,"__hashCode",{enumerable:!1,configurable:!1,writable:!1,value:n}),Object.freeze(t)),n}},function(t,e,n){var r=n(7);t.exports=function(t,e){return r.is(t,e)}}])})},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(24),a=n(39),u=n(11),s=n(65),c=n(40),l=n(202),f=n(209),d=n(211),h=n(41),_=n(4),p=i(_),v=n(218),y=n(21),g=n(42),m=n(44),b=n(17),O=r(b),S=n(233);e["default"]={authActions:o.actions,authGetters:o.getters,configActions:a.actions,configGetters:a.getters,entityActions:u.actions,entityGetters:u.getters,entityHistoryActions:s.actions,entityHistoryGetters:s.getters,eventActions:c.actions,eventGetters:c.getters,logbookActions:l.actions,logbookGetters:l.getters,localStoragePreferences:v.localStoragePreferences,moreInfoActions:f.actions,moreInfoGetters:f.getters,navigationActions:d.actions,navigationGetters:d.getters,notificationActions:h.actions,notificationGetters:h.getters,reactor:p["default"],serviceActions:y.actions,serviceGetters:y.getters,streamActions:g.actions,streamGetters:g.getters,syncActions:m.actions,syncGetters:m.getters,urlSync:d.urlSync,util:O,voiceActions:S.actions,voiceGetters:S.getters,demo:1},t.exports=e["default"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2);e["default"]=r.Reactor({debug:1}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(165),a=r(o);e["default"]=a["default"](i.reactor),t.exports=e["default"]},function(t,e){"use strict";var n=function(t){var e,n={};if(!(t instanceof Object)||Array.isArray(t))throw new Error("keyMirror(...): Argument must be an object.");for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=n},function(t,e){"use strict";function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=r(i),a=n(24),u=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=o["default"].evaluate(a.getters.authInfo),i=r.host+"/api/"+e;return new Promise(function(e,o){var a=new XMLHttpRequest;a.open(t,i,!0),a.setRequestHeader("X-HA-access",r.authToken),a.onload=function(){if(a.status>199&&a.status<300)e(JSON.parse(a.responseText));else try{o(JSON.parse(a.responseText))}catch(t){o({})}},a.onerror=function(){return o({})},n?a.send(JSON.stringify(n)):a.send()})};u=function(t,e){return new Promise(function(r,i){if("GET"!==t)throw"Method "+t+" not allowed in demo mode.";var o=e.split("/",1)[0];switch(o){case"bootstrap":r(n(174));break;case"logbook":r(n(177));break;case"history":r(n(180));break;default:throw"URL not implemented in demo mode /api/"+e}})},e["default"]=u,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return i(t)?t:Object(t)}var i=n(7);t.exports=r},function(t,e,n){"use strict";var r=n(22),i=n(12),o=n(13),a="[object Array]",u=Object.prototype,s=u.toString,c=r(Array,"isArray"),l=c||function(t){return o(t)&&i(t.length)&&s.call(t)==a};t.exports=l},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(196),a=i(o),u=n(197),s=r(u),c=a["default"];e.actions=c;var l=s;e.getters=l},function(t,e){"use strict";function n(t){return"number"==typeof t&&t>-1&&t%1==0&&r>=t}var r=9007199254740991;t.exports=n},function(t,e){"use strict";function n(t){return!!t&&"object"==typeof t}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);e["default"]=o["default"]({is:"partial-base",properties:{narrow:{type:Boolean,value:!1}},toggleMenu:function(){this.fire("open-menu")}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({ENTITY_HISTORY_DATE_SELECTED:null,ENTITY_HISTORY_FETCH_START:null,ENTITY_HISTORY_FETCH_ERROR:null,ENTITY_HISTORY_FETCH_SUCCESS:null,RECENT_ENTITY_HISTORY_FETCH_START:null,RECENT_ENTITY_HISTORY_FETCH_ERROR:null,RECENT_ENTITY_HISTORY_FETCH_SUCCESS:null,LOG_OUT:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){return[["restApiCache",t.entity],function(t){return!!t}]}function o(t){return[["restApiCache",t.entity],function(t){return t||u.toImmutable({})}]}function a(t){return function(e){return["restApiCache",t.entity,e]}}Object.defineProperty(e,"__esModule",{value:!0}),e.createHasDataGetter=i,e.createEntityMapGetter=o,e.createByIdGetter=a;var u=n(2),s=n(4),c=r(s);c["default"].registerStores({restApiCache:n(221)});var l=n(220);e.createApiActions=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(236),o=r(i),a=n(80),u=r(a),s=n(237),c=r(s),l=n(238),f=r(l),d=n(239),h=r(d);e["default"]={dateToStr:o["default"],entityDomainFilters:u["default"],isStaleTime:c["default"],parseDateTime:f["default"],temperatureUnits:h["default"]},t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return null!=t&&o(i(t))}var i=n(49),o=n(12);t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(140),n(56),e["default"]=o["default"]({is:"state-info",properties:{stateObj:{type:Object}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({LOGBOOK_DATE_SELECTED:null,LOGBOOK_ENTRIES_FETCH_START:null,LOGBOOK_ENTRIES_FETCH_ERROR:null,LOGBOOK_ENTRIES_FETCH_SUCCESS:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(222),a=i(o),u=n(75),s=r(u),c=a["default"];e.actions=c;var l=s;e.getters=l},function(t,e,n){"use strict";function r(t,e){var n=null==t?void 0:t[e];return i(n)?n:void 0}var i=n(121);t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({VALIDATING_AUTH_TOKEN:null,VALID_AUTH_TOKEN:null,INVALID_AUTH_TOKEN:null,LOG_OUT:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(183),s=i(u),c=n(184),l=i(c),f=n(185),d=i(f),h=n(181),_=r(h),p=n(182),v=r(p);a["default"].registerStores({authAttempt:s["default"],authCurrent:l["default"],rememberAuth:d["default"]});var y=_;e.actions=y;var g=v;e.getters=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},c=n(2),l=n(17),f=n(8),d=r(f),h="entity",_=new c.Immutable.Record({entityId:null,domain:null,objectId:null,state:null,entityDisplay:null,stateDisplay:null,lastChanged:null,lastChangedAsDate:null,attributes:{},isCustomGroup:null},"Entity"),p=function(t){function e(t,n,r){var o=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];i(this,e);var u=t.split("."),c=a(u,2),f=c[0],d=c[1],h=n.replace(/_/g," ");o.unit_of_measurement&&(h+=" "+o.unit_of_measurement),s(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,{entityId:t,domain:f,objectId:d,state:n,stateDisplay:h,lastChanged:r,attributes:o,entityDisplay:o.friendly_name||d.replace(/_/g," "),lastChangedAsDate:l.parseDateTime(r),isCustomGroup:"group"===f&&!o.auto})}return o(e,t),u(e,null,[{key:"entity",value:h,enumerable:!0}]),u(e,[{key:"id",get:function(){return this.entityId}}],[{key:"save",value:function(t){var e=c.toJS(t),n=e.entityId,r=e.state,i=e.attributes,o=void 0===i?{}:i,a={state:r,attributes:o};return d["default"]("POST","states/"+n,a)}},{key:"fetch",value:function(t){return d["default"]("GET","states/"+t)}},{key:"fetchAll",value:function(){return d["default"]("GET","states")}},{key:"fromJSON",value:function(t){var n=t.entity_id,r=t.state,i=t.last_changed,o=t.attributes;return new e(n,r,i,o)}}]),e}(_);e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t,e,n){var r=typeof t;return"function"==r?void 0===e?t:a(t,e,n):null==t?u:"object"==r?i(t):void 0===e?s(t):o(t,e)}var i=n(99),o=n(100),a=n(106),u=n(53),s=n(54);t.exports=r},function(t,e){"use strict";function n(t,e){return t="number"==typeof t||r.test(t)?+t:-1,e=null==e?i:e,t>-1&&t%1==0&&e>t}var r=/^\d+$/,i=9007199254740991;t.exports=n},function(t,e,n){"use strict";function r(t,e,n){if(!a(n))return!1;var r=typeof e;if("number"==r?i(n)&&o(e,n.length):"string"==r&&e in n){var u=n[e];return t===t?t===u:u!==u}return!1}var i=n(18),o=n(27),a=n(7);t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&i(t)&&u.call(t,"callee")&&!s.call(t,"callee")}var i=n(18),o=n(13),a=Object.prototype,u=a.hasOwnProperty,s=a.propertyIsEnumerable;t.exports=r},function(t,e,n){"use strict";var r=n(22),i=n(18),o=n(7),a=n(118),u=r(Object,"keys"),s=u?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&i(t)?a(t):o(t)?u(t):[]}:a;t.exports=s},function(t,e,n){(function(t){"use strict";!function(e,n){t.exports=n()}(void 0,function(){function e(){return Pn.apply(null,arguments)}function n(t){Pn=t}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function o(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function s(t,e,n,r){return Et(t,e,n,r,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function l(t){return null==t._pf&&(t._pf=c()),t._pf}function f(t){if(null==t._isValid){var e=l(t);t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function d(t){var e=s(NaN);return null!=t?u(l(e),t):l(e).userInvalidated=!0,e}function h(t,e){var n,r,i;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=l(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),xn.length>0)for(n in xn)r=xn[n],i=e[r],"undefined"!=typeof i&&(t[r]=i);return t}function _(t){h(this,t),this._d=new Date(+t._d),An===!1&&(An=!0,e.updateOffset(this),An=!1)}function p(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function v(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function y(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;i>r;r++)(n&&t[r]!==e[r]||!n&&v(t[r])!==v(e[r]))&&a++;return a+o}function g(){}function m(t){return t?t.toLowerCase().replace("_","-"):t}function b(t){for(var e,n,r,i,o=0;o<t.length;){for(i=m(t[o]).split("-"),e=i.length,n=m(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=O(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&y(i,n,!0)>=e-1)break;e--}o++}return null}function O(e){var n=null;if(!Ln[e]&&"undefined"!=typeof t&&t&&t.exports)try{n=kn._abbr,!function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),S(n)}catch(r){}return Ln[e]}function S(t,e){var n;return t&&(n="undefined"==typeof e?T(t):w(t,e),n&&(kn=n)),kn._abbr}function w(t,e){return null!==e?(e.abbr=t,Ln[t]||(Ln[t]=new g),Ln[t].set(e),S(t),Ln[t]):(delete Ln[t],null)}function T(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return kn;if(!r(t)){if(e=O(t))return e;t=[t]}return b(t)}function M(t,e){var n=t.toLowerCase();Nn[n]=Nn[n+"s"]=Nn[e]=t}function E(t){return"string"==typeof t?Nn[t]||Nn[t.toLowerCase()]:void 0}function j(t){var e,n,r={};for(n in t)a(t,n)&&(e=E(n),e&&(r[e]=t[n]));return r}function C(t,n){return function(r){return null!=r?(D(this,t,r),e.updateOffset(this,n),this):I(this,t)}}function I(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function D(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function P(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=E(t),"function"==typeof this[t])return this[t](e);return this}function k(t,e,n){for(var r=""+Math.abs(t),i=t>=0;r.length<e;)r="0"+r;return(i?n?"+":"":"-")+r}function x(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Hn[t]=i),e&&(Hn[e[0]]=function(){return k(i.apply(this,arguments),e[1],e[2])}),n&&(Hn[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function A(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function L(t){var e,n,r=t.match(Rn);for(e=0,n=r.length;n>e;e++)Hn[r[e]]?r[e]=Hn[r[e]]:r[e]=A(r[e]);return function(i){var o="";for(e=0;n>e;e++)o+=r[e]instanceof Function?r[e].call(i,t):r[e];return o}}function N(t,e){return t.isValid()?(e=R(e,t.localeData()),Yn[e]||(Yn[e]=L(e)),Yn[e](t)):t.localeData().invalidDate()}function R(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(zn.lastIndex=0;r>=0&&zn.test(t);)t=t.replace(zn,n),zn.lastIndex=0,r-=1;return t}function z(t,e,n){er[t]="function"==typeof e?e:function(t){return t&&n?n:e}}function Y(t,e){return a(er,t)?er[t](e._strict,e._locale):new RegExp(H(t))}function H(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function G(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(r=function(t,n){n[e]=v(t)}),n=0;n<t.length;n++)nr[t[n]]=r}function F(t,e){G(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function U(t,e,n){null!=e&&a(nr,t)&&nr[t](e,n._a,n,t)}function B(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function V(t){return this._months[t.month()]}function q(t){return this._monthsShort[t.month()]}function W(t,e,n){var r,i,o;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=s([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function K(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),B(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function J(t){return null!=t?(K(this,t),e.updateOffset(this,!0),this):I(this,"Month")}function $(){return B(this.year(),this.month())}function Z(t){var e,n=t._a;return n&&-2===l(t).overflow&&(e=n[ir]<0||n[ir]>11?ir:n[or]<1||n[or]>B(n[rr],n[ir])?or:n[ar]<0||n[ar]>24||24===n[ar]&&(0!==n[ur]||0!==n[sr]||0!==n[cr])?ar:n[ur]<0||n[ur]>59?ur:n[sr]<0||n[sr]>59?sr:n[cr]<0||n[cr]>999?cr:-1,l(t)._overflowDayOfYear&&(rr>e||e>or)&&(e=or),l(t).overflow=e),t}function X(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function Q(t,e){var n=!0,r=t+"\n"+(new Error).stack;return u(function(){return n&&(X(r),n=!1),e.apply(this,arguments)},e)}function tt(t,e){dr[t]||(X(e),dr[t]=!0)}function et(t){var e,n,r=t._i,i=hr.exec(r);if(i){for(l(t).iso=!0,e=0,n=_r.length;n>e;e++)if(_r[e][1].exec(r)){t._f=_r[e][0]+(i[6]||" ");break}for(e=0,n=pr.length;n>e;e++)if(pr[e][1].exec(r)){t._f+=pr[e][0];break}r.match(Xn)&&(t._f+="Z"),bt(t)}else t._isValid=!1}function nt(t){var n=vr.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(et(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function rt(t,e,n,r,i,o,a){var u=new Date(t,e,n,r,i,o,a);return 1970>t&&u.setFullYear(t),u}function it(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function ot(t){return at(t)?366:365}function at(t){return t%4===0&&t%100!==0||t%400===0}function ut(){return at(this.year())}function st(t,e,n){var r,i=n-e,o=n-t.day();return o>i&&(o-=7),i-7>o&&(o+=7),r=jt(t).add(o,"d"),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function ct(t){return st(t,this._week.dow,this._week.doy).week}function lt(){return this._week.dow}function ft(){return this._week.doy}function dt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function ht(t){var e=st(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function _t(t,e,n,r,i){var o,a,u=it(t,0,1).getUTCDay();return u=0===u?7:u,n=null!=n?n:i,o=i-u+(u>r?7:0)-(i>u?7:0),a=7*(e-1)+(n-i)+o+1,{year:a>0?t:t-1,dayOfYear:a>0?a:ot(t-1)+a}}function pt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function vt(t,e,n){return null!=t?t:null!=e?e:n}function yt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function gt(t){var e,n,r,i,o=[];if(!t._d){for(r=yt(t),t._w&&null==t._a[or]&&null==t._a[ir]&&mt(t),t._dayOfYear&&(i=vt(t._a[rr],r[rr]),t._dayOfYear>ot(i)&&(l(t)._overflowDayOfYear=!0),n=it(i,0,t._dayOfYear),t._a[ir]=n.getUTCMonth(),t._a[or]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;7>e;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ar]&&0===t._a[ur]&&0===t._a[sr]&&0===t._a[cr]&&(t._nextDay=!0,t._a[ar]=0),t._d=(t._useUTC?it:rt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ar]=24)}}function mt(t){var e,n,r,i,o,a,u;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=vt(e.GG,t._a[rr],st(jt(),1,4).year),r=vt(e.W,1),i=vt(e.E,1)):(o=t._locale._week.dow,a=t._locale._week.doy,n=vt(e.gg,t._a[rr],st(jt(),o,a).year),r=vt(e.w,1),null!=e.d?(i=e.d,o>i&&++r):i=null!=e.e?e.e+o:o),u=_t(n,r,i,a,o),t._a[rr]=u.year,t._dayOfYear=u.dayOfYear}function bt(t){if(t._f===e.ISO_8601)return void et(t);t._a=[],l(t).empty=!0;var n,r,i,o,a,u=""+t._i,s=u.length,c=0;for(i=R(t._f,t._locale).match(Rn)||[],n=0;n<i.length;n++)o=i[n],r=(u.match(Y(o,t))||[])[0],r&&(a=u.substr(0,u.indexOf(r)),a.length>0&&l(t).unusedInput.push(a),u=u.slice(u.indexOf(r)+r.length),c+=r.length),Hn[o]?(r?l(t).empty=!1:l(t).unusedTokens.push(o),U(o,r,t)):t._strict&&!r&&l(t).unusedTokens.push(o);l(t).charsLeftOver=s-c,u.length>0&&l(t).unusedInput.push(u),l(t).bigHour===!0&&t._a[ar]<=12&&t._a[ar]>0&&(l(t).bigHour=void 0),t._a[ar]=Ot(t._locale,t._a[ar],t._meridiem),gt(t),Z(t)}function Ot(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&12>e&&(e+=12),r||12!==e||(e=0),e):e}function St(t){var e,n,r,i,o;if(0===t._f.length)return l(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=h({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],bt(e),f(e)&&(o+=l(e).charsLeftOver,o+=10*l(e).unusedTokens.length,l(e).score=o,(null==r||r>o)&&(r=o,n=e));u(t,n||e)}function wt(t){if(!t._d){var e=j(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],gt(t)}}function Tt(t){var e,n=t._i,o=t._f;return t._locale=t._locale||T(t._l),null===n||void 0===o&&""===n?d({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),p(n)?new _(Z(n)):(r(o)?St(t):o?bt(t):i(n)?t._d=n:Mt(t),e=new _(Z(t)),e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e))}function Mt(t){var n=t._i;void 0===n?t._d=new Date:i(n)?t._d=new Date(+n):"string"==typeof n?nt(t):r(n)?(t._a=o(n.slice(0),function(t){return parseInt(t,10)}),gt(t)):"object"==typeof n?wt(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function Et(t,e,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=t,o._f=e,o._strict=r,Tt(o)}function jt(t,e,n,r){return Et(t,e,n,r,!1)}function Ct(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return jt();for(n=e[0],i=1;i<e.length;++i)e[i][t](n)&&(n=e[i]);return n}function It(){var t=[].slice.call(arguments,0);return Ct("isBefore",t)}function Dt(){var t=[].slice.call(arguments,0);return Ct("isAfter",t)}function Pt(t){var e=j(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,u=e.hour||0,s=e.minute||0,c=e.second||0,l=e.millisecond||0;this._milliseconds=+l+1e3*c+6e4*s+36e5*u,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=T(),this._bubble()}function kt(t){return t instanceof Pt}function xt(t,e){x(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+k(~~(t/60),2)+e+k(~~t%60,2)})}function At(t){var e=(t||"").match(Xn)||[],n=e[e.length-1]||[],r=(n+"").match(Or)||["-",0,0],i=+(60*r[1])+v(r[2]);return"+"===r[0]?i:-i}function Lt(t,n){var r,o;return n._isUTC?(r=n.clone(),o=(p(t)||i(t)?+t:+jt(t))-+r,r._d.setTime(+r._d+o),e.updateOffset(r,!1),r):jt(t).local()}function Nt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Rt(t,n){var r,i=this._offset||0;return null!=t?("string"==typeof t&&(t=At(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(r=Nt(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!n||this._changeInProgress?Qt(this,Kt(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Nt(this)}function zt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Yt(t){return this.utcOffset(0,t)}function Ht(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Nt(this),"m")),this}function Gt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(At(this._i)),this}function Ft(t){return t=t?jt(t).utcOffset():0,(this.utcOffset()-t)%60===0}function Ut(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Bt(){if(this._a){var t=this._isUTC?s(this._a):jt(this._a);return this.isValid()&&y(this._a,t.toArray())>0}return!1}function Vt(){return!this._isUTC}function qt(){return this._isUTC}function Wt(){return this._isUTC&&0===this._offset}function Kt(t,e){var n,r,i,o=t,u=null;return kt(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(u=Sr.exec(t))?(n="-"===u[1]?-1:1,o={y:0,d:v(u[or])*n,h:v(u[ar])*n,m:v(u[ur])*n,s:v(u[sr])*n,ms:v(u[cr])*n}):(u=wr.exec(t))?(n="-"===u[1]?-1:1,o={y:Jt(u[2],n),M:Jt(u[3],n),d:Jt(u[4],n),h:Jt(u[5],n),m:Jt(u[6],n),s:Jt(u[7],n),w:Jt(u[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Zt(jt(o.from),jt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Pt(o),kt(t)&&a(t,"_locale")&&(r._locale=t._locale),r}function Jt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function $t(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Zt(t,e){var n;return e=Lt(e,t),t.isBefore(e)?n=$t(t,e):(n=$t(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Xt(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(tt(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Kt(n,r),Qt(this,i,t),this}}function Qt(t,n,r,i){var o=n._milliseconds,a=n._days,u=n._months;i=null==i?!0:i,o&&t._d.setTime(+t._d+o*r),a&&D(t,"Date",I(t,"Date")+a*r),u&&K(t,I(t,"Month")+u*r),i&&e.updateOffset(t,a||u)}function te(t){var e=t||jt(),n=Lt(e,this).startOf("day"),r=this.diff(n,"days",!0),i=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(this.localeData().calendar(i,this,jt(e)))}function ee(){return new _(this)}function ne(t,e){var n;return e=E("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=p(t)?t:jt(t),+this>+t):(n=p(t)?+t:+jt(t),n<+this.clone().startOf(e))}function re(t,e){var n;return e=E("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=p(t)?t:jt(t),+t>+this):(n=p(t)?+t:+jt(t),+this.clone().endOf(e)<n)}function ie(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function oe(t,e){var n;return e=E(e||"millisecond"),"millisecond"===e?(t=p(t)?t:jt(t),+this===+t):(n=+jt(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function ae(t){return 0>t?Math.ceil(t):Math.floor(t)}function ue(t,e,n){var r,i,o=Lt(t,this),a=6e4*(o.utcOffset()-this.utcOffset());return e=E(e),"year"===e||"month"===e||"quarter"===e?(i=se(this,o),"quarter"===e?i/=3:"year"===e&&(i/=12)):(r=this-o,i="second"===e?r/1e3:"minute"===e?r/6e4:"hour"===e?r/36e5:"day"===e?(r-a)/864e5:"week"===e?(r-a)/6048e5:r),n?i:ae(i)}function se(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return 0>e-o?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)}function ce(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function le(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():N(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):N(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function fe(t){var n=N(this,t||e.defaultFormat);return this.localeData().postformat(n)}function de(t,e){return this.isValid()?Kt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function he(t){return this.from(jt(),t)}function _e(t,e){return this.isValid()?Kt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function pe(t){return this.to(jt(),t)}function ve(t){var e;return void 0===t?this._locale._abbr:(e=T(t),null!=e&&(this._locale=e),this)}function ye(){return this._locale}function ge(t){switch(t=E(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function me(t){return t=E(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function be(){return+this._d-6e4*(this._offset||0)}function Oe(){return Math.floor(+this/1e3)}function Se(){return this._offset?new Date(+this):this._d}function we(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Te(){return f(this)}function Me(){return u({},l(this))}function Ee(){return l(this).overflow}function je(t,e){x(0,[t,t.length],0,e)}function Ce(t,e,n){return st(jt([t,11,31+e-n]),e,n).week}function Ie(t){var e=st(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function De(t){var e=st(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Pe(){return Ce(this.year(),1,4)}function ke(){var t=this.localeData()._week;return Ce(this.year(),t.dow,t.doy)}function xe(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ae(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function Le(t){return this._weekdays[t.day()]}function Ne(t){return this._weekdaysShort[t.day()]}function Re(t){return this._weekdaysMin[t.day()]}function ze(t){var e,n,r;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=jt([2e3,1]).day(e),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Ye(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ae(t,this.localeData()),this.add(t-e,"d")):e}function He(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ge(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Fe(t,e){x(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Ue(t,e){return e._meridiemParse}function Be(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ve(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function qe(t){x(0,[t,3],0,"millisecond")}function We(){return this._isUTC?"UTC":"";
|
||
}function Ke(){return this._isUTC?"Coordinated Universal Time":""}function Je(t){return jt(1e3*t)}function $e(){return jt.apply(null,arguments).parseZone()}function Ze(t,e,n){var r=this._calendar[t];return"function"==typeof r?r.call(e,n):r}function Xe(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e}function Qe(){return this._invalidDate}function tn(t){return this._ordinal.replace("%d",t)}function en(t){return t}function nn(t,e,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(t,e,n,r):i.replace(/%d/i,t)}function rn(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function on(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function an(t,e,n,r){var i=T(),o=s().set(r,e);return i[n](o,t)}function un(t,e,n,r,i){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return an(t,e,n,i);var o,a=[];for(o=0;r>o;o++)a[o]=an(t,o,n,i);return a}function sn(t,e){return un(t,e,"months",12,"month")}function cn(t,e){return un(t,e,"monthsShort",12,"month")}function ln(t,e){return un(t,e,"weekdays",7,"day")}function fn(t,e){return un(t,e,"weekdaysShort",7,"day")}function dn(t,e){return un(t,e,"weekdaysMin",7,"day")}function hn(){var t=this._data;return this._milliseconds=Vr(this._milliseconds),this._days=Vr(this._days),this._months=Vr(this._months),t.milliseconds=Vr(t.milliseconds),t.seconds=Vr(t.seconds),t.minutes=Vr(t.minutes),t.hours=Vr(t.hours),t.months=Vr(t.months),t.years=Vr(t.years),this}function _n(t,e,n,r){var i=Kt(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function pn(t,e){return _n(this,t,e,1)}function vn(t,e){return _n(this,t,e,-1)}function yn(){var t,e,n,r=this._milliseconds,i=this._days,o=this._months,a=this._data,u=0;return a.milliseconds=r%1e3,t=ae(r/1e3),a.seconds=t%60,e=ae(t/60),a.minutes=e%60,n=ae(e/60),a.hours=n%24,i+=ae(n/24),u=ae(gn(i)),i-=ae(mn(u)),o+=ae(i/30),i%=30,u+=ae(o/12),o%=12,a.days=i,a.months=o,a.years=u,this}function gn(t){return 400*t/146097}function mn(t){return 146097*t/400}function bn(t){var e,n,r=this._milliseconds;if(t=E(t),"month"===t||"year"===t)return e=this._days+r/864e5,n=this._months+12*gn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(mn(this._months/12)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function On(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Sn(t){return function(){return this.as(t)}}function wn(t){return t=E(t),this[t+"s"]()}function Tn(t){return function(){return this._data[t]}}function Mn(){return ae(this.days()/7)}function En(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function jn(t,e,n){var r=Kt(t).abs(),i=ui(r.as("s")),o=ui(r.as("m")),a=ui(r.as("h")),u=ui(r.as("d")),s=ui(r.as("M")),c=ui(r.as("y")),l=i<si.s&&["s",i]||1===o&&["m"]||o<si.m&&["mm",o]||1===a&&["h"]||a<si.h&&["hh",a]||1===u&&["d"]||u<si.d&&["dd",u]||1===s&&["M"]||s<si.M&&["MM",s]||1===c&&["y"]||["yy",c];return l[2]=e,l[3]=+t>0,l[4]=n,En.apply(null,l)}function Cn(t,e){return void 0===si[t]?!1:void 0===e?si[t]:(si[t]=e,!0)}function In(t){var e=this.localeData(),n=jn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Dn(){var t=ci(this.years()),e=ci(this.months()),n=ci(this.days()),r=ci(this.hours()),i=ci(this.minutes()),o=ci(this.seconds()+this.milliseconds()/1e3),a=this.asSeconds();return a?(0>a?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(r||i||o?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(o?o+"S":""):"P0D"}var Pn,kn,xn=e.momentProperties=[],An=!1,Ln={},Nn={},Rn=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,zn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Yn={},Hn={},Gn=/\d/,Fn=/\d\d/,Un=/\d{3}/,Bn=/\d{4}/,Vn=/[+-]?\d{6}/,qn=/\d\d?/,Wn=/\d{1,3}/,Kn=/\d{1,4}/,Jn=/[+-]?\d{1,6}/,$n=/\d+/,Zn=/[+-]?\d+/,Xn=/Z|[+-]\d\d:?\d\d/gi,Qn=/[+-]?\d+(\.\d{1,3})?/,tr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,er={},nr={},rr=0,ir=1,or=2,ar=3,ur=4,sr=5,cr=6;x("M",["MM",2],"Mo",function(){return this.month()+1}),x("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),x("MMMM",0,0,function(t){return this.localeData().months(this,t)}),M("month","M"),z("M",qn),z("MM",qn,Fn),z("MMM",tr),z("MMMM",tr),G(["M","MM"],function(t,e){e[ir]=v(t)-1}),G(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ir]=i:l(n).invalidMonth=t});var lr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),dr={};e.suppressDeprecationWarnings=!1;var hr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_r=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],pr=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],vr=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=Q("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),x(0,["YY",2],0,function(){return this.year()%100}),x(0,["YYYY",4],0,"year"),x(0,["YYYYY",5],0,"year"),x(0,["YYYYYY",6,!0],0,"year"),M("year","y"),z("Y",Zn),z("YY",qn,Fn),z("YYYY",Kn,Bn),z("YYYYY",Jn,Vn),z("YYYYYY",Jn,Vn),G(["YYYY","YYYYY","YYYYYY"],rr),G("YY",function(t,n){n[rr]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(t){return v(t)+(v(t)>68?1900:2e3)};var yr=C("FullYear",!1);x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),M("week","w"),M("isoWeek","W"),z("w",qn),z("ww",qn,Fn),z("W",qn),z("WW",qn,Fn),F(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=v(t)});var gr={dow:0,doy:6};x("DDD",["DDDD",3],"DDDo","dayOfYear"),M("dayOfYear","DDD"),z("DDD",Wn),z("DDDD",Un),G(["DDD","DDDD"],function(t,e,n){n._dayOfYear=v(t)}),e.ISO_8601=function(){};var mr=Q("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=jt.apply(null,arguments);return this>t?this:t}),br=Q("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=jt.apply(null,arguments);return t>this?this:t});xt("Z",":"),xt("ZZ",""),z("Z",Xn),z("ZZ",Xn),G(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=At(t)});var Or=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Sr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,wr=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Kt.fn=Pt.prototype;var Tr=Xt(1,"add"),Mr=Xt(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Er=Q("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});x(0,["gg",2],0,function(){return this.weekYear()%100}),x(0,["GG",2],0,function(){return this.isoWeekYear()%100}),je("gggg","weekYear"),je("ggggg","weekYear"),je("GGGG","isoWeekYear"),je("GGGGG","isoWeekYear"),M("weekYear","gg"),M("isoWeekYear","GG"),z("G",Zn),z("g",Zn),z("GG",qn,Fn),z("gg",qn,Fn),z("GGGG",Kn,Bn),z("gggg",Kn,Bn),z("GGGGG",Jn,Vn),z("ggggg",Jn,Vn),F(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=v(t)}),F(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),x("Q",0,0,"quarter"),M("quarter","Q"),z("Q",Gn),G("Q",function(t,e){e[ir]=3*(v(t)-1)}),x("D",["DD",2],"Do","date"),M("date","D"),z("D",qn),z("DD",qn,Fn),z("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),G(["D","DD"],or),G("Do",function(t,e){e[or]=v(t.match(qn)[0],10)});var jr=C("Date",!0);x("d",0,"do","day"),x("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),x("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),x("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),M("day","d"),M("weekday","e"),M("isoWeekday","E"),z("d",qn),z("e",qn),z("E",qn),z("dd",tr),z("ddd",tr),z("dddd",tr),F(["dd","ddd","dddd"],function(t,e,n){var r=n._locale.weekdaysParse(t);null!=r?e.d=r:l(n).invalidWeekday=t}),F(["d","e","E"],function(t,e,n,r){e[r]=v(t)});var Cr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ir="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dr="Su_Mo_Tu_We_Th_Fr_Sa".split("_");x("H",["HH",2],0,"hour"),x("h",["hh",2],0,function(){return this.hours()%12||12}),Fe("a",!0),Fe("A",!1),M("hour","h"),z("a",Ue),z("A",Ue),z("H",qn),z("h",qn),z("HH",qn,Fn),z("hh",qn,Fn),G(["H","HH"],ar),G(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),G(["h","hh"],function(t,e,n){e[ar]=v(t),l(n).bigHour=!0});var Pr=/[ap]\.?m?\.?/i,kr=C("Hours",!0);x("m",["mm",2],0,"minute"),M("minute","m"),z("m",qn),z("mm",qn,Fn),G(["m","mm"],ur);var xr=C("Minutes",!1);x("s",["ss",2],0,"second"),M("second","s"),z("s",qn),z("ss",qn,Fn),G(["s","ss"],sr);var Ar=C("Seconds",!1);x("S",0,0,function(){return~~(this.millisecond()/100)}),x(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),qe("SSS"),qe("SSSS"),M("millisecond","ms"),z("S",Wn,Gn),z("SS",Wn,Fn),z("SSS",Wn,Un),z("SSSS",$n),G(["S","SS","SSS","SSSS"],function(t,e){e[cr]=v(1e3*("0."+t))});var Lr=C("Milliseconds",!1);x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");var Nr=_.prototype;Nr.add=Tr,Nr.calendar=te,Nr.clone=ee,Nr.diff=ue,Nr.endOf=me,Nr.format=fe,Nr.from=de,Nr.fromNow=he,Nr.to=_e,Nr.toNow=pe,Nr.get=P,Nr.invalidAt=Ee,Nr.isAfter=ne,Nr.isBefore=re,Nr.isBetween=ie,Nr.isSame=oe,Nr.isValid=Te,Nr.lang=Er,Nr.locale=ve,Nr.localeData=ye,Nr.max=br,Nr.min=mr,Nr.parsingFlags=Me,Nr.set=P,Nr.startOf=ge,Nr.subtract=Mr,Nr.toArray=we,Nr.toDate=Se,Nr.toISOString=le,Nr.toJSON=le,Nr.toString=ce,Nr.unix=Oe,Nr.valueOf=be,Nr.year=yr,Nr.isLeapYear=ut,Nr.weekYear=Ie,Nr.isoWeekYear=De,Nr.quarter=Nr.quarters=xe,Nr.month=J,Nr.daysInMonth=$,Nr.week=Nr.weeks=dt,Nr.isoWeek=Nr.isoWeeks=ht,Nr.weeksInYear=ke,Nr.isoWeeksInYear=Pe,Nr.date=jr,Nr.day=Nr.days=Ye,Nr.weekday=He,Nr.isoWeekday=Ge,Nr.dayOfYear=pt,Nr.hour=Nr.hours=kr,Nr.minute=Nr.minutes=xr,Nr.second=Nr.seconds=Ar,Nr.millisecond=Nr.milliseconds=Lr,Nr.utcOffset=Rt,Nr.utc=Yt,Nr.local=Ht,Nr.parseZone=Gt,Nr.hasAlignedHourOffset=Ft,Nr.isDST=Ut,Nr.isDSTShifted=Bt,Nr.isLocal=Vt,Nr.isUtcOffset=qt,Nr.isUtc=Wt,Nr.isUTC=Wt,Nr.zoneAbbr=We,Nr.zoneName=Ke,Nr.dates=Q("dates accessor is deprecated. Use date instead.",jr),Nr.months=Q("months accessor is deprecated. Use month instead",J),Nr.years=Q("years accessor is deprecated. Use year instead",yr),Nr.zone=Q("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",zt);var Rr=Nr,zr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Yr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Hr="Invalid date",Gr="%d",Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Br=g.prototype;Br._calendar=zr,Br.calendar=Ze,Br._longDateFormat=Yr,Br.longDateFormat=Xe,Br._invalidDate=Hr,Br.invalidDate=Qe,Br._ordinal=Gr,Br.ordinal=tn,Br._ordinalParse=Fr,Br.preparse=en,Br.postformat=en,Br._relativeTime=Ur,Br.relativeTime=nn,Br.pastFuture=rn,Br.set=on,Br.months=V,Br._months=lr,Br.monthsShort=q,Br._monthsShort=fr,Br.monthsParse=W,Br.week=ct,Br._week=gr,Br.firstDayOfYear=ft,Br.firstDayOfWeek=lt,Br.weekdays=Le,Br._weekdays=Cr,Br.weekdaysMin=Re,Br._weekdaysMin=Dr,Br.weekdaysShort=Ne,Br._weekdaysShort=Ir,Br.weekdaysParse=ze,Br.isPM=Be,Br._meridiemParse=Pr,Br.meridiem=Ve,S("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=Q("moment.lang is deprecated. Use moment.locale instead.",S),e.langData=Q("moment.langData is deprecated. Use moment.localeData instead.",T);var Vr=Math.abs,qr=Sn("ms"),Wr=Sn("s"),Kr=Sn("m"),Jr=Sn("h"),$r=Sn("d"),Zr=Sn("w"),Xr=Sn("M"),Qr=Sn("y"),ti=Tn("milliseconds"),ei=Tn("seconds"),ni=Tn("minutes"),ri=Tn("hours"),ii=Tn("days"),oi=Tn("months"),ai=Tn("years"),ui=Math.round,si={s:45,m:45,h:22,d:26,M:11},ci=Math.abs,li=Pt.prototype;li.abs=hn,li.add=pn,li.subtract=vn,li.as=bn,li.asMilliseconds=qr,li.asSeconds=Wr,li.asMinutes=Kr,li.asHours=Jr,li.asDays=$r,li.asWeeks=Zr,li.asMonths=Xr,li.asYears=Qr,li.valueOf=On,li._bubble=yn,li.get=wn,li.milliseconds=ti,li.seconds=ei,li.minutes=ni,li.hours=ri,li.days=ii,li.weeks=Mn,li.months=oi,li.years=ai,li.humanize=In,li.toISOString=Dn,li.toString=Dn,li.toJSON=Dn,li.locale=ve,li.localeData=ye,li.toIsoString=Q("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),li.lang=Er,x("X",0,0,"unix"),x("x",0,0,"valueOf"),z("x",Zn),z("X",Qn),G("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),G("x",function(t,e,n){n._d=new Date(v(t))}),e.version="2.10.3",n(jt),e.fn=Rr,e.min=It,e.max=Dt,e.utc=s,e.unix=Je,e.months=sn,e.isDate=i,e.locale=S,e.invalid=d,e.duration=Kt,e.isMoment=p,e.weekdays=ln,e.parseZone=$e,e.localeData=T,e.isDuration=kt,e.monthsShort=cn,e.weekdaysMin=dn,e.defineLocale=w,e.weekdaysShort=fn,e.normalizeUnits=E,e.relativeTimeThreshold=Cn;var fi=e;return fi})}).call(e,n(125)(t))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(166),u=r(a);n(33),n(55),n(129),n(126),n(128),n(127),e["default"]=o["default"]({is:"state-card-content",properties:{stateObj:{type:Object,observer:"stateObjChanged"}},stateObjChanged:function(t,e){var n=o["default"].dom(this);if(!t)return void(n.lastChild&&n.removeChild(n.lastChild));var r=u["default"](t);if(e&&u["default"](e)==r)n.lastChild.stateObj=t;else{n.lastChild&&n.removeChild(n.lastChild);var i=document.createElement("state-card-"+r);i.stateObj=t,n.appendChild(i)}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(19),e["default"]=o["default"]({is:"state-card-display",properties:{stateObj:{type:Object}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(58),u=r(a);e["default"]=o["default"]({is:"domain-icon",properties:{domain:{type:String,value:""},state:{type:String,value:""}},computeIcon:function(t,e){return u["default"](t,e)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);e["default"]=o["default"]({is:"loading-box"}),t.exports=e["default"]},function(t,e){"use strict";function n(t,e){return t?e.map(function(e){return e in t.attributes?"has-"+e:""}).join(" "):""}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e["default"]},function(t,e,n){"use strict";function r(t,e,n){function r(){y&&clearTimeout(y),h&&clearTimeout(h),m=0,h=y=g=void 0}function s(e,n){n&&clearTimeout(n),h=y=g=void 0,e&&(m=o(),_=t.apply(v,d),y||h||(d=v=void 0))}function c(){var t=e-(o()-p);0>=t||t>e?s(g,h):y=setTimeout(c,t)}function l(){s(O,y)}function f(){if(d=arguments,p=o(),v=this,g=O&&(y||!S),b===!1)var n=S&&!y;else{h||S||(m=p);var r=b-(p-m),i=0>=r||r>b;i?(h&&(h=clearTimeout(h)),m=p,_=t.apply(v,d)):h||(h=setTimeout(l,r))}return i&&y?y=clearTimeout(y):y||e===b||(y=setTimeout(c,e)),n&&(i=!0,_=t.apply(v,d)),!i||y||h||(d=v=void 0),_}var d,h,_,p,v,y,g,m=0,b=!1,O=!0;if("function"!=typeof t)throw new TypeError(a);if(e=0>e?0:+e||0,n===!0){var S=!0;O=!1}else i(n)&&(S=!!n.leading,b="maxWait"in n&&u(+n.maxWait||0,e),O="trailing"in n?!!n.trailing:O);return f.cancel=r,f}var i=n(63),o=n(169),a="Expected a function",u=Math.max;t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({SERVER_CONFIG_LOADED:null,COMPONENT_LOADED:null,LOG_OUT:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(188),s=i(u),c=n(189),l=i(c),f=n(186),d=r(f),h=n(187),_=r(h);a["default"].registerStores({serverComponent:s["default"],serverConfig:l["default"]});var p=d;e.actions=p;var v=_;e.getters=v},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(198),a=i(o),u=n(199),s=r(u),c=a["default"];e.actions=c;var l=s;e.getters=l},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(217),s=i(u),c=n(215),l=r(c),f=n(216),d=r(f);a["default"].registerStores({notifications:s["default"]});var h=l;e.actions=h;var _=d;e.getters=_},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(227),s=i(u),c=n(223),l=r(c),f=n(224),d=r(f);a["default"].registerStores({streamStatus:s["default"]});var h=l;e.actions=h;var _=d;e.getters=_},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({API_FETCH_ALL_START:null,API_FETCH_ALL_SUCCESS:null,API_FETCH_ALL_FAIL:null,SYNC_SCHEDULED:null,SYNC_SCHEDULE_CANCELLED:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(229),s=i(u),c=n(230),l=i(c),f=n(228),d=r(f),h=n(78),_=r(h);a["default"].registerStores({isFetchingData:s["default"],isSyncScheduled:l["default"]});var p=d;e.actions=p;var v=_;e.getters=v},function(t,e,n){"use strict";function r(t,e,n){if(null!=t){void 0!==n&&n in i(t)&&(e=[n]);for(var r=0,o=e.length;null!=t&&o>r;)t=t[e[r++]];return r&&r==o?t:void 0}}var i=n(9);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,u,s,c){return t===e?!0:null==t||null==e||!o(t)&&!a(e)?t!==t&&e!==e:i(t,e,r,n,u,s,c)}var i=n(97),o=n(7),a=n(13);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=-1,r=o(t)?Array(t.length):[];return i(t,function(t,i,o){r[++n]=e(t,i,o)}),r}var i=n(92),o=n(18);t.exports=r},function(t,e){"use strict";function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){"use strict";var r=n(48),i=r("length");t.exports=i},function(t,e,n){"use strict";function r(t,e){var n=typeof t;if("string"==n&&u.test(t)||"number"==n)return!0;if(i(t))return!1;var r=!a.test(t);return r||null!=e&&t in o(e)}var i=n(10),o=n(9),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=r},function(t,e,n){"use strict";function r(t){return t===t&&!i(t)}var i=n(7);t.exports=r},function(t,e,n){"use strict";function r(t){if(o(t))return t;var e=[];return i(t).replace(a,function(t,n,r,i){e.push(r?i.replace(u,"$1"):n||t)}),e}var i=n(104),o=n(10),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,u=/\\(\\)?/g;t.exports=r},function(t,e){"use strict";function n(t){return t}t.exports=n},function(t,e,n){"use strict";function r(t){return a(t)?i(t):o(t)}var i=n(48),o=n(101),a=n(50);t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o);n(19),e["default"]=a["default"]({is:"state-card-toggle",properties:{stateObj:{type:Object,observer:"stateObjChanged"},toggleChecked:{type:Boolean,value:!1}},ready:function(){this.forceStateChange=this.forceStateChange.bind(this),this.forceStateChange()},toggleTapped:function(t){t.stopPropagation()},toggleChanged:function(t){var e=t.target.checked;e&&"off"===this.stateObj.state?this.turn_on():e||"on"!==this.stateObj.state||this.turn_off()},stateObjChanged:function(t){t&&this.updateToggle(t)},updateToggle:function(t){this.toggleChecked=t&&"on"===t.state},forceStateChange:function(){this.updateToggle(this.stateObj)},turn_on:function(){i.serviceActions.callTurnOn(this.stateObj.entityId).then(this.forceStateChange)},turn_off:function(){i.serviceActions.callTurnOff(this.stateObj.entityId).then(this.forceStateChange)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(31),o=r(i),a=n(3),u=n(1),s=r(u),c=6e4,l=a.util.parseDateTime;e["default"]=s["default"]({is:"relative-ha-datetime",properties:{datetime:{type:String,observer:"datetimeChanged"},datetimeObj:{type:Object,observer:"datetimeObjChanged"},parsedDateTime:{type:Object},relativeTime:{type:String,value:"not set"}},created:function(){this.updateRelative=this.updateRelative.bind(this)},attached:function(){this._interval=setInterval(this.updateRelative,c)},detached:function(){clearInterval(this._interval)},datetimeChanged:function(t){this.parsedDateTime=t?l(t):null,this.updateRelative()},datetimeObjChanged:function(t){this.parsedDateTime=t,this.updateRelative()},updateRelative:function(){this.relativeTime=this.parsedDateTime?o["default"](this.parsedDateTime).fromNow():""}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(35),n(143),n(142),e["default"]=o["default"]({is:"state-history-charts",properties:{stateHistory:{type:Object},isLoadingData:{type:Boolean,value:!1},apiLoaded:{type:Boolean,value:!1},isLoading:{type:Boolean,computed:"computeIsLoading(isLoadingData, apiLoaded)"},groupedStateHistory:{type:Object,computed:"computeGroupedStateHistory(isLoading, stateHistory)"},isSingleDevice:{type:Boolean,computed:"computeIsSingleDevice(stateHistory)"}},computeIsSingleDevice:function(t){return t&&1==t.size},computeGroupedStateHistory:function(t,e){if(t||!e)return{line:[],timeline:[]};var n={},r=[];e.forEach(function(t){if(t&&0!==t.size){var e=t.find(function(t){return"unit_of_measurement"in t.attributes}),i=e?e.attributes.unit_of_measurement:!1;i?i in n?n[i].push(t.toArray()):n[i]=[t.toArray()]:r.push(t.toArray())}}),r=r.length>0&&r;var i=Object.keys(n).map(function(t){return[t,n[t]]});return{line:i,timeline:r}},googleApiLoaded:function(){google.load("visualization","1",{packages:["timeline","corechart"],callback:function(){this.apiLoaded=!0}.bind(this)})},computeContentClasses:function(t){return t?"loading":""},computeIsLoading:function(t,e){return t||!e},computeIsEmpty:function(t){return t&&0===t.size},extractUnit:function(t){return t[0]},extractData:function(t){return t[1]}}),t.exports=e["default"]},function(t,e){"use strict";function n(t,e){switch(t){case"homeassistant":return"home";case"group":return"homeassistant-24:group";case"device_tracker":return"social:person";case"switch":return"image:flash-on";case"media_player":var n="hardware:cast";return e&&"off"!==e&&"idle"!==e&&(n+="-connected"),n;case"sun":return"image:wb-sunny";case"light":return"image:wb-incandescent";case"simple_alarm":return"social:notifications";case"notify":return"announcement";case"thermostat":return"homeassistant-100:thermostat";case"sensor":return"visibility";case"configurator":return"settings";case"conversation":return"av:hearing";case"script":return"description";case"scene":return"social:pages";default:return"bookmark"}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){return a["default"](t).format("LT")}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=i;var o=n(31),a=r(o);t.exports=e["default"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3);e["default"]=function(t,e){r.authActions.validate(t,{rememberAuth:e,useStreaming:r.localStoragePreferences.useStreaming})},t.exports=e["default"]},function(t,e,n){"use strict";function r(t,e){var n=null==t?void 0:t[e];return i(n)?n:void 0}var i=n(173);t.exports=r},function(t,e){"use strict";function n(t){return!!t&&"object"==typeof t}t.exports=n},function(t,e){"use strict";function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=["isLoadingEntityHistory"];e.isLoadingEntityHistory=i;var o=["currentEntityHistoryDate"];e.currentDate=o;var a=["entityHistory"];e.entityHistoryMap=a;var u=[o,a,function(t,e){return e.get(t)||r.toImmutable({})}];e.entityHistoryForCurrentDate=u;var s=[o,a,function(t,e){return!!e.get(t)}];e.hasDataForCurrentDate=s;var c=["recentEntityHistory"];e.recentEntityHistoryMap=c;var l=["recentEntityHistory"];e.recentEntityHistoryUpdatedMap=l},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(191),s=i(u),c=n(192),l=i(c),f=n(193),d=i(f),h=n(194),_=i(h),p=n(195),v=i(p),y=n(190),g=r(y),m=n(64),b=r(m);a["default"].registerStores({currentEntityHistoryDate:s["default"],entityHistory:l["default"],isLoadingEntityHistory:d["default"],recentEntityHistory:_["default"],recentEntityHistoryUpdated:v["default"]});var O=g;e.actions=O;var S=b;e.getters=S},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},s=n(2),c=n(8),l=r(c),f="event",d=new s.Immutable.Record({event:null,listenerCount:0},"Event"),h=function(t){function e(t){var n=arguments.length<=1||void 0===arguments[1]?0:arguments[1];i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,{event:t,listenerCount:n})}return o(e,t),a(e,null,[{key:"entity",value:f,enumerable:!0}]),a(e,[{key:"id",get:function(){return this.event}}],[{key:"fetchAll",value:function(){return l["default"]("GET","events")}},{key:"fromJSON",value:function(t){var n=t.event,r=t.listener_count;return new e(n,r)}}]),e}(d);e["default"]=h,t.exports=e["default"]},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},u=n(2),s=n(17),c=new u.Immutable.Record({when:null,name:null,message:null,domain:null,entityId:null},"LogbookEntry"),l=function(t){function e(t,n,i,o,u){r(this,e),a(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,{when:t,name:n,message:i,domain:o,entityId:u})}return i(e,t),o(e,null,[{key:"fromJSON",value:function(t){var n=t.when,r=t.name,i=t.message,o=t.domain,a=t.entity_id;return new e(s.parseDateTime(n),r,i,o,a)}}]),e}(c);e["default"]=l,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({SELECT_ENTITY:null,DESELECT_ENTITY:null,LOG_OUT:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({NAVIGATE:null,LOG_OUT:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];a["default"].dispatch(s["default"].NAVIGATE,{pane:t,filter:e})}Object.defineProperty(e,"__esModule",{value:!0}),e.navigate=i;var o=n(4),a=r(o),u=n(69),s=r(u)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){return[l,function(e){return e===t}]}Object.defineProperty(e,"__esModule",{value:!0}),e.isActivePane=i;var o=n(80),a=r(o),u=n(11),s=n(72),c=r(s),l=["selectedNavigationPanel","pane"];e.activePane=l;var f=["selectedNavigationPanel","filter"];e.activeFilter=f;var d=[l,f,c["default"]];e.activePage=d;var h=[u.getters.domainSet,function(t){return t.filter(function(t){return t in a["default"]})}];e.possibleEntityDomainFilters=h;var _=[u.getters.visibleEntityList,f,function(t,e){return e?t.filter(function(t){return t.domain===e}):t.filter(function(t){return!(t.domain in a["default"]);
|
||
})}];e.filteredStates=_},function(t,e){"use strict";function n(t,e){return e?t+"/"+e:t}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({NOTIFICATION_CREATED:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({API_FETCH_SUCCESS:null,API_FETCH_START:null,API_FETCH_FAIL:null,API_SAVE_SUCCESS:null,API_SAVE_START:null,API_SAVE_FAIL:null,API_DELETE_SUCCESS:null,API_DELETE_START:null,API_DELETE_FAIL:null,LOG_OUT:null}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){return[d(t),function(t){return!!t&&t.services.contains(e)}]}function o(t){return[u.getters.byId(t),f,function(t,e){var n=e.get(t.domain);return"group"===t.domain?"on"===t.state||"off"===t.state:!!n&&n.services.contains("turn_on")}]}Object.defineProperty(e,"__esModule",{value:!0}),e.hasService=i,e.canToggle=o;var a=n(16),u=n(11),s=n(76),c=r(s),l=a.createHasDataGetter(c["default"]);e.hasData=l;var f=a.createEntityMapGetter(c["default"]);e.entityMap=f;var d=a.createByIdGetter(c["default"]);e.byDomain=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},s=n(2),c=n(8),l=r(c),f="service",d=new s.Immutable.Record({domain:null,services:[]},"ServiceDomain"),h=function(t){function e(t,n){i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).call(this,{domain:t,services:n})}return o(e,t),a(e,null,[{key:"entity",value:f,enumerable:!0}]),a(e,[{key:"id",get:function(){return this.domain}}],[{key:"fetchAll",value:function(){return l["default"]("GET","services")}},{key:"fromJSON",value:function(t){var n=t.domain,r=t.services;return new e(n,s.toImmutable(r))}}]),e}(d);e["default"]=h,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({STREAM_START:null,STREAM_STOP:null,STREAM_ERROR:null}),t.exports=e["default"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),i=n(40),o=n(21),a=[r.getters.hasData,i.getters.hasData,o.getters.hasData,function(t,e,n){return t&&e&&n}];e.isDataLoaded=a;var u=["isFetchingData"];e.isFetching=u;var s=["isSyncScheduled"];e.isSyncScheduled=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e["default"]=o["default"]({VOICE_START:null,VOICE_RESULT:null,VOICE_TRANSMITTING:null,VOICE_DONE:null,VOICE_ERROR:null}),t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={group:"Groups",script:"Scripts",scene:"Scenes"},t.exports=e["default"]},function(t,e,n){"use strict";function r(t,e,n){var r=t?t.length:0;return n&&o(t,e,n)&&(e=!1),r?i(t,e):[]}var i=n(93),o=n(28);t.exports=r},function(t,e){"use strict";function n(t){var e=t?t.length:0;return e?t[e-1]:void 0}t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r){var s=t?t.length:0;return s?(null!=e&&"boolean"!=typeof e&&(r=n,n=a(t,e,r)?void 0:e,e=!1),n=null==n?n:i(n,r,3),e?u(t,n):o(t,n)):[]}var i=n(26),o=n(105),a=n(28),u=n(119);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=u(t)?i:a;return e=o(e,n,3),r(t,e)}var i=n(88),o=n(26),a=n(47),u=n(10);t.exports=r},function(t,e,n){"use strict";function r(t,e){return i(t,o(e))}var i=n(84),o=n(54);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if(null==t)return[];n&&s(t,e,n)&&(e=void 0);var r=-1;e=i(e,n,3);var c=o(t,function(t,n,i){return{criteria:e(t,n,i),index:++r,value:t}});return a(c,u)}var i=n(26),o=n(47),a=n(103),u=n(109),s=n(28);t.exports=r},function(t,e,n){(function(e){"use strict";function r(t){var e=t?t.length:0;for(this.data={hash:u(null),set:new a};e--;)this.push(t[e])}var i=n(108),o=n(22),a=o(e,"Set"),u=o(Object,"create");r.prototype.push=i,t.exports=r}).call(e,function(){return this}())},function(t,e){"use strict";function n(t,e){for(var n=-1,r=t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}t.exports=n},function(t,e){"use strict";function n(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}t.exports=n},function(t,e){"use strict";function n(t,e){for(var n=-1,r=t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){"use strict";function n(t,e){if(t!==e){var n=null===t,r=void 0===t,i=t===t,o=null===e,a=void 0===e,u=e===e;if(t>e&&!o||!i||n&&!a&&u||r&&u)return 1;if(e>t&&!n||!u||o&&!r&&i||a&&i)return-1}return 0}t.exports=n},function(t,e,n){"use strict";var r=n(95),i=n(110),o=i(r);t.exports=o},function(t,e,n){"use strict";function r(t,e,n,c){c||(c=[]);for(var l=-1,f=t.length;++l<f;){var d=t[l];s(d)&&u(d)&&(n||a(d)||o(d))?e?r(d,e,n,c):i(c,d):n||(c[c.length]=d)}return c}var i=n(89),o=n(29),a=n(10),u=n(18),s=n(13);t.exports=r},function(t,e,n){"use strict";var r=n(111),i=r();t.exports=i},function(t,e,n){"use strict";function r(t,e){return i(t,e,o)}var i=n(94),o=n(30);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if(e!==e)return i(t,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}var i=n(117);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r,d,p,v){var y=u(t),g=u(e),m=l,b=l;y||(m=_.call(t),m==c?m=f:m!=f&&(y=s(t))),g||(b=_.call(e),b==c?b=f:b!=f&&(g=s(e)));var O=m==f,S=b==f,w=m==b;if(w&&!y&&!O)return o(t,e,m);if(!d){var T=O&&h.call(t,"__wrapped__"),M=S&&h.call(e,"__wrapped__");if(T||M)return n(T?t.value():t,M?e.value():e,r,d,p,v)}if(!w)return!1;p||(p=[]),v||(v=[]);for(var E=p.length;E--;)if(p[E]==t)return v[E]==e;p.push(t),v.push(e);var j=(y?i:a)(t,e,n,r,d,p,v);return p.pop(),v.pop(),j}var i=n(113),o=n(114),a=n(115),u=n(10),s=n(122),c="[object Arguments]",l="[object Array]",f="[object Object]",d=Object.prototype,h=d.hasOwnProperty,_=d.toString;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=e.length,a=r,u=!n;if(null==t)return!a;for(t=o(t);r--;){var s=e[r];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<a;){s=e[r];var c=s[0],l=t[c],f=s[1];if(u&&s[2]){if(void 0===l&&!(c in t))return!1}else{var d=n?n(l,f,c):void 0;if(!(void 0===d?i(f,l,n,!0):d))return!1}}return!0}var i=n(46),o=n(9);t.exports=r},function(t,e,n){"use strict";function r(t){var e=o(t);if(1==e.length&&e[0][2]){var n=e[0][0],r=e[0][1];return function(t){return null==t?!1:t[n]===r&&(void 0!==r||n in a(t))}}return function(t){return i(t,e)}}var i=n(98),o=n(116),a=n(9);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=u(t),r=s(t)&&c(e),h=t+"";return t=d(t),function(u){if(null==u)return!1;var s=h;if(u=f(u),!(!n&&r||s in u)){if(u=1==t.length?u:i(u,a(t,0,-1)),null==u)return!1;s=l(t),u=f(u)}return u[s]===e?void 0!==e||s in u:o(e,u[s],void 0,!0)}}var i=n(45),o=n(46),a=n(102),u=n(10),s=n(50),c=n(51),l=n(82),f=n(9),d=n(52);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t+"";return t=o(t),function(n){return i(n,t,e)}}var i=n(45),o=n(52);t.exports=r},function(t,e){"use strict";function n(t,e,n){var r=-1,i=t.length;e=null==e?0:+e||0,0>e&&(e=-e>i?0:i+e),n=void 0===n||n>i?i:+n||0,0>n&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}t.exports=n},function(t,e){"use strict";function n(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}t.exports=n},function(t,e){"use strict";function n(t){return null==t?"":t+""}t.exports=n},function(t,e,n){"use strict";function r(t,e){var n=-1,r=i,s=t.length,c=!0,l=c&&s>=u,f=l?a():null,d=[];f?(r=o,c=!1):(l=!1,f=e?[]:d);t:for(;++n<s;){var h=t[n],_=e?e(h,n,t):h;if(c&&h===h){for(var p=f.length;p--;)if(f[p]===_)continue t;e&&f.push(_),d.push(h)}else r(f,_,0)<0&&((e||l)&&f.push(_),d.push(h))}return d}var i=n(96),o=n(107),a=n(112),u=200;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if("function"!=typeof t)return i;if(void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)};case 5:return function(n,r,i,o,a){return t.call(e,n,r,i,o,a)}}return function(){return t.apply(e,arguments)}}var i=n(53);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.data,r="string"==typeof e||i(e)?n.set.has(e):n.hash[e];return r?0:-1}var i=n(7);t.exports=r},function(t,e,n){"use strict";function r(t){var e=this.data;"string"==typeof t||i(t)?e.set.add(t):e.hash[t]=!0}var i=n(7);t.exports=r},function(t,e,n){"use strict";function r(t,e){return i(t.criteria,e.criteria)||t.index-e.index}var i=n(91);t.exports=r},function(t,e,n){"use strict";function r(t,e){return function(n,r){var u=n?i(n):0;if(!o(u))return t(n,r);for(var s=e?u:-1,c=a(n);(e?s--:++s<u)&&r(c[s],s,c)!==!1;);return n}}var i=n(49),o=n(12),a=n(9);t.exports=r},function(t,e,n){"use strict";function r(t){return function(e,n,r){for(var o=i(e),a=r(e),u=a.length,s=t?u:-1;t?s--:++s<u;){var c=a[s];if(n(o[c],c,o)===!1)break}return e}}var i=n(9);t.exports=r},function(t,e,n){(function(e){"use strict";function r(t){return u&&a?new i(t):null}var i=n(87),o=n(22),a=o(e,"Set"),u=o(Object,"create");t.exports=r}).call(e,function(){return this}())},function(t,e,n){"use strict";function r(t,e,n,r,o,a,u){var s=-1,c=t.length,l=e.length;if(c!=l&&!(o&&l>c))return!1;for(;++s<c;){var f=t[s],d=e[s],h=r?r(o?d:f,o?f:d,s):void 0;if(void 0!==h){if(h)continue;return!1}if(o){if(!i(e,function(t){return f===t||n(f,t,r,o,a,u)}))return!1}else if(f!==d&&!n(f,d,r,o,a,u))return!1}return!0}var i=n(90);t.exports=r},function(t,e){"use strict";function n(t,e,n){switch(n){case r:case i:return+t==+e;case o:return t.name==e.name&&t.message==e.message;case a:return t!=+t?e!=+e:t==+e;case u:case s:return t==e+""}return!1}var r="[object Boolean]",i="[object Date]",o="[object Error]",a="[object Number]",u="[object RegExp]",s="[object String]";t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r,o,u,s){var c=i(t),l=c.length,f=i(e),d=f.length;if(l!=d&&!o)return!1;for(var h=l;h--;){var _=c[h];if(!(o?_ in e:a.call(e,_)))return!1}for(var p=o;++h<l;){_=c[h];var v=t[_],y=e[_],g=r?r(o?y:v,o?v:y,_):void 0;if(!(void 0===g?n(v,y,r,o,u,s):g))return!1;p||(p="constructor"==_)}if(!p){var m=t.constructor,b=e.constructor;if(m!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b))return!1}return!0}var i=n(30),o=Object.prototype,a=o.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=o(t),n=e.length;n--;)e[n][2]=i(e[n][1]);return e}var i=n(51),o=n(124);t.exports=r},function(t,e){"use strict";function n(t,e,n){for(var r=t.length,i=e+(n?0:-1);n?i--:++i<r;){var o=t[i];if(o!==o)return i}return-1}t.exports=n},function(t,e,n){"use strict";function r(t){for(var e=s(t),n=e.length,r=n&&t.length,c=!!r&&u(r)&&(o(t)||i(t)),f=-1,d=[];++f<n;){var h=e[f];(c&&a(h,r)||l.call(t,h))&&d.push(h)}return d}var i=n(29),o=n(10),a=n(27),u=n(12),s=n(123),c=Object.prototype,l=c.hasOwnProperty;t.exports=r},function(t,e){"use strict";function n(t,e){for(var n,r=-1,i=t.length,o=-1,a=[];++r<i;){var u=t[r],s=e?e(u,r,t):u;r&&n===s||(n=s,a[++o]=u)}return a}t.exports=n},function(t,e,n){"use strict";function r(t){return i(t)&&u.call(t)==o}var i=n(7),o="[object Function]",a=Object.prototype,u=a.toString;t.exports=r},function(t,e,n){"use strict";function r(t){return null==t?!1:i(t)?l.test(s.call(t)):o(t)&&a.test(t)}var i=n(120),o=n(13),a=/^\[object .+?Constructor\]$/,u=Object.prototype,s=Function.prototype.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&i(t.length)&&!!I[P.call(t)]}var i=n(12),o=n(13),a="[object Arguments]",u="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Function]",d="[object Map]",h="[object Number]",_="[object Object]",p="[object RegExp]",v="[object Set]",y="[object String]",g="[object WeakMap]",m="[object ArrayBuffer]",b="[object Float32Array]",O="[object Float64Array]",S="[object Int8Array]",w="[object Int16Array]",T="[object Int32Array]",M="[object Uint8Array]",E="[object Uint8ClampedArray]",j="[object Uint16Array]",C="[object Uint32Array]",I={};I[b]=I[O]=I[S]=I[w]=I[T]=I[M]=I[E]=I[j]=I[C]=!0,I[a]=I[u]=I[m]=I[s]=I[c]=I[l]=I[f]=I[d]=I[h]=I[_]=I[p]=I[v]=I[y]=I[g]=!1;var D=Object.prototype,P=D.toString;t.exports=r},function(t,e,n){"use strict";function r(t){if(null==t)return[];s(t)||(t=Object(t));var e=t.length;e=e&&u(e)&&(o(t)||i(t))&&e||0;for(var n=t.constructor,r=-1,c="function"==typeof n&&n.prototype===t,f=Array(e),d=e>0;++r<e;)f[r]=r+"";for(var h in t)d&&a(h,e)||"constructor"==h&&(c||!l.call(t,h))||f.push(h);return f}var i=n(29),o=n(10),a=n(27),u=n(12),s=n(7),c=Object.prototype,l=c.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";function r(t){t=o(t);for(var e=-1,n=i(t),r=n.length,a=Array(r);++e<r;){var u=n[e];a[e]=[u,t[u]]}return a}var i=n(30),o=n(9);t.exports=r},function(t,e){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(19),n(33),e["default"]=o["default"]({is:"state-card-configurator",properties:{stateObj:{type:Object}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(19);var a=["playing","paused"];e["default"]=o["default"]({is:"state-card-media_player",properties:{stateObj:{type:Object},isPlaying:{type:Boolean,computed:"computeIsPlaying(stateObj)"}},computeIsPlaying:function(t){return-1!==a.indexOf(t.state)},computePrimaryText:function(t,e){return e?t.attributes.media_title:t.stateDisplay},computeSecondaryText:function(t,e){var n;return"music"==t.attributes.media_content_type?t.attributes.media_artist:"tvshow"==t.attributes.media_content_type?(n=t.attributes.media_series_title,t.attributes.media_season&&t.attributes.media_episode&&(n+=" S"+t.attributes.media_season+"E"+t.attributes.media_episode),n):t.attributes.app_name?t.attributes.app_name:""}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(33),n(55),e["default"]=o["default"]({is:"state-card-scene",properties:{stateObj:{type:Object},allowToggle:{type:Boolean,value:!1,computed:"computeAllowToggle(stateObj)"}},computeAllowToggle:function(t){return"off"===t.state||t.attributes.active_requested}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);n(19),e["default"]=o["default"]({is:"state-card-thermostat",properties:{stateObj:{type:Object}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o);n(32),e["default"]=a["default"]({is:"state-card",properties:{stateObj:{type:Object}},listeners:{tap:"cardTapped"},cardTapped:function(t){t.stopPropagation(),this.async(i.moreInfoActions.selectEntity.bind(this,this.stateObj.entityId),100)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(59),u=r(a);e["default"]=o["default"]({is:"display-time",properties:{dateObj:{type:Object}},computeTime:function(t){return t?u["default"](t):""}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);e["default"]=a["default"]({is:"entity-list",behaviors:[s["default"]],properties:{entities:{type:Array,bindNuclear:[i.entityGetters.entityMap,function(t){return t.valueSeq().sortBy(function(t){return t.entityId}).toArray()}]}},entitySelected:function(t){t.preventDefault(),this.fire("entity-selected",{entityId:t.model.entity.entityId})}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);e["default"]=a["default"]({is:"events-list",behaviors:[s["default"]],properties:{events:{type:Array,bindNuclear:[i.eventGetters.entityMap,function(t){return t.valueSeq().sortBy(function(t){return t.event}).toArray()}]}},eventSelected:function(t){t.preventDefault(),this.fire("event-selected",{eventType:t.model.event.event})}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=function(t){var e=t.toString(16);return 1===e.length?"0"+e:e},u=function(t){return"#"+a(t.r)+a(t.g)+a(t.b)};e["default"]=o["default"]({is:"ha-color-picker",properties:{width:{type:Number,value:300},height:{type:Number,value:300},color:{type:Object}},listeners:{mousedown:"onMouseDown",mouseup:"onMouseUp",touchstart:"onTouchStart",touchend:"onTouchEnd",tap:"onTap"},onMouseDown:function(t){this.onMouseMove(t),this.addEventListener("mousemove",this.onMouseMove)},onMouseUp:function(t){this.removeEventListener("mousemove",this.onMouseMove)},onTouchStart:function(t){this.onTouchMove(t),this.addEventListener("touchmove",this.onTouchMove)},onTouchEnd:function(t){this.removeEventListener("touchmove",this.onTouchMove)},onTap:function(t){t.stopPropagation()},onTouchMove:function(t){var e=t.touches[0];this.onColorSelect(t,{x:e.clientX,y:e.clientY})},onMouseMove:function(t){t.preventDefault(),this.mouseMoveIsThrottled&&(this.mouseMoveIsThrottled=!1,this.onColorSelect(t),this.async(function(){this.mouseMoveIsThrottled=!0}.bind(this),100))},onColorSelect:function(t,e){if(this.context){e=e||this.relativeMouseCoordinates(t);var n=this.context.getImageData(e.x,e.y,1,1).data;this.setColor({r:n[0],g:n[1],b:n[2]})}},setColor:function(t){this.color={hex:u(t),rgb:t},this.fire("colorselected",{rgb:this.color.rgb,hex:this.color.hex})},relativeMouseCoordinates:function(t){var e=0,n=0;if(this.canvas){var r=this.canvas.getBoundingClientRect();e=t.clientX-r.left,n=t.clientY-r.top}return{x:e,y:n}},ready:function(){this.setColor=this.setColor.bind(this),this.mouseMoveIsThrottled=!0,this.canvas=this.children[0],this.context=this.canvas.getContext("2d");var t=this.context.createLinearGradient(0,0,this.width,0);t.addColorStop(0,"rgb(255,0,0)"),t.addColorStop(.16,"rgb(255,0,255)"),t.addColorStop(.32,"rgb(0,0,255)"),t.addColorStop(.48,"rgb(0,255,255)"),t.addColorStop(.64,"rgb(0,255,0)"),t.addColorStop(.8,"rgb(255,255,0)"),t.addColorStop(1,"rgb(255,0,0)"),this.context.fillStyle=t,this.context.fillRect(0,0,this.width,this.height);var e=this.context.createLinearGradient(0,0,0,this.height);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(.5,"rgba(255,255,255,0)"),e.addColorStop(.5,"rgba(0,0,0,0)"),e.addColorStop(1,"rgba(0,0,0,1)"),this.context.fillStyle=e,this.context.fillRect(0,0,this.width,this.height)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(1),o=r(i);n(138),o["default"]({is:"ha-logbook",properties:{entries:{type:Object,value:[]}},noEntries:function(t){return!t.length}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u),c=n(58),l=r(c);n(144);var f=i.util.entityDomainFilters;a["default"]({is:"ha-sidebar",behaviors:[s["default"]],properties:{menuSelected:{type:String},selected:{type:String,bindNuclear:i.navigationGetters.activePage,observer:"selectedChanged"},possibleFilters:{type:Array,value:[],bindNuclear:[i.navigationGetters.possibleEntityDomainFilters,function(t){return t.toArray()}]},hasHistoryComponent:{type:Boolean,bindNuclear:i.configGetters.isComponentLoaded("history")},hasLogbookComponent:{type:Boolean,bindNuclear:i.configGetters.isComponentLoaded("logbook")}},selectedChanged:function(t){for(var e=this.querySelectorAll(".menu [data-panel]"),n=0;n<e.length;n++)e[n].dataset.panel===t?e[n].classList.add("selected"):e[n].classList.remove("selected")},menuClicked:function(t){for(var e=t.target,n=5;n&&!e.dataset.panel;)e=e.parentElement,n--;n&&this.selectPanel(e.dataset.panel)},handleDevClick:function(t){document.activeElement.blur(),this.menuClicked(t)},selectPanel:function(t){return t!==this.selected?"logout"==t?void this.handleLogOut():void i.navigationActions.navigate.apply(null,t.split("/")):void 0},handleLogOut:function(){i.authActions.logOut()},filterIcon:function(t){return l["default"](t)},filterName:function(t){return f[t]},filterType:function(t){return"states/"+t}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);e["default"]=a["default"]({is:"ha-voice-command-progress",behaviors:[s["default"]],properties:{isTransmitting:{type:Boolean,bindNuclear:i.voiceGetters.isTransmitting},interimTranscript:{type:String,bindNuclear:i.voiceGetters.extraInterimTranscript},finalTranscript:{type:String,bindNuclear:i.voiceGetters.finalTranscript}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o);n(34),n(131),n(56),e["default"]=a["default"]({is:"logbook-entry",entityClicked:function(t){t.preventDefault(),i.moreInfoActions.selectEntity(this.entryObj.entityId)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);n(34),e["default"]=a["default"]({is:"services-list",behaviors:[s["default"]],properties:{serviceDomains:{type:Array,bindNuclear:[i.serviceGetters.entityMap,function(t){return t.valueSeq().sortBy(function(t){return t.domain}).toJS()}]}},computeServices:function(t){return this.services.get(t).toArray()},serviceClicked:function(t){t.preventDefault(),this.fire("service-selected",{domain:t.model.domain.domain,service:t.model.service})}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(168),u=r(a);n(34),e["default"]=o["default"]({is:"state-badge",properties:{stateObj:{type:Object,observer:"updateIconColor"}},updateIconColor:function(t){if("light"==t.domain&&"on"==t.state&&t.attributes.brightness&&t.attributes.xy_color){var e=u["default"](t.attributes.xy_color[0],t.attributes.xy_color[1],t.attributes.brightness);this.$.icon.style.color="rgb("+e.map(Math.floor).join(",")+")"}else this.$.icon.style.color=null}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(1),o=r(i);n(130),o["default"]({is:"state-cards",properties:{states:{type:Array,value:[]}},computeEmptyStates:function(t){return 0===t.length}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(85),o=r(i),a=n(81),u=r(a),s=n(83),c=r(s),l=n(86),f=r(l),d=n(1),h=r(d);e["default"]=h["default"]({is:"state-history-chart-line",properties:{data:{type:Object,observer:"dataChanged"},unit:{type:String},isSingleDevice:{type:Boolean,value:!1},isAttached:{type:Boolean,value:!1,observer:"dataChanged"}},created:function(){this.style.display="block"},attached:function(){this.isAttached=!0},dataChanged:function(){this.drawChart()},drawChart:function(){if(this.isAttached){for(var t=h["default"].dom(this),e=this.unit,n=this.data;t.lastChild;)t.removeChild(t.lastChild);if(0!==n.length){var r=new google.visualization.LineChart(this),i=new google.visualization.DataTable;i.addColumn({type:"datetime",id:"Time"});var a={legend:{position:"top"},titlePosition:"none",vAxes:{0:{title:e}},hAxis:{format:"H:mm"},lineWidth:1,chartArea:{left:"60",width:"95%"},explorer:{actions:["dragToZoom","rightClickToReset","dragToPan"],keepInBounds:!0,axis:"horizontal",maxZoomIn:.1}};this.isSingleDevice&&(a.legend.position="none",a.vAxes[0].title=null,a.chartArea.left=40,a.chartArea.height="80%",a.chartArea.top=5,a.enableInteractivity=!1);var s=o["default"](u["default"](n),"lastChangedAsDate");s=c["default"](s,function(t){return t.getTime()}),s=f["default"](s,function(t){return t});for(var l=[],d=new Array(n.length),_=0;_<d.length;_++)d[_]=0;var p=1,v=new Date,y=s[0];for(_=0;_<s.length;_++){var g=new Date(s[_]);l.push([g].concat(d)),l.push([s[_]].concat(d)),y=s[_],p++}l.push([v].concat(d));var m=0;n.forEach(function(t){var e=t[t.length-1].attributes;i.addColumn("number",e.friendly_name);var n=0,r=0,o=0,a=0,u=l[0][0];t.forEach(function(t){n=t.state;var e=t.lastChangedAsDate;"None"==t.state&&(n=r);for(var i=o;i<l.length;i++){if(l[i][1+m]=parseFloat(r),u.getTime()==l[i][0].getTime()&&l[i][0].getTime()==e.getTime()){l[i][1+m]=parseFloat(n),o=i,u=l[i][0];break}u=l[i][0]}r=n,a++}.bind(this));for(var s=o;s<l.length;s++)l[s][1+m]=parseFloat(r);m++}.bind(this)),i.addRows(l),r.draw(i,a)}}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);e["default"]=o["default"]({is:"state-history-chart-timeline",properties:{data:{type:Object,observer:"dataChanged"},isAttached:{type:Boolean,value:!1,observer:"dataChanged"}},attached:function(){this.isAttached=!0},dataChanged:function(){this.drawChart()},drawChart:function(){if(this.isAttached){for(var t=o["default"].dom(this),e=this.data;t.node.lastChild;)t.node.removeChild(t.node.lastChild);if(e&&0!==e.length){var n=new google.visualization.Timeline(this),r=new google.visualization.DataTable;r.addColumn({type:"string",id:"Entity"}),r.addColumn({type:"string",id:"State"}),r.addColumn({type:"date",id:"Start"}),r.addColumn({type:"date",id:"End"});var i=function(t,e,n,i){e=e.replace(/_/g," "),r.addRow([t,e,n,i])},a=new Date(e.reduce(function(t,e){return Math.min(t,e[0].lastChangedAsDate)},new Date)),u=new Date(a);u.setDate(u.getDate()+1),u>new Date&&(u=new Date);var s=0;e.forEach(function(t){if(0!==t.length){var e,n=t[0].entityDisplay,r=null,o=null;t.forEach(function(t){null!==r&&t.state!==r?(e=t.lastChangedAsDate,i(n,r,o,e),r=t.state,o=e):null===r&&(r=t.state,o=t.lastChangedAsDate)}),i(n,r,o,u),s++}}.bind(this)),n.draw(r,{height:55+42*s,timeline:{showRowLabels:e.length>1},hAxis:{format:"H:mm"}})}}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);e["default"]=a["default"]({is:"stream-status",behaviors:[s["default"]],properties:{isStreaming:{type:Boolean,bindNuclear:i.streamGetters.isStreamingEvents},hasError:{type:Boolean,bindNuclear:i.streamGetters.hasStreamingEventsError}},toggleChanged:function(){this.isStreaming?i.streamActions.stop():i.streamActions.start()}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);n(32),n(57),n(157);var c=["camera"];e["default"]=a["default"]({is:"more-info-dialog",behaviors:[s["default"]],properties:{stateObj:{type:Object,bindNuclear:i.moreInfoGetters.currentEntity,observer:"stateObjChanged"},stateHistory:{type:Object,bindNuclear:[i.moreInfoGetters.currentEntityHistory,function(t){return t?[t]:!1}]},isLoadingHistoryData:{type:Boolean,bindNuclear:i.entityHistoryGetters.isLoadingEntityHistory},hasHistoryComponent:{type:Boolean,bindNuclear:i.configGetters.isComponentLoaded("history"),observer:"fetchHistoryData"},shouldFetchHistory:{type:Boolean,bindNuclear:i.moreInfoGetters.isCurrentEntityHistoryStale,observer:"fetchHistoryData"},showHistoryComponent:{type:Boolean,value:!1},dialogOpen:{type:Boolean,value:!1,observer:"dialogOpenChanged"}},fetchHistoryData:function(){this.stateObj&&this.hasHistoryComponent&&this.shouldFetchHistory&&i.entityHistoryActions.fetchRecent(this.stateObj.entityId),this.stateObj&&(-1!==c.indexOf(this.stateObj.domain)?this.showHistoryComponent=!1:this.showHistoryComponent=this.hasHistoryComponent)},stateObjChanged:function(t){return t?(this.fetchHistoryData(),void this.async(function(){this.dialogOpen=!0}.bind(this),10)):void(this.dialogOpen=!1)},dialogOpenChanged:function(t){t||i.moreInfoActions.deselectEntity()}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(5),a=r(o);n(136),n(153),n(152),n(151),n(148),n(149),n(150),n(154),n(145),e["default"]=Polymer({is:"home-assistant-main",behaviors:[a["default"]],properties:{narrow:{type:Boolean},activePage:{type:String,bindNuclear:i.navigationGetters.activePage,observer:"activePageChanged"},isSelectedStates:{type:Boolean,bindNuclear:i.navigationGetters.isActivePane("states")},isSelectedHistory:{type:Boolean,bindNuclear:i.navigationGetters.isActivePane("history")},isSelectedLogbook:{type:Boolean,bindNuclear:i.navigationGetters.isActivePane("logbook")},isSelectedDevEvent:{type:Boolean,bindNuclear:i.navigationGetters.isActivePane("devEvent")},isSelectedDevState:{type:Boolean,bindNuclear:i.navigationGetters.isActivePane("devState")},isSelectedDevService:{type:Boolean,bindNuclear:i.navigationGetters.isActivePane("devService")}},listeners:{"open-menu":"openDrawer"},openDrawer:function(){this.$.drawer.openDrawer()},activePageChanged:function(){this.$.drawer.closeDrawer()},attached:function(){i.urlSync.startSync()},detached:function(){i.urlSync.stopSync()}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(3),u=n(5),s=r(u),c=n(60),l=r(c);e["default"]=o["default"]({is:"login-form",behaviors:[s["default"]],properties:{isValidating:{type:Boolean,observer:"isValidatingChanged",bindNuclear:a.authGetters.isValidating},isInvalid:{type:Boolean,bindNuclear:a.authGetters.isInvalidAttempt},errorMessage:{type:String,bindNuclear:a.authGetters.attemptErrorMessage}},listeners:{keydown:"passwordKeyDown","loginButton.click":"validatePassword"},observers:["validatingChanged(isValidating, isInvalid)"],validatingChanged:function(t,e){t||e||(this.$.passwordInput.value="")},isValidatingChanged:function(t){
|
||
t||this.async(function(){this.$.passwordInput.focus()}.bind(this),10)},passwordKeyDown:function(t){13===t.keyCode?(this.validatePassword(),t.preventDefault()):this.isInvalid&&(this.isInvalid=!1)},validatePassword:function(){this.$.hideKeyboardOnFocus.focus(),l["default"](this.$.passwordInput.value,this.$.rememberLogin.checked)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o);n(14),n(139),e["default"]=a["default"]({is:"partial-dev-call-service",properties:{narrow:{type:Boolean,value:!1},domain:{type:String,value:""},service:{type:String,value:""},serviceData:{type:String,value:""}},serviceSelected:function(t){this.domain=t.detail.domain,this.service=t.detail.service},callService:function(){var t;try{t=this.serviceData?JSON.parse(this.serviceData):{}}catch(e){return void alert("Error parsing JSON: "+e)}i.serviceActions.callService(this.domain,this.service,t)},computeFormClasses:function(t){return"layout "+(t?"vertical":"horizontal")}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o);n(14),n(133),e["default"]=a["default"]({is:"partial-dev-fire-event",properties:{eventType:{type:String,value:""},eventData:{type:String,value:""}},eventSelected:function(t){this.eventType=t.detail.eventType},fireEvent:function(){var t;try{t=this.eventData?JSON.parse(this.eventData):{}}catch(e){return void alert("Error parsing JSON: "+e)}i.eventActions.fireEvent(this.eventType,t)},computeFormClasses:function(t){return"layout "+(t?"vertical":"horizontal")}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o);n(14),n(132),e["default"]=a["default"]({is:"partial-dev-set-state",properties:{entityId:{type:String,value:""},state:{type:String,value:""},stateAttributes:{type:String,value:""}},setStateData:function(t){var e=t?JSON.stringify(t,null," "):"";this.$.inputData.value=e,this.$.inputDataWrapper.update(this.$.inputData)},entitySelected:function(t){var e=i.reactor.evaluate(i.entityGetters.byId(t.detail.entityId));this.entityId=e.entityId,this.state=e.state,this.stateAttributes=JSON.stringify(e.attributes,null," ")},handleSetState:function(){var t;try{t=this.stateAttributes?JSON.parse(this.stateAttributes):{}}catch(e){return void alert("Error parsing JSON: "+e)}i.entityActions.save({entityId:this.entityId,state:this.state,attributes:t})},computeFormClasses:function(t){return"layout "+(t?"vertical":"horizontal")}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);n(14),n(57),e["default"]=a["default"]({is:"partial-history",behaviors:[s["default"]],properties:{narrow:{type:Boolean},isDataLoaded:{type:Boolean,bindNuclear:i.entityHistoryGetters.hasDataForCurrentDate,observer:"isDataLoadedChanged"},stateHistory:{type:Object,bindNuclear:i.entityHistoryGetters.entityHistoryForCurrentDate},isLoadingData:{type:Boolean,bindNuclear:i.entityHistoryGetters.isLoadingEntityHistory},selectedDate:{type:String,value:null,bindNuclear:i.entityHistoryGetters.currentDate}},isDataLoadedChanged:function(t){t||i.entityHistoryActions.fetchSelectedDate()},handleRefreshClick:function(){i.entityHistoryActions.fetchSelectedDate()},datepickerFocus:function(){this.datePicker.adjustPosition(),this.datePicker.gotoDate(moment("2015-06-30").toDate())},attached:function(){this.datePicker=new Pikaday({field:this.$.datePicker.inputElement,onSelect:i.entityHistoryActions.changeCurrentDate})},detached:function(){this.datePicker.destroy()},computeContentClasses:function(t){return"flex content "+(t?"narrow":"wide")}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(31),o=r(i),a=n(3),u=n(1),s=r(u),c=n(5),l=r(c);n(14),n(135),n(35),e["default"]=s["default"]({is:"partial-logbook",behaviors:[l["default"]],properties:{narrow:{type:Boolean,value:!1},selectedDate:{type:String,bindNuclear:a.logbookGetters.currentDate},isLoading:{type:Boolean,bindNuclear:a.logbookGetters.isLoadingEntries},isStale:{type:Boolean,bindNuclear:a.logbookGetters.isCurrentStale,observer:"isStaleChanged"},entries:{type:Array,bindNuclear:[a.logbookGetters.currentEntries,function(t){return t.toArray()}]},datePicker:{type:Object}},isStaleChanged:function(t){t&&this.async(function(){a.logbookActions.fetchDate(this.selectedDate)},10)},handleRefresh:function(){a.logbookActions.fetchDate(this.selectedDate)},datepickerFocus:function(){this.datePicker.adjustPosition(),this.datePicker.gotoDate(o["default"]("2015-06-30").toDate())},attached:function(){this.datePicker=new Pikaday({field:this.$.datePicker.inputElement,onSelect:a.logbookActions.changeCurrentDate})},detached:function(){this.datePicker.destroy()}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u),c=i.util.entityDomainFilters;n(14),n(141),n(137),e["default"]=a["default"]({is:"partial-states",behaviors:[s["default"]],properties:{narrow:{type:Boolean,value:!1},filter:{type:String,bindNuclear:i.navigationGetters.activeFilter},isFetching:{type:Boolean,bindNuclear:i.syncGetters.isFetching},isStreaming:{type:Boolean,bindNuclear:i.streamGetters.isStreamingEvents},canListen:{type:Boolean,bindNuclear:[i.voiceGetters.isVoiceSupported,i.configGetters.isComponentLoaded("conversation"),function(t,e){return t&&e}]},isListening:{type:Boolean,bindNuclear:i.voiceGetters.isListening},showListenInterface:{type:Boolean,bindNuclear:[i.voiceGetters.isListening,i.voiceGetters.isTransmitting,function(t,e){return t||e}]},states:{type:Array,bindNuclear:[i.navigationGetters.filteredStates,i.serviceGetters.entityMap,function(t){return t.toArray()}]}},handleRefresh:function(){i.syncActions.fetchAll()},handleListenClick:function(){this.isListening?i.voiceActions.stop():i.voiceActions.listen()},computeHeaderTitle:function(t){return t?c[t]:"States"},computeListenButtonIcon:function(t){return t?"av:mic-off":"av:mic"},computeRefreshButtonClass:function(t){return t?"ha-spin":void 0}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);e["default"]=a["default"]({is:"notification-manager",behaviors:[s["default"]],properties:{text:{type:String,bindNuclear:i.notificationGetters.lastNotificationMessage,observer:"showNotification"}},showNotification:function(t){t&&this.$.toast.show()}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);e["default"]=o["default"]({is:"more-info-camera",properties:{stateObj:{type:Object},dialogOpen:{type:Boolean}},imageLoaded:function(){this.fire("iron-resize")},computeCameraImageUrl:function(t){return"http://194.218.96.92/jpg/image.jpg"}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);n(35),e["default"]=a["default"]({is:"more-info-configurator",behaviors:[s["default"]],properties:{stateObj:{type:Object},action:{type:String,value:"display"},isStreaming:{type:Boolean,bindNuclear:i.streamGetters.isStreamingEvents},isConfigurable:{type:Boolean,computed:"computeIsConfigurable(stateObj)"},isConfiguring:{type:Boolean,value:!1},submitCaption:{type:String,computed:"computeSubmitCaption(stateObj)"}},computeIsConfigurable:function(t){return"configure"==t.state},computeSubmitCaption:function(t){return t.attributes.submit_caption||"Set configuration"},submitClicked:function(){this.isConfiguring=!0;var t={configure_id:this.stateObj.attributes.configure_id};i.serviceActions.callService("configurator","configure",t).then(function(){this.isConfiguring=!1,this.isStreaming||i.syncActions.fetchAll()}.bind(this),function(){this.isConfiguring=!1}.bind(this))}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(167),u=r(a);n(158),n(159),n(163),n(156),n(164),n(162),n(160),n(161),n(155),e["default"]=o["default"]({is:"more-info-content",properties:{stateObj:{type:Object,observer:"stateObjChanged"},dialogOpen:{type:Boolean,value:!1,observer:"dialogOpenChanged"}},dialogOpenChanged:function(t,e){var n=o["default"].dom(this);n.lastChild&&(n.lastChild.dialogOpen=t)},stateObjChanged:function(t,e){var n=o["default"].dom(this);if(!t)return void(n.lastChild&&n.removeChild(n.lastChild));var r=u["default"](t);if(e&&u["default"](e)==r)n.lastChild.dialogOpen=this.dialogOpen,n.lastChild.stateObj=t;else{n.lastChild&&n.removeChild(n.lastChild);var i=document.createElement("more-info-"+r);i.stateObj=t,i.dialogOpen=this.dialogOpen,n.appendChild(i)}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=["entity_picture","friendly_name","unit_of_measurement"];e["default"]=o["default"]({is:"more-info-default",properties:{stateObj:{type:Object}},computeDisplayAttributes:function(t){return t?Object.keys(t.attributes).filter(function(t){return-1===a.indexOf(t)}):[]},getAttributeValue:function(t,e){return t.attributes[e]}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(5),s=r(u);n(32),e["default"]=a["default"]({is:"more-info-group",behaviors:[s["default"]],properties:{stateObj:{type:Object},states:{type:Array,bindNuclear:[i.moreInfoGetters.currentEntity,i.entityGetters.entityMap,function(t,e){return t?t.attributes.entity_id.map(e.get.bind(e)):void 0}]}},updateStates:function(){this.states=this.stateObj&&this.stateObj.attributes.entity_id?stateStore.gets(this.stateObj.attributes.entity_id).toArray():[]}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(36),s=r(u);n(134);var c=["brightness","xy_color"];e["default"]=a["default"]({is:"more-info-light",properties:{stateObj:{type:Object,observer:"stateObjChanged"},brightnessSliderValue:{type:Number,value:0}},stateObjChanged:function(t,e){t&&"on"===t.state&&(this.brightnessSliderValue=t.attributes.brightness),this.async(function(){this.fire("iron-resize")}.bind(this),500)},computeClassNames:function(t){return s["default"](t,c)},brightnessSliderChanged:function(t){var e=parseInt(t.target.value);isNaN(e)||(0===e?i.serviceActions.callTurnOff(this.stateObj.entityId):i.serviceActions.callService("light","turn_on",{entity_id:this.stateObj.entityId,brightness:e}))},colorPicked:function(t){var e=t.detail.rgb;i.serviceActions.callService("light","turn_on",{entity_id:this.stateObj.entityId,rgb_color:[e.r,e.g,e.b]})}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(36),s=r(u),c=["volume_level"];e["default"]=a["default"]({is:"more-info-media_player",properties:{stateObj:{type:Object,observer:"stateObjChanged"},isOff:{type:Boolean,value:!1},isPlaying:{type:Boolean,value:!1},isMuted:{type:Boolean,value:!1},volumeSliderValue:{type:Number,value:0},supportsPause:{type:Boolean,value:!1},supportsVolumeSet:{type:Boolean,value:!1},supportsVolumeMute:{type:Boolean,value:!1},supportsPreviousTrack:{type:Boolean,value:!1},supportsNextTrack:{type:Boolean,value:!1},supportsTurnOn:{type:Boolean,value:!1},supportsTurnOff:{type:Boolean,value:!1}},stateObjChanged:function(t){t&&(this.isOff="off"==t.state,this.isPlaying="playing"==t.state,this.volumeSliderValue=100*t.attributes.volume_level,this.isMuted=t.attributes.is_volume_muted,this.supportsPause=0!==(1&t.attributes.supported_media_commands),this.supportsVolumeSet=0!==(4&t.attributes.supported_media_commands),this.supportsVolumeMute=0!==(8&t.attributes.supported_media_commands),this.supportsPreviousTrack=0!==(16&t.attributes.supported_media_commands),this.supportsNextTrack=0!==(32&t.attributes.supported_media_commands),this.supportsTurnOn=0!==(128&t.attributes.supported_media_commands),this.supportsTurnOff=0!==(256&t.attributes.supported_media_commands)),this.async(function(){this.fire("iron-resize")}.bind(this),500)},computeClassNames:function(t){return s["default"](t,c)},computeIsOff:function(t){return"off"==t.state},computeMuteVolumeIcon:function(t){return t?"av:volume-off":"av:volume-up"},computePlaybackControlIcon:function(t){return this.isPlaying?this.supportsPause?"av:pause":"av:stop":"av:play-arrow"},computeHidePowerButton:function(t,e,n){return t?!e:!n},handleTogglePower:function(){this.callService(this.isOff?"turn_on":"turn_off")},handlePrevious:function(){this.callService("media_previous_track")},handlePlaybackControl:function(){this.isPlaying&&!this.supportsPause&&alert("This case is not supported yet"),this.callService("media_play_pause")},handleNext:function(){this.callService("media_next_track")},handleVolumeTap:function(){this.supportsVolumeMute&&this.callService("volume_mute",{is_volume_muted:!this.isMuted})},volumeSliderChanged:function(t){var e=parseFloat(t.target.value),n=e>0?e/100:0;this.callService("volume_set",{volume_level:n})},callService:function(t,e){e=e||{},e.entity_id=this.stateObj.entityId,i.serviceActions.callService("media_player",t,e)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i);e["default"]=o["default"]({is:"more-info-script",properties:{stateObj:{type:Object}}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(59),a=r(o),u=i.util.parseDateTime;e["default"]=Polymer({is:"more-info-sun",properties:{stateObj:{type:Object,observer:"stateObjChanged"},risingDate:{type:Object},settingDate:{type:Object},risingTime:{type:String},settingTime:{type:String}},stateObjChanged:function(){this.risingDate=u(this.stateObj.attributes.next_rising),this.risingTime=a["default"](this.risingDate),this.settingDate=u(this.stateObj.attributes.next_setting),this.settingTime=a["default"](this.settingDate);var t=Polymer.dom(this);self.risingDate>self.settingDate?t.appendChild(this.$.rising):t.appendChild(this.$.setting)}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=n(1),a=r(o),u=n(36),s=r(u),c=i.util.temperatureUnits,l=["away_mode"];e["default"]=a["default"]({is:"more-info-thermostat",properties:{stateObj:{type:Object,observer:"stateObjChanged"},tempMin:{type:Number},tempMax:{type:Number},targetTemperatureSliderValue:{type:Number},awayToggleChecked:{type:Boolean}},stateObjChanged:function(t,e){this.targetTemperatureSliderValue=this.stateObj.state,this.awayToggleChecked="on"==this.stateObj.attributes.away_mode,this.stateObj.attributes.unit_of_measurement===c.UNIT_TEMP_F?(this.tempMin=45,this.tempMax=95):(this.tempMin=7,this.tempMax=35)},computeClassNames:function(t){return s["default"](t,l)},targetTemperatureSliderChanged:function(t){var e=parseInt(t.target.value);isNaN(e)||i.serviceActions.callService("thermostat","set_temperature",{entity_id:this.stateObj.entityId,temperature:e})},toggleChanged:function(t){var e=t.target.checked;e&&"off"===this.stateObj.attributes.away_mode?this.service_set_away(!0):e||"on"!==this.stateObj.attributes.away_mode||this.service_set_away(!1)},service_set_away:function(t){i.serviceActions.callService("thermostat","set_away_mode",{entity_id:this.stateObj.entityId,away_mode:t}).then(function(){this.stateObjChanged(this.stateObj)}.bind(this))}}),t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return{attached:function(){var e=this;this.__unwatchFns=Object.keys(e.properties).reduce(function(n,r){if(!("bindNuclear"in e.properties[r]))return n;var i=e.properties[r].bindNuclear;if(!i)throw"Undefined getter specified for key "+r;return e[r]=t.evaluate(i),n.concat(t.observe(i,function(t){e[r]=t}))},[])},detached:function(){for(;this.__unwatchFns.length;)this.__unwatchFns.shift()()}}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return-1!==o.indexOf(t.domain)?t.domain:i.reactor.evaluate(i.serviceGetters.canToggle(t.entityId))?"toggle":"display"}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r;var i=n(3),o=["thermostat","configurator","scene","media_player"];t.exports=e["default"]},function(t,e){"use strict";function n(t){return-1!==r.indexOf(t.domain)?t.domain:"default"}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n;var r=["light","group","sun","configurator","thermostat","script","media_player","camera"];t.exports=e["default"]},function(t,e){"use strict";function n(t,e,n){var r=1-t-e,i=n/255,o=i/e*t,a=i/e*r,u=1.612*o-.203*i-.302*a,s=.509*-o+1.412*i+.066*a,c=.026*o-.072*i+.962*a;u=.0031308>=u?12.92*u:1.055*Math.pow(u,1/2.4)-.055,s=.0031308>=s?12.92*s:1.055*Math.pow(s,1/2.4)-.055,c=.0031308>=c?12.92*c:1.055*Math.pow(c,1/2.4)-.055;var l=Math.max(u,s,c);return u/=l,s/=l,c/=l,u=255*u,0>u&&(u=255),s=255*s,0>s&&(s=255),c=255*c,0>c&&(c=255),[u,s,c]}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e["default"]},function(t,e,n){"use strict";var r=n(61),i=r(Date,"now"),o=i||function(){return(new Date).getTime()};t.exports=o},function(t,e){"use strict";function n(t){return"number"==typeof t&&t>-1&&t%1==0&&r>=t}var r=9007199254740991;t.exports=n},function(t,e,n){"use strict";var r=n(61),i=n(170),o=n(62),a="[object Array]",u=Object.prototype,s=u.toString,c=r(Array,"isArray"),l=c||function(t){return o(t)&&i(t.length)&&s.call(t)==a};t.exports=l},function(t,e,n){"use strict";function r(t){return i(t)&&u.call(t)==o}var i=n(63),o="[object Function]",a=Object.prototype,u=a.toString;t.exports=r},function(t,e,n){"use strict";function r(t){return null==t?!1:i(t)?l.test(s.call(t)):o(t)&&a.test(t)}var i=n(172),o=n(62),a=/^\[object .+?Constructor\]$/,u=Object.prototype,s=Function.prototype.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(175),o=r(i),a=n(176),u=r(a),s=n(178),c=r(s),l=n(179),f=r(l);e["default"]={config:o["default"],events:u["default"],services:c["default"],states:f["default"]},t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={components:["configurator","http","api","frontend","history","conversation","logbook"],latitude:32.87336,location_name:null,longitude:-117.22743,temperature_unit:"°F",time_zone:"America/Los_Angeles"},t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=[{event:"call_service",listener_count:1},{event:"time_changed",listener_count:1},{event:"state_changed",listener_count:3},{event:"homeassistant_stop",listener_count:2}],t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=[{domain:"sun",entity_id:"sun.sun",message:"has risen",name:"sun",when:"06:08:47 24-04-2015"},{domain:"device_tracker",entity_id:"device_tracker.paulus",message:"left home",name:"Paulus",when:"08:54:47 24-04-2015"},{domain:"device_tracker",entity_id:"device_tracker.anne_therese",message:"left home",name:"Anne Therese",when:"09:08:47 24-04-2015"},{domain:"group",entity_id:"group.all_devices",message:"left home",name:"All devices",when:"09:08:47 24-04-2015"},{domain:"thermostat",entity_id:"thermostat.nest",message:"changed to 17 °C",name:"Nest",when:"09:08:47 24-04-2015"},{domain:"thermostat",entity_id:"thermostat.nest",message:"changed to 21 °C",name:"Nest",when:"16:00:47 24-04-2015"},{domain:"device_tracker",entity_id:"device_tracker.anne_therese",message:"came home",name:"Anne Therese",when:"16:24:47 24-04-2015"},{domain:"group",entity_id:"group.all_devices",message:"came home",name:"All devices",when:"16:24:47 24-04-2015"},{domain:"light",entity_id:"light.bowl",message:"turned on",name:"Bowl",when:"18:01:47 24-04-2015"},{domain:"light",entity_id:"light.ceiling",message:"turned on",name:"Ceiling",when:"18:16:47 24-04-2015"},{domain:"light",entity_id:"light.tv_back_light",message:"turned on",name:"TV Back Light",when:"18:31:47 24-04-2015"},{domain:"sun",entity_id:"sun.sun",message:"has set",name:"sun",when:"18:46:47 24-04-2015"},{domain:"media_player",entity_id:"media_player.living_room",message:"changed to Plex",name:"Media Player",when:"19:12:47 24-04-2015"}],t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=[{domain:"homeassistant",services:["stop","turn_off","turn_on"]},{domain:"light",services:["turn_off","turn_on"]},{domain:"switch",services:["turn_off","turn_on"]},{domain:"configurator",services:["configure"]}],t.exports=e["default"]},function(t,e){"use strict";function n(){var t=new Date((new Date).getTime()-80*Math.random()*60*1e3);return t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()+" "+(t.getDate()+"-"+(t.getMonth()+1)+"-"+t.getFullYear())}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=[{attributes:{brightness:200,xy_color:[.6389,.3028]},entity_id:"light.ceiling",last_changed:n(),state:"on"},{attributes:{entity_picture:"https://graph.facebook.com/KillBillMovie/picture",friendly_name:"Chromecast",supported_media_commands:509,media_title:"Kill Bill"},entity_id:"media_player.living_room",last_changed:n(),state:"playing"},{attributes:{friendly_name:"Outside humidity",unit_of_measurement:"%"},entity_id:"sensor.outside_humidity",last_changed:n(),state:"54"},{attributes:{friendly_name:"Kodi"},entity_id:"sensor.kodi",last_changed:n(),state:"on"},{attributes:{friendly_name:"Outside temperature",unit_of_measurement:"°C"},entity_id:"sensor.outside_temperature",last_changed:n(),state:"15.6"},{attributes:{auto:!0,entity_id:["device_tracker.Paulus","device_tracker.Anne_Therese"]},entity_id:"group.all_devices",last_changed:n(),state:"home"},{attributes:{},entity_id:"light.bed_light",last_changed:n(),state:"off"},{attributes:{auto:!0,entity_id:["light.bowl","light.ceiling","light.tv_back_light","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(),state:"on"},{attributes:{brightness:200,xy_color:[.6389,.3028]},entity_id:"light.bowl",last_changed:n(),state:"on"},{attributes:{away_mode:"off",current_temperature:"18",unit_of_measurement:"°C"},entity_id:"thermostat.nest",last_changed:n(),state:"23"},{attributes:{},entity_id:"a.demo_mode",last_changed:n(),state:"Enabled"},{attributes:{next_rising:"06:37:32 09-02-2015",next_setting:"17:29:01 09-02-2015"},entity_id:"sun.sun",last_changed:n(),state:"below_horizon"},{attributes:{configure_id:"4415244496-1",description:"Press the button on the bridge to register Philips Hue with Home Assistant.",description_image:"/demo/images/config_philips_hue.jpg",fields:[],submit_caption:"I have pressed the button"},entity_id:"configurator.philips_hue",last_changed:n(),state:"configure"},{attributes:{},entity_id:"switch.christmas_lights",last_changed:n(),state:"off"},{attributes:{auto:!1,entity_id:["light.bed_light","switch.christmas_lights"],friendly_name:"bedroom"},entity_id:"group.bedroom",last_changed:n(),state:"off"},{attributes:{friendly_name:"TV Back Light"},entity_id:"light.tv_back_light",last_changed:n(),state:"off"},{attributes:{auto:!1,entity_id:["light.bowl","light.ceiling","light.tv_back_light","switch.ac"],friendly_name:"living room"},entity_id:"group.living_room",last_changed:n(),state:"on"},{attributes:{entity_picture:"https://graph.facebook.com/297400035/picture"},entity_id:"device_tracker.paulus",last_changed:n(),state:"home"},{attributes:{entity_picture:"https://graph.facebook.com/621994601/picture"},entity_id:"device_tracker.anne_therese",last_changed:n(),state:"not_home"},{attributes:{friendly_name:"AC"},entity_id:"switch.ac",last_changed:n(),state:"on"},{attributes:{entity_picture:"http://194.218.96.92/jpg/image.jpg",friendly_name:"Demo Camera"},entity_id:"camera.ip_camera",last_changed:n(),state:"idle"}],t.exports=e["default"]},function(t,e){"use strict";function n(t){var e=new Date((new Date).getTime()-60*t*1e3);return e.getHours()+":"+e.getMinutes()+":"+e.getSeconds()+" "+e.getDate()+"-"+(e.getMonth()+1)+"-"+e.getFullYear()}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=[[{attributes:{next_rising:"06:38:23 08-02-2015",next_setting:"17:28:06 08-02-2015"},entity_id:"sun.sun",last_changed:n(1440),state:"below_horizon"},{attributes:{next_rising:"06:37:32 09-02-2015",next_setting:"17:28:06 08-02-2015"},entity_id:"sun.sun",last_changed:n(940),state:"above_horizon"},{attributes:{next_rising:"06:37:32 09-02-2015",next_setting:"17:29:01 09-02-2015"},entity_id:"sun.sun",last_changed:n(720),state:"below_horizon"},{attributes:{next_rising:"06:37:32 09-02-2015",next_setting:"17:29:01 09-02-2015"},entity_id:"sun.sun",last_changed:n(420),state:"below_horizon"}],[{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(1440),state:"on"},{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(1100),state:"off"},{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(900),state:"on"},{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(600),state:"off"},{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(400),state:"on"},{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(200),state:"off"},{attributes:{auto:!0,entity_id:["light.tv_back_light","light.ceiling","light.bowl","light.bed_light"],friendly_name:"all lights"},entity_id:"group.all_lights",last_changed:n(100),state:"on"}],[{attributes:{friendly_name:"Bed light"},entity_id:"light.bed_light",last_changed:n(1440),state:"off"},{attributes:{brightness:254,friendly_name:"Bed light",xy_color:[.4595,.4105]},entity_id:"light.bed_light",last_changed:n(720),state:"on"},{attributes:{friendly_name:"Bed light"},entity_id:"light.bed_light",last_changed:n(130),state:"off"}],[{attributes:{auto:!1,entity_id:["light.Bed_light"],friendly_name:"bedroom"},entity_id:"group.bedroom",last_changed:n(1440),state:"off"},{attributes:{auto:!1,entity_id:["light.Bed_light"],friendly_name:"bedroom"},entity_id:"group.bedroom",last_changed:n(1300),state:"on"},{attributes:{auto:!1,entity_id:["light.Bed_light"],friendly_name:"bedroom"},entity_id:"group.bedroom",last_changed:n(1e3),state:"off"},{attributes:{auto:!1,entity_id:["light.bed_light"],friendly_name:"bedroom"},entity_id:"group.bedroom",last_changed:n(100),state:"on"}],[{attributes:{brightness:144,friendly_name:"Ceiling",xy_color:[.5119,.4147]},entity_id:"light.ceiling",last_changed:n(1440),state:"on"},{attributes:{friendly_name:"Ceiling"},entity_id:"light.ceiling",last_changed:n(1220),state:"off"},{attributes:{brightness:144,friendly_name:"Ceiling",xy_color:[.5119,.4147]},entity_id:"light.ceiling",last_changed:n(1e3),state:"on"},{attributes:{friendly_name:"Ceiling"},entity_id:"light.ceiling",last_changed:n(700),state:"off"},{attributes:{brightness:144,friendly_name:"Ceiling",xy_color:[.5119,.4147]},entity_id:"light.ceiling",last_changed:n(560),state:"on"},{attributes:{friendly_name:"Ceiling"},entity_id:"light.ceiling",last_changed:n(300),state:"off"},{attributes:{brightness:144,friendly_name:"Ceiling",xy_color:[.5119,.4147]},entity_id:"light.ceiling",last_changed:n(150),state:"on"}],[{attributes:{brightness:144,friendly_name:"TV back light",xy_color:[.5119,.4147]},entity_id:"light.tv_back_light",last_changed:n(1440),state:"on"},{attributes:{friendly_name:"TV back light"},entity_id:"light.tv_back_light",last_changed:n(800),state:"off"},{attributes:{brightness:144,friendly_name:"TV back light",xy_color:[.5119,.4147]},entity_id:"light.tv_back_light",last_changed:n(500),state:"on"},{attributes:{friendly_name:"TV back light"},entity_id:"light.tv_back_light",last_changed:n(300),state:"off"},{attributes:{brightness:144,friendly_name:"TV back light",xy_color:[.5119,.4147]},entity_id:"light.tv_back_light",last_changed:n(100),state:"on"}],[{attributes:{brightness:144,friendly_name:"Bowl",xy_color:[.5119,.4147]},entity_id:"light.bowl",last_changed:n(1440),state:"on"},{attributes:{friendly_name:"Bowl"},entity_id:"light.bowl",last_changed:n(1200),state:"off"},{attributes:{friendly_name:"Bowl"},entity_id:"light.bowl",last_changed:n(1e3),state:"off"},{attributes:{brightness:144,friendly_name:"Bowl",xy_color:[.5119,.4147]},entity_id:"light.bowl",last_changed:n(700),state:"on"},{attributes:{friendly_name:"Bowl"},entity_id:"light.bowl",last_changed:n(500),state:"off"},{attributes:{brightness:144,friendly_name:"Bowl",xy_color:[.5119,.4147]},entity_id:"light.bowl",last_changed:n(300),state:"on"},{attributes:{friendly_name:"Bowl"},entity_id:"light.bowl",last_changed:n(200),state:"off"}],[{attributes:{auto:!1,entity_id:["light.Bowl","light.TV_back_light","light.Ceiling"],friendly_name:"living room"},entity_id:"group.living_room",last_changed:n(1440),state:"on"},{attributes:{auto:!1,entity_id:["light.Bowl","light.TV_back_light","light.Ceiling"],friendly_name:"living room"},entity_id:"group.living_room",last_changed:n(1e3),state:"off"},{attributes:{auto:!1,entity_id:["light.Bowl","light.TV_back_light","light.Ceiling"],friendly_name:"living room"},entity_id:"group.living_room",last_changed:n(700),state:"on"},{attributes:{auto:!1,entity_id:["light.Bowl","light.TV_back_light","light.Ceiling"],friendly_name:"living room"},entity_id:"group.living_room",last_changed:n(200),state:"off"},{attributes:{auto:!1,entity_id:["light.Bowl","light.TV_back_light","light.Ceiling"],friendly_name:"living room"},entity_id:"group.living_room",last_changed:n(100),state:"on"}],[{attributes:{entity_picture:"http://graph.facebook.com/anne.t.frederiksen/picture",friendly_name:"Anne Therese"},entity_id:"device_tracker.anne_therese",last_changed:n(1440),state:"home"},{attributes:{entity_picture:"http://graph.facebook.com/anne.t.frederiksen/picture",friendly_name:"Anne Therese"},entity_id:"device_tracker.anne_therese",last_changed:n(1200),state:"not_home"},{attributes:{entity_picture:"http://graph.facebook.com/anne.t.frederiksen/picture",friendly_name:"Anne Therese"},entity_id:"device_tracker.anne_therese",last_changed:n(100),state:"home"},{attributes:{entity_picture:"http://graph.facebook.com/anne.t.frederiksen/picture",friendly_name:"Anne Therese"
|
||
},entity_id:"device_tracker.anne_therese",last_changed:n(50),state:"not_home"}],[{attributes:{entity_picture:"http://graph.facebook.com/schoutsen/picture",friendly_name:"Paulus"},entity_id:"device_tracker.paulus",last_changed:n(1440),state:"home"},{attributes:{entity_picture:"http://graph.facebook.com/schoutsen/picture",friendly_name:"Paulus"},entity_id:"device_tracker.paulus",last_changed:n(1130),state:"not_home"},{attributes:{entity_picture:"http://graph.facebook.com/schoutsen/picture",friendly_name:"Paulus"},entity_id:"device_tracker.paulus",last_changed:n(1020),state:"home"},{attributes:{entity_picture:"http://graph.facebook.com/schoutsen/picture",friendly_name:"Paulus"},entity_id:"device_tracker.paulus",last_changed:n(780),state:"not_home"},{attributes:{entity_picture:"http://graph.facebook.com/schoutsen/picture",friendly_name:"Paulus"},entity_id:"device_tracker.paulus",last_changed:n(500),state:"home"},{attributes:{entity_picture:"http://graph.facebook.com/schoutsen/picture",friendly_name:"Paulus"},entity_id:"device_tracker.paulus",last_changed:n(200),state:"home"}],[{attributes:{auto:!0,entity_id:["device_tracker.Anne_Therese","device_tracker.Paulus"],friendly_name:"all devices"},entity_id:"group.all_devices",last_changed:n(1440),state:"home"},{attributes:{auto:!0,entity_id:["device_tracker.Anne_Therese","device_tracker.Paulus"],friendly_name:"all devices"},entity_id:"group.all_devices",last_changed:n(700),state:"not_home"},{attributes:{auto:!0,entity_id:["device_tracker.Anne_Therese","device_tracker.Paulus"],friendly_name:"all devices"},entity_id:"group.all_devices",last_changed:n(400),state:"home"},{attributes:{auto:!0,entity_id:["device_tracker.anne_therese","device_tracker.paulus"],friendly_name:"all devices"},entity_id:"group.all_devices",last_changed:n(100),state:"not_home"},{attributes:{auto:!0,entity_id:["device_tracker.anne_therese","device_tracker.paulus"],friendly_name:"all devices"},entity_id:"group.all_devices",last_changed:n(50),state:"home"}],[{attributes:{friendly_name:"Chromecast"},entity_id:"media_player.living_room",last_changed:n(1440),state:"Plex"},{attributes:{friendly_name:"Chromecast"},entity_id:"media_player.living_room",last_changed:n(900),state:"idle"},{attributes:{friendly_name:"Chromecast"},entity_id:"media_player.living_room",last_changed:n(800),state:"YouTube"},{attributes:{friendly_name:"Chromecast"},entity_id:"media_player.living_room",last_changed:n(300),state:"idle"}],[{attributes:{friendly_name:"Outside temperature",unit_of_measurement:"°C"},entity_id:"sensor.outside_temperature",last_changed:n(1440),state:"23"},{attributes:{friendly_name:"Outside temperature",unit_of_measurement:"°C"},entity_id:"sensor.outside_temperature",last_changed:n(900),state:"27"},{attributes:{friendly_name:"Outside temperature",unit_of_measurement:"°C"},entity_id:"sensor.outside_temperature",last_changed:n(800),state:"25"},{attributes:{friendly_name:"Outside temperature",unit_of_measurement:"°C"},entity_id:"sensor.outside_temperature",last_changed:n(300),state:"23"}],[{attributes:{friendly_name:"Nest",unit_of_measurement:"°C"},entity_id:"thermostat.nest",last_changed:n(1440),state:"18"},{attributes:{friendly_name:"Nest",unit_of_measurement:"°C"},entity_id:"thermostat.nest",last_changed:n(1020),state:"20"},{attributes:{friendly_name:"Nest",unit_of_measurement:"°C"},entity_id:"thermostat.nest",last_changed:n(800),state:"23"},{attributes:{friendly_name:"Nest",unit_of_measurement:"°C"},entity_id:"thermostat.nest",last_changed:n(300),state:"26"}],[{attributes:{friendly_name:"Outside humidity",unit_of_measurement:"%"},entity_id:"sensor.outside_humidity",last_changed:n(1440),state:"45"},{attributes:{friendly_name:"Outside humidity",unit_of_measurement:"%"},entity_id:"sensor.outside_humidity",last_changed:n(900),state:"49"},{attributes:{friendly_name:"Outside humidity",unit_of_measurement:"%"},entity_id:"sensor.outside_humidity",last_changed:n(800),state:"58"},{attributes:{friendly_name:"Outside humidity",unit_of_measurement:"%"},entity_id:"sensor.outside_humidity",last_changed:n(300),state:"52"}]],t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.useStreaming,r=(void 0===n?u["default"].evaluate(l.getters.isSupported):n,e.rememberAuth),i=void 0===r?!1:r,o=e.host,a=void 0===o?"":o;u["default"].dispatch(c["default"].VALIDATING_AUTH_TOKEN,{authToken:t,host:a}),f.actions.fetchAll().then(function(){return u["default"].dispatch(c["default"].VALID_AUTH_TOKEN,{authToken:t,host:a,rememberAuth:i}),void u["default"].dispatch("STREAM_START")},function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.message,n=void 0===e?d:e;u["default"].dispatch(c["default"].INVALID_AUTH_TOKEN,{errorMessage:n})})}function o(){u["default"].dispatch(c["default"].LOG_OUT,{})}Object.defineProperty(e,"__esModule",{value:!0}),e.validate=i,e.logOut=o;var a=n(4),u=r(a),s=n(23),c=r(s),l=n(42),f=n(44),d="Unexpected result from API"},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=[["authAttempt","isValidating"],function(t){return!!t}];e.isValidating=n;var r=[["authAttempt","isInvalid"],function(t){return!!t}];e.isInvalidAttempt=r;var i=["authAttempt","errorMessage"];e.attemptErrorMessage=i;var o=["rememberAuth"];e.rememberAuth=o;var a=[["authAttempt","authToken"],["authAttempt","host"],function(t,e){return{authToken:t,host:e}}];e.attemptAuthInfo=a;var u=["authCurrent","authToken"];e.currentAuthToken=u;var s=[u,["authCurrent","host"],function(t,e){return{authToken:t,host:e}}];e.currentAuthInfo=s;var c=[n,["authAttempt","authToken"],["authCurrent","authToken"],function(t,e,n){return t?e:n}];e.authToken=c;var l=[n,a,s,function(t,e,n){return t?e:n}];e.authInfo=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){if(null==t)throw new TypeError("Cannot destructure undefined")}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function u(t,e){var n=e.authToken,r=e.host;return d.toImmutable({authToken:n,host:r,isValidating:"true",isInvalid:!1,errorMessage:""})}function s(t,e){return i(e),v.getInitialState()}function c(t,e){var n=e.errorMessage;return t.withMutations(function(t){return t.set("isValidating",!1).set("isInvalid","true").set("errorMessage",n)})}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},d=n(2),h=n(23),_=r(h),p=function(t){function e(){o(this,e),f(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return a(e,t),l(e,[{key:"getInitialState",value:function(){return d.toImmutable({isValidating:!1,authToken:!1,host:null,isInvalid:!1,errorMessage:""})}},{key:"initialize",value:function(){this.on(_["default"].VALIDATING_AUTH_TOKEN,u),this.on(_["default"].VALID_AUTH_TOKEN,s),this.on(_["default"].INVALID_AUTH_TOKEN,c)}}]),e}(d.Store),v=new p;e["default"]=v,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.authToken,r=e.host;return l.toImmutable({authToken:n,host:r})}function u(t){return _.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(23),d=r(f),h=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({authToken:null,host:""})}},{key:"initialize",value:function(){this.on(d["default"].VALID_AUTH_TOKEN,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),_=new h;e["default"]=_,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.rememberAuth;return n}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},c=n(2),l=n(23),f=r(l),d=function(t){function e(){i(this,e),s(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),u(e,[{key:"getInitialState",value:function(){return!0}},{key:"initialize",value:function(){this.on(f["default"].VALID_AUTH_TOKEN,a)}}]),e}(c.Store),h=new d;e["default"]=h,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(){l["default"]("GET","config").then(o)}function o(t){s["default"].dispatch(d["default"].SERVER_CONFIG_LOADED,t)}function a(t){s["default"].dispatch(d["default"].COMPONENT_LOADED,{component:t})}Object.defineProperty(e,"__esModule",{value:!0}),e.fetchAll=i,e.configLoaded=o,e.componentLoaded=a;var u=n(4),s=r(u),c=n(8),l=r(c),f=n(38),d=r(f)},function(t,e){"use strict";function n(t){return[["serverComponent"],function(e){return e.contains(t)}]}Object.defineProperty(e,"__esModule",{value:!0}),e.isComponentLoaded=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.component;return t.push(n)}function u(t,e){var n=e.components;return f.toImmutable(n)}function s(t){return p.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},f=n(2),d=n(38),h=r(d),_=function(t){function e(){i(this,e),l(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),c(e,[{key:"getInitialState",value:function(){return f.toImmutable([])}},{key:"initialize",value:function(){this.on(h["default"].COMPONENT_LOADED,a),this.on(h["default"].SERVER_CONFIG_LOADED,u),this.on(h["default"].LOG_OUT,s)}}]),e}(f.Store),p=new _;e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.latitude,r=e.longitude,i=e.location_name,o=e.temperature_unit,a=e.time_zone;return l.toImmutable({latitude:n,longitude:r,location_name:i,temperature_unit:o,time_zone:a})}function u(t){return _.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(38),d=r(f),h=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({latitude:null,longitude:null,location_name:"Home",temperature_unit:"°C",time_zone:"UTC"})}},{key:"initialize",value:function(){this.on(d["default"].SERVER_CONFIG_LOADED,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),_=new h;e["default"]=_,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}function o(t){l["default"].dispatch(_["default"].ENTITY_HISTORY_DATE_SELECTED,{date:t})}function a(){var t=arguments.length<=0||void 0===arguments[0]?null:arguments[0];l["default"].dispatch(_["default"].RECENT_ENTITY_HISTORY_FETCH_START,{});var e="history/period";return null!==t&&(e+="?filter_entity_id="+t),d["default"]("GET",e).then(function(t){return l["default"].dispatch(_["default"].RECENT_ENTITY_HISTORY_FETCH_SUCCESS,{stateHistory:t})},function(){return l["default"].dispatch(_["default"].RECENT_ENTITY_HISTORY_FETCH_ERROR,{})})}function u(t){return l["default"].dispatch(_["default"].ENTITY_HISTORY_FETCH_START,{date:t}),d["default"]("GET","history/period/"+t).then(function(e){return l["default"].dispatch(_["default"].ENTITY_HISTORY_FETCH_SUCCESS,{date:t,stateHistory:e})},function(){return l["default"].dispatch(_["default"].ENTITY_HISTORY_FETCH_ERROR,{})})}function s(){var t=l["default"].evaluate(v.currentDate);return u(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.changeCurrentDate=o,e.fetchRecent=a,e.fetchDate=u,e.fetchSelectedDate=s;var c=n(4),l=i(c),f=n(8),d=i(f),h=n(15),_=i(h),p=n(64),v=r(p)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.date;return f.dateToStr(n)}function u(t){return p.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(17),d=n(15),h=r(d),_=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){var t=new Date;return t.setDate(t.getDate()-1),f.dateToStr(t)}},{key:"initialize",value:function(){this.on(h["default"].ENTITY_HISTORY_DATE_SELECTED,a),this.on(h["default"].LOG_OUT,u)}}]),e}(l.Store),p=new _;e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.date,r=e.stateHistory;return 0==r.length?t.set(n,l.toImmutable({})):t.withMutations(function(t){r.forEach(function(e){return t.setIn([n,e[0].entity_id],l.toImmutable(e.map(_["default"].fromJSON)))})})}function u(t){return v.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(15),d=r(f),h=n(25),_=r(h),p=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({})}},{key:"initialize",value:function(){this.on(d["default"].ENTITY_HISTORY_FETCH_SUCCESS,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),v=new p;e["default"]=v,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},s=n(2),c=n(15),l=r(c),f=function(t){function e(){i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),a(e,[{key:"getInitialState",value:function(){return!1}},{key:"initialize",value:function(){this.on(l["default"].ENTITY_HISTORY_FETCH_START,function(){return!0}),this.on(l["default"].ENTITY_HISTORY_FETCH_SUCCESS,function(){return!1}),this.on(l["default"].ENTITY_HISTORY_FETCH_ERROR,function(){return!1}),this.on(l["default"].RECENT_ENTITY_HISTORY_FETCH_START,function(){return!0}),this.on(l["default"].RECENT_ENTITY_HISTORY_FETCH_SUCCESS,function(){return!1}),this.on(l["default"].RECENT_ENTITY_HISTORY_FETCH_ERROR,function(){return!1}),this.on(l["default"].LOG_OUT,function(){return!1})}}]),e}(s.Store),d=new f;e["default"]=d,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.stateHistory;return t.withMutations(function(t){n.forEach(function(e){return t.set(e[0].entity_id,l.toImmutable(e.map(_["default"].fromJSON)))})})}function u(t){return v.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(15),d=r(f),h=n(25),_=r(h),p=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({})}},{key:"initialize",value:function(){this.on(d["default"].RECENT_ENTITY_HISTORY_FETCH_SUCCESS,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),v=new p;e["default"]=v,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.stateHistory,r=(new Date).getTime();return t.withMutations(function(t){n.forEach(function(e){return t.set(e[0].entity_id,r)}),history.length>1&&t.set(h,r)})}function u(t){return p.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(15),d=r(f),h="ALL_ENTRY_FETCH",_=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({})}},{key:"initialize",value:function(){this.on(d["default"].RECENT_ENTITY_HISTORY_FETCH_SUCCESS,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),p=new _;e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(16),o=n(25),a=r(o),u=i.createApiActions(a["default"]);e["default"]=u,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){return[f,function(e){return e.filter(function(e){return e.domain===t})}]}Object.defineProperty(e,"__esModule",{value:!0}),e.byDomain=i;var o=n(16),a=n(25),u=r(a),s=o.createHasDataGetter(u["default"]);e.hasData=s;var c=o.createEntityMapGetter(u["default"]);e.entityMap=c;var l=o.createByIdGetter(u["default"]);e.byId=l;var f=[c,function(t){return t.toList().sortBy(function(t){return t.domain})}];e.entityList=f;var d=[f,function(t){return t.filter(function(t){return!t.attributes.hidden})}];e.visibleEntityList=d;var h=[f,function(t){return t.map(function(t){return t.domain}).toSet()}];e.domainSet=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(8),o=r(i),a=n(16),u=n(41),s=n(66),c=r(s),l=a.createApiActions(c["default"]);l.fireEvent=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return o["default"]("POST","events/"+t,e).then(function(){u.actions.createNotification("Event "+t+" successful fired!")})},e["default"]=l,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(16),o=n(66),a=r(o),u=i.createHasDataGetter(a["default"]);e.hasData=u;var s=i.createEntityMapGetter(a["default"]);e.entityMap=s;var c=i.createByIdGetter(a["default"]);e.byId=c},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){u["default"].dispatch(f["default"].LOGBOOK_DATE_SELECTED,{date:t})}function o(t){u["default"].dispatch(f["default"].LOGBOOK_ENTRIES_FETCH_START,{date:t}),c["default"]("GET","logbook/"+t).then(function(e){return u["default"].dispatch(f["default"].LOGBOOK_ENTRIES_FETCH_SUCCESS,{date:t,entries:e})},function(){return u["default"].dispatch(f["default"].LOGBOOK_ENTRIES_FETCH_ERROR,{})})}Object.defineProperty(e,"__esModule",{value:!0}),e.changeCurrentDate=i,e.fetchDate=o;var a=n(4),u=r(a),s=n(8),c=r(s),l=n(20),f=r(l)},function(t,e,n){"use strict";function r(t){return!t||(new Date).getTime()-t>o}Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),o=6e4,a=["currentLogbookDate"];e.currentDate=a;var u=[a,["logbookEntriesUpdated"],function(t,e){return r(e.get(t))}];e.isCurrentStale=u;var s=[a,["logbookEntries"],function(t,e){return e.get(t)||i.toImmutable([])}];e.currentEntries=s;var c=["isLoadingLogbookEntries"];e.isLoadingEntries=c},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(203),s=i(u),c=n(204),l=i(c),f=n(205),d=i(f),h=n(206),_=i(h),p=n(200),v=r(p),y=n(201),g=r(y);a["default"].registerStores({currentLogbookDate:s["default"],isLoadingLogbookEntries:l["default"],logbookEntries:d["default"],logbookEntriesUpdated:_["default"]});var m=v;e.actions=m;var b=g;e.getters=b},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.date;return f.dateToStr(n)}function u(t){return p.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(17),d=n(20),h=r(d),_=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return f.dateToStr(new Date)}},{key:"initialize",value:function(){this.on(h["default"].LOGBOOK_DATE_SELECTED,a),this.on(h["default"].LOG_OUT,u)}}]),e}(l.Store),p=new _;e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},s=n(2),c=n(20),l=r(c),f=function(t){function e(){i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),a(e,[{key:"getInitialState",value:function(){return!1}},{key:"initialize",value:function(){this.on(l["default"].LOGBOOK_ENTRIES_FETCH_START,function(){return!0}),this.on(l["default"].LOGBOOK_ENTRIES_FETCH_SUCCESS,function(){return!1}),this.on(l["default"].LOGBOOK_ENTRIES_FETCH_ERROR,function(){return!1}),this.on(l["default"].LOG_OUT,function(){return!1})}}]),e}(s.Store),d=new f;e["default"]=d,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.date,r=e.entries;return t.set(n,l.toImmutable(r.map(_["default"].fromJSON)))}function u(t){return v.getInitialState()}Object.defineProperty(e,"__esModule",{
|
||
value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(20),d=r(f),h=n(67),_=r(h),p=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({})}},{key:"initialize",value:function(){this.on(d["default"].LOGBOOK_ENTRIES_FETCH_SUCCESS,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),v=new p;e["default"]=v,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.date;return t.set(n,(new Date).getTime())}function u(t){return p.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(20),d=r(f),h=n(67),_=(r(h),function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({})}},{key:"initialize",value:function(){this.on(d["default"].LOGBOOK_ENTRIES_FETCH_SUCCESS,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store)),p=new _;e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){u["default"].dispatch(c["default"].SELECT_ENTITY,{entityId:t})}function o(){u["default"].dispatch(c["default"].DESELECT_ENTITY,{})}Object.defineProperty(e,"__esModule",{value:!0}),e.selectEntity=i,e.deselectEntity=o;var a=n(4),u=r(a),s=n(68),c=r(s)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),i=n(11),o=n(65),a=["moreInfoEntityId"];e.currentEntityId=a;var u=[a,i.getters.entityMap,function(t,e){return e.get(t)||null}];e.currentEntity=u;var s=[a,o.getters.recentEntityHistoryMap,function(t,e){return e.get(t)}];e.currentEntityHistory=s;var c=[a,o.getters.recentEntityHistoryUpdatedMap,function(t,e){return r.isStaleTime(e.get(t))}];e.isCurrentEntityHistoryStale=c},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(210),s=i(u),c=n(207),l=r(c),f=n(208),d=r(f);a["default"].registerStores({moreInfoEntityId:s["default"]});var h=l;e.actions=h;var _=d;e.getters=_},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.entityId;return n}function u(t){return null}function s(t){return p.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},f=n(2),d=n(68),h=r(d),_=function(t){function e(){i(this,e),l(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),c(e,[{key:"getInitialState",value:function(){return null}},{key:"initialize",value:function(){this.on(h["default"].SELECT_ENTITY,a),this.on(h["default"].DESELECT_ENTITY,u),this.on(h["default"].LOG_OUT,s)}}]),e}(f.Store),p=new _;e["default"]=p,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(213),s=i(u),c=n(70),l=r(c),f=n(71),d=r(f),h=n(214),_=r(h);a["default"].registerStores({selectedNavigationPanel:s["default"]});var p=l;e.actions=p;var v=d;e.getters=v;var y=_;e.urlSync=y},function(t,e){"use strict";function n(t){var e=t.split("/"),n=r(e,2),i=n[0],o=n[1];return{pane:i,filter:o}}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();e["default"]=n,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.pane,r=e.filter,i=void 0===r?null:r;return l.toImmutable({pane:n,filter:i})}function u(t){return _.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(69),d=r(f),h=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return l.toImmutable({pane:"states",filter:null})}},{key:"initialize",value:function(){this.on(d["default"].NAVIGATE,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),_=new h;e["default"]=_,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(){var t=void 0,e=void 0,n=void 0;if("/"===location.pathname)t=c["default"].evaluate(l.activePane),e=c["default"].evaluate(l.activeFilter),n=h["default"](t,e);else{var r=p["default"](location.pathname.substr(1));t=r.pane,e=r.filter,n=location.pathname,f.navigate(t,e)}history.replaceState({pane:t,filter:e},v,n)}function o(t){var e=t.state,n=e.pane,r=e.filter;f.navigate(n,r)}function a(){g&&(i(),y=c["default"].observe(l.activePage,function(t){var e=p["default"](t);(e.pane!==history.state.pane||e.filter!=history.state.filter)&&history.pushState(e,v,"/"+t)}),window.addEventListener("popstate",o))}function u(){g&&(y&&y(),window.removeEventListener("popstate",o))}Object.defineProperty(e,"__esModule",{value:!0}),e.startSync=a,e.stopSync=u;var s=n(4),c=r(s),l=n(71),f=n(70),d=n(72),h=r(d),_=n(212),p=r(_),v="Home Assistant",y=void 0,g=history.pushState&&!1},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){a["default"].dispatch(s["default"].NOTIFICATION_CREATED,{message:t})}Object.defineProperty(e,"__esModule",{value:!0}),e.createNotification=i;var o=n(4),a=r(o),u=n(73),s=r(u)},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=["notifications"];e.notificationMap=n;var r=[n,function(t){return t.last()}];e.lastNotificationMessage=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.message;return t.set(t.size,n)}function u(t){return _.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(2),f=n(73),d=r(f),h=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return new l.Immutable.OrderedMap}},{key:"initialize",value:function(){this.on(d["default"].NOTIFICATION_CREATED,a),this.on(d["default"].LOG_OUT,u)}}]),e}(l.Store),_=new h;e["default"]=_,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(219),o=r(i);e["default"]={localStoragePreferences:o["default"]},t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=r(i),a=n(24),u=n(42),s="localStorage"in window?localStorage:{},c={authToken:{getter:[a.getters.currentAuthToken,a.getters.rememberAuth,function(t,e){return e?t:null}],defaultValue:null},useStreaming:{getter:u.getters.useStreaming,defaultValue:!0}},l={};Object.keys(c).forEach(function(t){t in s||(s[t]=c[t].defaultValue),Object.defineProperty(l,t,{get:function(){return JSON.parse(s[t])}})}),l.startSync=function(){Object.keys(c).forEach(function(t){var e=c[t].getter,n=function(e){s[t]=JSON.stringify(e)};o["default"].observe(e,n),n(o["default"].evaluate(e))})},e["default"]=l,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){var e={};return e.incrementData=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];o(t,n,e)},e.replaceData=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];o(t,f({},n,{replace:!0}),e)},t.fetch&&(e.fetch=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return h["default"].dispatch(p["default"].API_FETCH_START,{model:t,method:"fetch",params:e}),t.fetch(e).then(o.bind(null,t,e),a.bind(null,t,e))}),e.fetchAll=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return h["default"].dispatch(p["default"].API_FETCH_START,{model:t,method:"fetchAll",params:e}),t.fetchAll(e).then(o.bind(null,t,f({},e,{replace:!0})),a.bind(null,t,e))},t.save&&(e.save=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return h["default"].dispatch(p["default"].API_SAVE_START,{params:e}),t.save(e).then(u.bind(null,t,e),s.bind(null,t,e))}),t["delete"]&&(e["delete"]=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return h["default"].dispatch(p["default"].API_DELETE_START,{params:e}),t["delete"](e).then(c.bind(null,t,e),l.bind(null,t,e))}),e}function o(t,e,n){return h["default"].dispatch(p["default"].API_FETCH_SUCCESS,{model:t,params:e,result:n}),n}function a(t,e,n){return h["default"].dispatch(p["default"].API_FETCH_FAIL,{model:t,params:e,reason:n}),Promise.reject(n)}function u(t,e,n){return h["default"].dispatch(p["default"].API_SAVE_SUCCESS,{model:t,params:e,result:n}),n}function s(t,e,n){return h["default"].dispatch(p["default"].API_SAVE_FAIL,{model:t,params:e,reason:n}),Promise.reject(n)}function c(t,e,n){return h["default"].dispatch(p["default"].API_DELETE_SUCCESS,{model:t,params:e,result:n}),n}function l(t,e,n){return h["default"].dispatch(p["default"].API_DELETE_FAIL,{model:t,params:e,reason:n}),Promise.reject(n)}Object.defineProperty(e,"__esModule",{value:!0});var f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e["default"]=i;var d=n(4),h=r(d),_=n(74),p=r(_);t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t,e){var n=e.model,r=e.result,i=e.params,o=n.entity;if(!r)return t;var a=i.replace?t.set(o,d.toImmutable({})):t,u=f["default"](r)?r:[r],s=n.fromJSON||d.toImmutable;return a.withMutations(function(t){u.forEach(function(e){var n=s(e);t.setIn([o,n.id],n)})})}function u(t,e){var n=e.model,r=e.params;return t.removeIn([n.entity,r.id])}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},l=n(171),f=r(l),d=n(2),h=n(74),_=r(h),p=function(t){function e(){i(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),s(e,[{key:"getInitialState",value:function(){return d.toImmutable({})}},{key:"initialize",value:function(){var t=this;this.on(_["default"].API_FETCH_SUCCESS,a),this.on(_["default"].API_SAVE_SUCCESS,a),this.on(_["default"].API_DELETE_SUCCESS,u),this.on(_["default"].LOG_OUT,function(){return t.getInitialState()})}}]),e}(d.Store),v=new p;e["default"]=v,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(4),u=i(a),s=n(8),c=i(s),l=n(16),f=n(11),d=n(41),h=n(75),_=r(h),p=n(76),v=i(p),y=l.createApiActions(v["default"]);y.serviceRegistered=function(t,e){var n=u["default"].evaluateToJS(_.byDomain(t));n?n.services.push(e):n={domain:t,services:[e]},y.incrementData(n)},y.callTurnOn=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return y.callService("homeassistant","turn_on",o({},e,{entity_id:t}))},y.callTurnOff=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return y.callService("homeassistant","turn_off",o({},e,{entity_id:t}))},y.callService=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return c["default"]("POST","services/"+t+"/"+e,n).then(function(r){"turn_on"==e&&n.entity_id?d.actions.createNotification("Turned on "+n.entity_id+"."):"turn_off"==e&&n.entity_id?d.actions.createNotification("Turned off "+n.entity_id+"."):d.actions.createNotification("Service "+t+"/"+e+" called."),f.actions.incrementData(r)})},t.exports=y},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.syncOnInitialConnect,n=void 0===e?!0:e;null!==y&&m();var r=c["default"].evaluate(l.getters.authToken),i="/api/stream?api_password="+r;y=new EventSource(i),y.addEventListener("open",function(){g(),c["default"].dispatch(h["default"].STREAM_START),f.actions.stop(),n?f.actions.fetchAll():n=!0},!1),y.addEventListener("message",function(t){g(),"ping"!==t.data&&p["default"](JSON.parse(t.data))},!1),y.addEventListener("error",function(){y.readyState!==EventSource.CLOSED&&c["default"].dispatch(h["default"].STREAM_ERROR)},!1)}function o(){m(),c["default"].dispatch(h["default"].STREAM_STOP),f.actions.start()}Object.defineProperty(e,"__esModule",{value:!0}),e.start=i,e.stop=o;var a=n(37),u=r(a),s=n(4),c=r(s),l=n(24),f=n(44),d=n(77),h=r(d),_=n(225),p=r(_),v=6e4,y=null,g=u["default"](function(){i()},v),m=function(){y.close(),y=null,g.cancel()}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=["streamStatus","isStreaming"];e.isStreamingEvents=n;var r=["streamStatus","isSupported"];e.isSupported=r;var i=["streamStatus","useStreaming"];e.useStreaming=i;var o=[["streamStatus","hasError"],function(t){return!!t}];e.hasStreamingEventsError=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),i=n(39),o=n(21);e["default"]=function(t){switch(t.event_type){case"state_changed":r.actions.incrementData(t.data.new_state);break;case"component_loaded":i.actions.componentLoaded(t.data.component);break;case"service_registered":o.actions.serviceRegistered(t.data.domain,t.data.service)}},t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]="EventSource"in window,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t){return d.toImmutable({isSupported:v["default"],isStreaming:!0,useStreaming:!0,hasError:!1})}function u(t){return d.toImmutable({isSupported:v["default"],isStreaming:!1,useStreaming:!1,hasError:!1})}function s(t){return d.toImmutable({isSupported:v["default"],isStreaming:!1,useStreaming:t.get("useStreaming"),hasError:"true"})}function c(){return g.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},d=n(2),h=n(77),_=r(h),p=n(226),v=r(p),y=function(t){function e(){i(this,e),f(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),l(e,[{key:"getInitialState",value:function(){return d.toImmutable({isSupported:v["default"],isStreaming:!1,useStreaming:!0,hasError:!1})}},{key:"initialize",value:function(){this.on(_["default"].STREAM_START,a),this.on(_["default"].STREAM_STOP,u),this.on(_["default"].STREAM_ERROR,s),this.on(_["default"].LOG_OUT,c)}}]),e}(d.Store),g=new y;e["default"]=g,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}function o(){var t=f["default"].evaluate(p.isSyncScheduled);return f["default"].dispatch(h["default"].API_FETCH_ALL_START,{}),y["default"]("GET","bootstrap").then(function(e){g.actions.replaceData(e.states),m.actions.replaceData(e.services),b.actions.replaceData(e.events),O.actions.configLoaded(e.config),f["default"].dispatch(h["default"].API_FETCH_ALL_SUCCESS,{}),t&&w()},function(e){return f["default"].dispatch(h["default"].API_FETCH_ALL_FAIL,{message:e}),t&&w(),Promise.reject(e)})}function a(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.skipInitialSync,n=void 0===e?!1:e;f["default"].dispatch(h["default"].SYNC_SCHEDULED),n?w():o()}function u(){f["default"].dispatch(h["default"].SYNC_SCHEDULE_CANCELLED),w.cancel()}Object.defineProperty(e,"__esModule",{value:!0}),e.fetchAll=o,e.start=a,e.stop=u;var s=n(37),c=i(s),l=n(4),f=i(l),d=n(43),h=i(d),_=n(78),p=r(_),v=n(8),y=i(v),g=n(11),m=n(21),b=n(40),O=n(39),S=3e4,w=c["default"](o,S)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},s=n(2),c=n(43),l=r(c),f=function(t){function e(){i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),a(e,[{key:"getInitialState",value:function(){return!0}},{key:"initialize",value:function(){this.on(l["default"].API_FETCH_ALL_START,function(){return!0}),this.on(l["default"].API_FETCH_ALL_SUCCESS,function(){return!1}),this.on(l["default"].API_FETCH_ALL_FAIL,function(){return!1}),this.on(l["default"].LOG_OUT,function(){return!1})}}]),e}(s.Store),d=new f;e["default"]=d,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},s=n(2),c=n(43),l=r(c),f=function(t){function e(){i(this,e),u(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),a(e,[{key:"getInitialState",value:function(){return!1}},{key:"initialize",value:function(){this.on(l["default"].SYNC_SCHEDULED,function(){return!0}),this.on(l["default"].SYNC_SCHEDULE_CANCELLED,function(){return!1}),this.on(l["default"].LOG_OUT,function(){return!1})}}]),e}(s.Store),d=new f;e["default"]=d,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(){var t=y||v;s["default"].dispatch(h["default"].VOICE_TRANSMITTING,{finalTranscript:t}),f.actions.callService("conversation","process",{text:t}).then(function(){s["default"].dispatch(h["default"].VOICE_DONE)},function(){s["default"].dispatch(h["default"].VOICE_ERROR)})}function o(){null!==p&&(p.onstart=null,p.onresult=null,p.onerror=null,p.onend=null,p.stop(),p=null,i()),v="",y=""}function a(){o(),p=new webkitSpeechRecognition,p.interimResults=!0,p.onstart=function(){s["default"].dispatch(h["default"].VOICE_START)},p.onresult=function(t){v="";for(var e=t.resultIndex;e<t.results.length;++e)t.results[e].isFinal?y+=t.results[e][0].transcript:v+=t.results[e][0].transcript;s["default"].dispatch(h["default"].VOICE_RESULT,{interimTranscript:v,finalTranscript:y}),g()},p.onerror=function(){s["default"].dispatch(h["default"].VOICE_ERROR)},p.onend=o,p.start()}Object.defineProperty(e,"__esModule",{value:!0}),e.stop=o,e.listen=a;var u=n(4),s=r(u),c=n(37),l=r(c),f=n(21),d=n(79),h=r(d),_=3e3,p=null,v="",y="",g=l["default"](o,_)},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=["isVoiceSupported"];e.isVoiceSupported=n;var r=["currentVoiceCommand","isListening"];e.isListening=r;var i=["currentVoiceCommand","isTransmitting"];e.isTransmitting=i;var o=["currentVoiceCommand","interimTranscript"];e.interimTranscript=o;var a=["currentVoiceCommand","finalTranscript"];e.finalTranscript=a;var u=[o,a,function(t,e){return t.slice(e.length)}];e.extraInterimTranscript=u},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),a=i(o),u=n(235),s=i(u),c=n(234),l=i(c),f=n(231),d=r(f),h=n(232),_=r(h);a["default"].registerStores({currentVoiceCommand:l["default"],isVoiceSupported:s["default"]});var p=d;e.actions=p;var v=_;e.getters=v},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function a(t){return t.set("isListening",!0)}function u(t,e){var n=e.interimTranscript,r=e.finalTranscript;return _.toImmutable({finalTranscript:r,interimTranscript:n,isListening:!0,isTransmitting:!1})}function s(t,e){var n=e.finalTranscript;return _.toImmutable({finalTranscript:n,isListening:!1,isTransmitting:!1,interimTranscript:""})}function c(){return g.getInitialState()}function l(t){return g.getInitialState()}function f(t){return g.getInitialState()}Object.defineProperty(e,"__esModule",{value:!0});var d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),h=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},_=n(2),p=n(79),v=r(p),y=function(t){function e(){i(this,e),h(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return o(e,t),d(e,[{key:"getInitialState",value:function(){return _.toImmutable({isListening:!1,isTransmitting:!1,interimTranscript:"",finalTranscript:""})}},{key:"initialize",value:function(){this.on(v["default"].VOICE_START,a),this.on(v["default"].VOICE_RESULT,u),this.on(v["default"].VOICE_TRANSMITTING,s),this.on(v["default"].VOICE_DONE,c),this.on(v["default"].VOICE_ERROR,l),this.on(v["default"].LOG_OUT,f)}}]),e}(_.Store),g=new y;e["default"]=g,t.exports=e["default"]},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;u=c=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return void 0;t=c,e=o,n=a,r=!0}},u=n(2),s=function(t){function e(){r(this,e),a(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return i(e,t),o(e,[{key:"getInitialState",value:function(){return"webkitSpeechRecognition"in window}}]),e}(u.Store),c=new s;e["default"]=c,t.exports=e["default"]},function(t,e){"use strict";function n(t){return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e["default"]},function(t,e){"use strict";function n(t){return!t||(new Date).getTime()-t>6e4}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e["default"]},function(t,e){"use strict";function n(t){var e=t.split(" "),n=r(e,2),i=n[0],o=n[1],a=i.split(":"),u=r(a,3),s=u[0],c=u[1],l=u[2],f=o.split("-"),d=r(f,3),h=d[0],_=d[1],p=d[2];return new Date(Date.UTC(p,parseInt(_)-1,h,s,c,l));
|
||
}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(s){i=!0,o=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();e["default"]=n,t.exports=e["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={UNIT_TEMP_C:"°C",UNIT_TEMP_F:"°F"},t.exports=e["default"]},function(t,e){function n(t){throw new Error("Cannot find module '"+t+"'.")}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=240}]);</script></body></html> |