System.register(["./p-89fa76e2.system.js"],function(e){"use strict";var t,n,r,i;return{setters:[function(e){t=e._;n=e.a;r=e.M;i=e.b}],execute:function(){var u={ROOT:"mdc-form-field"};var a={LABEL_SELECTOR:".mdc-form-field > label"};var c=function(e){t(r,e);function r(t){var i=e.call(this,n({},r.defaultAdapter,t))||this;i.clickHandler_=function(){return i.handleClick_()};return i}Object.defineProperty(r,"cssClasses",{get:function(){return u},enumerable:true,configurable:true});Object.defineProperty(r,"strings",{get:function(){return a},enumerable:true,configurable:true});Object.defineProperty(r,"defaultAdapter",{get:function(){return{activateInputRipple:function(){return undefined},deactivateInputRipple:function(){return undefined},deregisterInteractionHandler:function(){return undefined},registerInteractionHandler:function(){return undefined}}},enumerable:true,configurable:true});r.prototype.init=function(){this.adapter_.registerInteractionHandler("click",this.clickHandler_)};r.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("click",this.clickHandler_)};r.prototype.handleClick_=function(){var e=this;this.adapter_.activateInputRipple();requestAnimationFrame(function(){return e.adapter_.deactivateInputRipple()})};return r}(r);var o=e("M",function(e){t(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}n.attachTo=function(e){return new n(e)};Object.defineProperty(n.prototype,"input",{get:function(){return this.input_},set:function(e){this.input_=e},enumerable:true,configurable:true});Object.defineProperty(n.prototype,"label_",{get:function(){var e=c.strings.LABEL_SELECTOR;return this.root_.querySelector(e)},enumerable:true,configurable:true});n.prototype.getDefaultFoundation=function(){var e=this;var t={activateInputRipple:function(){if(e.input_&&e.input_.ripple){e.input_.ripple.activate()}},deactivateInputRipple:function(){if(e.input_&&e.input_.ripple){e.input_.ripple.deactivate()}},deregisterInteractionHandler:function(t,n){if(e.label_){e.label_.removeEventListener(t,n)}},registerInteractionHandler:function(t,n){if(e.label_){e.label_.addEventListener(t,n)}}};return new c(t)};return n}(i))}}});