!function(){"use strict";functione(e,t){if(e){if(t.element_.classList.contains(t.CssClasses_.MDL_JS_RIPPLE_EFFECT)){vars=document.createElement("span");s.classList.add(t.CssClasses_.MDL_RIPPLE_CONTAINER),s.classList.add(t.CssClasses_.MDL_JS_RIPPLE_EFFECT);vari=document.createElement("span");i.classList.add(t.CssClasses_.MDL_RIPPLE),s.appendChild(i),e.appendChild(s)}e.addEventListener("click",function(s){s.preventDefault();vari=e.href.split("#")[1],n=t.element_.querySelector("#"+i);t.resetTabState_(),t.resetPanelState_(),e.classList.add(t.CssClasses_.ACTIVE_CLASS),n.classList.add(t.CssClasses_.ACTIVE_CLASS)})}}functiont(e,t,s,i){if(i.tabBar_.classList.contains(i.CssClasses_.JS_RIPPLE_EFFECT)){varn=document.createElement("span");n.classList.add(i.CssClasses_.RIPPLE_CONTAINER),n.classList.add(i.CssClasses_.JS_RIPPLE_EFFECT);vara=document.createElement("span");a.classList.add(i.CssClasses_.RIPPLE),n.appendChild(a),e.appendChild(n)}e.addEventListener("click",function(n){n.preventDefault();vara=e.href.split("#")[1],l=i.content_.querySelector("#"+a);i.resetTabState_(t),i.resetPanelState_(s),e.classList.add(i.CssClasses_.IS_ACTIVE),l.classList.add(i.CssClasses_.IS_ACTIVE)})}vars={upgradeDom:function(e,t){},upgradeElement:function(e,t){},upgradeElements:function(e){},upgradeAllRegistered:function(){},registerUpgradedCallback:function(e,t){},register:function(e){},downgradeElements:function(e){}};s=function(){functione(e,t){for(vars=0;s<p.length;s++)if(p[s].className===e)return"undefined"!=typeoft&&(p[s]=t),p[s];return!1}functiont(e){vart=e.getAttribute("data-upgraded");returnnull===t?[""]:t.split(",")}functions(e,s){vari=t(e);return-1!==i.indexOf(s)}functioni(t,s){if("undefined"==typeoft&&"undefined"==typeofs)for(vara=0;a<p.length;a++)i(p[a].className,p[a].cssClass);else{varl=t;if("undefined"==typeofs){varo=e(l);o&&(s=o.cssClass)}for(varr=document.querySelectorAll("."+s),d=0;d<r.length;d++)n(r[d],l)}}functionn(i,n){if(!("object"==typeofi&&iinstanceofElement))thrownewError("Invalid argument provided to upgrade MDL element.");vara=t(i),l=[];if(n)s(i,n)||l.push(e(n));else{varo=i.classList;p.forEach(function(e){o.contains(e.cssClass)&&-1===l.indexOf(e)&&!s(i,e.className)&&l.push(e)})}for(varr,d=0,_=l.length;_>d;d++){if(r=l[d],!r)thrownewError("Unable to find a registered component for the given class.");a.push(r.className),i.setAttribute("data-upgraded",a.join(","));varh=newr.classConstructor(i);h[C]=r,c.push(h);for(varu=0,m=r.callbacks.length;m>u;u++)r.callbacks[u](i);r.widget&&(i[r.className]=h);varE=document.createEvent("Events");E.initEvent("mdl-componentupgraded",!0,!0),i.dispatchEvent(E)}}functiona(e){Array.isArray(e)||(e="function"==typeofe.item?Array.prototype.slice.call(e):[e]);for(vart,s=0,i=e.length;i>s;s++)t=e[s],tinstanceofHTMLElement&&(n(t),t.children.length>0&&a(t.children))}functionl(t){vars="undefined"==typeoft.widget&&"undefined"==typeoft.widget,i=!0;s||(i=t.widget||t.widget);varn={classConstructor:t.constructor||t.constructor,className:t.classAsString||t.classAsString,cssClass:t.cssClass||t.cssClass,widget:i,callbacks:[]};if(p.forEach(function(e){if(e.cssClass===n.cssClass)thrownewError("The provided cssClass has already been registered: "+e.cssClass);if(e.className===n.className)thrownewError("The provided className has already been registered")}),t.constructor.prototype.hasOwnProperty(C))thrownewError("MDL component classes must not have "+C+" defined as a property.");vara=e(t.classAsString,n);a||p.push(n)}functiono(t,s){vari=e(t);i&&i.callbacks.push(s)}functionr(){for(vare=0;e<p.length;e++)i(p[e].className)}functiond(e){for(vart=0;t<c.length;t++){vars=c[t];if(s.element_===e)returns}}function_(e){if(e&&e[C].classConstructor.prototype.hasOwnProperty(u)){e[u]();vart=c.indexOf(e);c.splice(t,1);vars=e.element_.getAttribute("data-upgraded").split(","),i=s.indexOf(e[C].classAsString);s.splice(i,1),e.element_.setAttribute("data-upgraded",s.join(","));varn=document.createEvent("Events");n.initEvent("mdl-componentdowngraded",!0,!0),e.element_.dispatchEv