import{r as o,h as i,H as s}from"./p-cbb4366f.js";import{g as t}from"./p-88ef570a.js";import"./p-71c4eb61.js";import{g as e}from"./p-385c3d33.js";import"./p-f3a0c163.js";import{s as r}from"./p-602d68c0.js";const n=class{constructor(i){o(this,i),this.options=[]}onSelect(o){const i=this.options.find(i=>i.value===o.target.value);i&&r(i.handler)}render(){const o=this.options.find(o=>o.checked),r=o?o.value:void 0;return i(s,{class:t(this)},i("ion-list",null,void 0!==this.header&&i("ion-list-header",null,this.header),(void 0!==this.subHeader||void 0!==this.message)&&i("ion-item",null,i("ion-label",{class:"ion-text-wrap"},void 0!==this.subHeader&&i("h3",null,this.subHeader),void 0!==this.message&&i("p",null,this.message))),i("ion-radio-group",{value:r},this.options.map(o=>i("ion-item",{class:e(o.cssClass)},i("ion-label",null,o.text),i("ion-radio",{value:o.value,disabled:o.disabled}))))))}};n.style=".sc-ion-select-popover-h ion-list.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:-1px;margin-bottom:-1px}.sc-ion-select-popover-h ion-list-header.sc-ion-select-popover,.sc-ion-select-popover-h ion-label.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";export{n as ion_select_popover}