export const __webpack_esm_id__=9773;export const __webpack_esm_ids__=[2154,9773];export const __webpack_esm_modules__={9773(t,e,i){var n,s=i(9609),r=i(4084),a=i(2927),o=i(8899),l=i(4955),c=i(1156),m=i(3305),p=function(t,e,i,n){var s,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.size=56,this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[r.A,m.A]}get spinnerStyleMap(){return{width:`${this.size}px`,height:`${this.size}px`}}firstUpdated(t){super.firstUpdated(t),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".md-spinner");if(!e)return;let i=null;const n=t=>{if(!this.isAnimating)return;i||(i=t);const s=t-i,r=s/1e3*360;e.style.transform=`rotate(${r}deg)`,s>=1e3&&(i=t),this.animationFrameId=requestAnimationFrame(n)};this.animationFrameId=requestAnimationFrame(n)}stopAnimation(){var t;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".md-spinner");e&&(e.style.transform="")}render(){return a.html`
        <i
          class="md-spinner ${(0,l.classMap)({large:this.size>=56})}"
          part="spinner"
          style=${(0,c.styleMap)(this.spinnerStyleMap)}
        ></i>
      `}};p([(0,o.property)({type:Number,reflect:!0})],e.prototype,"size",void 0),e=p([(0,s.w)("md-spinner")],e),t.ELEMENT=e}(n||(n={}))}};