import{c as o}from"./p-f44f0a67.js";import{a as t}from"./p-9a866be1.js";
/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */const s="ION-CONTENT";const n="ion-content";const r=".ion-content-scroll-host";const e=`${n}, ${r}`;const a=o=>o&&o.tagName===s;const c=async t=>{if(a(t)){await new Promise((s=>o(t,s)));return t.getScrollElement()}return t};const i=o=>{const t=o.querySelector(r);if(t){return t}return o.querySelector(e)};const f=o=>o.closest(e);const u=(o,t)=>{if(a(o)){const s=o;return s.scrollToTop(t)}return Promise.resolve(o.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"}))};const l=(o,t,s,n)=>{if(a(o)){const r=o;return r.scrollByPoint(t,s,n)}return Promise.resolve(o.scrollBy({top:s,left:t,behavior:n>0?"smooth":"auto"}))};const m=o=>t(o,n);const p=o=>{if(a(o)){const t=o;const s=t.scrollY;t.scrollY=false;return s}else{o.style.setProperty("overflow","hidden");return true}};const h=(o,t)=>{if(a(o)){o.scrollY=t}else{o.style.removeProperty("overflow")}};export{n as I,f as a,r as b,l as c,p as d,i as f,c as g,a as i,m as p,h as r,u as s};
//# sourceMappingURL=p-9817ba8b.js.map