/*!
* __ __ __ __
* /\ \/\ \ /\ \ __ /\ \
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
* /\___/ \ \____/
* \/__/ \/___/
*
* Powered by Hydejack v9.1.7
*/
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{186:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},202:function(e,t,n){(function(e){(function(){"use strict";var t;function n(e){var t=0;return function(){return t]/g;function V(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function G(e){for(var t={},n=0;n",a=W[l]?u:u+X(a,d)+""+l+">";break e;case Node.TEXT_NODE:a=a.data,a=l&&K[l.localName]?a:a.replace(q,V);break e;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break e;default:throw window.console.error(a),Error("not implemented")}}n+=a}return n}var z=d.i,Y={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},J={};function $(e){J[e]=function(t){return t["__shady_native_"+e]}}function Z(e,t){for(var n in P(e,t,"__shady_native_"),t)$(n)}function Q(e,t){t=void 0===t?[]:t;for(var n=0;n","+","~"]),a=s===o?e[o]:e.substring(o,s);","===a?t():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===a||(" "===i&&-1!==[">","+","~"].indexOf(a)?r[r.length-1]=a:r.push(a)),o=s+(s===o?1:0)}return t(),n}(t);if(1>o.length)return[];for(t=I(dt(e,(function(){return!0})).map((function(e){return I(o.map((function(t){var r=t.S,o=r.length-1;return n(e,r[o])?{target:e,v:t,A:e,index:o}:[]})))})));t.some((function(e){return 0=e.index)return e;var t=e.target,r=e.A,o=e.v;e=e.index-1;var i=o.ca[e],s=o.S[e];if(" "===i){for(i=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}if(">"===i)return n(r=r.__shady_parentElement,s)?{target:t,v:o,A:r,index:e}:[];if("+"===i)return(r=r.__shady_previousElementSibling)&&n(r,s)?{target:t,v:o,A:r,index:e}:[];if("~"===i){for(i=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,s)&&i.push({target:t,v:o,A:r,index:e});return i}throw Error("Unrecognized combinator: '"+i+"'.")})));return function(e){for(var t=[],n=new Set,o=(e=r(e)).next();!o.done;o=e.next())o=o.value,n.has(o)||(t.push(o),n.add(o));return t}(t.map((function(e){return e.target})))}var _t=d.querySelectorImplementation,pt=M({querySelector:function(e){if("native"===_t){for(var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode(),o=(t=r(t)).next();!o.done;o=t.next())if((o=o.value).__shady_getRootNode()==n)return o;return null}if("selectorEngine"===_t)return ct(this,e)[0]||null;if(void 0===_t)return dt(this,(function(t){return v.call(t,e)}),(function(e){return!!e}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+_t+"'")},querySelectorAll:function(e,t){if(t||"native"===_t){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return w(t.filter((function(e){return e.__shady_getRootNode()==n})))}if("selectorEngine"===_t)return w(ct(this,e));if(void 0===_t)return w(dt(this,(function(t){return v.call(t,e)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+_t+"'")}}),ft=d.C&&!d.l?A({},ut):ut;A(ut,pt);var mt=M({after:function(e){for(var t=[],n=0;no.assignedNodes.length&&(o.M=!0)}o.M&&(o.M=!1,tn(this,t))}for(t=this.g,n=[],o=0;on.indexOf(r))||n.push(r);for(t=0;t2&&void 0!==arguments[2]?arguments[2]:"",o="";if(t.cssText||t.rules){var a=t.rules;if(a&&!i(a))for(var l,d=0,h=a.length;de);function B(e){var t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function U(e){for(var t=[],n="",r=0;r>=0&&r0&&void 0!==arguments[0]?arguments[0]:"";return!(""===e||!S)&&(y?"shadow"===e:"shady"===e)}var W=/:(nth[-\w]+)\(([^)]+)\)/,K=":not(.".concat("style-scope",")"),X=",",z=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Y=/[[.:#*]/,J=":host",$=":root",Z="::slotted",Q=new RegExp("^(".concat(Z,")")),ee=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,te=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ne=/(.*):dir\((?:(ltr|rtl))\)(.*)/,re=".",oe=":",ie="class",se="should_not_match",ae=/:(?:matches|any|-(?:webkit|moz)-any)/,le="",de=new class{get SCOPE_NAME(){return"style-scope"}dom(e,t,n){this._transformDom(e,e=>{this.element(e,t||"",n)})}domAddScope(e,t){this._transformDom(e,e=>{this.element(e,t||"")})}_transformDom(e,t){var n;if(e.nodeType===Node.ELEMENT_NODE&&t(e),"template"===e.localName){var r=e;n=(r.content||r._content||r).childNodes}else n=e.children||e.childNodes;if(n)for(var o=0;o{this.element(e,t,!0),this.element(e,n)})}domRemoveScope(e,t){this._transformDom(e,e=>{this.element(e,t||"",!0)})}elementStyles(e,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(""===r)if(y||"shady"===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:""))r=D(t,n);else{var{is:o,typeExtension:i}=B(e);r=this.css(t,o,i,n)+"\n\n"}return r.trim()}css(e,t,n,r){var o=this._calcHostScope(t,n);t=this._calcElementScope(t);var i=this;return D(e,(function(e){e.isScoped||(i.rule(e,t,o),e.isScoped=!0),r&&r(e,t,o)}))}_calcElementScope(e){return e?re+e:""}_calcHostScope(e,t){return t?"[is=".concat(e,"]"):e}rule(e,t,n){this._transformRule(e,this._transformComplexSelector,t,n)}_transformRule(e,t,n,r){e.selector=e.transformedSelector=this._transformRuleCss(e,t,n,r)}_transformRuleCss(e,t,n,r){var o=U(e.selector);if(!A(e))for(var i,s=0,a=o.length;sBoolean(e)).join(X)}_twiddleNthPlus(e){return e.replace(W,(e,t,n)=>(n.indexOf("+")>-1?n=n.replace(/\+/g,"___"):n.indexOf("___")>-1&&(n=n.replace(/___/g,"+")),":".concat(t,"(").concat(n,")")))}_preserveMatchesPseudo(e){for(var t,n=[];t=e.match(ae);){var r=t.index,o=j(e,r);if(-1===o)throw new Error("".concat(t.input," selector missing ')'"));var i=e.slice(r,o+1);e=e.replace(i,le),n.push(i)}return{selector:e,matches:n}}_replaceMatchesPseudo(e,t){var n=e.split(le);return t.reduce((e,t,r)=>e+t+n[r+1],n[0])}_transformComplexSelector(e,t,n){var r=!1;e=e.trim();var o=W.test(e);o&&(e=e.replace(W,(e,t,n)=>":".concat(t,"(").concat(n.replace(/\s/g,""),")")),e=this._twiddleNthPlus(e));var i,s=ae.test(e);return s&&({selector:e,matches:i}=this._preserveMatchesPseudo(e)),e=(e=e.replace(Q,"".concat(J," $1"))).replace(z,(e,o,i)=>{if(!r){var s=this._transformCompoundSelector(i,o,t,n);r=r||s.stop,o=s.combinator,i=s.value}return o+i}),s&&(e=this._replaceMatchesPseudo(e,i)),o&&(e=this._twiddleNthPlus(e)),e=e.replace(ne,(e,t,n,r)=>'[dir="'.concat(n,'"] ').concat(t).concat(r,", ").concat(t,'[dir="').concat(n,'"]').concat(r))}_transformCompoundSelector(e,t,n,r){var o=e.indexOf(Z);e.indexOf(J)>=0?e=this._transformHostSelector(e,r):0!==o&&(e=n?this._transformSimpleSelector(e,n):e);var i,s=!1;return o>=0&&(t="",s=!0),s&&(i=!0,s&&(e=e.replace(te,(e,t)=>" > ".concat(t)))),{value:e,combinator:t,stop:i}}_transformSimpleSelector(e,t){for(var n=e.split(/(\[.+?\])/),r=[],o=0;o\s*/;var _e=navigator.userAgent.match("Trident");var pe=new class{get XSCOPE_NAME(){return"x-scope"}decorateStyles(e){var t=this,n={},r=[],o=0;R(e,(function(e){t.decorateRule(e),e.index=o++,t.collectPropertiesInCssText(e.propertyInfo.cssText,n)}),(function(e){r.push(e)})),e._keyframes=r;var i=[];for(var s in n)i.push(s);return i}decorateRule(e){if(e.propertyInfo)return e.propertyInfo;var t={},n={};return this.collectProperties(e,n)&&(t.properties=n,e.rules=null),t.cssText=this.collectCssText(e),e.propertyInfo=t,t}collectProperties(e,t){var n=e.propertyInfo;if(!n){for(var r,o,i,s=E,a=e.parsedCssText;r=s.exec(a);)"inherit"===(o=(r[2]||r[3]).trim())&&"unset"===o||(t[r[1].trim()]=o),i=!0;return i}if(n.properties)return Object.assign(t,n.properties),!0}collectCssText(e){return this.collectConsumingCssText(e.parsedCssText)}collectConsumingCssText(e){return e.replace(T,"").replace(E,"")}collectPropertiesInCssText(e,t){for(var n;n=b.exec(e);){var r=n[1];":"!==n[2]&&(t[r]=!0)}}reify(e){for(var t,n=Object.getOwnPropertyNames(e),r=0;r=0)e=this.valueForProperties(e,t);else{var n=this;e=function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=j(t,r+3),i=t.substring(r+4,o),s=t.substring(0,r),a=e(t.substring(o+1),n),l=i.indexOf(",");return-1===l?n(s,i.trim(),"",a):n(s,i.substring(0,l).trim(),i.substring(l+1).trim(),a)}(e,(function(e,r,o,i){if(!r)return e+i;var s=n.valueForProperty(t[r],t);return s&&"initial"!==s?"apply-shim-inherit"===s&&(s="inherit"):s=n.valueForProperty(t[o]||o,t)||o,e+(s||"")+i}))}return e&&e.trim()||""}valueForProperties(e,t){for(var n,r,o=e.split(";"),i=0;i{e.propertyInfo||this.decorateRule(e);var o=e.transformedSelector||e.parsedSelector;t&&e.propertyInfo.properties&&o&&ue.call(t,o)&&(this.collectProperties(e,n),function(e,t){var n=parseInt(e/32,10),r=1<-1}(s,a),d=0===a.indexOf(":host")&&!l;if("shady"===n&&(d=!(l=a===s+" > *."+s||-1!==a.indexOf("html"))&&0===a.indexOf(s)),l||d){var h=s;d&&(t.transformedSelector||(t.transformedSelector=de._transformRuleCss(t,de._transformComplexSelector,de._calcElementScope(o),s)),h=t.transformedSelector||s),l&&"html"===s&&(h=t.transformedSelector||t.parsedSelector),r({selector:h,isHost:d,isRoot:l})}}}hostAndRootPropertiesForScope(e,t,n){var r={},o={};return R(t,t=>{this.whenHostOrRootRule(e,t,n,n=>{var i=e._element||e;ue.call(i,n.selector)&&(n.isHost?this.collectProperties(t,r):this.collectProperties(t,o))})},null,!0),{rootProps:o,hostProps:r}}transformStyles(e,t,n){var r=this,{is:o,typeExtension:i}=B(e),s=de._calcHostScope(o,i),a=e.extends?"\\"+s.slice(0,-1)+"\\]":s,l=new RegExp("(?:^|[^.#[:])"+a+"($|[.:[\\s>+~])"),{styleRules:d,cssBuild:h}=he.get(e),u=this._elementKeyframeTransforms(e,d,n);return de.elementStyles(e,d,(function(e){r.applyProperties(e,t),y||A(e)||!e.cssText||(r.applyKeyframeTransforms(e,u),r._scopeSelector(e,l,s,n))}),h)}_elementKeyframeTransforms(e,t,n){var r=t._keyframes,o={};if(!y&&r)for(var i=0,s=r[i];i-1&&(r.textContent=o),F(r,null,i.placeholder)):o&&(r=L(o,n,null,i.placeholder)),r&&(r._useCount=r._useCount||0,i.customStyle!=r&&r._useCount++,i.customStyle=r),r}applyCustomStyle(e,t){var n=M(e),r=this;e.textContent=D(n,(function(e){var n=e.cssText=e.parsedCssText;e.propertyInfo&&e.propertyInfo.cssText&&(n=a(n),e.cssText=r.valueForProperties(n,t))}))}},fe={};
/**
@license
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
*/function me(e){return fe[e]||null}function ye(e){var t,n,r,o;fe[e]||(fe[e]=(t=e,n=document.createComment(" Shady DOM styles for "+t+" "),r=I?I.nextSibling:null,(o=document.head).insertBefore(n,r||o.firstChild),I=n,n))}var ve=window.customElements;if(ve&&!y&&!g){var ge=ve.define;ve.define=(e,t,n)=>{ye(e),ge.call(ve,e,t,n)}}
/**
@license
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
*/
/**
@license
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
*/
var Se=function(){};var Ee=new RegExp("".concat(de.SCOPE_NAME,"\\s*([^\\s]*)"));function Ne(e){var t=function(e){return e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||""}(e).match(Ee);return t?t[1]:""}function be(e){var t=k(e).getRootNode();if(t===e||t===e.ownerDocument)return"";var n=t.host;return n?B(n).is:""}function Ce(e){for(var t=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(.".concat(de.SCOPE_NAME,")")),n=0;n{Te.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Oe(document);else{var xe=()=>{Oe(document.body)};window.HTMLImports?window.HTMLImports.whenReady(xe):requestAnimationFrame((function(){if("loading"===document.readyState){var e=function(){xe(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else xe()}))}Se=function(){we(Te.takeRecords())}}
/**
@license
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
*/var Pe={},De="_applyShimCurrentVersion",Me="_applyShimNextVersion",Ae=Promise.resolve();function Re(e){var t=Pe[e];t&&function(e){e[De]=e[De]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[Me]=(e[Me]||0)+1}(t)}function Le(e){return e[De]===e[Me]}function Ie(e){return!Le(e)&&e._applyShimValidatingVersion===e[Me]}function Fe(e){e._applyShimValidatingVersion=e[Me],e._validating||(e._validating=!0,Ae.then((function(){e[De]=e[Me],e._validating=!1})))}
/**
@license
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
*/
var je,He=null,ke=window.HTMLImports&&window.HTMLImports.whenReady||null;function Be(e){requestAnimationFrame((function(){ke?ke(e):(He||(He=new Promise(e=>{je=e}),"complete"===document.readyState?je():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&je()})),He.then((function(){e&&e()})))}))}
/**
@license
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
*/var Ue="__shadyCSSCachedStyle",qe=null,Ve=null;class Ge{constructor(){this.customStyles=[],this.enqueued=!1,Be(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&Ve&&(this.enqueued=!0,Be(Ve))}addCustomStyle(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Ue]?e[Ue]:e.getStyle?e.getStyle():e}processStyles(){for(var e=this.customStyles,t=0;tqe,set(e){qe=e}},validateCallback:{get:()=>Ve,set(e){var t=!1;Ve||(t=!0),Ve=e,t&&this.enqueueDocumentValidation()}}});
/**
@license
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
*/
var We={},Ke=new class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.cache={},this.typeMax=e}_validate(e,t,n){for(var r=0;rthis.typeMax&&o.shift(),this.cache[e]=o}fetch(e,t,n){var r=this.cache[e];if(r)for(var o=r.length-1;o>=0;o--){var i=r[o];if(this._validate(i,t,n))return i}}};class Xe{constructor(){this._scopeCounter={},this._documentOwner=document.documentElement;var e=new r;e.rules=[],this._documentOwnerStyleInfo=he.set(this._documentOwner,new he(e)),this._elementsHaveApplied=!1,this._applyShim=null,this._customStyleInterface=null}flush(){Se()}_generateScopeSelector(e){var t=this._scopeCounter[e]=(this._scopeCounter[e]||0)+1;return"".concat(e,"-").concat(t)}getStyleAst(e){return M(e)}styleAstToString(e){return D(e)}_gatherStyles(e){return function(e){for(var t=[],n=e.querySelectorAll("style"),r=0;r{this.transformCustomStyleForDocument(e)},this._customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{(this._customStyleInterface.enqueued||this._elementsHaveApplied)&&this.flushCustomStyles()})})}_ensure(){var e=this._ensureApplyShim();return this._ensureCustomStyleInterface(),e}flushCustomStyles(){if(!g){var e=this._ensure();if(this._customStyleInterface){var t=this._customStyleInterface.processStyles();(e||this._customStyleInterface.enqueued)&&(G(this._documentOwnerStyleInfo.cssBuild)||(S?this._documentOwnerStyleInfo.cssBuild||this._revalidateCustomStyleApplyShim(t):(this._reorderCustomStylesRules(t),this._updateProperties(this._documentOwner,this._documentOwnerStyleInfo),this._applyCustomStyles(t),this._elementsHaveApplied&&this.styleDocument()),this._customStyleInterface.enqueued=!1))}}}_reorderCustomStylesRules(e){var t=e.map(e=>this._customStyleInterface.getStyleForCustomStyle(e)).filter(e=>!!e);t.sort((e,t)=>{var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),this._documentOwnerStyleInfo.styleRules.rules=t.map(e=>M(e))}styleElement(e,t){if(g){if(t){he.get(e)||he.set(e,new he(null));var n=he.get(e);this._mixOverrideStyleProps(n,t),this.styleElementNativeVariables(e,n)}}else{var r=he.get(e)||this._prepareHost(e);r&&(this._isRootOwner(e)||(this._elementsHaveApplied=!0),t&&this._mixOverrideStyleProps(r,t),S?this.styleElementNativeVariables(e,r):this.styleElementShimVariables(e,r))}}_mixOverrideStyleProps(e,t){e.overrideStyleProperties=e.overrideStyleProperties||{},Object.assign(e.overrideStyleProperties,t)}styleElementShimVariables(e,t){this.flush(),this._updateProperties(e,t),t.ownStylePropertyNames&&t.ownStylePropertyNames.length&&this._applyStyleProperties(e,t)}styleElementNativeVariables(e,t){var{is:n}=B(e);t.overrideStyleProperties&&
/**
@license
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
*/
function(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}(e,t.overrideStyleProperties);var r=Pe[n];if((r||this._isRootOwner(e))&&(!r||!V(r))&&r&&r._style&&!Le(r)){if(Ie(r)||(this._ensure(),this._applyShim&&this._applyShim.transformRules(r._styleAst,n),r._style.textContent=de.elementStyles(e,t.styleRules),Fe(r)),y){var o=e.shadowRoot;if(o){var i=o.querySelector("style");i&&(i.textContent=de.elementStyles(e,t.styleRules))}}t.styleRules=r._styleAst}}_styleOwnerForNode(e){var t=k(e).getRootNode().host;return t?he.get(t)||this._prepareHost(t)?t:this._styleOwnerForNode(t):this._documentOwner}_isRootOwner(e){return e===this._documentOwner}_applyStyleProperties(e,t){var n=B(e).is,r=Ke.fetch(n,t.styleProperties,t.ownStylePropertyNames),o=r&&r.scopeSelector,i=r?r.styleElement:null,s=t.scopeSelector;t.scopeSelector=o||this._generateScopeSelector(n);var a=pe.applyElementStyle(e,t.styleProperties,t.scopeSelector,i);return y||pe.applyElementScopeSelector(e,t.scopeSelector,s),r||Ke.store(n,t.styleProperties,a,t.scopeSelector),a}_updateProperties(e,t){var n=this._styleOwnerForNode(e),r=he.get(n),o=r.styleProperties;n===this._documentOwner||o||(this._updateProperties(n,r),o=r.styleProperties);var i=Object.create(o||null),s=pe.hostAndRootPropertiesForScope(e,t.styleRules,t.cssBuild),a=pe.propertyDataFromStyles(r.styleRules,e).properties;Object.assign(i,s.hostProps,a,s.rootProps),this._mixinOverrideStyles(i,t.overrideStyleProperties),pe.reify(i),t.styleProperties=i}_mixinOverrideStyles(e,t){for(var n in t){var r=t[n];(r||0===r)&&(e[n]=r)}}styleDocument(e){this.styleSubtree(this._documentOwner,e)}styleSubtree(e,t){var n=k(e),r=n.shadowRoot,o=this._isRootOwner(e);(r||o)&&this.styleElement(e,t);var i=o?n:r;if(i)for(var s=Array.from(i.querySelectorAll("*")).filter(e=>k(e).shadowRoot),a=0;a{y?de.normalizeRootSelector(e):de.documentRule(e),S&&""===t&&(this._ensure(),this._applyShim&&this._applyShim.transformRule(e))}),S?e.textContent=D(n):this._documentOwnerStyleInfo.styleRules.rules.push(n)}}_revalidateApplyShim(e){if(S&&this._applyShim){var t=M(e);this._ensure(),this._applyShim.transformRules(t),e.textContent=D(t)}}getComputedStyleValue(e,t){var n;S||(n=(he.get(e)||he.get(this._styleOwnerForNode(e))).styleProperties[t]);return(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""}setElementClass(e,t){var n,r=k(e).getRootNode();t?n=("string"==typeof t?t:String(t)).split(/\s/):n=[];var o=r.host&&r.host.localName;if(!o){var i=e.getAttribute("class");if(i)for(var s=i.split(/\s/),a=0;ay},nativeCss:{get:()=>S}});
/**
@license
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
*/
var ze,Ye,Je=new Xe;window.ShadyCSS&&(ze=window.ShadyCSS.ApplyShim,Ye=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Je,prepareTemplate(e,t,n){Je.flushCustomStyles(),Je.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){Je.prepareTemplateDom(e,t)},prepareTemplateStyles(e,t,n){Je.flushCustomStyles(),Je.prepareTemplateStyles(e,t,n)},styleSubtree(e,t){Je.flushCustomStyles(),Je.styleSubtree(e,t)},styleElement(e){Je.flushCustomStyles(),Je.styleElement(e)},styleDocument(e){Je.flushCustomStyles(),Je.styleDocument(e)},flushCustomStyles(){Je.flushCustomStyles()},getComputedStyleValue:(e,t)=>Je.getComputedStyleValue(e,t),nativeCss:S,nativeShadow:y,cssBuild:d,disableRuntime:g},ze&&(window.ShadyCSS.ApplyShim=ze),Ye&&(window.ShadyCSS.CustomStyleInterface=Ye)}}]);