System.register(["./index-legacy-a314c7dd.js"],(function(e,r){"use strict";var t,n,o,i,a,l,u,c,s;return{setters:[e=>{t=e.r,n=e.by,o=e.bz,i=e.bA,a=e.bB,l=e.w,u=e.e,c=e.aq,s=e.y}],execute:function(){function r(e){return!!n()&&(o(e),!0)}function f(e){return"function"==typeof e?e():i(e)}e({a:function({window:e=j}={}){if(!e)return{x:t(0),y:t(0)};const r=t(e.scrollX),n=t(e.scrollY);return g(e,"scroll",(()=>{r.value=e.scrollX,n.value=e.scrollY}),{capture:!1,passive:!0}),{x:r,y:n}},b:function(e=1e3,n={}){const{controls:o=!1,immediate:i=!0,callback:u}=n,c=t(0),s=()=>c.value+=1,v=()=>{c.value=0},y=function(e,n=1e3,o={}){const{immediate:i=!0,immediateCallback:u=!1}=o;let c=null;const s=t(!1);function v(){c&&(clearInterval(c),c=null)}function y(){s.value=!1,v()}function d(){const r=f(n);r<=0||(s.value=!0,u&&e(),v(),c=setInterval(e,r))}return i&&p&&d(),(a(n)||"function"==typeof n)&&r(l(n,(()=>{s.value&&p&&d()}))),r(y),{isActive:s,pause:y,resume:d}}(u?()=>{s(),u(c.value)}:s,e,{immediate:i});return o?O({counter:c,reset:v},y):c},c:function(e,n,o={}){const i=o,{window:a=j}=i,f=P(i,["window"]);let p;const v=function(e){const r=function(){const e=t(!1);return c()&&s((()=>{e.value=!0})),e}();return u((()=>(r.value,Boolean(e()))))}((()=>a&&"ResizeObserver"in a)),y=()=>{p&&(p.disconnect(),p=void 0)},d=u((()=>Array.isArray(e)?e.map((e=>A(e))):[A(e)])),b=l(d,(e=>{if(y(),v.value&&a){p=new ResizeObserver(n);for(const r of e)r&&p.observe(r,f)}}),{immediate:!0,flush:"post",deep:!0}),m=()=>{y(),b()};return r(m),{isSupported:v,stop:m}},u:g});const p="undefined"!=typeof window,v=()=>{};var y=Object.defineProperty,d=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,w=(e,r,t)=>r in e?y(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,O=(e,r)=>{for(var t in r||(r={}))b.call(r,t)&&w(e,t,r[t]);if(d)for(var t of d(r))m.call(r,t)&&w(e,t,r[t]);return e};function A(e){var r;const t=f(e);return null!=(r=null==t?void 0:t.$el)?r:t}const j=p?window:void 0;function g(...e){let t,n,o,i;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,i]=e,t=j):[t,n,o,i]=e,!t)return v;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],u=()=>{a.forEach((e=>e())),a.length=0},c=l((()=>[A(t),f(i)]),(([e,r])=>{u(),e&&a.push(...n.flatMap((t=>o.map((n=>((e,r,t,n)=>(e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)))(e,t,n,r))))))}),{immediate:!0,flush:"post"}),s=()=>{c(),u()};return r(s),s}var h=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,P=(e,r)=>{var t={};for(var n in e)x.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&h)for(var n of h(e))r.indexOf(n)<0&&E.call(e,n)&&(t[n]=e[n]);return t}}}}));