!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("@material/tab",[],e):"object"==typeof exports?exports.tab=e():(t.mdc=t.mdc||{},t.mdc.tab=e())}(this,function(){return n={},i.m=r={0:function(t,e,r){"use strict";(function(t){}).call(this,r(20))},1:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapResourceUrl=e.isResourceUrl=e.createResourceUrl=e.TrustedResourceUrl=void 0,r(0);var i=r(4),o=r(9),a=(n.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()},n);function n(t,e){this.privateDoNotAccessOrElseWrappedResourceUrl=t}var s=window.TrustedScriptURL;e.TrustedResourceUrl=null!=s?s:a,e.createResourceUrl=function(t){var e,r=t,n=null===(e=(0,o.getTrustedTypesPolicy)())||void 0===e?void 0:e.createScriptURL(r);return null!=n?n:new a(r,i.secretToken)},e.isResourceUrl=function(t){return t instanceof e.TrustedResourceUrl},e.unwrapResourceUrl=function(t){var e;if(null===(e=(0,o.getTrustedTypes)())||void 0===e?void 0:e.isScriptURL(t))return t;if(t instanceof a)return t.privateDoNotAccessOrElseWrappedResourceUrl;throw new Error("")}},10:function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyle=e.isStyle=e.createStyle=e.SafeStyle=void 0,r(0);function o(){}var a=r(4);e.SafeStyle=o;var s,c=(i(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedStyle},u);function u(t,e){var r=s.call(this)||this;return r.privateDoNotAccessOrElseWrappedStyle=t,r}e.createStyle=function(t){return new c(t,a.secretToken)},e.isStyle=function(t){return t instanceof c},e.unwrapStyle=function(t){if(t instanceof c)return t.privateDoNotAccessOrElseWrappedStyle;throw new Error("")}},11:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AttributePolicyAction=e.SanitizerTable=void 0;var n,i,o=(a.prototype.isAllowedElement=function(t){return"form"!==t.toLowerCase()&&(this.allowedElements.has(t)||this.elementPolicies.has(t))},a.prototype.getAttributePolicy=function(t,e){var r=this.elementPolicies.get(e);return(null==r?void 0:r.has(t))?r.get(t):this.allowedGlobalAttributes.has(t)?{policyAction:n.KEEP}:this.globalAttributePolicies.get(t)||{policyAction:n.DROP}},a);function a(t,e,r,n){this.allowedElements=t,this.elementPolicies=e,this.allowedGlobalAttributes=r,this.globalAttributePolicies=n}e.SanitizerTable=o,(i=n=e.AttributePolicyAction||(e.AttributePolicyAction={}))[i.DROP=0]="DROP",i[i.KEEP=1]="KEEP",i[i.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",i[i.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",i[i.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"},112:function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTab=void 0;var o,a=r(13),s=r(53),c=r(51),u=r(86),l=r(87),f=(o=a.MDCComponent,i(d,o),d.attachTo=function(t){return new d(t)},d.prototype.initialize=function(t,e){void 0===t&&(t=function(t,e){return new s.MDCRipple(t,e)}),void 0===e&&(e=function(t){return new u.MDCTabIndicator(t)}),this.id=this.root.id;var r=new c.MDCRippleFoundation(s.MDCRipple.createAdapter(this));this.ripple=t(this.root,r);var n=this.root.querySelector(l.MDCTabFoundation.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator=e(n),this.content=this.root.querySelector(l.MDCTabFoundation.strings.CONTENT_SELECTOR)},d.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen("click",this.handleClick)},d.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),o.prototype.destroy.call(this)},d.prototype.getDefaultFoundation=function(){var r=this,t={setAttr:function(t,e){r.safeSetAttribute(r.root,t,e)},addClass:function(t){r.root.classList.add(t)},removeClass:function(t){r.root.classList.remove(t)},hasClass:function(t){return r.root.classList.contains(t)},activateIndicator:function(t){r.tabIndicator.activate(t)},deactivateIndicator:function(){r.tabIndicator.deactivate()},notifyInteracted:function(){r.emit(l.MDCTabFoundation.strings.INTERACTED_EVENT,{tabId:r.id},!0)},getOffsetLeft:function(){return r.root.offsetLeft},getOffsetWidth:function(){return r.root.offsetWidth},getContentOffsetLeft:function(){return r.content.offsetLeft},getContentOffsetWidth:function(){return r.content.offsetWidth},focus:function(){r.root.focus()},isFocused:function(){return r.root===document.activeElement}};return new l.MDCTabFoundation(t)},Object.defineProperty(d.prototype,"active",{get:function(){return this.foundation.isActive()},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"focusOnActivate",{set:function(t){this.foundation.setFocusOnActivate(t)},enumerable:!1,configurable:!0}),d.prototype.activate=function(t){this.foundation.activate(t)},d.prototype.deactivate=function(){this.foundation.deactivate()},d.prototype.computeIndicatorClientRect=function(){return this.tabIndicator.computeContentClientRect()},d.prototype.computeDimensions=function(){return this.foundation.computeDimensions()},d.prototype.focus=function(){this.root.focus()},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCTab=f},12:function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyleSheet=e.isStyleSheet=e.createStyleSheet=e.SafeStyleSheet=void 0,r(0);function o(){}var a=r(4);e.SafeStyleSheet=o;var s,c=(i(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedStyleSheet},u);function u(t,e){var r=s.call(this)||this;return r.privateDoNotAccessOrElseWrappedStyleSheet=t,r}e.createStyleSheet=function(t){return new c(t,a.secretToken)},e.isStyleSheet=function(t){return t instanceof c},e.unwrapStyleSheet=function(t){if(t instanceof c)return t.privateDoNotAccessOrElseWrappedStyleSheet;throw new Error("")}},13:function(t,e,r){"use strict";var i=this&&this.__makeTemplateObject||function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},o=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||0=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||0")+1,r.lastIndexOf("/g,">").replace(/"/g,""").replace(/'/g,"'")}e.htmlEscape=function(t,e){void 0===e&&(e={});var r=s(t);return e.preserveSpaces&&(r=r.replace(/(^|[\r\n\t ]) /g,"$1 ")),e.preserveNewlines&&(r=r.replace(/(\r\n|\n|\r)/g,"
")),e.preserveTabs&&(r=r.replace(/(\t+)/g,'$1')),(0,o.createHtml)(r)},e.createScript=function(t,e){void 0===e&&(e={});var r=(0,i.unwrapScript)(t).toString(),n=""),(0,o.createHtml)(n)},e.createScriptSrc=function(t,e,r){var n=(0,a.unwrapResourceUrl)(t).toString(),i='