PageSourceSearch

https://thecuttingroomnyc.com/wp-content/plugins/material-design/assets/js/front-end.js?ver=0.7.0

js thecuttingroomnyc.com collected 2026-09-24 20:57:26 UTC 117,463 bytes, 1 lines download raw bytes

1(()=>{"use strict";(()=>{var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};function e(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function r(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function i(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t}var o=function(){function t(t){void 0===t&&(t={}),this.adapter_=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();var a=function(){function t(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root_=t,this.initialize.apply(this,i(n)),this.foundation_=void 0===e?this.getDefaultFoundation():e,this.foundation_.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new o({}))},t.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation_.destroy()},t.prototype.listen=function(t,e,n){this.root_.addEventListener(t,e,n)},t.prototype.unlisten=function(t,e,n){this.root_.removeEventListener(t,e,n)},t.prototype.emit=function(t,e,n){var r;void 0===n&&(n=!1),"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:n,detail:e}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root_.dispatchEvent(r)},t}();function s(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}var c={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",ROOT:"mdc-list"},u={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n    ."+c.LIST_ITEM_CLASS+" button:not(:disabled),\n    ."+c.LIST_ITEM_CLASS+" a\n  ",FOCUSABLE_CHILD_ELEMENTS:"\n    ."+c.LIST_ITEM_CLASS+" button:not(:disabled),\n    ."+c.LIST_ITEM_CLASS+" a,\n    ."+c.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n    .'+c.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled)\n  ',RADIO_SELECTOR:'input[type="radio"]'},l={UNSET_INDEX:-1},d=["input","button","textarea","select"];var h=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.wrapFocus_=!1,i.isVertical_=!0,i.isSingleSelectionList_=!1,i.selectedIndex_=l.UNSET_INDEX,i.focusedItemIndex_=l.UNSET_INDEX,i.useActivatedClass_=!1,i.ariaCurrentAttrValue_=null,i.isCheckboxList_=!1,i.isRadioList_=!1,i}return e(r,t),Object.defineProperty(r,"strings",{get:function(){return u},enumerable:!0,configurable:!0}
vendor: 1,744 bytes, line 1
1),Object.defineProperty(r,"cssClasses",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){}}},enumerable:!0,configurable:!0}),r.prototype.layout=function(){0!==this.adapter_.getListItemCount()&&(this.adapter_.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter_.hasRadioAtIndex(0)&&(this.isRadioList_=!0))},r.prototype.setWrapFocus=function(t){this.wrapFocus_=t},r.prototype.setVerticalOrientation=function(t){this.isVertical_=t},r.prototype.setSingleSelection=function(t){this.isSingleSelectionList_=t},r.prototype.setUseActivatedClass=function(t){this.useActivatedClass_=t},r.prototype.getSelectedIndex=function(){return this.selectedIndex_},r.prototype.setSelectedIndex=function(t){this.isIndexValid_(t)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(t):this.isRadioList_?this.setRadioAtIndex_(t):this.setSingleSelectionAtIndex_(t))},r.prototype.handleFocusIn=function(t,e){e>=0&&this.adapter_.setTabIndexForListItemChildren(e,"0")}
vendor: 7,855 bytes, line 1
1,r.prototype.handleFocusOut=function(t,e){var n=this;e>=0&&this.adapter_.setTabIndexForListItemChildren(e,"-1"),setTimeout((function(){n.adapter_.isFocusInsideList()||n.setTabindexToFirstSelectedItem_()}),0)},r.prototype.handleKeydown=function(t,e,n){var r="ArrowLeft"===t.key||37===t.keyCode,i="ArrowUp"===t.key||38===t.keyCode,o="ArrowRight"===t.key||39===t.keyCode,a="ArrowDown"===t.key||40===t.keyCode,s="Home"===t.key||36===t.keyCode,c="End"===t.key||35===t.keyCode,u="Enter"===t.key||13===t.keyCode,l="Space"===t.key||32===t.keyCode;if(this.adapter_.isRootFocused())i||c?(t.preventDefault(),this.focusLastElement()):(a||s)&&(t.preventDefault(),this.focusFirstElement());else{var d=this.adapter_.getFocusedElementIndex();if(!(-1===d&&(d=n)<0)){var h;if(this.isVertical_&&a||!this.isVertical_&&o)this.preventDefaultEvent_(t),h=this.focusNextElement(d);else if(this.isVertical_&&i||!this.isVertical_&&r)this.preventDefaultEvent_(t),h=this.focusPrevElement(d);else if(s)this.preventDefaultEvent_(t),h=this.focusFirstElement();else if(c)this.preventDefaultEvent_(t),h=this.focusLastElement();else if((u||l)&&e){var p=t.target;if(p&&"A"===p.tagName&&u)return;this.preventDefaultEvent_(t),this.isSelectableList_()&&this.setSelectedIndexOnAction_(d),this.adapter_.notifyAction(d)}this.focusedItemIndex_=d,void 0!==h&&(this.setTabindexAtIndex_(h),this.focusedItemIndex_=h)}}},r.prototype.handleClick=function(t,e){t!==l.UNSET_INDEX&&(this.isSelectableList_()&&this.setSelectedIndexOnAction_(t,e),this.adapter_.notifyAction(t),this.setTabindexAtIndex_(t),this.focusedItemIndex_=t)},r.prototype.focusNextElement=function(t){var e=t+1;if(e>=this.adapter_.getListItemCount()){if(!this.wrapFocus_)return t;e=0}return this.adapter_.focusItemAtIndex(e),e},r.prototype.focusPrevElement=function(t){var e=t-1;if(e<0){if(!this.wrapFocus_)return t;e=this.adapter_.getListItemCount()-1}return this.adapter_.focusItemAtIndex(e),e},r.prototype.focusFirstElement=function(){return this.adapter_.focusItemAtIndex(0),0},r.prototype.focusLastElement=function(){var t=this.adapter_.getListItemCount()-1;return this.adapter_.focusItemAtIndex(t),t},r.prototype.setEnabled=function(t,e){this.isIndexValid_(t)&&(e?(this.adapter_.removeClassForElementIndex(t,c.LIST_ITEM_DISABLED_CLASS),this.adapter_.setAttributeForElementIndex(t,u.ARIA_DISABLED,"false")):(this.adapter_.addClassForElementIndex(t,c.LIST_ITEM_DISABLED_CLASS),this.adapter_.setAttributeForElementIndex(t,u.ARIA_DISABLED,"true")))},r.prototype.preventDefaultEvent_=function(t){var e=(""+t.target.tagName).toLowerCase();-1===d.indexOf(e)&&t.preventDefault()},r.prototype.setSingleSelectionAtIndex_=function(t){if(this.selectedIndex_!==t){var e=c.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(e=c.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==l.UNSET_INDEX&&this.adapter_.removeClassForElementIndex(this.selectedIndex_,e),this.adapter_.addClassForElementIndex(t,e),this.setAriaForSingleSelectionAtIndex_(t),this.selectedIndex_=t}},r.prototype.setAriaForSingleSelectionAtIndex_=function(t){this.selectedIndex_===l.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter_.getAttributeForElementIndex(t,u.ARIA_CURRENT));var e=null!==this.ariaCurrentAttrValue_,n=e?u.ARIA_CURRENT:u.ARIA_SELECTED;this.selectedIndex_!==l.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,n,"false");var r=e?this.ariaCurrentAttrValue_:"true";this.adapter_.setAttributeForElementIndex(t,n,r)},r.prototype.setRadioAtIndex_=function(t){this.adapter_.setCheckedCheckboxOrRadioAtIndex(t,!0),this.selectedIndex_!==l.UNSET_INDEX&&this.adapter_.setAttributeForElementIndex(this.selectedIndex_,u.ARIA_CHECKED,"false"),this.adapter_.setAttributeForElementIndex(t,u.ARIA_CHECKED,"true"),this.selectedIndex_=t},r.prototype.setCheckboxAtIndex_=function(t){for(var e=0;e<this.adapter_.getListItemCount();e++){var n=!1;t.indexOf(e)>=0&&(n=!0),this.adapter_.setCheckedCheckboxOrRadioAtIndex(e,n),this.adapter_.setAttributeForElementIndex(e,u.ARIA_CHECKED,n?"true":"false")}this.selectedIndex_=t},r.prototype.setTabindexAtIndex_=function(t){this.focusedItemIndex_===l.UNSET_INDEX&&0!==t?this.adapter_.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==t&&this.adapter_.setAttributeForElementIndex(this.focusedItemIndex_,"tabindex","-1"),this.adapter_.setAttributeForElementIndex(t,"tabindex","0")},r.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},r.prototype.setTabindexToFirstSelectedItem_=function(){var t=0;this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==l.UNSET_INDEX?t=this.selectedIndex_:this.selectedIndex_ instanceof Array&&this.selectedIndex_.length>0&&(t=this.selectedIndex_.reduce((function(t,e){return Math.min(t,e)})))),this.setTabindexAtIndex_(t)},r.prototype.isIndexValid_=function(t){var e=this;if(t instanceof Array){if(!this.isCheckboxList_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===t.length||t.some((function(t){return e.isIndexInRange_(t)}))}if("number"==typeof t){if(this.isCheckboxList_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+t);return this.isIndexInRange_(t)}return!1},r.prototype.isIndexInRange_=function(t){var e=this.adapter_.getListItemCount();return t>=0&&t<e},r.prototype.setSelectedIndexOnAction_=function(t,e){void 0===e&&(e=!0),this.adapter_.listItemAtIndexHasClass(t,c.LIST_ITEM_DISABLED_CLASS)||(this.isCheckboxList_?this.toggleCheckboxAtIndex_(t,e):this.setSelectedIndex(t))},r.prototype.toggleCheckboxAtIndex_=function(t,e){var n=this.adapter_.isCheckboxCheckedAtIndex(t);e&&(n=!n,this.adapter_.setCheckedCheckboxOrRadioAtIndex(t,n)),this.adapter_.setAttributeForElementIndex(t,u.ARIA_CHECKED,n?"true":"false");var r=this.selectedIndex_===l.UNSET_INDEX?[]:this.selectedIndex_.slice();n?r.push(t):r=r.filter((function(e){return e!==t})),this.selectedIndex_=r},r}(o);var p=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),Object.defineProperty(n.prototype,"vertical",{set:function(t){this.foundation_.setVerticalOrientation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"listElements",{get:function(){return[].slice.call(this.root_.querySelectorAll("."+c.LIST_ITEM_CLASS))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"wrapFocus",{set:function(t){this.foundation_.setWrapFocus(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"singleSelection",{set:function(t){this.foundation_.setSingleSelection(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this.foundation_.getSelectedIndex()},set:function(t){this.foundation_.setSelectedIndex(t)},enumerable:!0,configurable:!0}),n.attachTo=function(t){return new n(t)},n.prototype.initialSyncWithDOM=function(){this.handleClick_=this.handleClickEvent_.bind(this),this.handleKeydown_=this.handleKeydownEvent_.bind(this),this.focusInEventListener_=this.handleFocusInEvent_.bind(this),this.focusOutEventListener_=this.handleFocusOutEvent_.bind(this),this.listen("keydown",this.handleKeydown_),this.listen("click",this.handleClick_),this.listen("focusin",this.focusInEventListener_),this.listen("focusout",this.focusOutEventListener_),this.layout(),this.initializeListType()},n.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten("click",this.handleClick_),this.unlisten("focusin",this.focusInEventListener_),this.unlisten("focusout",this.focusOutEventListener_)},n.prototype.layout=function(){var t=this.root_.getAttribute(u.ARIA_ORIENTATION);this.vertical=t!==u.ARIA_ORIENTATION_HORIZONTAL,[].slice.call(this.root_.querySelectorAll(".mdc-list-item:not([tabindex])")).forEac
1h((function(t){t.setAttribute("tabindex","-1")})),[].slice.call(this.root_.querySelectorAll(u.FOCUSABLE_CHILD_ELEMENTS)).forEach((function(t){return t.setAttribute("tabindex","-1")})),this.foundation_.layout()},n.prototype.initializeListType=function(){var t=this,e=this.root_.querySelectorAll(u.ARIA_ROLE_CHECKBOX_SELECTOR),n=this.root_.querySelector("\n      ."+c.LIST_ITEM_ACTIVATED_CLASS+",\n      ."+c.LIST_ITEM_SELECTED_CLASS+"\n    "),r=this.root_.querySelector(u.ARIA_CHECKED_RADIO_SELECTOR);if(e.length){var i=this.root_.querySelectorAll(u.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=[].map.call(i,(function(e){return t.listElements.indexOf(e)}))}else n?(n.classList.contains(c.LIST_ITEM_ACTIVATED_CLASS)&&this.foundation_.setUseActivatedClass(!0),this.singleSelection=!0,this.selectedIndex=this.listElements.indexOf(n)):r&&(this.selectedIndex=this.listElements.indexOf(r))},n.prototype.setEnabled=function(t,e){this.foundation_.setEnabled(t,e)},n.prototype.getDefaultFoundation=function(){var t=this;return new h({addClassForElementIndex:function(e,n){var r=t.listElements[e];r&&r.classList.add(n)},focusItemAtIndex:function(e){var n=t.listElements[e];n&&n.focus()},getAttributeForElementIndex:function(e,n){return t.listElements[e].getAttribute(n)},getFocusedElementIndex:function(){return t.listElements.indexOf(document.activeElement)},getListItemCount:function(){return t.listElements.length},hasCheckboxAtIndex:function(e){return!!t.listElements[e].querySelector(u.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(e){return!!t.listElements[e].querySelector(u.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(e){return t.listElements[e].querySelector(u.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return t.root_.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===t.root_},listItemAtIndexHasClass:function(e,n){return t.listElements[e].classList.contains(n)},notifyAction:function(e){t.emit(u.ACTION_EVENT,{index:e},!0)},removeClassForElementIndex:function(e,n){var r=t.listElements[e];r&&r.classList.remove(n)},setAttributeForElementIndex:function(e,n,r){var i=t.listElements[e];i&&i.setAttribute(n,r)},setCheckedCheckboxOrRadioAtIndex:function(e,n){var r=t.listElements[e].querySelector(u.CHECKBOX_RADIO_SELECTOR);r.checked=n;var i=document.createEvent("Event");i.initEvent("change",!0,!0),r.dispatchEvent(i)},setTabIndexForListItemChildren:function(e,n){var r=t.listElements[e];[].slice.call(r.querySelectorAll(u.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX)).forEach((function(t){return t.setAttribute("tabindex",n)}))}})},n.prototype.getListItemIndex_=function(t){var e=function(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(s(n,e))return n;n=n.parentElement}return null}(t.target,"."+c.LIST_ITEM_CLASS+", ."+c.ROOT);return e&&s(e,"."+c.LIST_ITEM_CLASS)?this.listElements.indexOf(e):-1},n.prototype.handleFocusInEvent_=function(t){var e=this.getListItemIndex_(t);this.foundation_.handleFocusIn(t,e)},n.prototype.handleFocusOutEvent_=function(t){var e=this.getListItemIndex_(t);this.foundation_.handleFocusOut(t,e)},n.prototype.handleKeydownEvent_=function(t){var e=this.getListItemIndex_(t),n=t.target;this.foundation_.handleKeydown(t,n.classList.contains(c.LIST_ITEM_CLASS),e)},n.prototype.handleClickEvent_=function(t){var e=this.getListItemIndex_(t),n=!s(t.target,u.CHECKBOX_RADIO_SELECTOR);this.foundation_.handleClick(e,n)},n}(a);function f(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,!1}},r=function(){};t.document.addEventListener("test",r,n),t.document.removeEventListener("test",r,n)}catch(t){e=!1}return e}(t)&&{passive:!0}}var _,m={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"},g={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"},y={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};var E=["touchstart","pointerdown","mousedown","keydown"],v=["touchend","pointerup","mouseup","contextmenu"],I=[],C=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.activationAnimationHasEnded_=!1,i.activationTimer_=0,i.fgDeactivationRemovalTimer_=0,i.fgScale_="
10",i.frame_={width:0,height:0},i.initialSize_=0,i.layoutFrame_=0,i.maxRadius_=0,i.unboundedCoords_={left:0,top:0},i.activationState_=i.defaultActivationState_(),i.activationTimerCallback_=function(){i.activationAnimationHasEnded_=!0,i.runDeactivationUXLogicIfReady_()},i.activateHandler_=function(t){return i.activate_(t)},i.deactivateHandler_=function(){return i.deactivate_()},i.focusHandler_=function(){return i.handleFocus()},i.blurHandler_=function(){return i.handleBlur()},i.resizeHandler_=function(){return i.layout()},i}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return y},enumerable:!0,configurable:!0}),Object.defineProperty(r,"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:!0,configurable:!0}),r.prototype.init=function(){var t=this,e=this.supportsPressRipple_();if(this.registerRootHandlers_(e),e){var n=r.cssClasses,i=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){t.adapter_.addClass(i),t.adapter_.isUnbounded()&&(t.adapter_.addClass(o),t.layoutInternal_())}))}},r.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter_.removeClass(r.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter_.removeClass(r.cssClasses.FG_DEACTIVATION));var e=r.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame((function(){t.adapter_.removeClass(n),t.adapter_.removeClass(i),t.removeCssVars_()}))}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},r.prototype.activate=function(t){this.activate_(t)},r.prototype.deactivate=function(){this.deactivate_()},r.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){t.layoutInternal_(),t.layoutFrame_=0}))},r.prototype.setUnbounded=function(t){var e=r.cssClasses.UNBOUNDED;t?this.adapter_.addClass(e):this.adapter_.removeClass(e)},r.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter_.addClass(r.cssClasses.BG_FOCUSED)}))},r.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter_.removeClass(r.cssClasses.BG_FOCUSED)}))},r.prototype.supportsPressRipple_=function(){return this.adapter_.browserSupportsCssVars()},r.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},r.prototype.registerRootHandlers_=function(t){var e=this;t&&(E.forEach((function(t){e.adapter_.registerInteractionHandler(t,e.activateHandler_)})),this.adapter_.isUnbounded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_)},r.prototype.registerDeactivationHandlers_=function(t){var e=this;"keydown"===t.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):v.forEach((function(t){e.adapter_.registerDocumentInteractionHandler(t,e.deactivateHandler_)}))},r.prototype.deregisterRootHandlers_=function(){var t=this;
1E.forEach((function(e){t.adapter_.deregisterInteractionHandler(e,t.activateHandler_)})),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.deregisterResizeHandler(this.resizeHandler_)},r.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),v.forEach((function(e){t.adapter_.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)}))},r.prototype.removeCssVars_=function(){var t=this,e=r.strings;Object.keys(e).forEach((function(n){0===n.indexOf("VAR_")&&t.adapter_.updateCssVariable(e[n],null)}))},r.prototype.activate_=function(t){var e=this;if(!this.adapter_.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var r=this.previousActivationEvent_;if(!(r&&void 0!==t&&r.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&&I.length>0&&I.some((function(t){return e.adapter_.containsEventTarget(t)}))?this.resetActivationState_():(void 0!==t&&(I.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){I=[],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_())})))}}},r.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter_.isSurfaceActive()},r.prototype.animateActivation_=function(){var t=this,e=r.strings,n=e.VAR_FG_TRANSLATE_START,i=e.VAR_FG_TRANSLATE_END,o=r.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,c=r.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var u="",l="";if(!this.adapter_.isUnbounded()){var d=this.getFgTranslationCoordinates_(),h=d.startPoint,p=d.endPoint;u=h.x+"px, "+h.y+"px",l=p.x+"px, "+p.y+"px"}this.adapter_.updateCssVariable(n,u),this.adapter_.updateCssVariable(i,l),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(a),this.adapter_.computeBoundingRect(),this.adapter_.addClass(s),this.activationTimer_=setTimeout((function(){return t.activationTimerCallback_()}),c)},r.prototype.getFgTranslationCoordinates_=function(){var t,e=this.activationState_,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,n){if(!t)return{x:0,y:0};var r,i,o=e.x,a=e.y,s=o+n.left,c=a+n.top;if("touchstart"===t.type){var u=t;r=u.changedTouches[0].pageX-s,i=u.changedTouches[0].pageY-c}else{var l=t;r=l.pageX-s,i=l.pageY-c}return{x:r,y:i}}(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}}},r.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,e=r.cssClasses.FG_DEACTIVATION,n=this.activationState_,i=n.hasDeactivationUXRun,o=n.isActivated;(i||!o)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(e),this.fgDeactivationRemovalTimer_=setTimeout((function(){t.adapter_.removeClass(e)}),y.FG_DEACTIVATION_MS))},r.prototype.rmBoundedActivationClasses_=function(){var t=r.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()},r.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return t.previousActivationEvent_=void 0}),r.numbers.TAP_DELAY_MS)},r.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var r=n({},e);e.isProgrammatic?(requestAnimationFrame((function(){return t.animateDeactivation_(r)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(r),t.resetActivationState_()})))}},r.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady_()},r.prototype.layoutInternal_=function(){var t=this;
1this.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))+r.numbers.PADDING;var n=Math.floor(e*r.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_()},r.prototype.updateLayoutCssVars_=function(){var t=r.strings,e=t.VAR_FG_SIZE,n=t.VAR_LEFT,i=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter_.updateCssVariable(e,this.initialSize_+"px"),this.adapter_.updateCssVariable(o,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"))},r}(o);var T=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.disabled=!1,e}return e(n,t),n.attachTo=function(t,e){void 0===e&&(e={isUnbounded:void 0});var r=new n(t);return void 0!==e.isUnbounded&&(r.unbounded=e.isUnbounded),r},n.createAdapter=function(t){return{addClass:function(e){return t.root_.classList.add(e)},browserSupportsCssVars:function(){return function(t,e){void 0===e&&(e=!1);var n,r=t.CSS;if("boolean"==typeof _&&!e)return _;if(!(r&&"function"==typeof r.supports))return!1;var i=r.supports("--css-vars","yes"),o=r.supports("(--css-vars: yes)")&&r.supports("color","#00000000");return n=i||o,e||(_=n),n}(window)},computeBoundingRect:function(){return t.root_.getBoundingClientRect()},containsEventTarget:function(e){return t.root_.contains(e)},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,f())},deregisterInteractionHandler:function(e,n){return t.root_.removeEventListener(e,n,f())},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return s(t.root_,":active")},isSurfaceDisabled:function(){return Boolean(t.disabled)},isUnbounded:function(){return Boolean(t.unbounded)},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,f())},registerInteractionHandler:function(e,n){return t.root_.addEventListener(e,n,f())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},removeClass:function(e){return t.root_.classList.remove(e)},updateCssVariable:function(e,n){return t.root_.style.setProperty(e,n)}}},Object.defineProperty(n.prototype,"unbounded",{get:function(){return Boolean(this.unbounded_)},set:function(t){this.unbounded_=Boolean(t),this.setUnbounded_()},enumerable:!0,configurable:!0}),n.prototype.activate=function(){this.foundation_.activate()},n.prototype.deactivate=function(){this.foundation_.deactivate()},n.prototype.layout=function(){this.foundation_.layout()},n.prototype.getDefaultFoundation=function(){return new C(n.createAdapter(this))},n.prototype.initialSyncWithDOM=function(){var t=this.root_;this.unbounded="mdcRippleIsUnbounded"in t.dataset},n.prototype.setUnbounded_=function(){this.foundation_.setUnbounded(Boolean(this.unbounded_))},n}(a),A={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"},b={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"},S=function(t){this.adapter_=t};var L=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getScrollPositionRTL=function(){var t=this.adapter_.getScrollAreaScrollLeft(),e=this.calculateScrollEdges_().right;return Math.round(e-t)},n.prototype.scrollToRTL=function(t){var e=this.calculateScrollEdges_(),n=this.adapter_.getScrollAreaScrollLeft(),r=this.clampScrollValue_(e.right-t);return{finalScrollPosition:r,scrollDelta:r-n}},n.prototype.incrementScrollRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e-t);return{finalScrollPosition:n,scrollDelta:n-e}},n.prototype.getAnimatingScrollPosition=function(t){return t},n.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter_.getScrollC
vendor: 23,951 bytes, line 1
1ontentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth()}},n.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.min(Math.max(e.left,t),e.right)},n}(S);var O=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getScrollPositionRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft();return Math.round(t-e)},n.prototype.scrollToRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(-t);return{finalScrollPosition:n,scrollDelta:n-e}},n.prototype.incrementScrollRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e-t);return{finalScrollPosition:n,scrollDelta:n-e}},n.prototype.getAnimatingScrollPosition=function(t,e){return t-e},n.prototype.calculateScrollEdges_=function(){var t=this.adapter_.getScrollContentOffsetWidth();return{left:this.adapter_.getScrollAreaOffsetWidth()-t,right:0}},n.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.max(Math.min(e.right,t),e.left)},n}(S);var R=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.getScrollPositionRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft();return Math.round(e-t)},n.prototype.scrollToRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(t);return{finalScrollPosition:n,scrollDelta:e-n}},n.prototype.incrementScrollRTL=function(t){var e=this.adapter_.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e+t);return{finalScrollPosition:n,scrollDelta:e-n}},n.prototype.getAnimatingScrollPosition=function(t,e){return t+e},n.prototype.calculateScrollEdges_=function(){return{left:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth(),right:0}},n.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.min(Math.max(e.right,t),e.left)},n}(S);var w=function(t){function i(e){var r=t.call(this,n({},i.defaultAdapter,e))||this;return r.isAnimating_=!1,r}return e(i,t),Object.defineProperty(i,"cssClasses",{get:function(){return A},enumerable:!0,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return b},enumerable:!0,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){},getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!0,configurable:!0}),i.prototype.init=function(){var t=this.adapter_.computeHorizontalScrollbarHeight();this.adapter_.setScrollAreaStyleProperty("margin-bottom",-t+"px"),this.adapter_.addScrollAreaClass(i.cssClasses.SCROLL_AREA_SCROLL)},i.prototype.getScrollPosition=function(){if(this.isRTL_())return this.computeCurrentScrollPositionRTL_();var t=this.calculateCurrentTranslateX_();return this.adapter_.getScrollAreaScrollLeft()-t},i.prototype.handleInteraction=function(){this.isAnimating_&&this.stopScrollAnimation_()},i.prototype.handleTransitionEnd=function(t){var e=t.target;this.isAnimating_&&this.adapter_.eventTargetMatchesSelector(e,i.strings.CONTENT_SELECTOR)&&(this.isAnimating_=!1,this.adapter_.removeClass(i.cssClasses.ANIMATING))},i.prototype.incrementScroll=function(t){0!==t&&this.animate_(this.getIncrementScrollOperation_(t))},i.prototype.incrementScrollImmediate=function(t){if(0!==t){var e=this.getIncrementScrollOperation_(t);0!==e.scrollDelta&&(this.stopScrollAnimation_(),this.adapter_.setScrollAreaScrollLeft(e.finalScrollPosition))}},i.prototype.scrollTo=function(t){if(this.isRTL_())return this.scrollToRTL_(t);this.scrollTo_(t)},i.prototype.getRTLScroller=function(){return this.rtlScrollerInstance_||(this.rtlScrollerInstance_=this.rtlScrollerFactory_()),this.rtlScrollerInstance_},i.prototype.calculateCurrentTranslateX_=function(){var t=this.adapter_.getScrollContentStyleValue("transform");if("none"===t)return 0;var e=/\((.+?)\)/.exec(t);if(!e)return 0;var n=r(e[1].split(","),6),i=(n[0],n[1],n[2],n[3],n[4]);n[5];return parseFloat(i)},i.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.min(Math.max(e.left,t),e.right)},i.prototype.computeCurrentScrollPositionRTL_=function(){var t=this.calculateCurrentTranslateX_();return this.getRTLScroller().getScrollPositionRTL(t)},i.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter_.getScrollContentOffsetWidth()-this.adapter_.getScrollAreaOffsetWidth()}},i.prototype.scrollTo_=function(t){var e=this.getScrollPosition(),n=this.clampScrollValue_(t),r=n-e;this.animate_({finalScrollPosition:n,scrollDelta:r})},i.prototype.scrollToRTL_=function(t){var e=this.getRTLScroller().scrollToRTL(t);this.animate_(e)},i.prototype.getIncrementScrollOperation_=function(t){if(this.isRTL_())return this.getRTLScroller().incrementScrollRTL(t);var e=this.getScrollPosition(),n=t+e,r=this.clampScrollValue_(n);return{finalScrollPosition:r,scrollDelta:r-e}},i.prototype.animate_=function(t){var e=this;0!==t.scrollDelta&&(this.stopScrollAnimation_(),this.adapter_.setScrollAreaScrollLeft(t.finalScrollPosition),this.adapter_.setScrollContentStyleProperty("transform","translateX("+t.scrollDelta+"px)"),this.adapter_.computeScrollAreaClientRect(),requestAnimationFrame((function(){e.adapter_.addClass(i.cssClasses.ANIMATING),e.adapter_.setScrollContentStyleProperty("transform","none")})),this.isAnimating_=!0)},i.prototype.stopScrollAnimation_=function(){this.isAnimating_=!1;var t=this.getAnimatingScrollPosition_();this.adapter_.removeClass(i.cssClasses.ANIMATING),this.adapter_.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter_.setScrollAreaScrollLeft(t)},i.prototype.getAnimatingScrollPosition_=function(){var t=this.calculateCurrentTranslateX_(),e=this.adapter_.getScrollAreaScrollLeft();return this.isRTL_()?this.getRTLScroller().getAnimatingScrollPosition(e,t):e-t},i.prototype.rtlScrollerFactory_=function(){var t=this.adapter_.getScrollAreaScrollLeft();this.adapter_.setScrollAreaScrollLeft(t-1);var e=this.adapter_.getScrollAreaScrollLeft();if(e<0)return this.adapter_.setScrollAreaScrollLeft(t),new O(this.adapter_);var n=this.adapter_.computeScrollAreaClientRect(),r=this.adapter_.computeScrollContentClientRect(),i=Math.round(r.right-n.right);return this.adapter_.setScrollAreaScrollLeft(t),i===e?new R(this.adapter_):new L(this.adapter_)},i.prototype.isRTL_=function(){return"rtl"===this.adapter_.getScrollContentStyleValue("direction")},i}(o);var D;var x=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(){this.area_=this.root_.querySelector(w.strings.AREA_SELECTOR),this.content_=this.root_.querySelector(w.strings.CONTENT_SELECTOR)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleInteraction_=function(){return t.foundation_.handleInteraction()},this.handleTransitionEnd_=function(e){return t.foundation_.handleTransitionEnd(e)},this.area_.addEventListener("wheel",this.handleInteraction_,f()),this.area_.addEventListener("touchstart",this.handleInteraction_,f()),this.area_.addEventListener("pointerdown",this.handleInteraction_,f()),this.area_.addEventListener("mousedown",this.handleInteraction_,f()),this.area_.addEventListener("keydown",this.handleInteraction_,f()),this.content_.addEventListener("transitionend",this.handleTransitionEnd_)},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.area_.removeEventListener("wheel",this.handleInteraction_,f()),this.area_.removeEventListener("touchstart",this.handleInteraction_,f()),this.area_.removeEventListener("pointerdown",this.handleInteraction_,f()),this.area_.removeEventListener("mousedown",this.handleInteraction_,f()),this.area_.removeEventListener("keydown",this.handleInteraction_,f()),this.content_.removeEventListener("transitionend",this.handleTransitionEnd_)},n.prototype.getDefaultFoundation=function(){var t=this;return new w({eventTargetMatchesSelector:function(t,e){return s(t,e)},addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},addScrollAreaClass:function(e){return t.area_.classList.add(e)},setScrollAreaStyleProperty:function(e,n){return t.area_.style.setProperty(e,n)},setScrollContentStyleProperty:function(e,n){return t.content_.style.setProperty(e,n)},getScrollContentStyleValue:function(e){return window.getComputedStyle(t.content_).getPropertyValue(e)},setScrollAreaScrollLeft:function(e){return t.area_.scrollLeft=e},getScrollAreaScrollLeft:function(){return t.area_.scrollLeft},getScrollContentOffsetWidth:function(){return t.content_.offsetWidth},getScrollAreaOffsetWidth:function(){return t.area_.offsetWidth},computeScrollAreaClientRect:function(){return t.area_.getBoundingClientRect()},computeScrollContentClientRect:function(){return t.content_.getBoundingClientRect()},computeHorizontalScrollbarHeight:function(){return function(t,e){if(void 0===e&&(e=!0),e&&void 0!==D)return D;var n=t.createElement("div");n.classList.add(A.SCROLL_TEST),t.body.appendChild(n);var r=n.offsetHeight-n.clientHeight;return t.body.removeChild(n),e&&(D=r),r}(document)}})},n.prototype.getScrollPosition=function(){return this.foundation_.getScrollPosition()},n.prototype.getScrollContentWidth=function(){return this.content_.offsetWidth},n.prototype.incrementScroll=function(t){this.foundation_.incrementScroll(t)},n.prototype.scrollTo=function(t){this.foundation_.scrollTo(t)},n}(a),N={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"},P={CONTENT_SELECTOR:".mdc-tab-indicator__content"},H=function(t){function r(e){return t.call(this,n({},r.defaultAdapter,e))||this}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return N},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return P},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!0,configurable:!0}),r.prototype.computeContentClientRect=function(){return this.adapter_.computeContentClientRect()},r}(o);var M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.activate=function(){this.adapter_.addClass(H.cssClasses.ACTIVE)},n.prototype.deactivate=function(){this.adapter_.removeClass(H.cssClasses.ACTIVE)},n}(H);var F=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.activate=function(t){if(t){var e=this.computeContentClientRect(),n=t.width/e.width,r=t.left-e.left;this.adapter_.addClass(H.cssClasses.NO_TRANSITION),this.adapter_.setContentStyleProperty("transform","translateX("+r+"px) scaleX("+n+")"),this.computeContentClientRect(),this.adapter_.removeClass(H.cssClasses.NO_TRANSITION),this.adapter_.addClass(H.cssClasses.ACTIVE),this.adapter_.setContentStyleProperty("transform","")}else this.adapter_.addClass(H.cssClasses.ACTIVE)},n.prototype.deactivate=function(){this.adapter_.removeClass(H.cssClasses.ACTIVE)},n}(H);var V=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(){this.content_=this.root_.querySelector(H.strings.CONTENT_SELECTOR)},n.prototype.computeContentClientRect=function(){return this.foundation_.computeContentClientRect()},n.prototype.getDefaultFoundation=function(){var t=this,e={addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},computeContentClientRect:function(){return t.content_.getBoundingClientRect()},setContentStyleProperty:function(e,n){return t.content_.style.setProperty(e,n)}};return this.root_.classList.contains(H.cssClasses.FADE)?new M(e):new F(e)},n.prototype.activate=function(t){this.foundation_.activate(t)},n.prototype.deactivate=function(){this.foundation_.deactivate()},n}(a),k={ACTIVE:"mdc-tab--active"},B={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"},W=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.focusOnActivate_=!0,i}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return k},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return B},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!0,configurable:!0}),r.prototype.handleClick=function(){this.adapter_.notifyInteracted()},r.prototype.isActive=function(){return this.adapter_.hasClass(k.ACTIVE)},r.prototype.setFocusOnActivate=function(t){this.focusOnActivate_=t},r.prototype.activate=function(t){this.adapter_.addClass(k.ACTIVE),this.adapter_.setAttr(B.ARIA_SELECTED,"true"),this.adapter_.setAttr(B.TABINDEX,"0"),this.adapter_.activateIndicator(t),this.focusOnActivate_&&this.adapter_.focus()},r.prototype.deactivate=function(){this.isActive()&&(this.adapter_.removeClass(k.ACTIVE),this.adapter_.setAttr(B.ARIA_SELECTED,"false"),this.adapter_.setAttr(B.TABINDEX,"-1"),this.adapter_.deactivateIndicator())},r.prototype.computeDimensions=function(){var t=this.adapter_.getOffsetWidth(),e=this.adapter_.getOffsetLeft(),n=this.adapter_.getContentOffsetWidth(),r=this.adapter_.getContentOffsetLeft();return{contentLeft:e+r,contentRight:e+r+n,rootLeft:e,rootRight:e+t}},r}(o);var U=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.attachTo=function(t){return new r(t)},r.prototype.initialize=function(t,e){void 0===t&&(t=function(t,e){return new T(t,e)}),void 0===e&&(e=function(t){return new V(t)}),this.id=this.root_.id;var r=this.root_.querySelector(W.strings.RIPPLE_SELECTOR),i=n({},T.createAdapter(this),{addClass:function(t){return r.classList.add(t)},removeClass:function(t){return r.classList.remove(t)},updateCssVariable:function(t,e){return r.style.setProperty(t,e)}}),o=new C(i);this.ripple_=t(this.root_,o);var a=this.root_.querySelector(W.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator_=e(a),this.content_=this.root_.querySelector(W.strings.CONTENT_SELECTOR)},r.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick_=function(){return t.foundation_.handleClick()},this.listen("click",this.handleClick_)},r.prototype.destroy=function(){this.unlisten("click",this.handleClick_),this.ripple_.destroy(),t.prototype.destroy.call(this)},r.prototype.getDefaultFoundation=function(){var t=this;return new W({setAttr:function(e,n){return t.root_.setAttribute(e,n)},addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},hasClass:function(e){return t.root_.classList.contains(e)},activateIndicator:function(e){return t.tabIndicator_.activate(e)},deactivateIndicator:function(){return t.tabIndicator_.deactivate()},notifyInteracted:function(){return t.emit(W.strings.INTERACTED_EVENT,{tabId:t.id},!0)},getOffsetLeft:function(){return t.root_.offsetLeft},getOffsetWidth:function(){return t.root_.offsetWidth},getContentOffsetLeft:function(){return t.content_.offsetLeft},getContentOffsetWidth:function(){return t.content_.offsetWidth},focus:function(){return t.root_.focus()}})},Object.defineProperty(r.prototype,"active",{get:function(){return this.foundation_.isActive()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"focusOnActivate",{set:function(t){this.foundation_.setFocusOnActivate(t)},enumerable:!0,configurable:!0}),r.prototype.activate=function(t){this.foundation_.activate(t)},r.prototype.deactivate=function(){this.foundation_.deactivate()},r.prototype.computeIndicatorClientRect=function(){return this.tabIndicator_.computeContentClientRect()},r.prototype.computeDimensions=function(){return this.foundation_.computeDimensions()},r.prototype.focus=function(){this.root_.focus()},r}(a),j={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"},K={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32},q=new Set;q.add(j.ARROW_LEFT_KEY),q.add(j.ARROW_RIGHT_KEY),q.add(j.END_KEY),q.add(j.HOME_KEY),q.add(j.ENTER_KEY),q.add(j.SPACE_KEY);var G=new Map;G.set(K.ARROW_LEFT_KEYCODE,j.ARROW_LEFT_KEY),G.set(K.ARROW_RIGHT_KEYCODE,j.ARROW_RIGHT_KEY),G.set(K.END_KEYCODE,j.END_KEY),G.set(K.HOME_KEYCODE,j.HOME_KEY),G.set(K.ENTER_KEYCODE,j.ENTER_KEY),G.set(K.SPACE_KEYCODE,j.SPACE_KEY);var X=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.useAutomaticActivation_=!1,i}return e(r,t),Object.defineProperty(r,"strings",{get:function(){return j},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return K},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){},getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!0,configurable:!0}),r.prototype.setUseAutomaticActivation=function(t){this.useAutomaticActivation_=t},r.prototype.activateTab=function(t){var e,n=this.adapter_.getPreviousActiveTabIndex();this.indexIsInRange_(t)&&t!==n&&(-1!==n&&(this.adapter_.deactivateTabAtIndex(n),e=this.adapter_.getTabIndicatorClientRectAtIndex(n)),this.adapter_.activateTabAtIndex(t,e),this.scrollIntoView(t),this.adapter_.notifyTabActivated(t))},r.prototype.handleKeyDown=function(t){var e=this.getKeyFromEvent_(t);if(void 0!==e)if(this.isActivationKey_(e)||t.preventDefault(),this.useAutomaticActivation_){if(this.isActivationKey_(e))return;var n=this.determineTargetFromKey_(this.adapter_.getPreviousActiveTabIndex(),e);this.adapter_.setActiveTab(n),this.scrollIntoView(n)}else{var r=this.adapter_.getFocusedTabIndex();if(this.isActivationKey_(e))this.adapter_.setActiveTab(r);else{n=this.determineTargetFromKey_(r,e);this.adapter_.focusTabAtIndex(n),this.scrollIntoView(n)}}},r.prototype.handleTabInteraction=function(t){this.adapter_.setActiveTab(this.adapter_.getIndexOfTabById(t.detail.tabId))},r.prototype.scrollIntoView=function(t){if(this.indexIsInRange_(t))return 0===t?this.adapter_.scrollTo(0):t===this.adapter_.getTabListLength()-1?this.adapter_.scrollTo(this.adapter_.getScrollContentWidth()):this.isRTL_()?this.scrollIntoViewRTL_(t):void this.scrollIntoView_(t)},r.prototype.determineTargetFromKey_=function(t,e){var n=this.isRTL_(),r=this.adapter_.getTabListLength()-1,i=t;return e===j.END_KEY?i=r:e===j.ARROW_LEFT_KEY&&!n||e===j.ARROW_RIGHT_KEY&&n?i-=1:e===j.ARROW_RIGHT_KEY&&!n||e===j.ARROW_LEFT_KEY&&n?i+=1:i=0,i<0?i=r:i>r&&(i=0),i},r.prototype.calculateScrollIncrement_=function(t,e,n,r){var i=this.adapter_.getTabDimensionsAtIndex(e),o=i.contentLeft-n-r,a=i.contentRight-n-K.EXTRA_SCROLL_AMOUNT,s=o+K.EXTRA_SCROLL_AMOUNT;return e<t?Math.min(a,0):Math.max(s,0)},r.prototype.calculateScrollIncrementRTL_=function(t,e,n,r,i){var o=this.adapter_.getTabDimensionsAtIndex(e),a=i-o.contentLeft-n,s=i-o.contentRight-n-r+K.EXTRA_SCROLL_AMOUNT,c=a-K.EXTRA_SCROLL_AMOUNT;return e>t?Math.max(s,0):Math.min(c,0)},r.prototype.findAdjacentTabIndexClosestToEdge_=function(t,e,n,r){var i=e.rootLeft-n,o=e.rootRight-n-r,a=i+o;return i<0||a<0?t-1:o>0||a>0?t+1:-1},r.prototype.findAdjacentTabIndexClosestToEdgeRTL_=function(t,e,n,r,i){var o=i-e.rootLeft-r-n,a=i-e.rootRight-n,s=o+a;return o>0||s>0?t+1:a<0||s<0?t-1:-1},r.prototype.getKeyFromEvent_=function(t){return q.has(t.key)?t.key:G.get(t.keyCode)},r.prototype.isActivationKey_=function(t){return t===j.SPACE_KEY||t===j.ENTER_KEY},r.prototype.indexIsInRange_=function(t){return t>=0&&t<this.adapter_.getTabListLength()},r.prototype.isRTL_=function(){return this.adapter_.isRTL()},r.prototype.scrollIntoView_=function(t){var e=this.adapter_.getScrollPosition(),n=this.adapter_.getOffsetWidth(),r=this.adapter_.getTabDimensionsAtIndex(t),i=this.findAdjacentTabIndexClosestToEdge_(t,r,e,n);if(this.indexIsInRange_(i)){var o=this.calculateScrollIncrement_(t,i,e,n);this.adapter_.incrementScroll(o)}},r.prototype.scrollIntoViewRTL_=function(t){var e=this.adapter_.getScrollPosition(),n=this.adapter_.getOffsetWidth(),r=this.adapter_.getTabDimensionsAtIndex(t),i=this.adapter_.getScrollContentWidth(),o=this.findAdjacentTabIndexClosestToEdgeRTL_(t,r,e,n,i);if(this.indexIsInRange_(o)){var a=this.calculateScrollIncrementRTL_(t,o,e,n,i);this.adapter_.incrementScroll(a)}},r}(o);var z=X.strings,Y=0,J=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},Object.defineProperty(n.prototype,"focusOnActivate",{set:function(t){this.tabList_.forEach((function(e){return e.focusOnActivate=t}))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"useAutomaticActivation",{set:function(t){this.foundation_.setUseAutomaticActivation(t)},enumerable:!0,configurable:!0}),n.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new U(t)}),void 0===e&&(e=function(t){return new x(t)}),this.tabList_=this.instantiateTabs_(t),this.tabScroller_=this.instantiateTabScroller_(e)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleTabInteraction_=function(e){return t.foundation_.handleTabInteraction(e)},this.handleKeyDown_=function(e){return t.foundation_.handleKeyDown(e)},this.listen(W.strings.INTERACTED_EVENT,this.handleTabInteraction_),this.listen("keydown",this.handleKeyDown_);for(var e=0;e<this.tabList_.length;e++)if(this.tabList_[e].active){this.scrollIntoView(e);break}},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.unlisten(W.strings.INTERACTED_EVENT,this.handleTabInteraction_),this.unlisten("keydown",this.handleKeyDown_),this.tabList_.forEach((function(t){return t.destroy()})),this.tabScroller_&&this.tabScroller_.destroy()},n.prototype.getDefaultFoundation=function(){var t=this;return new X({scrollTo:function(e){return t.tabScroller_.scrollTo(e)},incrementScroll:function(e){return t.tabScroller_.incrementScroll(e)},getScrollPosition:function(){return t.tabScroller_.getScrollPosition()}
1,getScrollContentWidth:function(){return t.tabScroller_.getScrollContentWidth()},getOffsetWidth:function(){return t.root_.offsetWidth},isRTL:function(){return"rtl"===window.getComputedStyle(t.root_).getPropertyValue("direction")},setActiveTab:function(e){return t.foundation_.activateTab(e)},activateTabAtIndex:function(e,n){return t.tabList_[e].activate(n)},deactivateTabAtIndex:function(e){return t.tabList_[e].deactivate()},focusTabAtIndex:function(e){return t.tabList_[e].focus()},getTabIndicatorClientRectAtIndex:function(e){return t.tabList_[e].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(e){return t.tabList_[e].computeDimensions()},getPreviousActiveTabIndex:function(){for(var e=0;e<t.tabList_.length;e++)if(t.tabList_[e].active)return e;return-1},getFocusedTabIndex:function(){var e=t.getTabElements_(),n=document.activeElement;return e.indexOf(n)},getIndexOfTabById:function(e){for(var n=0;n<t.tabList_.length;n++)if(t.tabList_[n].id===e)return n;return-1},getTabListLength:function(){return t.tabList_.length},notifyTabActivated:function(e){return t.emit(z.TAB_ACTIVATED_EVENT,{index:e},!0)}})},n.prototype.activateTab=function(t){this.foundation_.activateTab(t)},n.prototype.scrollIntoView=function(t){this.foundation_.scrollIntoView(t)},n.prototype.getTabElements_=function(){return[].slice.call(this.root_.querySelectorAll(z.TAB_SELECTOR))},n.prototype.instantiateTabs_=function(t){return this.getTabElements_().map((function(e){return e.id=e.id||"mdc-tab-"+ ++Y,t(e)}))},n.prototype.instantiateTabScroller_=function(t){var e=this.root_.querySelector(z.TAB_SCROLLER_SELECTOR);return e?t(e):null},n}(a),$=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();var Z=function(){function t(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=t,this.initialize.apply(this,i(n)),this.foundation=void 0===e?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new $({}))},t.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},t.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},t.prototype.emit=function(t,e,n){var r;void 0===n&&(n=!1),"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:n,detail:e}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root.dispatchEvent(r)},t}();var Q;!function(t){t.SHOWN="mdc-tooltip--shown",t.SHOWING="mdc-tooltip--showing",t.SHOWING_TRANSITION="mdc-tooltip--showing-transition",t.HIDE="mdc-tooltip--hide",t.HIDE_TRANSITION="mdc-tooltip--hide-transition",t.MULTILINE_TOOLTIP="mdc-tooltip--multiline"}(Q||(Q={}));var tt,et,nt,rt=4,it=8,ot=32,at=600,st=500,ct=24,ut=200,lt="MDCTooltip:hidden";!function(t){t[t.DETECTED=0]="DETECTED",t[t.START=1]="START",t[t.CENTER=2]="CENTER",t[t.END=3]="END"}(tt||(tt={})),function(t){t[t.DETECTED=0]="DETECTED",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"}(et||(et={})),function(t){t[t.BOUNDED=0]="BOUNDED",t[t.UNBOUNDED=1]="UNBOUNDED"}(nt||(nt={}));var dt="Unknown",ht="Backspace",pt="Enter",ft="Spacebar",_t="PageUp",mt="PageDown",gt="End",yt="Home",Et="ArrowLeft",vt="ArrowUp",It="ArrowRight",Ct="ArrowDown",Tt="Delete",At="Escape",bt=new Set;bt.add(ht),bt.add(pt),bt.add(ft),bt.add(_t),bt.add(mt),bt.add(gt),bt.add(yt),bt.add(Et),bt.add(vt),bt.add(It),bt.add(Ct),bt.add(Tt),bt.add(At);var St=8,Lt=13,Ot=32,Rt=33,wt=34,Dt=35,xt=36,Nt=37,Pt=38,Ht=39,Mt=40,Ft=46,Vt=27,kt=new Map;kt.set(St,ht),kt.set(Lt,pt),kt.set(Ot,ft),kt.set(Rt,_t),kt.set(wt,mt),kt.set(Dt,gt),kt.set(xt,yt),kt.set(Nt,Et),kt.set(Pt,vt),kt.set(Ht,It),kt.set(Mt,Ct),kt.set(Ft,Tt),kt.set(Vt,At);var Bt=new Set;function Wt(t){var e=t.key;if(bt.has(e))return e;var n=kt.get(t.keyCode);return n||dt}Bt.add(_t),Bt.add(mt),Bt.add(gt),Bt.add(yt),Bt.add(Et),Bt.add(vt),Bt.add(It),Bt.add(Ct);var Ut=Q.SHOWN,jt=Q.SHOWING,Kt=Q.SHOWING_TRANSITION,qt=Q.HIDE,Gt=Q.HIDE_TRANSITION,Xt=Q.MULTILINE_TOOLTIP,zt=function(t){function r(e){var i=t.call(this,n(n({},r.defaultAdapter),e))||this;return i.isShown=!1,i.anchorGap=rt,i.xTooltipPos=tt.DETECTED,i.yTooltipPos=et.DETECTED,i.minViewportTooltipThreshold=ot,i.hideDelayMs=at,i.showDelayMs=st,i.frameId=null,i.hideTimeout=null,i.showTimeout=null,i.documentClickHandler=function(){i.handleClick()},i.documentKeydownHandler=function(t){i.handleKeydown(t)},i}return e(r,t),Object.defineProperty(r,"defaultAdapter",{get:function(){return{getAttribute:function(){return null},setAttribute:function(){},addClass:function(){},hasClass:function(){return!1},removeClass:function(){},setStyleProperty:function(){},getViewportWidth:function(){return 0}
1,getViewportHeight:function(){return 0},getTooltipSize:function(){return{width:0,height:0}},getAnchorBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getAnchorAttribute:function(){return null},isRTL:function(){return!1},registerDocumentEventHandler:function(){},deregisterDocumentEventHandler:function(){},notifyHidden:function(){}}},enumerable:!0,configurable:!0}),r.prototype.handleAnchorMouseEnter=function(){var t=this;this.isShown?this.show():this.showTimeout=setTimeout((function(){t.show()}),this.showDelayMs)},r.prototype.handleAnchorFocus=function(){var t=this;this.showTimeout=setTimeout((function(){t.show()}),this.showDelayMs)},r.prototype.handleAnchorMouseLeave=function(){var t=this;this.clearShowTimeout(),this.hideTimeout=setTimeout((function(){t.hide()}),this.hideDelayMs)},r.prototype.handleAnchorBlur=function(){this.hide()},r.prototype.handleClick=function(){this.hide()},r.prototype.handleKeydown=function(t){Wt(t)===At&&this.hide()},r.prototype.show=function(){var t=this;if(this.clearHideTimeout(),this.clearShowTimeout(),!this.isShown){this.isShown=!0,this.parseShowTooltipOptions().hideFromScreenreader||this.adapter.setAttribute("aria-hidden","false"),this.adapter.removeClass(qt),this.adapter.addClass(jt),this.isTooltipMultiline()&&this.adapter.addClass(Xt);var e=this.calculateTooltipDistance(),n=e.top,r=e.left;this.adapter.setStyleProperty("top",n+"px"),this.adapter.setStyleProperty("left",r+"px"),this.adapter.registerDocumentEventHandler("click",this.documentClickHandler),this.adapter.registerDocumentEventHandler("keydown",this.documentKeydownHandler),this.frameId=requestAnimationFrame((function(){t.clearAllAnimationClasses(),t.adapter.addClass(Ut),t.adapter.addClass(Kt)}))}},r.prototype.hide=function(){this.clearHideTimeout(),this.clearShowTimeout(),this.isShown&&(this.frameId&&cancelAnimationFrame(this.frameId),this.isShown=!1,this.adapter.setAttribute("aria-hidden","true"),this.clearAllAnimationClasses(),this.adapter.addClass(qt),this.adapter.addClass(Gt),this.adapter.removeClass(Ut),this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler),this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler))},r.prototype.handleTransitionEnd=function(){var t=this.adapter.hasClass(qt);this.adapter.removeClass(jt),this.adapter.removeClass(Kt),this.adapter.removeClass(qt),this.adapter.removeClass(Gt),t&&this.adapter.notifyHidden()},r.prototype.clearAllAnimationClasses=function(){this.adapter.removeClass(Kt),this.adapter.removeClass(Gt)},r.prototype.setTooltipPosition=function(t){var e=t.xPos,n=t.yPos;e&&(this.xTooltipPos=e),n&&(this.yTooltipPos=n)},r.prototype.setAnchorBoundaryType=function(t){t===nt.UNBOUNDED?this.anchorGap=it:this.anchorGap=rt},r.prototype.parseShowTooltipOptions=function(){return{hideFromScreenreader:Boolean(this.adapter.getAnchorAttribute("data-tooltip-id"))}},r.prototype.isTooltipMultiline=function(){var t=this.adapter.getTooltipSize();return t.height>ct&&t.width>=ut},r.prototype.calculateTooltipDistance=function(){var t=this.adapter.getAnchorBoundingRect();if(!t)return{top:0,left:0};var e=this.adapter.getTooltipSize();return{top:this.calculateYTooltipDistance(t,e.height),left:this.calculateXTooltipDistance(t,e.width)}},r.prototype.calculateXTooltipDistance=function(t,e){var n=t.left,r=t.right-e,i=t.left+(t.width-e)/2;this.adapter.isRTL()&&(n=t.right-e,r=t.left);var o=this.determineValidPositionOptions(i,n,r);return this.xTooltipPos===tt.START&&o.has(n)?n:this.xTooltipPos===tt.END&&o.has(r)?r:this.xTooltipPos===tt.CENT
1ER&&o.has(i)||o.has(i)?i:o.has(n)?n:o.has(r)?r:i},r.prototype.determineValidPositionOptions=function(t,e,n){var r=new Set,i=new Set;return this.positionHonorsViewportThreshold(t)?r.add(t):this.positionDoesntCollideWithViewport(t)&&i.add(t),this.positionHonorsViewportThreshold(e)?r.add(e):this.positionDoesntCollideWithViewport(e)&&i.add(e),this.positionHonorsViewportThreshold(n)?r.add(n):this.positionDoesntCollideWithViewport(n)&&i.add(n),r.size?r:i},r.prototype.positionHonorsViewportThreshold=function(t){var e=this.adapter.getViewportWidth();return t+this.adapter.getTooltipSize().width<=e-this.minViewportTooltipThreshold&&t>=this.minViewportTooltipThreshold},r.prototype.positionDoesntCollideWithViewport=function(t){var e=this.adapter.getViewportWidth();return t+this.adapter.getTooltipSize().width<=e&&t>=0},r.prototype.calculateYTooltipDistance=function(t,e){var n=t.bottom+this.anchorGap,r=t.top-(this.anchorGap+e),i=this.determineValidYPositionOptions(r,n);return this.yTooltipPos===et.ABOVE&&i.has(r)?r:this.yTooltipPos===et.BELOW&&i.has(n)||i.has(n)?n:i.has(r)?r:n},r.prototype.determineValidYPositionOptions=function(t,e){var n=new Set,r=new Set;return this.yPositionHonorsViewportThreshold(t)?n.add(t):this.yPositionDoesntCollideWithViewport(t)&&r.add(t),this.yPositionHonorsViewportThreshold(e)?n.add(e):this.yPositionDoesntCollideWithViewport(e)&&r.add(e),n.size?n:r},r.prototype.yPositionHonorsViewportThreshold=function(t){var e=this.adapter.getViewportHeight();return t+this.adapter.getTooltipSize().height+this.minViewportTooltipThreshold<=e&&t>=this.minViewportTooltipThreshold},r.prototype.yPositionDoesntCollideWithViewport=function(t){var e=this.adapter.getViewportHeight();return t+this.adapter.getTooltipSize().height<=e&&t>=0},r.prototype.clearShowTimeout=function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)},r.prototype.clearHideTimeout=function(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)},r.prototype.destroy=function(){this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=null),this.clearHideTimeout(),this.clearShowTimeout(),this.adapter.removeClass(Ut),this.adapter.removeClass(Kt),this.adapter.removeClass(jt),this.adapter.removeClass(qt),this.adapter.removeClass(Gt),this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler),this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler)},r}($);var Yt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialSyncWithDOM=function(){var t=this,e=this.root.getAttribute("id");if(!e)throw new Error("MDCTooltip: Tooltip component must have an id.");if(this.anchorElem=document.querySelector('[aria-describedby="'+e+'"]')||document.querySelector('[data-tooltip-id="'+e+'"]'),!this.anchorElem)throw new Error("MDCTooltip: Tooltip component requires an anchor element annotated with [aria-describedby] or [data-tooltip-id] anchor element.");this.handleMouseEnter=function(){t.foundation.handleAnchorMouseEnter()},this.handleFocus=function(){t.foundation.handleAnchorFocus()},this.handleMouseLeave=function(){t.foundation.handleAnchorMouseLeave()},this.handleBlur=function(){t.foundation.handleAnchorBlur()},this.handleTransitionEnd=function(){t.foundation.handleTransitionEnd()},this.anchorElem.addEventListener("mouseenter",this.handleMouseEnter),this.anchorElem.addEventListener("focus",this.handleFocus),this.anchorElem.addEventListener("mouseleave",this.handleMouseLeave),this.anchorElem.addEventListener("blur",this.handleBlur),this.listen("transitionend",this.handleTransitionEnd)},n.prototype.destroy=function(){this.anchorElem&&(this.anchorElem.removeEventListener("mouseenter",this.handleMouseEnter),this.anchorElem.removeEventListener("focus",this.handleFocus),this.anchorElem.removeEventListener("mouseleave",this.handleMouseLeave),this.anchorElem.removeEventListener("blur",this.handleBlur)),this.unlisten("transitionend",this.handleTransitionEnd),t.prototype.destroy.call(this)},n.prototype.setTooltipPosition=function(t){this.foundation.setTooltipPosition(t)},n.prototype.setAnchorBoundaryType=function(t){this.foundation.setAnchorBoundaryType(t)},n.prototype.getDefaultFoundation=function(){var t=this;return new zt({getAttribute:function(e){return t.root.getAttribute(e)},setAttribute:function(e,n){t.root.setAttribute(e,n)},addClass:function(e){t.root.classList.add(e)},hasClass:function(e){return t.root.classList.contains(e)},removeClass:function(e){t.root.classList.remove(e)},setStyleProperty:function(e,n){t.root.style.setProperty(e,n)},getViewportWidth:function(){return window.innerWidth}
1,getViewportHeight:function(){return window.innerHeight},getTooltipSize:function(){return{width:t.root.offsetWidth,height:t.root.offsetHeight}},getAnchorBoundingRect:function(){return t.anchorElem?t.anchorElem.getBoundingClientRect():null},getAnchorAttribute:function(e){return t.anchorElem?t.anchorElem.getAttribute(e):null},isRTL:function(){return"rtl"===getComputedStyle(t.root).direction},registerDocumentEventHandler:function(t,e){document.body.addEventListener(t,e)},deregisterDocumentEventHandler:function(t,e){document.body.removeEventListener(t,e)},notifyHidden:function(){t.emit(lt,{})}})},n}(Z),Jt={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},$t=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.shakeAnimationEndHandler_=function(){return i.handleShakeAnimationEnd_()},i}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return Jt},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),r.prototype.init=function(){this.adapter_.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},r.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},r.prototype.getWidth=function(){return this.adapter_.getWidth()},r.prototype.shake=function(t){var e=r.cssClasses.LABEL_SHAKE;t?this.adapter_.addClass(e):this.adapter_.removeClass(e)},r.prototype.float=function(t){var e=r.cssClasses,n=e.LABEL_FLOAT_ABOVE,i=e.LABEL_SHAKE;t?this.adapter_.addClass(n):(this.adapter_.removeClass(n),this.adapter_.removeClass(i))},r.prototype.handleShakeAnimationEnd_=function(){var t=r.cssClasses.LABEL_SHAKE;this.adapter_.removeClass(t)},r}(o);var Zt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},n.prototype.shake=function(t){this.foundation_.shake(t)},n.prototype.float=function(t){this.foundation_.float(t)},n.prototype.getWidth=function(){return this.foundation_.getWidth()},n.prototype.getDefaultFoundation=function(){var t=this;return new $t({addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},getWidth:function(){return 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 r=n.scrollWidth;return document.documentElement.removeChild(n),r}(t.root_)},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)}})},n}(a),Qt={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},te=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.transitionEndHandler_=function(t){return i.handleTransitionEnd(t)},i}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return Qt},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!0,configurable:!0}),r.prototype.init=function(){this.adapter_.registerEventHandler("transitionend",this.transitionEndHandler_)},r.prototype.destroy=function(){this.adapter_.deregisterEventHandler("transitionend",this.transitionEndHandler_)},r.prototype.activate=function(){this.adapter_.removeClass(Qt.LINE_RIPPLE_DEACTIVATING),this.adapter_.addClass(Qt.LINE_RIPPLE_ACTIVE)},r.prototype.setRippleCenter=function(t){this.adapter_.setStyle("transform-origin",t+"px center")},r.prototype.deactivate=function(){this.adapter_.addClass(Qt.LINE_RIPPLE_DEACTIVATING)},r.prototype.handleTransitionEnd=function(t){var e=this.adapter_.hasClass(Qt.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter_.removeClass(Qt.LINE_RIPPLE_ACTIVE),this.adapter_.removeClass(Qt.LINE_RIPPLE_DEACTIVATING))},r}(o);var ee=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},n.prototype.activate=function(){this.foundation_.activate()},n.prototype.deactivate=function(){this.foundation_.deactivate()},n.prototype.setRippleCenter=function(t){this.foundation_.setRippleCenter(t)},n.prototype.getDefaultFoundation=function(){var t=this;return new te({addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},hasClass:function(e){return t.root_.classList.contains(e)},setStyle:function(e,n){return t.root_.style.setProperty(e,n)},registerEventHandler:function(e,n){return t.listen(e,n)},deregisterEventHandler:function(e,n){return t.unlisten(e,n)}})},n}(a),ne={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},re={NOTCH_ELEMENT_PADDING:8},ie={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",O
1UTLINE_UPGRADED:"mdc-notched-outline--upgraded"},oe=function(t){function r(e){return t.call(this,n({},r.defaultAdapter,e))||this}return e(r,t),Object.defineProperty(r,"strings",{get:function(){return ne},enumerable:!0,configurable:!0}),Object.defineProperty(r,"cssClasses",{get:function(){return ie},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return re},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!0,configurable:!0}),r.prototype.notch=function(t){var e=r.cssClasses.OUTLINE_NOTCHED;t>0&&(t+=re.NOTCH_ELEMENT_PADDING),this.adapter_.setNotchWidthProperty(t),this.adapter_.addClass(e)},r.prototype.closeNotch=function(){var t=r.cssClasses.OUTLINE_NOTCHED;this.adapter_.removeClass(t),this.adapter_.removeNotchWidthProperty()},r}(o);var ae=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialSyncWithDOM=function(){this.notchElement_=this.root_.querySelector(ne.NOTCH_ELEMENT_SELECTOR);var t=this.root_.querySelector("."+$t.cssClasses.ROOT);t?(t.style.transitionDuration="0s",this.root_.classList.add(ie.OUTLINE_UPGRADED),requestAnimationFrame((function(){t.style.transitionDuration=""}))):this.root_.classList.add(ie.NO_LABEL)},n.prototype.notch=function(t){this.foundation_.notch(t)},n.prototype.closeNotch=function(){this.foundation_.closeNotch()},n.prototype.getDefaultFoundation=function(){var t=this;return new oe({addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},setNotchWidthProperty:function(e){return t.notchElement_.style.setProperty("width",e+"px")},removeNotchWidthProperty:function(){return t.notchElement_.style.removeProperty("width")}})},n}(a),se={ROOT:"mdc-text-field-character-counter"},ce={ROOT_SELECTOR:"."+se.ROOT},ue=function(t){function r(e){return t.call(this,n({},r.defaultAdapter,e))||this}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return se},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return ce},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!0,configurable:!0}),r.prototype.setCounterValue=function(t,e){t=Math.min(t,e),this.adapter_.setContent(t+" / "+e)},r}(o);var le=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},Object.defineProperty(n.prototype,"foundation",{get:function(){return this.foundation_},enumerable:!0,configurable:!0}),n.prototype.getDefaultFoundation=function(){var t=this;return new ue({setContent:function(e){t.root_.textContent=e}})},n}(a),de={ARIA_CONTROLS:"aria-controls",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},he={DENSE:"mdc-text-field--dense",DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",FULLWIDTH:"mdc-text-field--fullwidth",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon"},pe={DENSE_LABEL_SCALE:.923,LABEL_SCALE:.75},fe=["pattern","min","max","required","step","minlength","maxlength"],_e=["color","date","datetime-local","month","range","time","week"],me=["mousedown","touchstart"],ge=["click","keydown"],ye=function(t){function r(e,i){void 0===i&&(i={});var o=t.call(this,n({},r.defaultAdapter,e))||this;return o.isFocused_=!1,o.receivedUserInput_=!1,o.isValid_=!0,o.useNativeValidation_=!0,o.helperText_=i.helperText,o.characterCounter_=i.characterCounter,o.leadingIcon_=i.leadingIcon,o.trailingIcon_=i.trailingIcon,o.inputFocusHandler_=function(){return o.activateFocus()},o.inputBlurHandler_=function(){return o.deactivateFocus()},o.inputInputHandler_=function(){return o.handleInput()},o.setPointerXOffset_=function(t){return o.setTransformOrigin(t)},o.textFieldInteractionHandler_=function(){return o.handleTextFieldInteraction()},o.validationAttributeChangeHandler_=function(t){return o.handleValidationAttributeChange(t)}
vendor: 15,703 bytes, line 1
1,o}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return he},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return de},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return pe},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shouldAlwaysFloat_",{get:function(){var t=this.getNativeInput_().type;return _e.indexOf(t)>=0},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat_||this.isFocused_||!!this.getValue()||this.isBadInput_()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shouldShake",{get:function(){return!this.isFocused_&&!this.isValid()&&!!this.getValue()},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!0,configurable:!0}),r.prototype.init=function(){var t=this;this.adapter_.isFocused()?this.inputFocusHandler_():this.adapter_.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter_.floatLabel(!0)),this.adapter_.registerInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter_.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter_.registerInputInteractionHandler("input",this.inputInputHandler_),me.forEach((function(e){t.adapter_.registerInputInteractionHandler(e,t.setPointerXOffset_)})),ge.forEach((function(e){t.adapter_.registerTextFieldInteractionHandler(e,t.textFieldInteractionHandler_)})),this.validationObserver_=this.adapter_.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().length)},r.prototype.destroy=function(){var t=this;this.adapter_.deregisterInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter_.deregisterInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter_.deregisterInputInteractionHandler("input",this.inputInputHandler_),me.forEach((function(e){t.adapter_.deregisterInputInteractionHandler(e,t.setPointerXOffset_)})),ge.forEach((function(e){t.adapter_.deregisterTextFieldInteractionHandler(e,t.textFieldInteractionHandler_)})),this.adapter_.deregisterValidationAttributeChangeHandler(this.validationObserver_)},r.prototype.handleTextFieldInteraction=function(){var t=this.adapter_.getNativeInput();t&&t.disabled||(this.receivedUserInput_=!0)},r.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return fe.indexOf(t)>-1&&(e.styleValidity_(!0),!0)})),t.indexOf("maxlength")>-1&&this.setCharacterCounter_(this.getValue().length)},r.prototype.notchOutline=function(t){if(this.adapter_.hasOutline())if(t){var e=this.adapter_.hasClass(he.DENSE)?pe.DENSE_LABEL_SCALE:pe.LABEL_SCALE,n=this.adapter_.getLabelWidth()*e;this.adapter_.notchOutline(n)}else this.adapter_.closeOutline()},r.prototype.activateFocus=function(){this.isFocused_=!0,this.styleFocused_(this.isFocused_),this.adapter_.activateLineRipple(),this.adapter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.adapter_.shakeLabel(this.shouldShake)),this.helperText_&&this.helperText_.showToScreenReader()},r.prototype.setTransformOrigin=function(t){var e=t.touches,n=e?e[0]:t,r=n.target.getBoundingClientRect(),i=n.clientX-r.left;this.adapter_.setLineRippleTransformOrigin(i)},r.prototype.handleInput=function(){this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},r.prototype.autoCompleteFocus=function(){this.receivedUserInput_||this.activateFocus()},r.prototype.deactivateFocus=function(){this.isFocused_=!1,this.adapter_.deactivateLineRipple();var t=this.isValid();this.styleValidity_(t),this.styleFocused_(this.isFocused_),this.adapter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.adapter_.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput_=!1)},r.prototype.getValue=function(){return this.getNativeInput_().value},r.prototype.setValue=function(t){this.getValue()!==t&&(this.getNativeInput_().value=t),this.setCharacterCounter_(t.length);var e=this.isValid();this.styleValidity_(e),this.adapter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.adapter_.shakeLabel(this.shouldShake))},r.prototype.isValid=function(){return this.useNativeValidation_?this.isNativeInputValid_():this.isValid_},r.prototype.setValid=function(t){this.isValid_=t,this.styleValidity_(t);var e=!t&&!this.isFocused_&&!!this.getValue();this.adapter_.hasLabel()&&this.adapter_.shakeLabel(e)},r.prototype.setUseNativeValidation=function(t){this.useNativeValidation_=t},r.prototype.isDisabled=function(){return this.getNativeInput_().disabled},r.prototype.setDisabled=function(t){this.getNativeInput_().disabled=t,this.styleDisabled_(t)},r.prototype.setHelperTextContent=function(t){this.helperText_&&this.helperText_.setContent(t)},r.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(t)},r.prototype.setLeadingIconContent=function(t){this.leadingIcon_&&this.leadingIcon_.setContent(t)},r.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon_&&this.trailingIcon_.setAriaLabel(t)},r.prototype.setTrailingIconContent=function(t){this.trailingIcon_&&this.trailingIcon_.setContent(t)},r.prototype.setCharacterCounter_=function(t){if(this.characterCounter_){var e=this.getNativeInput_().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter_.setCounterValue(t,e)}},r.prototype.isBadInput_=function(){return this.getNativeInput_().validity.badInput||!1},r.prototype.isNativeInputValid_=function(){return this.getNativeInput_().validity.valid},r.prototype.styleValidity_=function(t){var e=r.cssClasses.INVALID;t?this.adapter_.removeClass(e):this.adapter_.addClass(e),this.helperText_&&this.helperText_.setValidity(t)},r.prototype.styleFocused_=function(t){var e=r.cssClasses.FOCUSED;t?this.adapter_.addClass(e):this.adapter_.removeClass(e)},r.prototype.styleDisabled_=function(t){var e=r.cssClasses,n=e.DISABLED,i=e.INVALID;t?(this.adapter_.addClass(n),this.adapter_.removeClass(i)):this.adapter_.removeClass(n),this.leadingIcon_&&this.leadingIcon_.setDisabled(t),this.trailingIcon_&&this.trailingIcon_.setDisabled(t)},r.prototype.getNativeInput_=function(){return(this.adapter_?this.adapter_.getNativeInput():null)||{disabled:!1,maxLength:-1,type:"input",validity:{badInput:!1,valid:!0},value:""}},r}(o);var Ee={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},ve={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+Ee.ROOT},Ie=function(t){function r(e){return t.call(this,n({},r.defaultAdapter,e))||this}return e(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return Ee},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return ve},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),r.prototype.setContent=function(t){this.adapter_.setContent(t)},r.prototype.setPersistent=function(t){t?this.adapter_.addClass(Ee.HELPER_TEXT_PERSISTENT):this.adapter_.removeClass(Ee.HELPER_TEXT_PERSISTENT)},r.prototype.setValidation=function(t){t?this.adapter_.addClass(Ee.HELPER_TEXT_VALIDATION_MSG):this.adapter_.removeClass(Ee.HELPER_TEXT_VALIDATION_MSG)},r.prototype.showToScreenReader=function(){this.adapter_.removeAttr(ve.ARIA_HIDDEN)},r.prototype.setValidity=function(t){var e=this.adapter_.hasClass(Ee.HELPER_TEXT_PERSISTENT),n=this.adapter_.hasClass(Ee.HELPER_TEXT_VALIDATION_MSG)&&!t;n?this.adapter_.setAttr(ve.ROLE,"alert"):this.adapter_.removeAttr(ve.ROLE),e||n||this.hide_()},r.prototype.hide_=function(){this.adapter_.setAttr(ve.ARIA_HIDDEN,"true")},r}(o);var Ce=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},Object.defineProperty(n.prototype,"foundation",{get:function(){return this.foundation_},enumerable:!0,configurable:!0}),n.prototype.getDefaultFoundation=function(){var t=this;return new Ie({addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},hasClass:function(e){return t.root_.classList.contains(e)},setAttr:function(e,n){return t.root_.setAttribute(e,n)},removeAttr:function(e){return t.root_.removeAttribute(e)},setContent:function(e){t.root_.textContent=e}})},n}(a),Te={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},Ae={ROOT:"mdc-text-field__icon"},be=["click","keydown"],Se=function(t){function r(e){var i=t.call(this,n({},r.defaultAdapter,e))||this;return i.savedTabIndex_=null,i.interactionHandler_=function(t){return i.handleInteraction(t)},i}return e(r,t),Object.defineProperty(r,"strings",{get:function(){return Te},enumerable:!0,configurable:!0}),Object.defineProperty(r,"cssClasses",{get:function(){return Ae},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),r.prototype.init=function(){var t=this;this.savedTabIndex_=this.adapter_.getAttr("tabindex"),be.forEach((function(e){t.adapter_.registerInteractionHandler(e,t.interactionHandler_)}))},r.prototype.destroy=function(){var t=this;be.forEach((function(e){t.adapter_.deregisterInteractionHandler(e,t.interactionHandler_)}))},r.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter_.setAttr("tabindex","-1"),this.adapter_.removeAttr("role")):(this.adapter_.setAttr("tabindex",this.savedTabIndex_),this.adapter_.setAttr("role",Te.ICON_ROLE)))},r.prototype.setAriaLabel=function(t){this.adapter_.setAttr("aria-label",t)},r.prototype.setContent=function(t){this.adapter_.setContent(t)},r.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&(t.preventDefault(),this.adapter_.notifyIconAction())},r}(o);var Le=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.attachTo=function(t){return new n(t)},Object.defineProperty(n.prototype,"foundation",{get:function(){return this.foundation_},enumerable:!0,configurable:!0}),n.prototype.getDefaultFoundation=function(){var t=this;return new Se({getAttr:function(e){return t.root_.getAttribute(e)},setAttr:function(e,n){return t.root_.setAttribute(e,n)},removeAttr:function(e){return t.root_.removeAttribute(e)},setContent:function(e){t.root_.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(Se.strings.ICON_EVENT,{},!0)}})},n}(a),Oe=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.attachTo=function(t){return new r(t)},r.prototype.initialize=function(t,e,n,r,i,o,a){void 0===t&&(t=function(t,e){return new T(t,e)}),void 0===e&&(e=function(t){return new ee(t)}),void 0===n&&(n=function(t){return new Ce(t)}),void 0===r&&(r=function(t){return new le(t)}),void 0===i&&(i=function(t){return new Le(t)}),void 0===o&&(o=function(t){return new Zt(t)}),void 0===a&&(a=function(t){return new ae(t)}),this.input_=this.root_.querySelector(de.INPUT_SELECTOR);var s=this.root_.querySelector(de.LABEL_SELECTOR);this.label_=s?o(s):null;var c=this.root_.querySelector(de.LINE_RIPPLE_SELECTOR);this.lineRipple_=c?e(c):null;var u=this.root_.querySelector(de.OUTLINE_SELECTOR);this.outline_=u?a(u):null;var l=Ie.strings,d=this.root_.nextElementSibling,h=d&&d.classList.contains(he.HELPER_LINE),p=h&&d&&d.querySelector(l.ROOT_SELECTOR);this.helperText_=p?n(p):null;var f=ue.strings,_=this.root_.querySelector(f.ROOT_SELECTOR);!_&&h&&d&&(_=d.querySelector(f.ROOT_SELECTOR)),this.characterCounter_=_?r(_):null;var m=this.root_.querySelector(de.LEADING_ICON_SELECTOR);this.leadingIcon_=m?i(m):null;var g=this.root_.querySelector(de.TRAILING_ICON_SELECTOR);this.trailingIcon_=g?i(g):null,this.ripple=this.createRipple_(t)},r.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple_&&this.lineRipple_.destroy(),this.helperText_&&this.helperText_.destroy(),this.characterCounter_&&this.characterCounter_.destroy(),this.leadingIcon_&&this.leadingIcon_.destroy(),this.trailingIcon_&&this.trailingIcon_.destroy(),this.label_&&this.label_.destroy(),this.outline_&&this.outline_.destroy(),t.prototype.destroy.call(this)},r.prototype.initialSyncWithDOM=function(){this.disabled=this.input_.disabled},Object.defineProperty(r.prototype,"value",{get:function(){return this.foundation_.getValue()},set:function(t){this.foundation_.setValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"disabled",{get:function(){return this.foundation_.isDisabled()},set:function(t){this.foundation_.setDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"valid",{get:function(){return this.foundation_.isValid()},set:function(t){this.foundation_.setValid(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"required",{get:function(){return this.input_.required},set:function(t){this.input_.required=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pattern",{get:function(){return this.input_.pattern},set:function(t){this.input_.pattern=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minLength",{get:function(){return this.input_.minLength},set:function(t){this.input_.minLength=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxLength",{get:function(){return this.input_.maxLength},set:function(t){t<0?this.input_.removeAttribute("maxLength"):this.input_.maxLength=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"min",{get:function(){return this.input_.min},set:function(t){this.input_.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"max",{get:function(){return this.input_.max},set:function(t){this.input_.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"step",{get:function(){return this.input_.step},set:function(t){this.input_.step=t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"helperTextContent",{set:function(t){this.foundation_.setHelperTextContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation_.setLeadingIconAriaLabel(t)}
1,enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"leadingIconContent",{set:function(t){this.foundation_.setLeadingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"trailingIconAriaLabel",{set:function(t){this.foundation_.setTrailingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"trailingIconContent",{set:function(t){this.foundation_.setTrailingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"useNativeValidation",{set:function(t){this.foundation_.setUseNativeValidation(t)},enumerable:!0,configurable:!0}),r.prototype.focus=function(){this.input_.focus()},r.prototype.layout=function(){var t=this.foundation_.shouldFloat;this.foundation_.notchOutline(t)},r.prototype.getDefaultFoundation=function(){var t=n({},this.getRootAdapterMethods_(),this.getInputAdapterMethods_(),this.getLabelAdapterMethods_(),this.getLineRippleAdapterMethods_(),this.getOutlineAdapterMethods_());return new ye(t,this.getFoundationMap_())},r.prototype.getRootAdapterMethods_=function(){var t=this;return{addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},hasClass:function(e){return t.root_.classList.contains(e)},registerTextFieldInteractionHandler:function(e,n){return t.listen(e,n)},deregisterTextFieldInteractionHandler:function(e,n){return t.unlisten(e,n)},registerValidationAttributeChangeHandler:function(e){var n=new MutationObserver((function(t){return e(function(t){return t.map((function(t){return t.attributeName})).filter((function(t){return t}))}(t))}));return n.observe(t.input_,{attributes:!0}),n},deregisterValidationAttributeChangeHandler:function(t){return t.disconnect()}}},r.prototype.getInputAdapterMethods_=function(){var t=this;return{getNativeInput:function(){return t.input_},isFocused:function(){return document.activeElement===t.input_},registerInputInteractionHandler:function(e,n){return t.input_.addEventListener(e,n,f())},deregisterInputInteractionHandler:function(e,n){return t.input_.removeEventListener(e,n,f())}}},r.prototype.getLabelAdapterMethods_=function(){var t=this;return{floatLabel:function(e){return t.label_&&t.label_.float(e)},getLabelWidth:function(){return t.label_?t.label_.getWidth():0},hasLabel:function(){return Boolean(t.label_)},shakeLabel:function(e){return t.label_&&t.label_.shake(e)}}},r.prototype.getLineRippleAdapterMethods_=function(){var t=this;return{activateLineRipple:function(){t.lineRipple_&&t.lineRipple_.activate()},deactivateLineRipple:function(){t.lineRipple_&&t.lineRipple_.deactivate()},setLineRippleTransformOrigin:function(e){t.lineRipple_&&t.lineRipple_.setRippleCenter(e)}}},r.prototype.getOutlineAdapterMethods_=function(){var t=this;return{closeOutline:function(){return t.outline_&&t.outline_.closeNotch()},hasOutline:function(){return Boolean(t.outline_)},notchOutline:function(e){return t.outline_&&t.outline_.notch(e)}}},r.prototype.getFoundationMap_=function(){return{characterCounter:this.characterCounter_?this.characterCounter_.foundation:void 0,helperText:this.helperText_?this.helperText_.foundation:void 0,leadingIcon:this.leadingIcon_?this.leadingIcon_.foundation:void 0,trailingIcon:this.trailingIcon_?this.trailingIcon_.foundation:void 0}},r.prototype.createRipple_=function(t){var e=this,r=this.root_.classList.contains(he.TEXTAREA),i=this.root_.classList.contains(he.OUTLINED);if(r||i)return null;var o=n({},T.createAdapter(this),{isSurfaceActive:function(){return s(e.input_,":active")},registerInteractionHandler:function(t,n){return e.input_.addEventListener(t,n,f())},deregisterInteractionHandler:function(t,n){return e.input_.removeEventListener(t,n,f())}});return t(this.root_,new C(o))},r}(a);const Re=t=>{const e=window.materialDesign;if(void 0!==e)return e[t]},we=t=>{t.reset(),t.style.display="none",document.getElementById("materialDesignContactFormErrorMsgContainer").style.display="block",De()},De=()=>{const t=document.getElementById("materialDesignContactForm");if(!t)return;const e=t.querySelector("[name=material_design_token]");"undefined"!=typeof grecaptcha&&grecaptcha.hasOwnProperty("ready")&&Re("recaptcha_site_key")&&e&&grecaptcha.ready((function(){gre
1captcha.execute(Re("recaptcha_site_key"),{action:"contact"}).then((function(t){e.setAttribute("value",t)}))}))},xe=t=>{let e=24,n=24;if(!t)return;const r=t=>{t.matches&&i()},i=()=>{const r=t.querySelectorAll(".is-style-material-masonry .wp-block-post");if(r.length<=0)return;e=parseInt(window.getComputedStyle(t).getPropertyValue("grid-auto-rows"),10),n=parseInt(window.getComputedStyle(t).getPropertyValue("grid-row-gap"),10);if(!(r[0].querySelectorAll(".post-card").length>0))return t.style.gridAutoRows="minmax(min-content,max-content)",void setTimeout(()=>{r.forEach(o),t.style.removeProperty("grid-auto-rows")},0);r.forEach(o)},o=t=>{if(!t)return;let r=t.querySelector(".post-card");if(!r){const e=t.querySelector(".wp-block-material-image-card-query");r=e||t}const i=r.getBoundingClientRect().height,o=Math.ceil((i+n)/(e+n));t.style.gridRowEnd="span "+o},a=window.matchMedia("(min-width: 840px)");a.addEventListener("change",r),r(a)};function Ne(t){return t<0?-1:0===t?0:1}function Pe(t,e,n){return(1-n)*t+n*e}function He(t){return(t%=360)<0&&(t+=360),t}function Me(t,e){return 180-Math.abs(Math.abs(t-e)-180)}const Fe=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],Ve=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],ke=[95.047,100,108.883];function Be(t){return t>>16&255}function We(t){return t>>8&255}function Ue(t){return 255&t}function je(t,e,n){const r=Ve,i=r[0][0]*t+r[0][1]*e+r[0][2]*n,o=r[1][0]*t+r[1][1]*e+r[1][2]*n,a=r[2][0]*t+r[2][1]*e+r[2][2]*n,s=ze(i),c=ze(o),u=ze(a);return(255<<24|(255&s)<<16|(255&c)<<8|255&u)>>>0}function Ke(t){const e=(t+16)/116,n=e*e*e>216/24389;return je((n?e*e*e:t/(24389/27))*ke[0],(t>8?e*e*e:t/(24389/27))*ke[1],(n?e*e*e:t/(24389/27))*ke[2])}function qe(t){const e=function(t){const e=Xe(Be(t)),n=Xe(We(t)),r=Xe(Ue(t));return[(i=[e,n,r])[0]*(o=Fe)[0][0]+i[1]*o[0][1]+i[2]*o[0][2],i[0]*o[1][0]+i[1]*o[1][1]+i[2]*o[1][2],i[0]*o[2][0]+i[1]*o[2][1]+i[2]*o[2][2]];var i,o}(t)[1]/100;if(e<=216/24389)return 24389/27*e;return 116*Math.pow(e,1/3)-16}function Ge(t){return t>8?100*Math.pow((t+16)/116,3):t/(24389/27)*100}function Xe(t){const e=t/255;return e<=.040449936?e/12.92*100:100*Math.pow((e+.055)/1.055,2.4)}function ze(t){const e=t/100;let n=0;return n=e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,r=0,i=255,(o=Math.round(255*n))<r?r:o>i?i:o;var r,i,o}class Ye{constructor(t,e,n,r,i,o,a,s,c,u){this.n=t,this.aw=e,this.nbb=n,this.ncb=r,this.c=i,this.nc=o,this.rgbD=a,this.fl=s,this.fLRoot=c,this.z=u}static make(t=function(){return ke}(),e=200/Math.PI*Ge(50)/100,n=50,r=2,i=!1){const o=t,a=.401288*o[0]+.650173*o[1]+-.051461*o[2],s=-.250268*o[0]+1.204414*o[1]+.045854*o[2],c=-.002079*o[0]+.048952*o[1]+.953127*o[2],u=.8+r/10,l=u>=.9?Pe(.59,.69,10*(u-.9)):Pe(.525,.59,10*(u-.8));let d=i?1:u*(1-1/3.6*Math.exp((-e-42)/92));d=d>1?1:d<0?0:d;const h=u,p=[d*(100/a)+1-d,d*(100/s)+1-d,d*(100/c)+1-d],f=1/(5*e+1),_=f*f*f*f,m=1-_,g=_*e+.1*m*m*Math.cbrt(5*e),y=Ge(n)/t[1],E=1.48+Math.sqrt(y),v=.725/Math.pow(y,.2),I=v,C=[Math.pow(g*p[0]*a/100,.42),Math.pow(g*p[1]*s/100,.42),Math.pow(g*p[2]*c/100,.42)],T=[400*C[0]/(C[0]+27.13),400*C[1]/(C[1]+27.13),400*C[2]/(C[2]+27.13)];return new Ye(y,(2*T[0]+T[1]+.05*T[2])*v,v,I,l,h,p,g,Math.pow(g,.25),E)}}Ye.DEFAULT=Ye.make();class Je{constructor(t,e,n,r,i,o,a,s,c){this.hue=t,this.chroma=e,this.j=n,this.q=r,this.m=i,this.s=o,this.jstar=a,this.astar=s,this.bstar=c}distance(t){const e=this.jstar-t.jstar,n=this.astar-t.astar,r=this.bstar-t.bstar,i=Math.sqrt(e*e+n*n+r*r);return 1.41*Math.pow(i,.63)}static fromInt(t){return Je.fromIntInViewingConditions(t,Ye.DEFAULT)}static fromIntInViewingConditions(t,e){const n=(65280&t)>>8,r=255&t,i=Xe((16711680&t)>>16),o=Xe(n),a=Xe(r),s=.41233895*i+.35762064*o+.18051042*a,c=.2126*i+.7152*o+.0722*a,u=.01932141*i+.11916382*o+.95034478*a,l=.401288*s+.650173*c-.051461*u,d=-.250268*s+1.204414*c+.045854*u,h=-.002079*s+.048952*c+.953127*u,p=e.rgbD[0]*l,f=e.rgbD[1]*d,_=e.rgbD[2]*h,m=Math.pow(e.fl*Math.abs(p)/100,.42),g=Math.pow(e.fl*Math.abs(f)/100,.42),y=Math.pow(e.fl*Math.abs(_)/100,.42),E=400*Ne(p)*m/(m+27.13),v=400*Ne(f)*g/(g+27.
113),I=400*Ne(_)*y/(y+27.13),C=(11*E+-12*v+I)/11,T=(E+v-2*I)/9,A=(20*E+20*v+21*I)/20,b=(40*E+20*v+I)/20,S=180*Math.atan2(T,C)/Math.PI,L=S<0?S+360:S>=360?S-360:S,O=L*Math.PI/180,R=b*e.nbb,w=100*Math.pow(R/e.aw,e.c*e.z),D=4/e.c*Math.sqrt(w/100)*(e.aw+4)*e.fLRoot,x=L<20.14?L+360:L,N=5e4/13*(.25*(Math.cos(x*Math.PI/180+2)+3.8))*e.nc*e.ncb*Math.sqrt(C*C+T*T)/(A+.305),P=Math.pow(N,.9)*Math.pow(1.64-Math.pow(.29,e.n),.73),H=P*Math.sqrt(w/100),M=H*e.fLRoot,F=50*Math.sqrt(P*e.c/(e.aw+4)),V=(1+100*.007)*w/(1+.007*w),k=1/.0228*Math.log(1+.0228*M),B=k*Math.cos(O),W=k*Math.sin(O);return new Je(L,H,w,D,M,F,V,B,W)}static fromJch(t,e,n){return Je.fromJchInViewingConditions(t,e,n,Ye.DEFAULT)}static fromJchInViewingConditions(t,e,n,r){const i=4/r.c*Math.sqrt(t/100)*(r.aw+4)*r.fLRoot,o=e*r.fLRoot,a=e/Math.sqrt(t/100),s=50*Math.sqrt(a*r.c/(r.aw+4)),c=n*Math.PI/180,u=(1+100*.007)*t/(1+.007*t),l=1/.0228*Math.log(1+.0228*o),d=l*Math.cos(c),h=l*Math.sin(c);return new Je(n,e,t,i,o,s,u,d,h)}static fromUcs(t,e,n){return Je.fromUcsInViewingConditions(t,e,n,Ye.DEFAULT)}static fromUcsInViewingConditions(t,e,n,r){const i=e,o=n,a=Math.sqrt(i*i+o*o),s=(Math.exp(.0228*a)-1)/.0228/r.fLRoot;let c=Math.atan2(o,i)*(180/Math.PI);c<0&&(c+=360);const u=t/(1-.007*(t-100));return Je.fromJchInViewingConditions(u,s,c,r)}toInt(){return this.viewed(Ye.DEFAULT)}viewed(t){const e=0===this.chroma||0===this.j?0:this.chroma/Math.sqrt(this.j/100),n=Math.pow(e/Math.pow(1.64-Math.pow(.29,t.n),.73),1/.9),r=this.hue*Math.PI/180,i=.25*(Math.cos(r+2)+3.8),o=t.aw*Math.pow(this.j/100,1/t.c/t.z),a=i*(5e4/13)*t.nc*t.ncb,s=o/t.nbb,c=Math.sin(r),u=Math.cos(r),l=23*(s+.305)*n/(23*a+11*n*u+108*n*c),d=l*u,h=l*c,p=(460*s+451*d+288*h)/1403,f=(460*s-891*d-261*h)/1403,_=(460*s-220*d-6300*h)/1403,m=Math.max(0,27.13*Math.abs(p)/(400-Math.abs(p))),g=Ne(p)*(100/t.fl)*Math.pow(m,1/.42),y=Math.max(0,27.13*Math.abs(f)/(400-Math.abs(f))),E=Ne(f)*(100/t.fl)*Math.pow(y,1/.42),v=Math.max(0,27.13*Math.abs(_)/(400-Math.abs(_))),I=Ne(_)*(100/t.fl)*Math.pow(v,1/.42),C=g/t.rgbD[0],T=E/t.rgbD[1],A=I/t.rgbD[2];return je(1.86206786*C-1.01125463*T+.14918677*A,.38752654*C+.62144744*T-.00897398*A,-.0158415*C-.03412294*T+1.04996444*A)}}class $e{constructor(t,e,n){this.internalHue=t,this.internalChroma=e,this.internalTone=n,this.setInternalState(this.toInt())}static from(t,e,n){return new $e(t,e,n)}static fromInt(t){const e=Je.fromInt(t),n=qe(t);return new $e(e.hue,e.chroma,n)}toInt(){return Ze(this.internalHue,this.internalChroma,this.internalTone)}get hue(){return this.internalHue}set hue(t){this.setInternalState(Ze(He(t),this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma}set chroma(t){this.setInternalState(Ze(this.internalHue,t,this.internalTone))}get tone(){return this.internalTone}set tone(t){this.setInternalState(Ze(this.internalHue,this.internalChroma,t))}setInternalState(t){const e=Je.fromInt(t),n=qe(t);this.internalHue=e.hue,this.internalChroma=e.chroma,this.internalTone=n}}function Ze(t,e,n){return function(t,e,n,r){if(e<1||Math.round(n)<=0||Math.round(n)>=100)return Ke(n);t=He(t);let i=e,o=e,a=0,s=!0,c=null;for(;Math.abs(a-i)>=.4;){const e=Qe(t,o,n);if(s){if(null!=e)return e.viewed(r);s=!1,o=a+(i-a)/2}else null===e?i=o:(c=e,a=o),o=a+(i-a)/2}if(null===c)return Ke(n);return c.viewed(r)}(He(t),e,(i=100,(o=n)<(r=0)?r:o>i?i:o),Ye.DEFAULT);var r,i,o}function Qe(t,e,n){let r=0,i=100,o=0,a=1e3,s=1e3,c=null;for(;Math.abs(r-i)>.01;){o=r+(i-r)/2;const u=Je.fromJch(o,e,t).toInt(),l=qe(u),d=Math.abs(n-l);if(d<.2){const e=Je.fromInt(u),n=e.distance(Je.fromJch(e.j,e.chroma,t));n<=1&&n<=s&&(a=d,s=n,c=e)}if(0===a&&0===s)break;l<n?r=o:i=o}return c}class tn{static harmonize(t,e){const n=$e.fromInt(t),r=$e.fromInt(e),i=Me(n.hue,r.hue),o=Math.min(.5*i,15),a=He(n.hue+o*tn.rotationDirection(n.hue,r.hue));return $e.from(a,n.chroma,n.tone).toInt()}static hctHue(t,e,n){const r=tn.cam16Ucs(t,e,n),i=Je.fromInt(r),o=Je.fromInt(t);return $e.from(i.hue,o.chroma,qe(t)).toInt()}static cam16Ucs(t,e,n){const r=Je.fromInt(t),i=Je.fromInt(e),o=r.jstar,a=r.astar,s=r.bstar,c=o+(i.jstar-o)*n,u=a+(i.astar-a)*n,l=s+(i.bstar-s)*n;return Je.fromUcs(c,u,l).toInt()}
1static rotationDirection(t,e){const n=e-t,r=e-t+360,i=e-t-360,o=Math.abs(n),a=Math.abs(r),s=Math.abs(i);return o<=a&&o<=s?n>=0?1:-1:a<=o&&a<=s?r>=0?1:-1:i>=0?1:-1}}class en{constructor(t,e){this.hue=t,this.chroma=e,this.cache=new Map}static fromInt(t){const e=$e.fromInt(t);return en.fromHueAndChroma(e.hue,e.chroma)}static fromHueAndChroma(t,e){return new en(t,e)}tone(t){let e=this.cache.get(t);return void 0===e&&(e=$e.from(this.hue,this.chroma,t).toInt(),this.cache.set(t,e)),e}}class nn{constructor(t){const e=$e.fromInt(t),n=e.hue;this.a1=en.fromHueAndChroma(n,Math.max(48,e.chroma)),this.a2=en.fromHueAndChroma(n,16),this.a3=en.fromHueAndChroma(n+60,24),this.n1=en.fromHueAndChroma(n,4),this.n2=en.fromHueAndChroma(n,8),this.error=en.fromHueAndChroma(25,84)}static of(t){return new nn(t)}}class rn{constructor(t){this.props=t}get primary(){return this.props.primary}get primaryContainer(){return this.props.primaryContainer}get onPrimary(){return this.props.onPrimary}get onPrimaryContainer(){return this.props.onPrimaryContainer}get secondary(){return this.props.secondary}get secondaryContainer(){return this.props.secondaryContainer}get onSecondary(){return this.props.onSecondary}get onSecondaryContainer(){return this.props.onSecondaryContainer}get tertiary(){return this.props.tertiary}get onTertiary(){return this.props.onTertiary}get tertiaryContainer(){return this.props.tertiaryContainer}get onTertiaryContainer(){return this.props.onTertiaryContainer}get error(){return this.props.error}get onError(){return this.props.onError}get errorContainer(){return this.props.errorContainer}
1get onErrorContainer(){return this.props.onErrorContainer}get background(){return this.props.background}get onBackground(){return this.props.onBackground}get surface(){return this.props.surface}get onSurface(){return this.props.onSurface}get surfaceVariant(){return this.props.surfaceVariant}get onSurfaceVariant(){return this.props.onSurfaceVariant}get outline(){return this.props.outline}get shadow(){return this.props.shadow}get inverseSurface(){return this.props.inverseSurface}get inverseOnSurface(){return this.props.inverseOnSurface}get inversePrimary(){return this.props.inversePrimary}static light(t){const e=nn.of(t);return new rn({primary:e.a1.tone(40),onPrimary:e.a1.tone(100),primaryContainer:e.a1.tone(90),onPrimaryContainer:e.a1.tone(10),secondary:e.a2.tone(40),onSecondary:e.a2.tone(100),secondaryContainer:e.a2.tone(90),onSecondaryContainer:e.a2.tone(10),tertiary:e.a3.tone(40),onTertiary:e.a3.tone(100),tertiaryContainer:e.a3.tone(90),onTertiaryContainer:e.a3.tone(10),error:e.error.tone(40),onError:e.error.tone(100),errorContainer:e.error.tone(90),onErrorContainer:e.error.tone(10),background:e.n1.tone(99),onBackground:e.n1.tone(10),surface:e.n1.tone(99),onSurface:e.n1.tone(10),surfaceVariant:e.n2.tone(90),onSurfaceVariant:e.n2.tone(30),outline:e.n2.tone(50),shadow:e.n1.tone(0),inverseSurface:e.n1.tone(20),inverseOnSurface:e.n1.tone(95),inversePrimary:e.a1.tone(80)})}static dark(t){const e=nn.of(t);return new rn({primary:e.a1.tone(80),onPrimary:e.a1.tone(20),primaryContainer:e.a1.tone(30),onPrimaryContainer:e.a1.tone(90),secondary:e.a2.tone(80),onSecondary:e.a2.tone(20),secondaryContainer:e.a2.tone(30),onSecondaryContainer:e.a2.tone(90),tertiary:e.a3.tone(80),onTertiary:e.a3.tone(20),tertiaryContainer:e.a3.tone(30),onTertiaryContainer:e.a3.tone(90),error:e.error.tone(80),onError:e.error.tone(20),errorContainer:e.error.tone(30),onErrorContainer:e.error.tone(80),background:e.n1.tone(10),onBackground:e.n1.tone(90),surface:e.n1.tone(10),onSurface:e.n1.tone(90),surfaceVariant:e.n2.tone(30),onSurfaceVariant:e.n2.tone(80),outline:e.n2.tone(60),shadow:e.n1.tone(0),inverseSurface:e.n1.tone(90),inverseOnSurface:e.n1.tone(20),inversePrimary:e.a1.tone(40)})}toJSON(){return Object.assign({},this.props)}}class on{constructor(){}static score(t){let e=0;for(const n of t.values())e+=n;const n=new Map,r=new Map,i=new Array(360).fill(0);for(const[o,a]of t.entries()){const t=a/e;n.set(o,t);const s=Je.fromInt(o);r.set(o,s);i[Math.round(s.hue)]+=t}const o=new Map;for(const[t,e]of r.entries()){const n=Math.round(e.hue);let r=0;for(let t=n-15;t<n+15;t++){r+=i[(a=t,(a%=360)<0&&(a+=360),a)]}o.set(t,r)}var a;const s=new Map;for(const[t,e]of r.entries()){const n=100*o.get(t)*on.WEIGHT_PROPORTION,r=e.chroma<on.TARGET_CHROMA?on.WEIGHT_CHROMA_BELOW:on.WEIGHT_CHROMA_ABOVE,i=n+(e.chroma-on.TARGET_CHROMA)*r;s.set(t,i)}const c=on.filter(o,r),u=new Map;for(const t of c){let e=!1;const n=r.get(t).hue;for(const[t]of u){if(Me(n,r.get(t).hue)<15){e=!0;break}}e||u.set(t,s.get(t))}const l=Array.from(u.entries());l.sort((t,e)=>e[1]-t[1]);const d=l.map(t=>t[0]);return 0===d.length&&d.push(4282549748),d}static filter(t,e){const n=new Array;for(const[r,i]of e.entries()){const e=t.get(r);i.chroma>=on.CUTOFF_CHROMA&&qe(r)>=on.CUTOFF_TONE&&e>=on.CUTOFF_EXCITED_PROPORTION&&n.push(r)}return n}}on.TARGET_CHROMA=48,on.WEIGHT_PROPORTION=.7,on.WEIGHT_CHROMA_ABOVE=.3,on.WEIGHT_CHROMA_BELOW=.1,on.CUTOFF_CHROMA=15,on.CUTOFF_TONE=10,on.CUTOFF_EXCITED_PROPORTION=.01;const an=t=>{const e=Be(t),n=We(t),r=Ue(t),i=[e.toString(16),n.toString(16),r.toString(16)];for(const[t,e]of i.entries())1===e.length&&(i[t]="0"+e);return"#"+i.join("")};function sn(t){return parseInt(t,16)}function cn(t,e=[]){const n=nn.of(t);return{source:t,schemes:{light:rn.light(t),dark:rn.dark(t)},palettes:{primary:n.a1,secondary:n.a2,tertiary:n.a3,neutral:n.n1,neutralVariant:n.n2,error:n.error},customColors:e.map(e=>function(t,e){let n=e.value;const r=n,i=t;e.blend&&(n=tn.harmonize(r,i));const o=nn.of(n).a1;return{color:e,value:n,light:{color:o.tone(40),onColor:o.tone(100),colorContainer:o.tone(90),onColorContainer:o.tone(10)},dark:{color:o.tone(80),onColor:o.tone(20),colorContainer:o.tone(30),onColorContainer:o.tone(90)}}}(t,e))}}function un(t,e){var n;const r=(null==e?void 0:e.target)||document.body,i=null!==(n=null==e?void 0:e.dark)&&void 0!==n&&n?t.schemes.dark:t.schemes.light;for(const[t,e]of Object.entries(i.toJSON())){const n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=an(e);r.style.setProperty("--md-sys-color-"+n,i)}}const ln=(t,e)=>{let n;const r=(null==e?void 0:e.target)||document.body,i=null!==(n=null==e?void 0:e.dark)&&void 0!==n&&n?t.schemes.dark:t.schemes.light;for(const[t,e]of Object.entries(i.toJSON())){const n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=`${Be(e)},${We(e)},${Ue(e)}`;r.style.setProperty(`--md-sys-color-${n}-rgb`,i)}},dn=document.body,hn="dark_mode",pn="light_mode",fn=window.localStorage.getItem("materialDesignDarkMode");let _n,mn,gn=!1;const yn=t=>{t.preventDefault();const{target:e}=t;if(!e)return;const n=cn((t=>{const e=3===(t=t.replace("#","")).length,n=6===t.length,r=8===t.length;if(!e&&!n&&!r)throw new Error("unexpected hex "+t);let i=0,o=0,a=0;return e?(i=sn(t.slice(0,1).repeat(2)),o=sn(t.slice(1,2).repeat(2)),a=sn(t.slice(2,3).repeat(2))):n?(i=sn(t.slice(0,2)),o=sn(t.slice(2,4)),a=sn(t.slice(4,6)
1)):r&&(i=sn(t.slice(2,4)),o=sn(t.slice(4,6)),a=sn(t.slice(6,8))),(255<<24|(255&i)<<16|(255&o)<<8|255&a)>>>0})(window.materialDesign.sourceColor));gn?(un(n,{target:document.body,dark:!0}),ln(n,{target:document.body,dark:!0}),dn.setAttribute("data-color-scheme","dark"),mn.textContent=pn):(un(n,{target:document.body,dark:!1}),ln(n,{target:document.body,dark:!1}),dn.setAttribute("data-color-scheme","light"),mn.textContent=hn)},En=t=>{t.matches?(gn=!0,mn.textContent=pn):(gn=!1,mn.textContent=hn)};addEventListener("DOMContentLoaded",()=>{var t;(()=>{const t=document.querySelectorAll(".mdc-button"),e=document.querySelectorAll(".mdc-icon-button");t.forEach(t=>new T(t)),e.forEach(t=>new T(t).unbounded=!0)})(),document.querySelectorAll(".mdc-list:not(.mdc-drawer__list)").forEach(t=>{new p(t).listElements.forEach(t=>new T(t))}),document.querySelectorAll(".mdc-tab-bar-container").forEach(t=>{const e=new J(t.querySelector(".mdc-tab-bar")),n=t.querySelectorAll(".mdc-tab-content");e.listen("MDCTabBar:activated",e=>{t.querySelector(".mdc-tab-content--active").classList.remove("mdc-tab-content--active"),n[e.detail.index].classList.add("mdc-tab-content--active")})}),(()=>{const t=document.getElementById("materialDesignContactForm");if(!t)return!1;for(const e of t.querySelectorAll(".mdc-text-field"))new Oe(e);De(),t.addEventListener("submit",e=>{e.preventDefault();const n={},r=new FormData;r.append("token",t.querySelector("[name=material_design_token]").value);for(const e of t.querySelectorAll("input, textarea")){const t=e.name,i=e.dataset.label,o=e.value;"hidden"!==e.type&&"submit"!==e.type?n[e.id]={name:t,label:i,value:o}:r.append(t,o)}r.append("contact_fields",JSON.stringify(n));const i=new XMLHttpRequest;return i.open("POST",Re("ajax_url")),i.send(r),i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){const e=i.status;if(0===e||e>=200&&e<400){!0===JSON.parse(i.responseText).success?(t.reset(),t.style.display="none",document.getElementById("materialDesignContactFormSuccessMsgContainer").style.display="block",De()):we(t)}else we(t)}},!1});for(const e of t.querySelectorAll("input, textarea"))e.addEventListener("invalid",()=>{e.closest(".mdc-text-field").classList.add("mdc-text-field--invalid")},!1)})(),document.querySelectorAll(".mdc-tooltip").forEach(t=>new Yt(t)),document.querySelectorAll(".is-flex-container").forEach(t=>{xe(t)}),(null===(t=window)||void 0===t?void 0:t.materialDesign)&&!window.materialDesign.isMaterialThemeActive&&document.querySelectorAll(".mdc-text-field").forEach(t=>new Oe(t))}),(()=>{if(!dn)return;if(_n=document.querySelector(".dark-mode__button"),!_n)return;mn=_n.querySelector(".dark-mode__icon");const t=window.matchMedia("(prefers-color-scheme: dark)");if(t.addEventListener("change",En),_n.addEventListener("click",t=>{gn=!gn,yn(t),window.localStorage.setItem("materialDesignDarkMode",JSON.stringify(gn))}),fn)return gn=JSON.parse(fn),void yn({preventDefault:()=>{},target:!0});En(t),window.materialDesign.darkModeStatus&&"active"===window.materialDesign.darkModeStatus&&(gn=!0,yn({preventDefault:()=>{},target:!0}))})()})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.