File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@material/chips/dist/mdc.chips.min.js
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("@material/chips",[],e):"object"==typeof exports?exports.chips=e():(t.mdc=t.mdc||{},t.mdc.chips=e())}(this,function(){return i={},r.m=n=[function(t,e,n){"use strict";(function(t){}).call(this,n(20))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapResourceUrl=e.isResourceUrl=e.createResourceUrl=e.TrustedResourceUrl=void 0,n(0);var r=n(4),o=n(9),a=(i.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()},i);function i(t,e){this.privateDoNotAccessOrElseWrappedResourceUrl=t}var s=window.TrustedScriptURL;e.TrustedResourceUrl=null!=s?s:a,e.createResourceUrl=function(t){var e,n=t,i=null===(e=(0,o.getTrustedTypesPolicy)())||void 0===e?void 0:e.createScriptURL(n);return null!=i?i:new a(n,r.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("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapHtml=e.isHtml=e.EMPTY_HTML=e.createHtml=e.SafeHtml=void 0,n(0);var i=n(4),r=n(9),o=(a.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedHtml.toString()},a);function a(t,e){this.privateDoNotAccessOrElseWrappedHtml=t}function s(t,e){return null!=e?e:new o(t,i.secretToken)}var c=window.TrustedHTML;e.SafeHtml=null!=c?c:o,e.createHtml=function(t){var e,n=t;return s(n,null===(e=(0,r.getTrustedTypesPolicy)())||void 0===e?void 0:e.createHTML(n))},e.EMPTY_HTML=function(){var t;return s("",null===(t=(0,r.getTrustedTypes)())||void 0===t?void 0:t.emptyHTML)}(),e.isHtml=function(t){return t instanceof e.SafeHtml},e.unwrapHtml=function(t){var e;if(null===(e=(0,r.getTrustedTypes)())||void 0===e?void 0:e.isHTML(t))return t;if(t instanceof o)return t.privateDoNotAccessOrElseWrappedHtml;throw new Error("")}},function(t,e,n){"use strict";function i(t){var e;try{e=new URL(t)}catch(t){return"https:"}return e.protocol}Object.defineProperty(e,"__esModule",{value:!0}),e.restrictivelySanitizeUrl=e.unwrapUrlOrSanitize=e.sanitizeJavascriptUrl=void 0,n(0);var r=["data:","http:","https:","mailto:","ftp:"];function o(t){if("javascript:"!==i(t))return t}e.sanitizeJavascriptUrl=o,e.unwrapUrlOrSanitize=function(t){return o(t)},e.restrictivelySanitizeUrl=function(t){var e=i(t);return void 0!==e&&-1!==r.indexOf(e.toLowerCase())?t:"about:invalid#zClosurez"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ensureTokenIsValid=e.secretToken=void 0,e.secretToken={},e.ensureTokenIsValid=function(t){if(t!==e.secretToken)throw new Error("Bad secret")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapScript=e.isScript=e.EMPTY_SCRIPT=e.createScript=e.SafeScript=void 0,n(0);var i=n(4),r=n(9),o=(a.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedScript.toString()},a);function a(t,e){this.privateDoNotAccessOrElseWrappedScript=t}function s(t,e){return null!=e?e:new o(t,i.secretToken)}var c=window.TrustedScript;e.SafeScript=null!=c?c:o,e.createScript=function(t){var e,n=t;return s(n,null===(e=(0,r.getTrustedTypesPolicy)())||void 0===e?void 0:e.createScript(n))},e.EMPTY_SCRIPT=function(){var t;return s("",null===(t=(0,r.getTrustedTypes)())||void 0===t?void 0:t.emptyScript)}(),e.isScript=function(t){return t instanceof e.SafeScript},e.unwrapScript=function(t){var e;if(null===(e=(0,r.getTrustedTypes)())||void 0===e?void 0:e.isScript(t))return t;if(t instanceof o)return t.privateDoNotAccessOrElseWrappedScript;throw new Error("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertIsTemplateObject=void 0,e.assertIsTemplateObject=function(t,e,n){if(!Array.isArray(t)||!Array.isArray(t.raw)||!e&&1!==t.length)throw new TypeError(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFoundation=void 0;var i=(Object.defineProperty(r,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),r.prototype.init=function(){},r.prototype.destroy=function(){},r);function r(t){void 0===t&&(t={}),this.adapter=t}e.MDCFoundation=i,e.default=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapAttributePrefix=e.createAttributePrefix=e.SafeAttributePrefix=void 0,n(0);function o(){}var a=n(4);e.SafeAttributePrefix=o;var s,c=(r(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedAttrPrefix},u);function u(t,e){var n=s.call(this)||this;return n.privateDoNotAccessOrElseWrappedAttrPrefix=t,n}e.createAttributePrefix=function(t){return new c(t,a.secretToken)},e.unwrapAttributePrefix=function(t){if(t instanceof c)return t.privateDoNotAccessOrElseWrappedAttrPrefix;throw new Error("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEST_ONLY=e.getTrustedTypesPolicy=e.getTrustedTypes=void 0;var i,r="google#safe";function o(){var t;return""!==r&&null!==(t=function(){if("undefined"!=typeof window)return window.trustedTypes}())&&void 0!==t?t:null}e.getTrustedTypes=o,e.getTrustedTypesPolicy=function(){var t,e;if(void 0===i)try{i=null!==(e=null===(t=o())||void 0===t?void 0:t.createPolicy(r,{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}}))&&void 0!==e?e:null}catch(t){i=null}return i},e.TEST_ONLY={resetDefaults:function(){i=void 0,r="google#safe"},setTrustedTypesPolicyName:function(t){r=t}}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyle=e.isStyle=e.createStyle=e.SafeStyle=void 0,n(0);function o(){}var a=n(4);e.SafeStyle=o;var s,c=(r(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedStyle},u);function u(t,e){var n=s.call(this)||this;return n.privateDoNotAccessOrElseWrappedStyle=t,n}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("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AttributePolicyAction=e.SanitizerTable=void 0;var i,r,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 n=this.elementPolicies.get(e);return(null==n?void 0:n.has(t))?n.get(t):this.allowedGlobalAttributes.has(t)?{policyAction:i.KEEP}:this.globalAttributePolicies.get(t)||{policyAction:i.DROP}},a);function a(t,e,n,i){this.allowedElements=t,this.elementPolicies=e,this.allowedGlobalAttributes=n,this.globalAttributePolicies=i}e.SanitizerTable=o,(r=i=e.AttributePolicyAction||(e.AttributePolicyAction={}))[r.DROP=0]="DROP",r[r.KEEP=1]="KEEP",r[r.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",r[r.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",r[r.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyleSheet=e.isStyleSheet=e.createStyleSheet=e.SafeStyleSheet=void 0,n(0);function o(){}var a=n(4);e.SafeStyleSheet=o;var s,c=(r(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedStyleSheet},u);function u(t,e){var n=s.call(this)||this;return n.privateDoNotAccessOrElseWrappedStyleSheet=t,n}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("")}},function(t,e,n){"use strict";var r=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 n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},a=this&&this.__spreadArray||function(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCComponent=void 0;var s=n(17),c=n(18),i=n(7);var u,l,p=(d.attachTo=function(t){return new d(t,new i.MDCFoundation({}))},d.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},d.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},d.prototype.initialSyncWithDOM=function(){},d.prototype.destroy=function(){this.foundation.destroy()},d.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},d.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},d.prototype.emit=function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root.dispatchEvent(i)},d.prototype.safeSetAttribute=function(t,e,n){if("tabindex"===e.toLowerCase())t.tabIndex=Number(n);else if(0===e.indexOf("data-")){var i=function(t){return String(t).replace(/\-([a-z])/g,function(t,e){return e.toUpperCase()})}(e.replace(/^data-/,""));t.dataset[i]=n}else c.safeElement.setPrefixedAttribute([s.safeAttrPrefix(u=u||r(["aria-"],["aria-"])),s.safeAttrPrefix(l=l||r(["role"],["role"]))],t,e,n)},d);function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];this.root=t,this.initialize.apply(this,a([],o(n))),this.foundation=void 0===e?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}e.MDCComponent=p,e.default=p},function(t,e,n){"use strict";var f=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a};Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeHtmlToFragment=e.sanitizeHtmlAssertUnchanged=e.sanitizeHtml=e.HtmlSanitizerImpl=void 0,n(0);var i=n(2),r=n(4),h=n(3),c=n(23),y=n(24),o=n(16),v=n(11),a=(s.prototype.sanitizeAssertUnchanged=function(t){this.changes=[];var e=this.sanitize(t);if(0===this.changes.length)return e;throw new Error("")},s.prototype.sanitize=function(t){var e=document.createElement("span");e.appendChild(this.sanitizeToFragment(t));var n=(new XMLSerializer).serializeToString(e);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),(0,i.createHtml)(n)},s.prototype.sanitizeToFragment=function(t){for(var e=this,n=(0,c.createInertFragment)(t),i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){return e.nodeFilter(t)},!1),r=i.nextNode(),o=document.createDocumentFragment(),a=o;null!==r;){var s=void 0;if((0,y.isText)(r))s=this.sanitizeTextNode(r);else{if(!(0,y.isElement)(r))throw new Error("Node is not of type text or element");s=this.sanitizeElementNode(r)}if(a.appendChild(s),r=i.firstChild())a=s;else for(;!(r=i.nextSibling())&&(r=i.parentNode());)a=a.parentNode}return o},s.prototype.sanitizeTextNode=function(t){return document.createTextNode(t.data)},s.prototype.sanitizeElementNode=function(t){var e,n,i=(0,y.getNodeName)(t),r=document.createElement(i),o=t.attributes;try{for(var a=f(o),s=a.next();!s.done;s=a.next()){var c=s.value,u=c.name,l=c.value,p=this.sanitizerTable.getAttributePolicy(u,i);if(this.satisfiesAllConditions(p.conditions,o))switch(p.policyAction){case v.AttributePolicyAction.KEEP:r.setAttribute(u,l);break;case v.AttributePolicyAction.KEEP_AND_SANITIZE_URL:var d=(0,h.restrictivelySanitizeUrl)(l);d!==l&&this.recordChange("Url in attribute ".concat(u,' was modified during sanitization. Original url:"').concat(l,'" was sanitized to: "').concat(d,'"')),r.setAttribute(u,d);break;case v.AttributePolicyAction.KEEP_AND_NORMALIZE:r.setAttribute(u,l.toLowerCase());break;case v.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE:r.setAttribute(u,l);break;case v.AttributePolicyAction.DROP:this.recordChange("Attribute: ".concat(u," was dropped"));break;default:C(p.policyAction,"Unhandled AttributePolicyAction case")}else this.recordChange("Not all conditions satisfied for attribute: ".concat(u,"."))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return r},s.prototype.nodeFilter=function(t){if((0,y.isText)(t))return NodeFilter.FILTER_ACCEPT;if(!(0,y.isElement)(t))return NodeFilter.FILTER_REJECT;var e=(0,y.getNodeName)(t);return null===e?(this.recordChange("Node name was null for node: ".concat(t)),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(e)?NodeFilter.FILTER_ACCEPT:(this.recordChange("Element: ".concat(e," was dropped")),NodeFilter.FILTER_REJECT)},s.prototype.recordChange=function(t){0===this.changes.length&&this.changes.push("")},s.prototype.satisfiesAllConditions=function(t,e){var n,i,r;if(!t)return!0;try{for(var o=f(t),a=o.next();!a.done;a=o.next()){var s=p(a.value,2),c=s[0],u=s[1],l=null===(r=e.getNamedItem(c))||void 0===r?void 0:r.value;if(l&&!u.has(l))return!1}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return!0},s);function s(t,e){this.sanitizerTable=t,this.changes=[],(0,r.ensureTokenIsValid)(e)}e.HtmlSanitizerImpl=a;var u=function(){return new a(o.defaultSanitizerTable,r.secretToken)}();function C(t,e){throw void 0===e&&(e="unexpected value ".concat(t,"!")),new Error(e)}e.sanitizeHtml=function(t){return u.sanitize(t)},e.sanitizeHtmlAssertUnchanged=function(t){return u.sanitizeAssertUnchanged(t)},e.sanitizeHtmlToFragment=function(t){return u.sanitizeToFragment(t)}},function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},o=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||((i=i||Array.prototype.slice.call(e,0,r))[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.setPrefixedAttribute=e.buildPrefixedAttributeSetter=e.insertAdjacentHtml=e.setCssText=e.setOuterHtml=e.setInnerHtml=void 0;var a=n(8),s=n(2),i=n(10);function c(t,e,n,i){if(0===t.length)throw new Error("No prefixes are provided");var r=t.map(function(t){return(0,a.unwrapAttributePrefix)(t)}),o=n.toLowerCase();if(r.every(function(t){return 0!==o.indexOf(t)}))throw new Error('Attribute "'.concat(n,'" does not match any of the allowed prefixes.'));e.setAttribute(n,i)}function u(t){if("script"===t.tagName.toLowerCase())throw new Error("Use setTextContent with a SafeScript.");if("style"===t.tagName.toLowerCase())throw new Error("Use setTextContent with a SafeStyleSheet.")}e.setInnerHtml=function(t,e){!function(t){return void 0!==t.tagName}(t)||u(t),t.innerHTML=(0,s.unwrapHtml)(e)},e.setOuterHtml=function(t,e){var n=t.parentElement;null!==n&&u(n),t.outerHTML=(0,s.unwrapHtml)(e)},e.setCssText=function(t,e){t.style.cssText=(0,i.unwrapStyle)(e)},e.insertAdjacentHtml=function(t,e,n){var i="beforebegin"===e||"afterend"===e?t.parentElement:t;null!==i&&u(i),t.insertAdjacentHTML(e,(0,s.unwrapHtml)(n))},e.buildPrefixedAttributeSetter=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=o([t],r(e),!1);return function(t,e,n){c(i,t,e,n)}},e.setPrefixedAttribute=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultSanitizerTable=void 0;var i=n(11);e.defaultSanitizerTable=new i.SanitizerTable(new Set(["ARTICLE","SECTION","NAV","ASIDE","H1","H2","H3","H4","H5","H6","HEADER","FOOTER","ADDRESS","P","HR","PRE","BLOCKQUOTE","OL","UL","LH","LI","DL","DT","DD","FIGURE","FIGCAPTION","MAIN","DIV","EM","STRONG","SMALL","S","CITE","Q","DFN","ABBR","RUBY","RB","RT","RTC","RP","DATA","TIME","CODE","VAR","SAMP","KBD","SUB","SUP","I","B","U","MARK","BDI","BDO","SPAN","BR","WBR","INS","DEL","PICTURE","PARAM","TRACK","MAP","TABLE","CAPTION","COLGROUP","COL","TBODY","THEAD","TFOOT","TR","TD","TH","SELECT","DATALIST","OPTGROUP","OPTION","OUTPUT","PROGRESS","METER","FIELDSET","LEGEND","DETAILS","SUMMARY","MENU","DIALOG","SLOT","CANVAS","FONT","CENTER"]),new Map([["A",new Map([["href",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL,conditions:new Map([["rel",new Set(["alternate","author","bookmark","canonical","cite","help","icon","license","next","prefetch","dns-prefetch","prerender","preconnect","preload","prev","search","subresource"])]])}]])],["SOURCE",new Map([["src",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])]]),new Set(["title","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-current","aria-disabled","aria-dropeffect","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","alt","align","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","bgcolor","border","cellpadding","cellspacing","checked","color","cols","colspan","controls","datetime","disabled","download","draggable","enctype","face","formenctype","frameborder","height","hreflang","hidden","ismap","label","lang","loop","max","maxlength","media","minlength","min","multiple","muted","nonce","open","placeholder","preload","rel","required","reversed","role","rows","rowspan","selected","shape","size","sizes","slot","span","spellcheck","start","step","summary","translate","type","valign","value","width","wrap","itemscope","itemtype","itemid","itemprop","itemref"]),new Map([["dir",{policyAction:i.AttributePolicyAction.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:i.AttributePolicyAction.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:i.AttributePolicyAction.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:i.AttributePolicyAction.KEEP_AND_SANITIZE_URL}],["target",{policyAction:i.AttributePolicyAction.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyleSheet=e.SafeStyleSheet=e.isStyleSheet=e.unwrapStyle=e.SafeStyle=e.isStyle=e.unwrapScript=e.SafeScript=e.isScript=e.EMPTY_SCRIPT=e.unwrapResourceUrl=e.TrustedResourceUrl=e.isResourceUrl=e.unwrapHtml=e.SafeHtml=e.isHtml=e.EMPTY_HTML=e.unwrapAttributePrefix=e.SafeAttributePrefix=e.safeStyleSheet=e.concatStyleSheets=e.safeStyle=e.concatStyles=e.scriptFromJson=e.safeScriptWithArgs=e.safeScript=e.concatScripts=e.trustedResourceUrl=e.replaceFragment=e.blobUrlFromScript=e.appendParams=e.HtmlSanitizerBuilder=e.sanitizeHtmlToFragment=e.sanitizeHtmlAssertUnchanged=e.sanitizeHtml=e.htmlEscape=e.createScriptSrc=e.createScript=e.concatHtmls=e.safeAttrPrefix=void 0;var i=n(19);Object.defineProperty(e,"safeAttrPrefix",{enumerable:!0,get:function(){return i.safeAttrPrefix}});var r=n(22);Object.defineProperty(e,"concatHtmls",{enumerable:!0,get:function(){return r.concatHtmls}}),Object.defineProperty(e,"createScript",{enumerable:!0,get:function(){return r.createScript}}),Object.defineProperty(e,"createScriptSrc",{enumerable:!0,get:function(){return r.createScriptSrc}}),Object.defineProperty(e,"htmlEscape",{enumerable:!0,get:function(){return r.htmlEscape}});var o=n(14);Object.defineProperty(e,"sanitizeHtml",{enumerable:!0,get:function(){return o.sanitizeHtml}}),Object.defineProperty(e,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return o.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(e,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return o.sanitizeHtmlToFragment}});var a=n(25);Object.defineProperty(e,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return a.HtmlSanitizerBuilder}});var s=n(26);Object.defineProperty(e,"appendParams",{enumerable:!0,get:function(){return s.appendParams}}),Object.defineProperty(e,"blobUrlFromScript",{enumerable:!0,get:function(){return s.blobUrlFromScript}}),Object.defineProperty(e,"replaceFragment",{enumerable:!0,get:function(){return s.replaceFragment}}),Object.defineProperty(e,"trustedResourceUrl",{enumerable:!0,get:function(){return s.trustedResourceUrl}});var c=n(27);Object.defineProperty(e,"concatScripts",{enumerable:!0,get:function(){return c.concatScripts}}),Object.defineProperty(e,"safeScript",{enumerable:!0,get:function(){return c.safeScript}}),Object.defineProperty(e,"safeScriptWithArgs",{enumerable:!0,get:function(){return c.safeScriptWithArgs}}),Object.defineProperty(e,"scriptFromJson",{enumerable:!0,get:function(){return c.scriptFromJson}});var u=n(28);Object.defineProperty(e,"concatStyles",{enumerable:!0,get:function(){return u.concatStyles}}),Object.defineProperty(e,"safeStyle",{enumerable:!0,get:function(){return u.safeStyle}});var l=n(29);Object.defineProperty(e,"concatStyleSheets",{enumerable:!0,get:function(){return l.concatStyleSheets}}),Object.defineProperty(e,"safeStyleSheet",{enumerable:!0,get:function(){return l.safeStyleSheet}});var p=n(8);Object.defineProperty(e,"SafeAttributePrefix",{enumerable:!0,get:function(){return p.SafeAttributePrefix}}),Object.defineProperty(e,"unwrapAttributePrefix",{enumerable:!0,get:function(){return p.unwrapAttributePrefix}});var d=n(2);Object.defineProperty(e,"EMPTY_HTML",{enumerable:!0,get:function(){return d.EMPTY_HTML}}),Object.defineProperty(e,"isHtml",{enumerable:!0,get:function(){return d.isHtml}}),Object.defineProperty(e,"SafeHtml",{enumerable:!0,get:function(){return d.SafeHtml}}),Object.defineProperty(e,"unwrapHtml",{enumerable:!0,get:function(){return d.unwrapHtml}});var f=n(1);Object.defineProperty(e,"isResourceUrl",{enumerable:!0,get:function(){return f.isResourceUrl}}),Object.defineProperty(e,"TrustedResourceUrl",{enumerable:!0,get:function(){return f.TrustedResourceUrl}}),Object.defineProperty(e,"unwrapResourceUrl",{enumerable:!0,get:function(){return f.unwrapResourceUrl}});var h=n(5);Object.defineProperty(e,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return h.EMPTY_SCRIPT}}),Object.defineProperty(e,"isScript",{enumerable:!0,get:function(){return h.isScript}}),Object.defineProperty(e,"SafeScript",{enumerable:!0,get:function(){return h.SafeScript}}),Object.defineProperty(e,"unwrapScript",{enumerable:!0,get:function(){return h.unwrapScript}});var y=n(10);Object.defineProperty(e,"isStyle",{enumerable:!0,get:function(){return y.isStyle}}),Object.defineProperty(e,"SafeStyle",{enumerable:!0,get:function(){return y.SafeStyle}}),Object.defineProperty(e,"unwrapStyle",{enumerable:!0,get:function(){return y.unwrapStyle}});var v=n(12);Object.defineProperty(e,"isStyleSheet",{enumerable:!0,get:function(){return v.isStyleSheet}}),Object.defineProperty(e,"SafeStyleSheet",{enumerable:!0,get:function(){return v.SafeStyleSheet}}),Object.defineProperty(e,"unwrapStyleSheet",{enumerable:!0,get:function(){return v.unwrapStyleSheet}})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(e,n);r&&("get"in r?e.__esModule:!r.writable&&!r.configurable)||(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,r)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.safeWorker=e.safeWindow=e.safeServiceWorkerContainer=e.safeRange=e.safeLocation=e.safeGlobal=e.safeDomParser=e.safeDocument=e.safeStyleEl=e.safeScriptEl=e.safeObjectEl=e.safeLinkEl=e.safeInputEl=e.safeIframeEl=e.safeFormEl=e.safeEmbedEl=e.safeElement=e.safeButtonEl=e.safeAreaEl=e.safeAnchorEl=void 0,e.safeAnchorEl=o(n(30)),e.safeAreaEl=o(n(31)),e.safeButtonEl=o(n(32)),e.safeElement=o(n(15)),e.safeEmbedEl=o(n(33)),e.safeFormEl=o(n(34)),e.safeIframeEl=o(n(35)),e.safeInputEl=o(n(36)),e.safeLinkEl=o(n(37)),e.safeObjectEl=o(n(38)),e.safeScriptEl=o(n(39)),e.safeStyleEl=o(n(40)),e.safeDocument=o(n(41)),e.safeDomParser=o(n(42)),e.safeGlobal=o(n(43)),e.safeLocation=o(n(44)),e.safeRange=o(n(45)),e.safeServiceWorkerContainer=o(n(46)),e.safeWindow=o(n(47)),e.safeWorker=o(n(48))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.safeAttrPrefix=void 0,n(0);var i=n(8);n(6),n(21);e.safeAttrPrefix=function(t){var e=t[0].toLowerCase();return(0,i.createAttributePrefix)(e)}},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var c,u=[],l=!1,p=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):p=-1,u.length&&f())}function f(){if(!l){var t=s(d);l=!0;for(var e=u.length;e;){for(c=u,u=[];++p<e;)c&&c[p].run();p=-1,e=u.length}c=null,l=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function y(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=y,r.addListener=y,r.once=y,r.off=y,r.removeListener=y,r.removeAllListeners=y,r.emit=y,r.prependListener=y,r.prependOnceListener=y,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SECURITY_SENSITIVE_ATTRIBUTES=void 0,e.SECURITY_SENSITIVE_ATTRIBUTES=["href","rel","src","srcdoc","action","formaction","sandbox","cite","poster","icon"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.concatHtmls=e.createScriptSrc=e.createScript=e.htmlEscape=void 0;var o=n(2),a=n(1),r=n(5);function s(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}e.htmlEscape=function(t,e){void 0===e&&(e={});var n=s(t);return e.preserveSpaces&&(n=n.replace(/(^|[\r\n\t ]) /g,"$1 ")),e.preserveNewlines&&(n=n.replace(/(\r\n|\n|\r)/g,"<br>")),e.preserveTabs&&(n=n.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),(0,o.createHtml)(n)},e.createScript=function(t,e){void 0===e&&(e={});var n=(0,r.unwrapScript)(t).toString(),i="<script";return e.id&&(i+=' id="'.concat(s(e.id),'"')),e.nonce&&(i+=' nonce="'.concat(s(e.nonce),'"')),e.type&&(i+=' type="'.concat(s(e.type),'"')),i+=">".concat(n,"<\/script>"),(0,o.createHtml)(i)},e.createScriptSrc=function(t,e,n){var i=(0,a.unwrapResourceUrl)(t).toString(),r='<script src="'.concat(s(i),'"');return e&&(r+=" async"),n&&(r+=' nonce="'.concat(s(n),'"')),r+="><\/script>",(0,o.createHtml)(r)},e.concatHtmls=function(t){return(0,o.createHtml)(t.map(o.unwrapHtml).join(""))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createInertFragment=void 0;var i=n(15),r=n(2);e.createInertFragment=function(t){var e=document.createElement("template"),n=(0,r.createHtml)(t);return(0,i.setInnerHtml)(e,n),e.content}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isElement=e.isText=e.getNodeName=void 0,e.getNodeName=function(t){var e=t.nodeName;return"string"==typeof e?e:"FORM"},e.isText=function(t){return t.nodeType===Node.TEXT_NODE},e.isElement=function(t){var e=t.nodeType;return e===Node.ELEMENT_NODE||"number"!=typeof e}},function(t,e,n){"use strict";var b=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},T=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a};Object.defineProperty(e,"__esModule",{value:!0}),e.HtmlSanitizerBuilder=void 0;var i=n(4),r=n(14),o=n(16),S=n(11),a=(s.prototype.onlyAllowElements=function(t){var e,n,i=new Set,r=new Map;try{for(var o=b(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s=s.toUpperCase(),!this.sanitizerTable.isAllowedElement(s))throw new Error("Element: ".concat(s,", is not allowed by html5_contract.textpb"));var c=this.sanitizerTable.elementPolicies.get(s);void 0!==c?r.set(s,c):i.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return this.sanitizerTable=new S.SanitizerTable(i,r,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this},s.prototype.onlyAllowAttributes=function(t){var e,n,i,r,o,a,s=new Set,c=new Map,u=new Map;try{for(var l=b(t),p=l.next();!p.done;p=l.next()){var d=p.value;this.sanitizerTable.allowedGlobalAttributes.has(d)&&s.add(d),this.sanitizerTable.globalAttributePolicies.has(d)&&c.set(d,this.sanitizerTable.globalAttributePolicies.get(d))}}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}try{for(var f=b(this.sanitizerTable.elementPolicies.entries()),h=f.next();!h.done;h=f.next()){var y=T(h.value,2),v=y[0],C=y[1],A=new Map;try{for(var E=(o=void 0,b(C.entries())),m=E.next();!m.done;m=E.next()){var g=T(m.value,2),_=(d=g[0],g[1]);t.has(d)&&A.set(d,_)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=E.return)&&a.call(E)}finally{if(o)throw o.error}}u.set(v,A)}}catch(t){i={error:t}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(i)throw i.error}}return this.sanitizerTable=new S.SanitizerTable(this.sanitizerTable.allowedElements,u,s,c),this},s.prototype.allowDataAttributes=function(t){var e,n,i=new Set(this.sanitizerTable.allowedGlobalAttributes);try{for(var r=b(t),o=r.next();!o.done;o=r.next()){var a=o.value;if(0!==a.indexOf("data-"))throw new Error("data attribute: ".concat(a,' does not begin with the prefix "data-"'));i.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return this.sanitizerTable=new S.SanitizerTable(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,i,this.sanitizerTable.globalAttributePolicies),this},s.prototype.allowStyleAttributes=function(){var t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("style",{policyAction:S.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new S.SanitizerTable(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this},s.prototype.allowClassAttributes=function(){var t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("class",{policyAction:S.AttributePolicyAction.KEEP}),this.sanitizerTable=new S.SanitizerTable(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this},s.prototype.allowIdAttributes=function(){var t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("id",{policyAction:S.AttributePolicyAction.KEEP}),this.sanitizerTable=new S.SanitizerTable(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this},s.prototype.build=function(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new r.HtmlSanitizerImpl(this.sanitizerTable,i.secretToken)},s);function s(){this.calledBuild=!1,this.sanitizerTable=o.defaultSanitizerTable}e.HtmlSanitizerBuilder=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.blobUrlFromScript=e.replaceFragment=e.appendParams=e.trustedResourceUrl=void 0,n(0);var s=n(1),i=n(5);n(6);e.trustedResourceUrl=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(0===e.length)return(0,s.createResourceUrl)(t[0]);t[0].toLowerCase();for(var i=[t[0]],r=0;r<e.length;r++)i.push(encodeURIComponent(e[r])),i.push(t[r+1]);return(0,s.createResourceUrl)(i.join(""))},e.appendParams=function(t,e){var o=(0,s.unwrapResourceUrl)(t).toString();if(/#/.test(o)){throw new Error("")}var a=/\?/.test(o)?"&":"?";return e.forEach(function(t,e){for(var n=t instanceof Array?t:[t],i=0;i<n.length;i++){var r=n[i];null!=r&&(o+=a+encodeURIComponent(e)+"="+encodeURIComponent(String(r)),a="&")}}),(0,s.createResourceUrl)(o)};var r=/[^#]*/;e.replaceFragment=function(t,e){var n=(0,s.unwrapResourceUrl)(t).toString();return(0,s.createResourceUrl)(r.exec(n)[0]+"#"+e)},e.blobUrlFromScript=function(t){var e=(0,i.unwrapScript)(t).toString(),n=new Blob([e],{type:"text/javascript"});return(0,s.createResourceUrl)(URL.createObjectURL(n))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.safeScriptWithArgs=e.scriptFromJson=e.concatScripts=e.safeScript=void 0,n(0);var r=n(5);n(6);function o(t){return(0,r.createScript)(JSON.stringify(t).replace(/</g,"\\x3c"))}e.safeScript=function(t){return(0,r.createScript)(t[0])},e.concatScripts=function(t){return(0,r.createScript)(t.map(r.unwrapScript).join(""))},e.scriptFromJson=o,e.safeScriptWithArgs=function(i){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.map(function(t){return o(t).toString()});return(0,r.createScript)("(".concat(i.join(""),")(").concat(n.join(","),")"))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.concatStyles=e.safeStyle=void 0,n(0);n(6);var i=n(10);e.safeStyle=function(t){var e=t[0];return(0,i.createStyle)(e)},e.concatStyles=function(t){return(0,i.createStyle)(t.map(i.unwrapStyle).join(""))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.concatStyleSheets=e.safeStyleSheet=void 0,n(0);n(6);var i=n(12);e.safeStyleSheet=function(t){var e=t[0];return(0,i.createStyleSheet)(e)},e.concatStyleSheets=function(t){return(0,i.createStyleSheet)(t.map(i.unwrapStyleSheet).join(""))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHref=void 0;var i=n(3);e.setHref=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&(t.href=n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHref=void 0;var i=n(3);e.setHref=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&(t.href=n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setFormaction=void 0;var i=n(3);e.setFormaction=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&(t.formAction=n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setSrc=void 0;var i=n(1);e.setSrc=function(t,e){t.src=(0,i.unwrapResourceUrl)(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setAction=void 0;var i=n(3);e.setAction=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&(t.action=n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setSrcdoc=e.setSrc=void 0;var i=n(2),r=n(1);e.setSrc=function(t,e){t.src=(0,r.unwrapResourceUrl)(e).toString()},e.setSrcdoc=function(t,e){t.srcdoc=(0,i.unwrapHtml)(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setFormaction=void 0;var i=n(3);e.setFormaction=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&(t.formAction=n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHrefAndRel=void 0;var r=n(3),o=n(1),a=["alternate","author","bookmark","canonical","cite","help","icon","license","next","prefetch","dns-prefetch","prerender","preconnect","preload","prev","search","subresource"];e.setHrefAndRel=function(t,e,n){if(e instanceof o.TrustedResourceUrl)t.href=(0,o.unwrapResourceUrl)(e).toString();else{if(-1===a.indexOf(n))throw new Error('TrustedResourceUrl href attribute required with rel="'.concat(n,'"'));var i=(0,r.unwrapUrlOrSanitize)(e);if(void 0===i)return;t.href=i}t.rel=n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setData=void 0;var i=n(1);e.setData=function(t,e){t.data=(0,i.unwrapResourceUrl)(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setSrc=e.setTextContent=void 0;var i=n(1),r=n(5);function o(t){var e=function(t){var e,n=t.document,i=null===(e=n.querySelector)||void 0===e?void 0:e.call(n,"script[nonce]");return i&&(i.nonce||i.getAttribute("nonce"))||""}(t.ownerDocument&&t.ownerDocument.defaultView||window);e&&t.setAttribute("nonce",e)}e.setTextContent=function(t,e){t.textContent=(0,r.unwrapScript)(e),o(t)},e.setSrc=function(t,e){t.src=(0,i.unwrapResourceUrl)(e),o(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setTextContent=void 0;var i=n(12);e.setTextContent=function(t,e){t.textContent=(0,i.unwrapStyleSheet)(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execCommandInsertHtml=e.execCommand=e.write=void 0;var o=n(2);e.write=function(t,e){t.write((0,o.unwrapHtml)(e))},e.execCommand=function(t,e,n){var i=String(e),r=n;return"inserthtml"===i.toLowerCase()&&(r=(0,o.unwrapHtml)(n)),t.execCommand(i,!1,r)},e.execCommandInsertHtml=function(t,e){return t.execCommand("insertHTML",!1,(0,o.unwrapHtml)(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseFromString=e.parseHtml=void 0;var i=n(2);function r(t,e,n){return t.parseFromString((0,i.unwrapHtml)(e),n)}e.parseHtml=function(t,e){return r(t,e,"text/html")},e.parseFromString=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.globalEval=void 0;var r=n(5);e.globalEval=function(t,e){var n=(0,r.unwrapScript)(e),i=t.eval(n);return i===n&&(i=t.eval(n.toString())),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assign=e.replace=e.setHref=void 0;var i=n(3);e.setHref=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&(t.href=n)},e.replace=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&t.replace(n)},e.assign=function(t,e){var n=(0,i.unwrapUrlOrSanitize)(e);void 0!==n&&t.assign(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createContextualFragment=void 0;var i=n(2);e.createContextualFragment=function(t,e){return t.createContextualFragment((0,i.unwrapHtml)(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.register=void 0;var i=n(1);e.register=function(t,e,n){return t.register((0,i.unwrapResourceUrl)(e),n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.open=void 0;var o=n(3);e.open=function(t,e,n,i){var r=(0,o.unwrapUrlOrSanitize)(e);return void 0!==r?t.open(r,n,i):null}},function(t,e,n){"use strict";var i=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},r=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||((i=i||Array.prototype.slice.call(e,0,r))[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.importScripts=e.createShared=e.create=void 0;var o=n(1);e.create=function(t,e){return new Worker((0,o.unwrapResourceUrl)(t),e)},e.createShared=function(t,e){return new SharedWorker((0,o.unwrapResourceUrl)(t),e)},e.importScripts=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.importScripts.apply(t,r([],i(e.map(function(t){return(0,o.unwrapResourceUrl)(t)})),!1))}},function(t,e,n){"use strict";function i(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.estimateScrollWidth=e.matches=e.closest=void 0,e.closest=function(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(i(n,e))return n;n=n.parentElement}return null},e.matches=i,e.estimateScrollWidth=function(t){var e=t;if(null!==e.offsetParent)return e.scrollWidth;var n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var i=n.scrollWidth;return document.documentElement.removeChild(n),i}},function(t,e,n){"use strict";var a;Object.defineProperty(e,"__esModule",{value:!0}),e.getNormalizedEventCoords=e.supportsCssVariables=void 0,e.supportsCssVariables=function(t,e){void 0===e&&(e=!1);var n,i=t.CSS;if("boolean"==typeof a&&!e)return a;if(!(i&&"function"==typeof i.supports))return!1;var r=i.supports("--css-vars","yes"),o=i.supports("(--css-vars: yes)")&&i.supports("color","#00000000");return n=r||o,e||(a=n),n},e.getNormalizedEventCoords=function(t,e,n){if(!t)return{x:0,y:0};var i,r,o=e.x,a=e.y,s=o+n.left,c=a+n.top;if("touchstart"===t.type){var u=t;i=u.changedTouches[0].pageX-s,r=u.changedTouches[0].pageY-c}else{var l=t;i=l.pageX-s,r=l.pageY-c}return{x:i,y:r}}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRippleFoundation=void 0;var s,c=n(7),u=n(54),l=n(50),p=["touchstart","pointerdown","mousedown","keydown"],d=["touchend","pointerup","mouseup","contextmenu"],f=[],h=(s=c.MDCFoundation,r(y,s),Object.defineProperty(y,"cssClasses",{get:function(){return u.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(y,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(y,"numbers",{get:function(){return u.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(y,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),y.prototype.init=function(){var t=this,e=this.supportsPressRipple();if(this.registerRootHandlers(e),e){var n=y.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(i),t.adapter.isUnbounded()&&(t.adapter.addClass(r),t.layoutInternal())})}},y.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(y.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(y.cssClasses.FG_DEACTIVATION));var e=y.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(n),t.adapter.removeClass(i),t.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},y.prototype.activate=function(t){this.activateImpl(t)},y.prototype.deactivate=function(){this.deactivateImpl()},y.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){t.layoutInternal(),t.layoutFrame=0})},y.prototype.setUnbounded=function(t){var e=y.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},y.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){t.adapter.addClass(y.cssClasses.BG_FOCUSED)})},y.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){t.adapter.removeClass(y.cssClasses.BG_FOCUSED)})},y.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},y.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},y.prototype.registerRootHandlers=function(t){var e,n;if(t){try{for(var i=a(p),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.registerInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},y.prototype.registerDeactivationHandlers=function(t){var e,n;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=a(d),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.registerDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},y.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=a(p),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterInteractionHandler(r,this.activateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},y.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=a(d),i=n.next();!i.done;i=n.next()){var r=i.value;this.adapter.deregisterDocumentInteractionHandler(r,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},y.prototype.removeCssVars=function(){var e=this,n=y.strings;Object.keys(n).forEach(function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)})},y.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var i=this.previousActivationEvent;i&&void 0!==t&&i.type!==t.type||(n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),void 0!==t&&0<f.length&&f.some(function(t){return e.adapter.containsEventTarget(t)})?this.resetActivationState():(void 0!==t&&(f.push(t.target),this.registerDeactivationHandlers(t)),n.wasElementMadeActive=this.checkElementMadeActive(t),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){f=[],n.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(n.wasElementMadeActive=e.checkElementMadeActive(t),n.wasElementMadeActive&&e.animateActivation()),n.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},y.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},y.prototype.animateActivation=function(){var t=this,e=y.strings,n=e.VAR_FG_TRANSLATE_START,i=e.VAR_FG_TRANSLATE_END,r=y.cssClasses,o=r.FG_DEACTIVATION,a=r.FG_ACTIVATION,s=y.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var c="",u="";if(!this.adapter.isUnbounded()){var l=this.getFgTranslationCoordinates(),p=l.startPoint,d=l.endPoint;c=p.x+"px, "+p.y+"px",u=d.x+"px, "+d.y+"px"}this.adapter.updateCssVariable(n,c),this.adapter.updateCssVariable(i,u),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(o),this.adapter.computeBoundingRect(),this.adapter.addClass(a),this.activationTimer=setTimeout(function(){t.activationTimerCallback()},s)},y.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?l.getNormalizedEventCoords(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},y.prototype.runDeactivationUXLogicIfReady=function(){var t=this,e=y.cssClasses.FG_DEACTIVATION,n=this.activationState,i=n.hasDeactivationUXRun,r=n.isActivated;!i&&r||!this.activationAnimationHasEnded||(this.rmBoundedActivationClasses(),this.adapter.addClass(e),this.fgDeactivationRemovalTimer=setTimeout(function(){t.adapter.removeClass(e)},u.numbers.FG_DEACTIVATION_MS))},y.prototype.rmBoundedActivationClasses=function(){var t=y.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},y.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return t.previousActivationEvent=void 0},y.numbers.TAP_DELAY_MS)},y.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var n=o({},e);e.isProgrammatic?(requestAnimationFrame(function(){t.animateDeactivation(n)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(n),t.resetActivationState()}))}},y.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady()},y.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var e=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?e:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+y.numbers.PADDING;var n=Math.floor(e*y.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&n%2!=0?this.initialSize=n-1:this.initialSize=n,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},y.prototype.updateLayoutCssVars=function(){var t=y.strings,e=t.VAR_FG_SIZE,n=t.VAR_LEFT,i=t.VAR_TOP,r=t.VAR_FG_SCALE;this.adapter.updateCssVariable(e,this.initialSize+"px"),this.adapter.updateCssVariable(r,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(n,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},y);function y(t){var e=s.call(this,o(o({},y.defaultAdapter),t))||this;return e.activationAnimationHasEnded=!1,e.activationTimer=0,e.fgDeactivationRemovalTimer=0,e.fgScale="0",e.frame={width:0,height:0},e.initialSize=0,e.layoutFrame=0,e.maxRadius=0,e.unboundedCoords={left:0,top:0},e.activationState=e.defaultActivationState(),e.activationTimerCallback=function(){e.activationAnimationHasEnded=!0,e.runDeactivationUXLogicIfReady()},e.activateHandler=function(t){e.activateImpl(t)},e.deactivateHandler=function(){e.deactivateImpl()},e.focusHandler=function(){e.handleFocus()},e.blurHandler=function(){e.handleBlur()},e.resizeHandler=function(){e.layout()},e}e.MDCRippleFoundation=h,e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyPassive=void 0,e.applyPassive=function(t){return void 0===t&&(t=window),!!function(t){void 0===t&&(t=window);var e=!1;try{var n={get passive(){return!(e=!0)}},i=function(){};t.document.addEventListener("test",i,n),t.document.removeEventListener("test",i,n)}catch(t){e=!1}return e}(t)&&{passive:!0}}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),a=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return a(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRipple=void 0;var c,u=n(13),l=n(52),p=n(49),d=n(51),f=s(n(50)),h=(c=u.MDCComponent,r(y,c),y.attachTo=function(t,e){void 0===e&&(e={isUnbounded:void 0});var n=new y(t);return void 0!==e.isUnbounded&&(n.unbounded=e.isUnbounded),n},y.createAdapter=function(n){return{addClass:function(t){n.root.classList.add(t)},browserSupportsCssVars:function(){return f.supportsCssVariables(window)},computeBoundingRect:function(){return n.root.getBoundingClientRect()},containsEventTarget:function(t){return n.root.contains(t)},deregisterDocumentInteractionHandler:function(t,e){document.documentElement.removeEventListener(t,e,l.applyPassive())},deregisterInteractionHandler:function(t,e){n.root.removeEventListener(t,e,l.applyPassive())},deregisterResizeHandler:function(t){window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return p.matches(n.root,":active")},isSurfaceDisabled:function(){return Boolean(n.disabled)},isUnbounded:function(){return Boolean(n.unbounded)},registerDocumentInteractionHandler:function(t,e){document.documentElement.addEventListener(t,e,l.applyPassive())},registerInteractionHandler:function(t,e){n.root.addEventListener(t,e,l.applyPassive())},registerResizeHandler:function(t){window.addEventListener("resize",t)},removeClass:function(t){n.root.classList.remove(t)},updateCssVariable:function(t,e){n.root.style.setProperty(t,e)}}},Object.defineProperty(y.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(t){this.isUnbounded=Boolean(t),this.setUnbounded()},enumerable:!1,configurable:!0}),y.prototype.activate=function(){this.foundation.activate()},y.prototype.deactivate=function(){this.foundation.deactivate()},y.prototype.layout=function(){this.foundation.layout()},y.prototype.getDefaultFoundation=function(){return new d.MDCRippleFoundation(y.createAdapter(this))},y.prototype.initialSyncWithDOM=function(){var t=this.root;this.isUnbounded="mdcRippleIsUnbounded"in t.dataset},y.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},y);function y(){var t=null!==c&&c.apply(this,arguments)||this;return t.disabled=!1,t}e.MDCRipple=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0,e.cssClasses={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},e.strings={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},e.numbers={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isNavigationEvent=i.normalizeKey=i.KEY=void 0,i.KEY={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"};var r=new Set;r.add(i.KEY.BACKSPACE),r.add(i.KEY.ENTER),r.add(i.KEY.SPACEBAR),r.add(i.KEY.PAGE_UP),r.add(i.KEY.PAGE_DOWN),r.add(i.KEY.END),r.add(i.KEY.HOME),r.add(i.KEY.ARROW_LEFT),r.add(i.KEY.ARROW_UP),r.add(i.KEY.ARROW_RIGHT),r.add(i.KEY.ARROW_DOWN),r.add(i.KEY.DELETE),r.add(i.KEY.ESCAPE),r.add(i.KEY.TAB);var n=8,o=13,a=32,s=33,c=34,u=35,l=36,p=37,d=38,f=39,h=40,y=46,v=27,C=9,A=new Map;A.set(n,i.KEY.BACKSPACE),A.set(o,i.KEY.ENTER),A.set(a,i.KEY.SPACEBAR),A.set(s,i.KEY.PAGE_UP),A.set(c,i.KEY.PAGE_DOWN),A.set(u,i.KEY.END),A.set(l,i.KEY.HOME),A.set(p,i.KEY.ARROW_LEFT),A.set(d,i.KEY.ARROW_UP),A.set(f,i.KEY.ARROW_RIGHT),A.set(h,i.KEY.ARROW_DOWN),A.set(y,i.KEY.DELETE),A.set(v,i.KEY.ESCAPE),A.set(C,i.KEY.TAB);var E=new Set;function m(t){var e=t.key;if(r.has(e))return e;var n=A.get(t.keyCode);return n||i.KEY.UNKNOWN}E.add(i.KEY.PAGE_UP),E.add(i.KEY.PAGE_DOWN),E.add(i.KEY.END),E.add(i.KEY.HOME),E.add(i.KEY.ARROW_LEFT),E.add(i.KEY.ARROW_UP),E.add(i.KEY.ARROW_RIGHT),E.add(i.KEY.ARROW_DOWN),i.normalizeKey=m,i.isNavigationEvent=function(t){return E.has(m(t))}},,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnimationFrame=void 0;var i=(r.prototype.request=function(e,n){var i=this;this.cancel(e);var t=requestAnimationFrame(function(t){i.rafIDs.delete(e),n(t)});this.rafIDs.set(e,t)},r.prototype.cancel=function(t){var e=this.rafIDs.get(t);e&&(cancelAnimationFrame(e),this.rafIDs.delete(t))},r.prototype.cancelAll=function(){var n=this;this.rafIDs.forEach(function(t,e){n.cancel(e)})},r.prototype.getQueue=function(){var n=[];return this.rafIDs.forEach(function(t,e){n.push(e)}),n},r);function r(){this.rafIDs=new Map}e.AnimationFrame=i},,function(t,e,n){"use strict";var i,r,o,a,s,c;Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipActionAttributes=e.MDCChipActionFocusBehavior=e.MDCChipActionEvents=e.MDCChipActionType=e.MDCChipActionInteractionTrigger=e.MDCChipActionCssClasses=void 0,(i=e.MDCChipActionCssClasses||(e.MDCChipActionCssClasses={})).PRIMARY_ACTION="mdc-evolution-chip__action--primary",i.TRAILING_ACTION="mdc-evolution-chip__action--trailing",i.CHIP_ROOT="mdc-evolution-chip",(r=e.MDCChipActionInteractionTrigger||(e.MDCChipActionInteractionTrigger={}))[r.UNSPECIFIED=0]="UNSPECIFIED",r[r.CLICK=1]="CLICK",r[r.BACKSPACE_KEY=2]="BACKSPACE_KEY",r[r.DELETE_KEY=3]="DELETE_KEY",r[r.SPACEBAR_KEY=4]="SPACEBAR_KEY",r[r.ENTER_KEY=5]="ENTER_KEY",(o=e.MDCChipActionType||(e.MDCChipActionType={}))[o.UNSPECIFIED=0]="UNSPECIFIED",o[o.PRIMARY=1]="PRIMARY",o[o.TRAILING=2]="TRAILING",(a=e.MDCChipActionEvents||(e.MDCChipActionEvents={})).INTERACTION="MDCChipAction:interaction",a.NAVIGATION="MDCChipAction:navigation",(s=e.MDCChipActionFocusBehavior||(e.MDCChipActionFocusBehavior={}))[s.FOCUSABLE=0]="FOCUSABLE",s[s.FOCUSABLE_AND_FOCUSED=1]="FOCUSABLE_AND_FOCUSED",s[s.NOT_FOCUSABLE=2]="NOT_FOCUSABLE",(c=e.MDCChipActionAttributes||(e.MDCChipActionAttributes={})).ARIA_DISABLED="aria-disabled",c.ARIA_HIDDEN="aria-hidden",c.ARIA_SELECTED="aria-selected",c.DATA_DELETABLE="data-mdc-deletable",c.DISABLED="disabled",c.ROLE="role",c.TAB_INDEX="tabindex"},,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var i,r,o,a;Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipAnimation=e.MDCChipAttributes=e.MDCChipEvents=e.MDCChipCssClasses=void 0,(i=e.MDCChipCssClasses||(e.MDCChipCssClasses={})).SELECTING="mdc-evolution-chip--selecting",i.DESELECTING="mdc-evolution-chip--deselecting",i.SELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--selecting-with-primary-icon",i.DESELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--deselecting-with-primary-icon",i.DISABLED="mdc-evolution-chip--disabled",i.ENTER="mdc-evolution-chip--enter",i.EXIT="mdc-evolution-chip--exit",i.SELECTED="mdc-evolution-chip--selected",i.HIDDEN="mdc-evolution-chip--hidden",i.WITH_PRIMARY_ICON="mdc-evolution-chip--with-primary-icon",(r=e.MDCChipEvents||(e.MDCChipEvents={})).INTERACTION="MDCChip:interaction",r.NAVIGATION="MDCChip:navigation",r.ANIMATION="MDCChip:animation",(o=e.MDCChipAttributes||(e.MDCChipAttributes={})).DATA_REMOVED_ANNOUNCEMENT="data-mdc-removed-announcement",o.DATA_ADDED_ANNOUNCEMENT="data-mdc-added-announcement",(a=e.MDCChipAnimation||(e.MDCChipAnimation={})).ENTER="mdc-evolution-chip-enter",a.EXIT="mdc-evolution-chip-exit"},function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.InteractionTrigger=void 0,(i=e.InteractionTrigger||(e.InteractionTrigger={}))[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.CLICK=1]="CLICK",i[i.BACKSPACE_KEY=2]="BACKSPACE_KEY",i[i.DELETE_KEY=3]="DELETE_KEY",i[i.SPACEBAR_KEY=4]="SPACEBAR_KEY",i[i.ENTER_KEY=5]="ENTER_KEY",e.strings={ARIA_HIDDEN:"aria-hidden",INTERACTION_EVENT:"MDCChipTrailingAction:interaction",NAVIGATION_EVENT:"MDCChipTrailingAction:navigation",TAB_INDEX:"tabindex"}},function(t,e,n){"use strict";var i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.jumpChipKeys=e.navigationKeys=e.cssClasses=e.strings=e.EventSource=e.Direction=void 0,(i=e.Direction||(e.Direction={})).LEFT="left",i.RIGHT="right",(r=e.EventSource||(e.EventSource={})).PRIMARY="primary",r.TRAILING="trailing",r.NONE="none",e.strings={ADDED_ANNOUNCEMENT_ATTRIBUTE:"data-mdc-chip-added-announcement",ARIA_CHECKED:"aria-checked",ARROW_DOWN_KEY:"ArrowDown",ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",ARROW_UP_KEY:"ArrowUp",BACKSPACE_KEY:"Backspace",CHECKMARK_SELECTOR:".mdc-chip__checkmark",DELETE_KEY:"Delete",END_KEY:"End",ENTER_KEY:"Enter",ENTRY_ANIMATION_NAME:"mdc-chip-entry",HOME_KEY:"Home",IE_ARROW_DOWN_KEY:"Down",IE_ARROW_LEFT_KEY:"Left",IE_ARROW_RIGHT_KEY:"Right",IE_ARROW_UP_KEY:"Up",IE_DELETE_KEY:"Del",INTERACTION_EVENT:"MDCChip:interaction",LEADING_ICON_SELECTOR:".mdc-chip__icon--leading",NAVIGATION_EVENT:"MDCChip:navigation",PRIMARY_ACTION_SELECTOR:".mdc-chip__primary-action",REMOVED_ANNOUNCEMENT_ATTRIBUTE:"data-mdc-chip-removed-announcement",REMOVAL_EVENT:"MDCChip:removal",SELECTION_EVENT:"MDCChip:selection",SPACEBAR_KEY:" ",TAB_INDEX:"tabindex",TRAILING_ACTION_SELECTOR:".mdc-chip-trailing-action",TRAILING_ICON_INTERACTION_EVENT:"MDCChip:trailingIconInteraction",TRAILING_ICON_SELECTOR:".mdc-chip__icon--trailing"},e.cssClasses={CHECKMARK:"mdc-chip__checkmark",CHIP_EXIT:"mdc-chip--exit",DELETABLE:"mdc-chip--deletable",EDITABLE:"mdc-chip--editable",EDITING:"mdc-chip--editing",HIDDEN_LEADING_ICON:"mdc-chip__icon--leading-hidden",LEADING_ICON:"mdc-chip__icon--leading",PRIMARY_ACTION:"mdc-chip__primary-action",PRIMARY_ACTION_FOCUSED:"mdc-chip--primary-action-focused",SELECTED:"mdc-chip--selected",TEXT:"mdc-chip__text",TRAILING_ACTION:"mdc-chip__trailing-action",TRAILING_ICON:"mdc-chip__icon--trailing"},e.navigationKeys=new Set,e.navigationKeys.add(e.strings.ARROW_LEFT_KEY),e.navigationKeys.add(e.strings.ARROW_RIGHT_KEY),e.navigationKeys.add(e.strings.ARROW_DOWN_KEY),e.navigationKeys.add(e.strings.ARROW_UP_KEY),e.navigationKeys.add(e.strings.END_KEY),e.navigationKeys.add(e.strings.HOME_KEY),e.navigationKeys.add(e.strings.IE_ARROW_LEFT_KEY),e.navigationKeys.add(e.strings.IE_ARROW_RIGHT_KEY),e.navigationKeys.add(e.strings.IE_ARROW_DOWN_KEY),e.navigationKeys.add(e.strings.IE_ARROW_UP_KEY),e.jumpChipKeys=new Set,e.jumpChipKeys.add(e.strings.ARROW_UP_KEY),e.jumpChipKeys.add(e.strings.ARROW_DOWN_KEY),e.jumpChipKeys.add(e.strings.HOME_KEY),e.jumpChipKeys.add(e.strings.END_KEY),e.jumpChipKeys.add(e.strings.IE_ARROW_UP_KEY),e.jumpChipKeys.add(e.strings.IE_ARROW_DOWN_KEY)},,,,,,,,,,function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipActionFoundation=void 0;var a=n(7),s=n(55),c=n(65),u=new Map;u.set(s.KEY.SPACEBAR,c.MDCChipActionInteractionTrigger.SPACEBAR_KEY),u.set(s.KEY.ENTER,c.MDCChipActionInteractionTrigger.ENTER_KEY),u.set(s.KEY.DELETE,c.MDCChipActionInteractionTrigger.DELETE_KEY),u.set(s.KEY.BACKSPACE,c.MDCChipActionInteractionTrigger.BACKSPACE_KEY);var l,p=(l=a.MDCFoundation,r(d,l),Object.defineProperty(d,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),d.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(c.MDCChipActionInteractionTrigger.CLICK)},d.prototype.handleKeydown=function(t){var e=s.normalizeKey(t);return this.shouldNotifyInteractionFromKey(e)?(t.preventDefault(),void this.emitInteraction(this.getTriggerFromKey(e))):!s.isNavigationEvent(t)||(t.preventDefault(),void this.emitNavigation(e))},d.prototype.setDisabled=function(t){this.isSelectable()?this.adapter.setAttribute(c.MDCChipActionAttributes.ARIA_DISABLED,""+t):t?this.adapter.setAttribute(c.MDCChipActionAttributes.DISABLED,"true"):this.adapter.removeAttribute(c.MDCChipActionAttributes.DISABLED)},d.prototype.isDisabled=function(){return"true"===this.adapter.getAttribute(c.MDCChipActionAttributes.ARIA_DISABLED)||null!==this.adapter.getAttribute(c.MDCChipActionAttributes.DISABLED)},d.prototype.setFocus=function(t){if(this.isFocusable())return t===c.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED?(this.adapter.setAttribute(c.MDCChipActionAttributes.TAB_INDEX,"0"),void this.adapter.focus()):void(t!==c.MDCChipActionFocusBehavior.FOCUSABLE?t!==c.MDCChipActionFocusBehavior.NOT_FOCUSABLE||this.adapter.setAttribute(c.MDCChipActionAttributes.TAB_INDEX,"-1"):this.adapter.setAttribute(c.MDCChipActionAttributes.TAB_INDEX,"0"))},d.prototype.isFocusable=function(){return!this.isDisabled()&&"true"!==this.adapter.getAttribute(c.MDCChipActionAttributes.ARIA_HIDDEN)},d.prototype.setSelected=function(t){this.isSelectable()&&this.adapter.setAttribute(c.MDCChipActionAttributes.ARIA_SELECTED,""+t)},d.prototype.isSelected=function(){return"true"===this.adapter.getAttribute(c.MDCChipActionAttributes.ARIA_SELECTED)},d.prototype.emitInteraction=function(t){this.adapter.emitEvent(c.MDCChipActionEvents.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:t})},d.prototype.emitNavigation=function(t){this.adapter.emitEvent(c.MDCChipActionEvents.NAVIGATION,{source:this.actionType(),key:t})},d.prototype.shouldNotifyInteractionFromKey=function(t){var e=t===s.KEY.ENTER||t===s.KEY.SPACEBAR,n=t===s.KEY.BACKSPACE||t===s.KEY.DELETE;return e||!(!n||!this.shouldEmitInteractionOnRemoveKey())},d.prototype.getTriggerFromKey=function(t){var e=u.get(t);return e||c.MDCChipActionInteractionTrigger.UNSPECIFIED},d);function d(t){return l.call(this,o(o({},d.defaultAdapter),t))||this}e.MDCChipActionFoundation=p,e.default=p},function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSetEvents=e.MDCChipSetCssClasses=e.MDCChipSetAttributes=void 0,(e.MDCChipSetAttributes||(e.MDCChipSetAttributes={})).ARIA_MULTISELECTABLE="aria-multiselectable",(e.MDCChipSetCssClasses||(e.MDCChipSetCssClasses={})).CHIP="mdc-evolution-chip",(i=e.MDCChipSetEvents||(e.MDCChipSetEvents={})).INTERACTION="MDCChipSet:interaction",i.REMOVAL="MDCChipSet:removal",i.SELECTION="MDCChipSet:selection"},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipFoundation=void 0;var a,s,c=n(7),u=n(91),l={bottom:0,height:0,left:0,right:0,top:0,width:0};(s=a=a||{})[s.SHOULD_FOCUS=0]="SHOULD_FOCUS",s[s.SHOULD_NOT_FOCUS=1]="SHOULD_NOT_FOCUS";var p,d=(p=c.MDCFoundation,r(f,p),Object.defineProperty(f,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(f,"cssClasses",{get:function(){return u.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(f,"defaultAdapter",{get:function(){return{addClass:function(){},addClassToLeadingIcon:function(){},eventTargetHasClass:function(){return!1},focusPrimaryAction:function(){},focusTrailingAction:function(){},getAttribute:function(){return null},getCheckmarkBoundingClientRect:function(){return l},getComputedStyleValue:function(){return""},getRootBoundingClientRect:function(){return l},hasClass:function(){return!1},hasLeadingIcon:function(){return!1},isRTL:function(){return!1},isTrailingActionNavigable:function(){return!1},notifyEditFinish:function(){},notifyEditStart:function(){},notifyInteraction:function(){},notifyNavigation:function(){},notifyRemoval:function(){},notifySelection:function(){},notifyTrailingIconInteraction:function(){},removeClass:function(){},removeClassFromLeadingIcon:function(){},removeTrailingActionFocus:function(){},setPrimaryActionAttr:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),f.prototype.isSelected=function(){return this.adapter.hasClass(u.cssClasses.SELECTED)},f.prototype.isEditable=function(){return this.adapter.hasClass(u.cssClasses.EDITABLE)},f.prototype.isEditing=function(){return this.adapter.hasClass(u.cssClasses.EDITING)},f.prototype.setSelected=function(t){this.setSelectedImpl(t),this.notifySelection(t)},f.prototype.setSelectedFromChipSet=function(t,e){this.setSelectedImpl(t),e&&this.notifyIgnoredSelection(t)},f.prototype.getShouldRemoveOnTrailingIconClick=function(){return this.shouldRemoveOnTrailingIconClick},f.prototype.setShouldRemoveOnTrailingIconClick=function(t){this.shouldRemoveOnTrailingIconClick=t},f.prototype.setShouldFocusPrimaryActionOnClick=function(t){this.shouldFocusPrimaryActionOnClick=t},f.prototype.getDimensions=function(){function t(){return e.adapter.getRootBoundingClientRect()}var e=this;if(!this.adapter.hasLeadingIcon()){var n=e.adapter.getCheckmarkBoundingClientRect();if(n){var i=t();return{bottom:i.bottom,height:i.height,left:i.left,right:i.right,top:i.top,width:i.width+n.height}}}return t()},f.prototype.beginExit=function(){this.adapter.addClass(u.cssClasses.CHIP_EXIT)},f.prototype.handleClick=function(){this.adapter.notifyInteraction(),this.setPrimaryActionFocusable(this.getFocusBehavior())},f.prototype.handleDoubleClick=function(){this.isEditable()&&this.startEditing()},f.prototype.handleTransitionEnd=function(t){var e=this,n=this.adapter.eventTargetHasClass(t.target,u.cssClasses.CHIP_EXIT),i="width"===t.propertyName,r="opacity"===t.propertyName;if(n&&r){var o=this.adapter.getComputedStyleValue("width");requestAnimationFrame(function(){e.adapter.setStyleProperty("width",o),e.adapter.setStyleProperty("padding","0"),e.adapter.setStyleProperty("margin","0"),requestAnimationFrame(function(){e.adapter.setStyleProperty("width","0")})})}else{if(n&&i){this.removeFocus();var a=this.adapter.getAttribute(u.strings.REMOVED_ANNOUNCEMENT_ATTRIBUTE);this.adapter.notifyRemoval(a)}if(r){var s=this.adapter.eventTargetHasClass(t.target,u.cssClasses.LEADING_ICON)&&this.adapter.hasClass(u.cssClasses.SELECTED),c=this.adapter.eventTargetHasClass(t.target,u.cssClasses.CHECKMARK)&&!this.adapter.hasClass(u.cssClasses.SELECTED);s?this.adapter.addClassToLeadingIcon(u.cssClasses.HIDDEN_LEADING_ICON):c&&this.adapter.removeClassFromLeadingIcon(u.cssClasses.HIDDEN_LEADING_ICON)}}},f.prototype.handleFocusIn=function(t){this.eventFromPrimaryAction(t)&&this.adapter.addClass(u.cssClasses.PRIMARY_ACTION_FOCUSED)},f.prototype.handleFocusOut=function(t){this.eventFromPrimaryAction(t)&&(this.isEditing()&&this.finishEditing(),this.adapter.removeClass(u.cssClasses.PRIMARY_ACTION_FOCUSED))},f.prototype.handleTrailingActionInteraction=function(){this.adapter.notifyTrailingIconInteraction(),this.removeChip()},f.prototype.handleKeydown=function(t){if(!this.isEditing())return this.isEditable()&&this.shouldStartEditing(t)&&(t.preventDefault(),this.startEditing()),this.shouldNotifyInteraction(t)?(this.adapter.notifyInteraction(),void this.setPrimaryActionFocusable(this.getFocusBehavior())):this.isDeleteAction(t)?(t.preventDefault(),void this.removeChip()):void(u.navigationKeys.has(t.key)&&(t.preventDefault(),this.focusNextAction(t.key,u.EventSource.PRIMARY)));this.shouldFinishEditing(t)&&(t.preventDefault(),this.finishEditing())},f.prototype.handleTrailingActionNavigation=function(t){this.focusNextAction(t.detail.key,u.EventSource.TRAILING)},f.prototype.removeFocus=function(){this.adapter.setPrimaryActionAttr(u.strings.TAB_INDEX,"-1"),this.adapter.removeTrailingActionFocus()},f.prototype.focusPrimaryAction=function(){this.setPrimaryActionFocusable(a.SHOULD_FOCUS)},f.prototype.focusTrailingAction=function(){if(this.adapter.isTrailingActionNavigable())return this.adapter.setPrimaryActionAttr(u.strings.TAB_INDEX,"-1"),void this.adapter.focusTrailingAction();this.focusPrimaryAction()},f.prototype.setPrimaryActionFocusable=function(t){this.adapter.setPrimaryActionAttr(u.strings.TAB_INDEX,"0"),t===a.SHOULD_FOCUS&&this.adapter.focusPrimaryAction(),this.adapter.removeTrailingActionFocus()},f.prototype.getFocusBehavior=function(){return this.shouldFocusPrimaryActionOnClick?a.SHOULD_FOCUS:a.SHOULD_NOT_FOCUS},f.prototype.focusNextAction=function(t,e){var n=this.adapter.isTrailingActionNavigable(),i=this.getDirection(t);!u.jumpChipKeys.has(t)&&n?e!==u.EventSource.PRIMARY||i!==u.Direction.RIGHT?e!==u.EventSource.TRAILING||i!==u.Direction.LEFT?this.adapter.notifyNavigation(t,u.EventSource.NONE):this.focusPrimaryAction():this.focusTrailingAction():this.adapter.notifyNavigation(t,e)},f.prototype.getDirection=function(t){var e=this.adapter.isRTL(),n=t===u.strings.ARROW_LEFT_KEY||t===u.strings.IE_ARROW_LEFT_KEY,i=t===u.strings.ARROW_RIGHT_KEY||t===u.strings.IE_ARROW_RIGHT_KEY;return!e&&n||e&&i?u.Direction.LEFT:u.Direction.RIGHT},f.prototype.removeChip=function(){this.shouldRemoveOnTrailingIconClick&&this.beginExit()},f.prototype.shouldStartEditing=function(t){return this.eventFromPrimaryAction(t)&&t.key===u.strings.ENTER_KEY},f.prototype.shouldFinishEditing=function(t){return t.key===u.strings.ENTER_KEY},f.prototype.shouldNotifyInteraction=function(t){return t.key===u.strings.ENTER_KEY||t.key===u.strings.SPACEBAR_KEY},f.prototype.isDeleteAction=function(t){return this.adapter.hasClass(u.cssClasses.DELETABLE)&&(t.key===u.strings.BACKSPACE_KEY||t.key===u.strings.DELETE_KEY||t.key===u.strings.IE_DELETE_KEY)},f.prototype.setSelectedImpl=function(t){t?(this.adapter.addClass(u.cssClasses.SELECTED),this.adapter.setPrimaryActionAttr(u.strings.ARIA_CHECKED,"true")):(this.adapter.removeClass(u.cssClasses.SELECTED),this.adapter.setPrimaryActionAttr(u.strings.ARIA_CHECKED,"false"))},f.prototype.notifySelection=function(t){this.adapter.notifySelection(t,!1)},f.prototype.notifyIgnoredSelection=function(t){this.adapter.notifySelection(t,!0)},f.prototype.eventFromPrimaryAction=function(t){return this.adapter.eventTargetHasClass(t.target,u.cssClasses.PRIMARY_ACTION)},f.prototype.startEditing=function(){this.adapter.addClass(u.cssClasses.EDITING),this.adapter.notifyEditStart()},f.prototype.finishEditing=function(){this.adapter.removeClass(u.cssClasses.EDITING),this.adapter.notifyEditFinish()},f);function f(t){var e=p.call(this,o(o({},f.defaultAdapter),t))||this;return e.shouldRemoveOnTrailingIconClick=!0,e.shouldFocusPrimaryActionOnClick=!0,e}e.MDCChipFoundation=d,e.default=d},,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var i,r=this&&this.__makeTemplateObject||function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},o=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipAction=void 0;var s,c,u,l,p,d,f=n(13),h=n(49),y=n(53),v=n(51),C=n(17),A=n(18),E=n(196),m=n(65),g=n(125),_=n(126),b=[C.safeAttrPrefix(c=c||r(["aria-"],["aria-"])),C.safeAttrPrefix(u=u||r(["data-"],["data-"])),C.safeAttrPrefix(l=l||r(["disabled"],["disabled"])),C.safeAttrPrefix(p=p||r(["role"],["role"])),C.safeAttrPrefix(d=d||r(["tabindex"],["tabindex"]))],T=(s=f.MDCComponent,o(S,s),S.attachTo=function(t){return new S(t)},Object.defineProperty(S.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),S.prototype.initialize=function(t){var e=this;void 0===t&&(t=function(t,e){return new y.MDCRipple(t,e)});var n=a(a({},y.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return e.computeRippleClientRect()}});this.rippleInstance=t(this.root,new v.MDCRippleFoundation(n))},S.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},S.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),s.prototype.destroy.call(this)},S.prototype.getDefaultFoundation=function(){var n=this,t={emitEvent:function(t,e){n.emit(t,e,!0)},focus:function(){n.rootHTML.focus()},getAttribute:function(t){return n.root.getAttribute(t)},getElementID:function(){return n.root.id},removeAttribute:function(t){n.root.removeAttribute(t)},setAttribute:function(t,e){A.safeElement.setPrefixedAttribute(b,n.root,t,e)}};return this.root.classList.contains(m.MDCChipActionCssClasses.TRAILING_ACTION)?new _.MDCChipTrailingActionFoundation(t):new g.MDCChipPrimaryActionFoundation(t)},S.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},S.prototype.isDisabled=function(){return this.foundation.isDisabled()},S.prototype.setFocus=function(t){this.foundation.setFocus(t)},S.prototype.isFocusable=function(){return this.foundation.isFocusable()},S.prototype.setSelected=function(t){this.foundation.setSelected(t)},S.prototype.isSelected=function(){return this.foundation.isSelected()},S.prototype.isSelectable=function(){return this.foundation.isSelectable()},S.prototype.actionType=function(){return this.foundation.actionType()},S.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(m.MDCChipActionCssClasses.PRIMARY_ACTION)){var t=h.closest(this.root,"."+m.MDCChipActionCssClasses.CHIP_ROOT);if(!t)return this.root.getBoundingClientRect();var e=window.getComputedStyle(t).getPropertyValue(E.GRAPHIC_SELECTED_WIDTH_STYLE_PROP);return E.computePrimaryActionRippleClientRect(t.getBoundingClientRect(),e)}return this.root.getBoundingClientRect()},S);function S(){var t=null!==s&&s.apply(this,arguments)||this;return t.rootHTML=t.root,t}e.MDCChipAction=T},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipPrimaryActionFoundation=void 0;var o,a=n(65),s=n(101),c=(o=s.MDCChipActionFoundation,r(u,o),u.prototype.isSelectable=function(){return"option"===this.adapter.getAttribute(a.MDCChipActionAttributes.ROLE)},u.prototype.actionType=function(){return a.MDCChipActionType.PRIMARY},u.prototype.shouldEmitInteractionOnRemoveKey=function(){return"true"===this.adapter.getAttribute(a.MDCChipActionAttributes.DATA_DELETABLE)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipPrimaryActionFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipTrailingActionFoundation=void 0;var o,a=n(65),s=n(101),c=(o=s.MDCChipActionFoundation,r(u,o),u.prototype.isSelectable=function(){return!1},u.prototype.actionType=function(){return a.MDCChipActionType.TRAILING},u.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipTrailingActionFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChip=void 0;var o,a=n(13),u=n(124),l=n(65),p=n(128),d=(o=a.MDCComponent,r(f,o),f.attachTo=function(t){return new f(t)},f.prototype.initialize=function(t){void 0===t&&(t=function(t){return new u.MDCChipAction(t)}),this.actions=new Map;for(var e=this.root.querySelectorAll(".mdc-evolution-chip__action"),n=0;n<e.length;n++){var i=t(e[n]);this.actions.set(i.actionType(),i)}},f.prototype.initialSyncWithDOM=function(){var e=this;this.handleActionInteraction=function(t){e.foundation.handleActionInteraction(t)},this.handleActionNavigation=function(t){e.foundation.handleActionNavigation(t)},this.listen(l.MDCChipActionEvents.INTERACTION,this.handleActionInteraction),this.listen(l.MDCChipActionEvents.NAVIGATION,this.handleActionNavigation)},f.prototype.destroy=function(){this.unlisten(l.MDCChipActionEvents.INTERACTION,this.handleActionInteraction),this.unlisten(l.MDCChipActionEvents.NAVIGATION,this.handleActionNavigation),o.prototype.destroy.call(this)},f.prototype.getDefaultFoundation=function(){var a=this,t={addClass:function(t){a.root.classList.add(t)},emitEvent:function(t,e){a.emit(t,e,!0)},getActions:function(){var e,t,n=[];try{for(var i=s(a.actions),r=i.next();!r.done;r=i.next()){var o=c(r.value,1)[0];n.push(o)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return n},getAttribute:function(t){return a.root.getAttribute(t)},getElementID:function(){return a.root.id},getOffsetWidth:function(){return a.root.offsetWidth},hasClass:function(t){return a.root.classList.contains(t)},isActionSelectable:function(t){var e=a.actions.get(t);return!!e&&e.isSelectable()},isActionSelected:function(t){var e=a.actions.get(t);return!!e&&e.isSelected()},isActionFocusable:function(t){var e=a.actions.get(t);return!!e&&e.isFocusable()},isActionDisabled:function(t){var e=a.actions.get(t);return!!e&&e.isDisabled()},isRTL:function(){return"rtl"===window.getComputedStyle(a.root).getPropertyValue("direction")},removeClass:function(t){a.root.classList.remove(t)},setActionDisabled:function(t,e){var n=a.actions.get(t);n&&n.setDisabled(e)},setActionFocus:function(t,e){var n=a.actions.get(t);n&&n.setFocus(e)},setActionSelected:function(t,e){var n=a.actions.get(t);n&&n.setSelected(e)},setStyleProperty:function(t,e){a.root.style.setProperty(t,e)}};return new p.MDCChipFoundation(t)},f.prototype.remove=function(){var t=this.root.parentNode;null!==t&&t.removeChild(this.root)},f.prototype.getActions=function(){return this.foundation.getActions()},f.prototype.getElementID=function(){return this.foundation.getElementID()},f.prototype.isDisabled=function(){return this.foundation.isDisabled()},f.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},f.prototype.isActionFocusable=function(t){return this.foundation.isActionFocusable(t)},f.prototype.isActionSelectable=function(t){return this.foundation.isActionSelectable(t)},f.prototype.isActionSelected=function(t){return this.foundation.isActionSelected(t)},f.prototype.setActionFocus=function(t,e){this.foundation.setActionFocus(t,e)},f.prototype.setActionSelected=function(t,e){this.foundation.setActionSelected(t,e)},f.prototype.startAnimation=function(t){this.foundation.startAnimation(t)},f);function f(){return null!==o&&o.apply(this,arguments)||this}e.MDCChip=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipFoundation=void 0;var l,a,c,u,p=n(63),d=n(7),f=n(55),h=n(65),y=n(89);(a=l=l||{})[a.UNSPECIFIED=0]="UNSPECIFIED",a[a.LEFT=1]="LEFT",a[a.RIGHT=2]="RIGHT",(u=c=c||{}).SELECTION="selection",u.EXIT="exit";var v,C=(v=d.MDCFoundation,r(A,v),Object.defineProperty(A,"defaultAdapter",{get:function(){return{addClass:function(){},emitEvent:function(){},getActions:function(){return[]},getAttribute:function(){return null},getElementID:function(){return""},getOffsetWidth:function(){return 0},hasClass:function(){return!1},isActionDisabled:function(){return!1},isActionFocusable:function(){return!1},isActionSelectable:function(){return!1},isActionSelected:function(){return!1},isRTL:function(){return!1},removeClass:function(){},setActionDisabled:function(){},setActionFocus:function(){},setActionSelected:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),A.prototype.destroy=function(){this.animFrame.cancelAll()},A.prototype.getElementID=function(){return this.adapter.getElementID()},A.prototype.setDisabled=function(t){var e,n,i=this.getActions();try{for(var r=s(i),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.setActionDisabled(a,t)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}t?this.adapter.addClass(y.MDCChipCssClasses.DISABLED):this.adapter.removeClass(y.MDCChipCssClasses.DISABLED)},A.prototype.isDisabled=function(){var e,t,n=this.getActions();try{for(var i=s(n),r=i.next();!r.done;r=i.next()){var o=r.value;if(this.adapter.isActionDisabled(o))return!0}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return!1},A.prototype.getActions=function(){return this.adapter.getActions()},A.prototype.isActionFocusable=function(t){return this.adapter.isActionFocusable(t)},A.prototype.isActionSelectable=function(t){return this.adapter.isActionSelectable(t)},A.prototype.isActionSelected=function(t){return this.adapter.isActionSelected(t)},A.prototype.setActionFocus=function(t,e){this.adapter.setActionFocus(t,e)},A.prototype.setActionSelected=function(t,e){this.adapter.setActionSelected(t,e),this.animateSelection(e)},A.prototype.startAnimation=function(t){t!==y.MDCChipAnimation.ENTER?t!==y.MDCChipAnimation.EXIT||this.adapter.addClass(y.MDCChipCssClasses.EXIT):this.adapter.addClass(y.MDCChipCssClasses.ENTER)},A.prototype.handleAnimationEnd=function(t){var e=this,n=t.animationName;if(n===y.MDCChipAnimation.ENTER)return this.adapter.removeClass(y.MDCChipCssClasses.ENTER),void this.adapter.emitEvent(y.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:y.MDCChipAnimation.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});if(n===y.MDCChipAnimation.EXIT){this.adapter.removeClass(y.MDCChipCssClasses.EXIT),this.adapter.addClass(y.MDCChipCssClasses.HIDDEN);var i=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",i+"px"),this.animFrame.request(c.EXIT,function(){e.animFrame.request(c.EXIT,function(){e.adapter.setStyleProperty("width","0")})})}},A.prototype.handleTransitionEnd=function(){this.adapter.hasClass(y.MDCChipCssClasses.HIDDEN)&&this.adapter.emitEvent(y.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:y.MDCChipAnimation.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},A.prototype.handleActionInteraction=function(t){var e=t.detail,n=e.source,i=e.actionID,r=this.adapter.isActionSelectable(n),o=this.adapter.isActionSelected(n);this.adapter.emitEvent(y.MDCChipEvents.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(e),actionID:i,isSelectable:r,isSelected:o,source:n})},A.prototype.handleActionNavigation=function(t){var e=t.detail,n=e.source,i=e.key,r=this.adapter.isRTL(),o=this.adapter.isActionFocusable(h.MDCChipActionType.TRAILING),a=this.adapter.isActionFocusable(h.MDCChipActionType.PRIMARY),s=this.directionFromKey(i,r),c=n===h.MDCChipActionType.PRIMARY&&s===l.RIGHT&&o,u=n===h.MDCChipActionType.TRAILING&&s===l.LEFT&&a;c?this.navigateActions({from:n,to:h.MDCChipActionType.TRAILING}):u?this.navigateActions({from:n,to:h.MDCChipActionType.PRIMARY}):this.adapter.emitEvent(y.MDCChipEvents.NAVIGATION,{chipID:this.getElementID(),isRTL:r,source:n,key:i})},A.prototype.directionFromKey=function(t,e){var n=t===f.KEY.ARROW_LEFT,i=t===f.KEY.ARROW_RIGHT;return!e&&n||e&&i?l.LEFT:!e&&i||e&&n?l.RIGHT:l.UNSPECIFIED},A.prototype.navigateActions=function(t){this.adapter.setActionFocus(t.from,h.MDCChipActionFocusBehavior.NOT_FOCUSABLE),this.adapter.setActionFocus(t.to,h.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED)},A.prototype.shouldRemove=function(t){var e=t.source,n=t.trigger;return n===h.MDCChipActionInteractionTrigger.BACKSPACE_KEY||n===h.MDCChipActionInteractionTrigger.DELETE_KEY||e===h.MDCChipActionType.TRAILING},A.prototype.getRemovedAnnouncement=function(){return this.adapter.getAttribute(y.MDCChipAttributes.DATA_REMOVED_ANNOUNCEMENT)||void 0},A.prototype.getAddedAnnouncement=function(){return this.adapter.getAttribute(y.MDCChipAttributes.DATA_ADDED_ANNOUNCEMENT)||void 0},A.prototype.animateSelection=function(t){var e=this;this.resetAnimationStyles(),this.animFrame.request(c.SELECTION,function(){e.animFrame.request(c.SELECTION,function(){e.updateSelectionStyles(t)})})},A.prototype.resetAnimationStyles=function(){this.adapter.removeClass(y.MDCChipCssClasses.SELECTING),this.adapter.removeClass(y.MDCChipCssClasses.DESELECTING),this.adapter.removeClass(y.MDCChipCssClasses.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(y.MDCChipCssClasses.DESELECTING_WITH_PRIMARY_ICON)},A.prototype.updateSelectionStyles=function(t){var e=this,n=this.adapter.hasClass(y.MDCChipCssClasses.WITH_PRIMARY_ICON);return n&&t?(this.adapter.addClass(y.MDCChipCssClasses.SELECTING_WITH_PRIMARY_ICON),void this.animFrame.request(c.SELECTION,function(){e.adapter.addClass(y.MDCChipCssClasses.SELECTED)})):n&&!t?(this.adapter.addClass(y.MDCChipCssClasses.DESELECTING_WITH_PRIMARY_ICON),void this.animFrame.request(c.SELECTION,function(){e.adapter.removeClass(y.MDCChipCssClasses.SELECTED)})):t?(this.adapter.addClass(y.MDCChipCssClasses.SELECTING),void this.animFrame.request(c.SELECTION,function(){e.adapter.addClass(y.MDCChipCssClasses.SELECTED)})):t?void 0:(this.adapter.addClass(y.MDCChipCssClasses.DESELECTING),void this.animFrame.request(c.SELECTION,function(){e.adapter.removeClass(y.MDCChipCssClasses.SELECTED)}))},A);function A(t){var e=v.call(this,o(o({},A.defaultAdapter),t))||this;return e.animFrame=new p.AnimationFrame,e}e.MDCChipFoundation=C,e.default=C},function(t,i,e){"use strict";var c,n;Object.defineProperty(i,"__esModule",{value:!0}),i.announce=i.DATA_MDC_DOM_ANNOUNCE=i.AnnouncerPriority=void 0,(n=c=i.AnnouncerPriority||(i.AnnouncerPriority={})).POLITE="polite",n.ASSERTIVE="assertive",i.DATA_MDC_DOM_ANNOUNCE="data-mdc-dom-announce",i.announce=function(t,e){r.getInstance().say(t,e)};var r=(o.getInstance=function(){return o.instance||(o.instance=new o),o.instance},o.prototype.say=function(t,e){var n,i,r=null!==(n=null==e?void 0:e.priority)&&void 0!==n?n:c.POLITE,o=null!==(i=null==e?void 0:e.ownerDocument)&&void 0!==i?i:document,a=this.getLiveRegion(r,o);function s(){a.textContent="",o.removeEventListener("click",s)}a.textContent="",setTimeout(function(){a.textContent=t,o.addEventListener("click",s)},1)},o.prototype.getLiveRegion=function(t,e){var n=this.liveRegions.get(e);n||(n=new Map,this.liveRegions.set(e,n));var i=n.get(t);if(i&&e.body.contains(i))return i;var r=this.createLiveRegion(t,e);return n.set(t,r),r},o.prototype.createLiveRegion=function(t,e){var n=e.createElement("div");return n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",n.style.height="1px",n.style.overflow="hidden",n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live",t),n.setAttribute(i.DATA_MDC_DOM_ANNOUNCE,"true"),e.body.appendChild(n),n},o);function o(){this.liveRegions=new Map}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},p=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSetFoundation=void 0;var a,s,c=n(7),u=n(55),d=n(65),l=n(89),f=n(102);(s=a=a||{})[s.INCREMENT=0]="INCREMENT",s[s.DECREMENT=1]="DECREMENT";var h,y=(h=c.MDCFoundation,r(v,h),Object.defineProperty(v,"defaultAdapter",{get:function(){return{announceMessage:function(){},emitEvent:function(){},getAttribute:function(){return null},getChipActionsAtIndex:function(){return[]},getChipCount:function(){return 0},getChipIdAtIndex:function(){return""},getChipIndexById:function(){return 0},isChipFocusableAtIndex:function(){return!1},isChipSelectableAtIndex:function(){return!1},isChipSelectedAtIndex:function(){return!1},removeChipAtIndex:function(){},setChipFocusAtIndex:function(){},setChipSelectedAtIndex:function(){},startChipAnimationAtIndex:function(){}}},enumerable:!1,configurable:!0}),v.prototype.handleChipAnimation=function(t){var e=t.detail,n=e.chipID,i=e.animation,r=e.isComplete,o=e.addedAnnouncement,a=e.removedAnnouncement,s=this.adapter.getChipIndexById(n);if(i===l.MDCChipAnimation.EXIT&&r)return a&&this.adapter.announceMessage(a),void this.removeAfterAnimation(s,n);i===l.MDCChipAnimation.ENTER&&r&&o&&this.adapter.announceMessage(o)},v.prototype.handleChipInteraction=function(t){var e=t.detail,n=e.source,i=e.chipID,r=e.isSelectable,o=e.isSelected,a=e.shouldRemove,s=this.adapter.getChipIndexById(i);a?this.removeChip(s):(this.focusChip(s,n,d.MDCChipActionFocusBehavior.FOCUSABLE),this.adapter.emitEvent(f.MDCChipSetEvents.INTERACTION,{chipIndex:s,chipID:i}),r&&this.setSelection(s,n,!o))},v.prototype.handleChipNavigation=function(t){var e=t.detail,n=e.chipID,i=e.key,r=e.isRTL,o=e.source,a=this.adapter.getChipIndexById(n);i===u.KEY.ARROW_RIGHT&&!r||i===u.KEY.ARROW_LEFT&&r?this.focusNextChipFrom(a+1):i===u.KEY.ARROW_LEFT&&!r||i===u.KEY.ARROW_RIGHT&&r?this.focusPrevChipFrom(a-1):i!==u.KEY.ARROW_DOWN?i!==u.KEY.ARROW_UP?i!==u.KEY.HOME?i!==u.KEY.END||this.focusPrevChipFrom(this.adapter.getChipCount()-1,o):this.focusNextChipFrom(0,o):this.focusPrevChipFrom(a-1,o):this.focusNextChipFrom(a+1,o)},v.prototype.getSelectedChipIndexes=function(){for(var e,t,n=new Set,i=this.adapter.getChipCount(),r=0;r<i;r++){var o=this.adapter.getChipActionsAtIndex(r);try{for(var a=(e=void 0,p(o)),s=a.next();!s.done;s=a.next()){var c=s.value;this.adapter.isChipSelectedAtIndex(r,c)&&n.add(r)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}return n},v.prototype.setChipSelected=function(t,e,n){this.adapter.isChipSelectableAtIndex(t,e)&&this.setSelection(t,e,n)},v.prototype.isChipSelected=function(t,e){return this.adapter.isChipSelectedAtIndex(t,e)},v.prototype.removeChip=function(t){t>=this.adapter.getChipCount()||t<0||(this.adapter.startChipAnimationAtIndex(t,l.MDCChipAnimation.EXIT),this.adapter.emitEvent(f.MDCChipSetEvents.REMOVAL,{chipID:this.adapter.getChipIdAtIndex(t),chipIndex:t,isComplete:!1}))},v.prototype.addChip=function(t){t>=this.adapter.getChipCount()||t<0||this.adapter.startChipAnimationAtIndex(t,l.MDCChipAnimation.ENTER)},v.prototype.focusNextChipFrom=function(t,e){for(var n=this.adapter.getChipCount(),i=t;i<n;i++){var r=this.getFocusableAction(i,a.INCREMENT,e);if(r)return void this.focusChip(i,r,d.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED)}},v.prototype.focusPrevChipFrom=function(t,e){for(var n=t;-1<n;n--){var i=this.getFocusableAction(n,a.DECREMENT,e);if(i)return void this.focusChip(n,i,d.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED)}},v.prototype.getFocusableAction=function(t,e,n){var i=this.adapter.getChipActionsAtIndex(t);return e===a.DECREMENT&&i.reverse(),n?this.getMatchingFocusableAction(t,i,n):this.getFirstFocusableAction(t,i)},v.prototype.getFirstFocusableAction=function(t,e){var n,i;try{for(var r=p(e),o=r.next();!o.done;o=r.next()){var a=o.value;if(this.adapter.isChipFocusableAtIndex(t,a))return a}}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return null},v.prototype.getMatchingFocusableAction=function(t,e,n){var i,r,o=null;try{for(var a=p(e),s=a.next();!s.done;s=a.next()){var c=s.value;if(this.adapter.isChipFocusableAtIndex(t,c)&&(o=c),o===n)return o}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},v.prototype.focusChip=function(t,e,n){var i,r;this.adapter.setChipFocusAtIndex(t,e,n);for(var o=this.adapter.getChipCount(),a=0;a<o;a++){var s=this.adapter.getChipActionsAtIndex(a);try{for(var c=(i=void 0,p(s)),u=c.next();!u.done;u=c.next()){var l=u.value;l===e&&a===t||this.adapter.setChipFocusAtIndex(a,l,d.MDCChipActionFocusBehavior.NOT_FOCUSABLE)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}},v.prototype.supportsMultiSelect=function(){return"true"===this.adapter.getAttribute(f.MDCChipSetAttributes.ARIA_MULTISELECTABLE)},v.prototype.setSelection=function(t,e,n){var i,r;if(this.adapter.setChipSelectedAtIndex(t,e,n),this.adapter.emitEvent(f.MDCChipSetEvents.SELECTION,{chipID:this.adapter.getChipIdAtIndex(t),chipIndex:t,isSelected:n}),!this.supportsMultiSelect())for(var o=this.adapter.getChipCount(),a=0;a<o;a++){var s=this.adapter.getChipActionsAtIndex(a);try{for(var c=(i=void 0,p(s)),u=c.next();!u.done;u=c.next()){var l=u.value;l===e&&a===t||this.adapter.setChipSelectedAtIndex(a,l,!1)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}},v.prototype.removeAfterAnimation=function(t,e){this.adapter.removeChipAtIndex(t),this.adapter.emitEvent(f.MDCChipSetEvents.REMOVAL,{chipIndex:t,isComplete:!0,chipID:e}),this.adapter.getChipCount()<=0||this.focusNearestFocusableAction(t)},v.prototype.focusNearestFocusableAction=function(t){for(var e=this.adapter.getChipCount(),n=t,i=t;-1<n||i<e;){var r=this.getNearestFocusableAction(n,i,d.MDCChipActionType.TRAILING);if(r)return void this.focusChip(r.index,r.action,d.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED);n--,i++}},v.prototype.getNearestFocusableAction=function(t,e,n){var i=this.getFocusableAction(t,a.DECREMENT,n);if(i)return{index:t,action:i};if(e===t)return null;var r=this.getFocusableAction(e,a.INCREMENT,n);return r?{index:e,action:r}:null},v);function v(t){return h.call(this,o(o({},v.defaultAdapter),t))||this}e.MDCChipSetFoundation=y,e.default=y},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipTrailingAction=void 0;var o,a=n(13),s=n(53),c=n(51),u=n(90),l=n(132),p=(o=a.MDCComponent,r(d,o),Object.defineProperty(d.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),d.attachTo=function(t){return new d(t)},d.prototype.initialize=function(t){void 0===t&&(t=function(t,e){return new s.MDCRipple(t,e)});var e=s.MDCRipple.createAdapter(this);this.rippleSurface=t(this.root,new c.MDCRippleFoundation(e))},d.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(t){e.foundation.handleClick(t)},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},d.prototype.destroy=function(){this.rippleSurface.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),o.prototype.destroy.call(this)},d.prototype.getDefaultFoundation=function(){var n=this,t={focus:function(){n.root.focus()},getAttribute:function(t){return n.root.getAttribute(t)},notifyInteraction:function(t){n.emit(u.strings.INTERACTION_EVENT,{trigger:t},!0)},notifyNavigation:function(t){n.emit(u.strings.NAVIGATION_EVENT,{key:t},!0)},setAttribute:function(t,e){n.safeSetAttribute(n.root,t,e)}};return new l.MDCChipTrailingActionFoundation(t)},d.prototype.isNavigable=function(){return this.foundation.isNavigable()},d.prototype.focus=function(){this.foundation.focus()},d.prototype.removeFocus=function(){this.foundation.removeFocus()},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipTrailingAction=p},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipTrailingActionFoundation=void 0;var a,s=n(7),c=n(55),u=n(90),l=(a=s.MDCFoundation,r(p,a),Object.defineProperty(p,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{focus:function(){},getAttribute:function(){return null},setAttribute:function(){},notifyInteraction:function(){},notifyNavigation:function(){}}},enumerable:!1,configurable:!0}),p.prototype.handleClick=function(t){t.stopPropagation(),this.adapter.notifyInteraction(u.InteractionTrigger.CLICK)},p.prototype.handleKeydown=function(t){t.stopPropagation();var e=c.normalizeKey(t);if(this.shouldNotifyInteractionFromKey(e)){var n=this.getTriggerFromKey(e);this.adapter.notifyInteraction(n)}else c.isNavigationEvent(t)&&this.adapter.notifyNavigation(e)},p.prototype.removeFocus=function(){this.adapter.setAttribute(u.strings.TAB_INDEX,"-1")},p.prototype.focus=function(){this.adapter.setAttribute(u.strings.TAB_INDEX,"0"),this.adapter.focus()},p.prototype.isNavigable=function(){return"true"!==this.adapter.getAttribute(u.strings.ARIA_HIDDEN)},p.prototype.shouldNotifyInteractionFromKey=function(t){var e=t===c.KEY.ENTER||t===c.KEY.SPACEBAR,n=t===c.KEY.BACKSPACE||t===c.KEY.DELETE;return e||n},p.prototype.getTriggerFromKey=function(t){return t===c.KEY.SPACEBAR?u.InteractionTrigger.SPACEBAR_KEY:t===c.KEY.ENTER?u.InteractionTrigger.ENTER_KEY:t===c.KEY.DELETE?u.InteractionTrigger.DELETE_KEY:t===c.KEY.BACKSPACE?u.InteractionTrigger.BACKSPACE_KEY:u.InteractionTrigger.UNSPECIFIED},p);function p(t){return a.call(this,o(o({},p.defaultAdapter),t))||this}e.MDCChipTrailingActionFoundation=l,e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChip=void 0;var a,s=n(13),c=n(53),u=n(51),l=n(131),p=n(90),d=n(91),f=n(103),h=(a=s.MDCComponent,r(y,a),Object.defineProperty(y.prototype,"selected",{get:function(){return this.foundation.isSelected()},set:function(t){this.foundation.setSelected(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"shouldRemoveOnTrailingIconClick",{get:function(){return this.foundation.getShouldRemoveOnTrailingIconClick()},set:function(t){this.foundation.setShouldRemoveOnTrailingIconClick(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"setShouldFocusPrimaryActionOnClick",{set:function(t){this.foundation.setShouldFocusPrimaryActionOnClick(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"ripple",{get:function(){return this.rippleSurface},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"id",{get:function(){return this.root.id},enumerable:!1,configurable:!0}),y.attachTo=function(t){return new y(t)},y.prototype.initialize=function(t,e){var n=this;void 0===t&&(t=function(t,e){return new c.MDCRipple(t,e)}),void 0===e&&(e=function(t){return new l.MDCChipTrailingAction(t)}),this.leadingIcon=this.root.querySelector(d.strings.LEADING_ICON_SELECTOR),this.checkmark=this.root.querySelector(d.strings.CHECKMARK_SELECTOR),this.primaryAction=this.root.querySelector(d.strings.PRIMARY_ACTION_SELECTOR);var i=this.root.querySelector(d.strings.TRAILING_ACTION_SELECTOR);i&&(this.trailingAction=e(i));var r=o(o({},c.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return n.foundation.getDimensions()}});this.rippleSurface=t(this.root,new u.MDCRippleFoundation(r))},y.prototype.initialSyncWithDOM=function(){var e=this;this.handleTrailingActionInteraction=function(){e.foundation.handleTrailingActionInteraction()},this.handleTrailingActionNavigation=function(t){e.foundation.handleTrailingActionNavigation(t)},this.handleClick=function(){e.foundation.handleClick()},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleTransitionEnd=function(t){e.foundation.handleTransitionEnd(t)},this.handleFocusIn=function(t){e.foundation.handleFocusIn(t)},this.handleFocusOut=function(t){e.foundation.handleFocusOut(t)},this.listen("transitionend",this.handleTransitionEnd),this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen("focusin",this.handleFocusIn),this.listen("focusout",this.handleFocusOut),this.trailingAction&&(this.listen(p.strings.INTERACTION_EVENT,this.handleTrailingActionInteraction),this.listen(p.strings.NAVIGATION_EVENT,this.handleTrailingActionNavigation))},y.prototype.destroy=function(){this.rippleSurface.destroy(),this.unlisten("transitionend",this.handleTransitionEnd),this.unlisten("keydown",this.handleKeydown),this.unlisten("click",this.handleClick),this.unlisten("focusin",this.handleFocusIn),this.unlisten("focusout",this.handleFocusOut),this.trailingAction&&(this.unlisten(p.strings.INTERACTION_EVENT,this.handleTrailingActionInteraction),this.unlisten(p.strings.NAVIGATION_EVENT,this.handleTrailingActionNavigation)),a.prototype.destroy.call(this)},y.prototype.beginExit=function(){this.foundation.beginExit()},y.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){n.root.classList.add(t)},addClassToLeadingIcon:function(t){n.leadingIcon&&n.leadingIcon.classList.add(t)},eventTargetHasClass:function(t,e){return!!t&&t.classList.contains(e)},focusPrimaryAction:function(){n.primaryAction&&n.primaryAction.focus()},focusTrailingAction:function(){n.trailingAction&&n.trailingAction.focus()},getAttribute:function(t){return n.root.getAttribute(t)},getCheckmarkBoundingClientRect:function(){return n.checkmark?n.checkmark.getBoundingClientRect():null},getComputedStyleValue:function(t){return window.getComputedStyle(n.root).getPropertyValue(t)},getRootBoundingClientRect:function(){return n.root.getBoundingClientRect()},hasClass:function(t){return n.root.classList.contains(t)},hasLeadingIcon:function(){return!!n.leadingIcon},isRTL:function(){return"rtl"===window.getComputedStyle(n.root).getPropertyValue("direction")},isTrailingActionNavigable:function(){return!!n.trailingAction&&n.trailingAction.isNavigable()},notifyInteraction:function(){n.emit(d.strings.INTERACTION_EVENT,{chipId:n.id},!0)},notifyNavigation:function(t,e){n.emit(d.strings.NAVIGATION_EVENT,{chipId:n.id,key:t,source:e},!0)},notifyRemoval:function(t){n.emit(d.strings.REMOVAL_EVENT,{chipId:n.id,removedAnnouncement:t},!0)},notifySelection:function(t,e){n.emit(d.strings.SELECTION_EVENT,{chipId:n.id,selected:t,shouldIgnore:e},!0)},notifyTrailingIconInteraction:function(){n.emit(d.strings.TRAILING_ICON_INTERACTION_EVENT,{chipId:n.id},!0)},notifyEditStart:function(){},notifyEditFinish:function(){},removeClass:function(t){n.root.classList.remove(t)},removeClassFromLeadingIcon:function(t){n.leadingIcon&&n.leadingIcon.classList.remove(t)},removeTrailingActionFocus:function(){n.trailingAction&&n.trailingAction.removeFocus()},setPrimaryActionAttr:function(t,e){n.primaryAction&&n.safeSetAttribute(n.primaryAction,t,e)},setStyleProperty:function(t,e){n.root.style.setProperty(t,e)}};return new f.MDCChipFoundation(t)},y.prototype.setSelectedFromChipSet=function(t,e){this.foundation.setSelectedFromChipSet(t,e)},y.prototype.focusPrimaryAction=function(){this.foundation.focusPrimaryAction()},y.prototype.focusTrailingAction=function(){this.foundation.focusTrailingAction()},y.prototype.removeFocus=function(){this.foundation.removeFocus()},y.prototype.remove=function(){var t=this.root.parentNode;null!==t&&t.removeChild(this.root)},y);function y(){return null!==a&&a.apply(this,arguments)||this}e.MDCChip=h},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSetFoundation=void 0;var a,s=n(7),f=n(91),c=n(135),u=(a=s.MDCFoundation,r(l,a),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{announceMessage:function(){},focusChipPrimaryActionAtIndex:function(){},focusChipTrailingActionAtIndex:function(){},getChipListCount:function(){return-1},getIndexOfChipById:function(){return-1},hasClass:function(){return!1},isRTL:function(){return!1},removeChipAtIndex:function(){},removeFocusFromChipAtIndex:function(){},selectChipAtIndex:function(){}}},enumerable:!1,configurable:!0}),l.prototype.getSelectedChipIds=function(){return this.selectedChipIds.slice()},l.prototype.select=function(t){this.selectImpl(t,!1)},l.prototype.handleChipInteraction=function(t){var e=t.chipId,n=this.adapter.getIndexOfChipById(e);this.removeFocusFromChipsExcept(n),(this.adapter.hasClass(c.cssClasses.CHOICE)||this.adapter.hasClass(c.cssClasses.FILTER))&&this.toggleSelect(e)},l.prototype.handleChipSelection=function(t){var e=t.chipId,n=t.selected;if(!t.shouldIgnore){var i=0<=this.selectedChipIds.indexOf(e);n&&!i?this.select(e):!n&&i&&this.deselectImpl(e)}},l.prototype.handleChipRemoval=function(t){var e=t.chipId,n=t.removedAnnouncement;n&&this.adapter.announceMessage(n);var i=this.adapter.getIndexOfChipById(e);this.deselectAndNotifyClients(e),this.adapter.removeChipAtIndex(i);var r=this.adapter.getChipListCount()-1;if(!(r<0)){var o=Math.min(i,r);this.removeFocusFromChipsExcept(o),this.adapter.focusChipTrailingActionAtIndex(o)}},l.prototype.handleChipNavigation=function(t){var e=t.chipId,n=t.key,i=t.source,r=this.adapter.getChipListCount()-1,o=this.adapter.getIndexOfChipById(e);if(-1!==o&&f.navigationKeys.has(n)){var a=this.adapter.isRTL(),s=n===f.strings.ARROW_LEFT_KEY||n===f.strings.IE_ARROW_LEFT_KEY,c=n===f.strings.ARROW_RIGHT_KEY||n===f.strings.IE_ARROW_RIGHT_KEY,u=n===f.strings.ARROW_DOWN_KEY||n===f.strings.IE_ARROW_DOWN_KEY,l=!a&&c||a&&s||u,p=n===f.strings.HOME_KEY,d=n===f.strings.END_KEY;l?o++:p?o=0:d?o=r:o--,o<0||r<o||(this.removeFocusFromChipsExcept(o),this.focusChipAction(o,n,i))}},l.prototype.focusChipAction=function(t,e,n){var i=f.jumpChipKeys.has(e);if(i&&n===f.EventSource.PRIMARY)this.adapter.focusChipPrimaryActionAtIndex(t);else if(i&&n===f.EventSource.TRAILING)this.adapter.focusChipTrailingActionAtIndex(t);else{var r=this.getDirection(e);r!==f.Direction.LEFT?r!==f.Direction.RIGHT||this.adapter.focusChipPrimaryActionAtIndex(t):this.adapter.focusChipTrailingActionAtIndex(t)}},l.prototype.getDirection=function(t){var e=this.adapter.isRTL(),n=t===f.strings.ARROW_LEFT_KEY||t===f.strings.IE_ARROW_LEFT_KEY,i=t===f.strings.ARROW_RIGHT_KEY||t===f.strings.IE_ARROW_RIGHT_KEY;return!e&&n||e&&i?f.Direction.LEFT:f.Direction.RIGHT},l.prototype.deselectImpl=function(t,e){void 0===e&&(e=!1);var n=this.selectedChipIds.indexOf(t);if(0<=n){this.selectedChipIds.splice(n,1);var i=this.adapter.getIndexOfChipById(t);this.adapter.selectChipAtIndex(i,!1,e)}},l.prototype.deselectAndNotifyClients=function(t){this.deselectImpl(t,!0)},l.prototype.toggleSelect=function(t){0<=this.selectedChipIds.indexOf(t)?this.deselectAndNotifyClients(t):this.selectAndNotifyClients(t)},l.prototype.removeFocusFromChipsExcept=function(t){for(var e=this.adapter.getChipListCount(),n=0;n<e;n++)n!==t&&this.adapter.removeFocusFromChipAtIndex(n)},l.prototype.selectAndNotifyClients=function(t){this.selectImpl(t,!0)},l.prototype.selectImpl=function(t,e){if(!(0<=this.selectedChipIds.indexOf(t))){if(this.adapter.hasClass(c.cssClasses.CHOICE)&&0<this.selectedChipIds.length){var n=this.selectedChipIds[0],i=this.adapter.getIndexOfChipById(n);this.selectedChipIds=[],this.adapter.selectChipAtIndex(i,!1,e)}this.selectedChipIds.push(t);var r=this.adapter.getIndexOfChipById(t);this.adapter.selectChipAtIndex(r,!0,e)}},l);function l(t){var e=a.call(this,o(o({},l.defaultAdapter),t))||this;return e.selectedChipIds=[],e}e.MDCChipSetFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0,e.strings={CHIP_SELECTOR:".mdc-chip"},e.cssClasses={CHOICE:"mdc-chip-set--choice",FILTER:"mdc-chip-set--filter"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)},a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.deprecated=void 0,o(n(194),e),o(n(198),e),o(n(201),e);var s=a(n(205));e.deprecated=s},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(195),e),r(n(124),e),r(n(65),e),r(n(101),e),r(n(125),e),r(n(126),e),r(n(197),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GRAPHIC_SELECTED_WIDTH_STYLE_PROP=e.computePrimaryActionRippleClientRect=void 0,e.computePrimaryActionRippleClientRect=function(t,e){var n=Number(e.replace("px",""));return Number.isNaN(n)?t:{width:t.width+n,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left}},e.GRAPHIC_SELECTED_WIDTH_STYLE_PROP="--mdc-chip-graphic-selected-width"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(199),e),r(n(127),e),r(n(89),e),r(n(128),e),r(n(200),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(202),e),r(n(203),e),r(n(102),e),r(n(130),e),r(n(204),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSet=void 0;var o,a=n(13),s=n(129),c=n(127),u=n(89),l=n(102),p=n(130),d=(o=a.MDCComponent,r(f,o),f.attachTo=function(t){return new f(t)},f.prototype.initialize=function(t){void 0===t&&(t=function(t){return new c.MDCChip(t)}),this.chips=[];for(var e=this.root.querySelectorAll("."+l.MDCChipSetCssClasses.CHIP),n=0;n<e.length;n++){var i=t(e[n]);this.chips.push(i)}},f.prototype.initialSyncWithDOM=function(){var e=this;this.handleChipAnimation=function(t){e.foundation.handleChipAnimation(t)},this.handleChipInteraction=function(t){e.foundation.handleChipInteraction(t)},this.handleChipNavigation=function(t){e.foundation.handleChipNavigation(t)},this.listen(u.MDCChipEvents.ANIMATION,this.handleChipAnimation),this.listen(u.MDCChipEvents.INTERACTION,this.handleChipInteraction),this.listen(u.MDCChipEvents.NAVIGATION,this.handleChipNavigation)},f.prototype.destroy=function(){this.unlisten(u.MDCChipEvents.ANIMATION,this.handleChipAnimation),this.unlisten(u.MDCChipEvents.INTERACTION,this.handleChipInteraction),this.unlisten(u.MDCChipEvents.NAVIGATION,this.handleChipNavigation),o.prototype.destroy.call(this)},f.prototype.getDefaultFoundation=function(){var i=this,t={announceMessage:function(t){s.announce(t)},emitEvent:function(t,e){i.emit(t,e,!0)},getAttribute:function(t){return i.root.getAttribute(t)},getChipActionsAtIndex:function(t){return i.isIndexValid(t)?i.chips[t].getActions():[]},getChipCount:function(){return i.chips.length},getChipIdAtIndex:function(t){return i.isIndexValid(t)?i.chips[t].getElementID():""},getChipIndexById:function(e){return i.chips.findIndex(function(t){return t.getElementID()===e})},isChipFocusableAtIndex:function(t,e){return!!i.isIndexValid(t)&&i.chips[t].isActionFocusable(e)},isChipSelectableAtIndex:function(t,e){return!!i.isIndexValid(t)&&i.chips[t].isActionSelectable(e)},isChipSelectedAtIndex:function(t,e){return!!i.isIndexValid(t)&&i.chips[t].isActionSelected(e)},removeChipAtIndex:function(t){i.isIndexValid(t)&&(i.chips[t].destroy(),i.chips[t].remove(),i.chips.splice(t,1))},setChipFocusAtIndex:function(t,e,n){i.isIndexValid(t)&&i.chips[t].setActionFocus(e,n)},setChipSelectedAtIndex:function(t,e,n){i.isIndexValid(t)&&i.chips[t].setActionSelected(e,n)},startChipAnimationAtIndex:function(t,e){i.isIndexValid(t)&&i.chips[t].startAnimation(e)}};return new p.MDCChipSetFoundation(t)},f.prototype.getChipIndexByID=function(e){return this.chips.findIndex(function(t){return t.getElementID()===e})},f.prototype.getChipIdAtIndex=function(t){return this.isIndexValid(t)?this.chips[t].getElementID():""},f.prototype.getSelectedChipIndexes=function(){return this.foundation.getSelectedChipIndexes()},f.prototype.setChipSelected=function(t,e,n){this.foundation.setChipSelected(t,e,n)},f.prototype.isChipSelected=function(t,e){return this.foundation.isChipSelected(t,e)},f.prototype.addChip=function(t){this.foundation.addChip(t)},f.prototype.removeChip=function(t){this.foundation.removeChip(t)},f.prototype.isIndexValid=function(t){return-1<t&&t<this.chips.length},f);function f(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipSet=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(206),e),r(n(209),e),r(n(212),e)},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.trailingActionStrings=void 0,r(n(207),e),r(n(131),e),r(n(132),e),r(n(208),e);var o=n(90);Object.defineProperty(e,"trailingActionStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chipStrings=e.chipCssClasses=void 0,r(n(210),e),r(n(133),e),r(n(103),e),r(n(211),e);var o=n(91);Object.defineProperty(e,"chipCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"chipStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chipSetStrings=e.chipSetCssClasses=void 0,r(n(213),e),r(n(214),e),r(n(134),e);var o=n(135);Object.defineProperty(e,"chipSetCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"chipSetStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(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 n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSet=void 0;var o,s=n(13),c=n(129),u=n(133),l=n(103),p=n(134),d=l.MDCChipFoundation.strings,f=d.INTERACTION_EVENT,h=d.SELECTION_EVENT,y=d.REMOVAL_EVENT,v=d.NAVIGATION_EVENT,C=p.MDCChipSetFoundation.strings.CHIP_SELECTOR,A=0,E=(o=s.MDCComponent,r(m,o),m.attachTo=function(t){return new m(t)},Object.defineProperty(m.prototype,"chips",{get:function(){return this.chipsList.slice()},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"selectedChipIds",{get:function(){return this.foundation.getSelectedChipIds()},enumerable:!1,configurable:!0}),m.prototype.initialize=function(t){void 0===t&&(t=function(t){return new u.MDCChip(t)}),this.chipFactory=t,this.chipsList=this.instantiateChips(this.chipFactory)},m.prototype.initialSyncWithDOM=function(){var e,t,n=this;try{for(var i=a(this.chipsList),r=i.next();!r.done;r=i.next()){var o=r.value;o.id&&o.selected&&this.foundation.select(o.id)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this.handleChipInteraction=function(t){n.foundation.handleChipInteraction(t.detail)},this.handleChipSelection=function(t){n.foundation.handleChipSelection(t.detail)},this.handleChipRemoval=function(t){n.foundation.handleChipRemoval(t.detail)},this.handleChipNavigation=function(t){n.foundation.handleChipNavigation(t.detail)},this.listen(f,this.handleChipInteraction),this.listen(h,this.handleChipSelection),this.listen(y,this.handleChipRemoval),this.listen(v,this.handleChipNavigation)},m.prototype.destroy=function(){var e,t;try{for(var n=a(this.chipsList),i=n.next();!i.done;i=n.next())i.value.destroy()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.unlisten(f,this.handleChipInteraction),this.unlisten(h,this.handleChipSelection),this.unlisten(y,this.handleChipRemoval),this.unlisten(v,this.handleChipNavigation),o.prototype.destroy.call(this)},m.prototype.addChip=function(t){t.id=t.id||"mdc-chip-"+ ++A,this.chipsList.push(this.chipFactory(t))},m.prototype.getDefaultFoundation=function(){var i=this,t={announceMessage:function(t){c.announce(t)},focusChipPrimaryActionAtIndex:function(t){i.chipsList[t].focusPrimaryAction()},focusChipTrailingActionAtIndex:function(t){i.chipsList[t].focusTrailingAction()},getChipListCount:function(){return i.chips.length},getIndexOfChipById:function(t){return i.findChipIndex(t)},hasClass:function(t){return i.root.classList.contains(t)},isRTL:function(){return"rtl"===window.getComputedStyle(i.root).getPropertyValue("direction")},removeChipAtIndex:function(t){0<=t&&t<i.chips.length&&(i.chipsList[t].destroy(),i.chipsList[t].remove(),i.chipsList.splice(t,1))},removeFocusFromChipAtIndex:function(t){i.chipsList[t].removeFocus()},selectChipAtIndex:function(t,e,n){0<=t&&t<i.chips.length&&i.chipsList[t].setSelectedFromChipSet(e,n)}};return new p.MDCChipSetFoundation(t)},m.prototype.instantiateChips=function(e){return Array.from(this.root.querySelectorAll(C)).map(function(t){return t.id=t.id||"mdc-chip-"+ ++A,e(t)})},m.prototype.findChipIndex=function(t){for(var e=0;e<this.chips.length;e++)if(this.chipsList[e].id===t)return e;return-1},m);function m(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipSet=E}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=193);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var n,i});