ready:function(){this.async(function(){this.toggleTrigger||(this.toggleTrigger=this._target)})},attached:function(){this._isAttached=!0,this._updateTarget(this._target)},detached:function(){this._isAttached=!1},resize:function(){"opened"===this.state&&this.update()},scroll:function(){"opened"===this.state&&this.update()},update:function(){this._target&&this._updatePosition()},_updatePosition:function(){},get metrics(){return e.fromElement(this._panel)},get targetMetrics(){return this._target&&e.fromElement(