(function(){/* Copyright (c) 2017 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 */ 'use strict';var k=!(window.ShadyDOM&&window.ShadyDOM.inUse),p;function r(a){p=a&&a.shimcssproperties?!1:k||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var t;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(t=window.ShadyCSS.cssBuild);var aa=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime); window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?p=window.ShadyCSS.nativeCss:window.ShadyCSS?(r(window.ShadyCSS),window.ShadyCSS=void 0):r(window.WebComponents&&window.WebComponents.flags);var u=p;function v(){this.end=this.start=0;this.rules=this.parent=this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""} function w(a){var b=a=a.replace(ba,"").replace(ca,""),c=new v;c.start=0;c.end=b.length;for(var d=c,e=0,f=b.length;e *")};function na(a,b,c){b=b.replace(E,function(d,e,f,g){return oa(a,d,e,f,g,c)});return S(a,b,c)}function pa(a,b){for(var c=b;c.parent;)c=c.parent;var d={},e=!1;L(c,function(f){(e=e||f===b)||f.selector===b.selector&&Object.assign(d,T(a,f.parsedCssText))});return d} function S(a,b,c){for(var d;d=H.exec(b);){var e=d[0],f=d[1];d=d.index;var g=b.slice(0,d+e.indexOf("@apply"));b=b.slice(d+e.length);var h=c?pa(a,c):{};Object.assign(h,T(a,g));e=void 0;var l=a;f=f.replace(la,"");var n=[];var m=l.g.get(f);m||(l.g.set(f,{}),m=l.g.get(f));if(m){l.i&&(m.o[l.i]=!0);var q=m.m;for(e in q)l=h&&h[e],m=[e,": var(",f,"_-_",e],l&&m.push(",",l.replace(O,"")),m.push(")"),O.test(q[e])&&m.push(" !important"),n.push(m.join(""))}e=n.join("; ");b=g+e+b;H.lastIndex=d+e.length}return b} function T(a,b,c){c=void 0===c?!1:c;b=b.split(";");for(var d,e,f={},g=0,h;g