import{r as s,h as n}from"./p-1a7a8b00.js";const e=class{constructor(n){s(this,n),this.useExternal=!1}resetState(){}connectedCallback(){this.resetState()}componentWillLoad(){this.useExternal=!!customElements.get("bp-sdk-external-spinner"),customElements.whenDefined("bp-sdk-external-spinner").then((()=>{this.useExternal=!0}))}render(){return[this.useExternal&&this.renderExternal(),!this.useExternal&&this.renderInternal()]}renderExternal(){return n("bp-sdk-external-spinner",null)}renderInternal(){return n("div",{class:"bp-sdk-spinner__container"},n("bp-sdk-icon-container",{name:"spinner",cssClasses:"fa-spin"}))}};e.style="";export{e as bp_sdk_spinner}