import{r as s,k as r,d as e,h as i,H as n}from"./p-8e32a29b.js";import{s as t}from"./p-8e0dcdf2.js";const h=class{constructor(r){s(this,r)}componentWillLoad(){if(void 0===this.pullingIcon&&(this.pullingIcon=r.get("refreshingIcon","arrow-down")),void 0===this.refreshingSpinner){const s=e(this);this.refreshingSpinner=r.get("refreshingSpinner",r.get("spinner","ios"===s?"lines":"crescent"))}}render(){return i(n,{class:e(this)},i("div",{class:"refresher-pulling"},this.pullingIcon&&i("div",{class:"refresher-pulling-icon"},i("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&i("div",{class:"refresher-pulling-text",innerHTML:t(this.pullingText)})),i("div",{class:"refresher-refreshing"},this.refreshingSpinner&&i("div",{class:"refresher-refreshing-icon"},i("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&i("div",{class:"refresher-refreshing-text",innerHTML:t(this.refreshingText)})))}};export{h as ion_refresher_content};