import{r as e,h as t}from"./p-1a7a8b00.js";import{e as s}from"./p-19cd3f24.js";const r=class{constructor(t){e(this,t),this.description=void 0,this.fees=[],this.useExternal=!1}resetState(){}componentWillLoad(){this.useExternal=!!customElements.get("bp-sdk-external-quote-request-fees"),customElements.whenDefined("bp-sdk-external-quote-request-fees").then((()=>{this.useExternal=!0}))}render(){return[this.useExternal&&this.renderExternal(),!this.useExternal&&this.renderInternal()]}renderExternal(){return t("bp-sdk-external-quote-request-fees",{description:this.description,fees:this.fees})}renderInternal(){return t("section",{class:"bp-sdk-quote-request-fees__container","aria-description":this.description},this.fees.map((e=>t("bp-sdk-quote-request-price",{description:e.description,price:e.amount}))))}};r.style="";const i=class{constructor(t){e(this,t),this.description=void 0,this.price=void 0,this.descriptionId=s(8),this.useExternal=!1}resetState(){}componentWillLoad(){this.useExternal=!!customElements.get("bp-sdk-external-quote-request-price"),customElements.whenDefined("bp-sdk-external-quote-request-price").then((()=>{this.useExternal=!0}))}render(){return[this.useExternal&&this.renderExternal(),!this.useExternal&&this.renderInternal()]}renderExternal(){return t("bp-sdk-external-quote-request-price",{description:this.description,price:this.price})}renderInternal(){return t("div",{class:"bp-sdk-quote-request-price__container"},t("span",{class:"bp-sdk-quote-request-price__description",id:this.descriptionId},this.description),t("span",{class:"bp-sdk-quote-request-price__separator"},":"),t("span",{class:"bp-sdk-quote-request-price__amount","aria-labelledby":this.descriptionId},this.price))}};i.style="";export{r as bp_sdk_quote_request_fees,i as bp_sdk_quote_request_price}