import{j as B,k as C,S as c,o as F,l as z,v as Z,w,x as U,s as _,y as E,m as D,h as d,U as h,z as G,u as R,A as H,B as V,H as $,C as J,D as g,E as L,F as M,G as Q,I as W,L as X,P as k,J as K,K as ee,M as Y,N as ne,O as te,Q as se,R as re,T as P,d as m,V as O,c as ie}from"./runtime.DLHUW5tL.js";import{h as fe,d as j,e as ue}from"./disclose-version.BWdeQG2i.js";function b(e,n=!0,t=null,s){if(typeof e=="object"&&e!=null&&!B(e)&&!(C in e)){if(c in e){const i=e[c];if(i.t===e||i.p===e)return i.p}const r=H(e);if(r===F||r===z){const i=new Proxy(e,ae);return Z(e,c,{value:{s:new Map,v:w(0),a:U(e),i:n,p:i,t:e},writable:!0,enumerable:!1}),i}}return e}function q(e,n=1){_(e,e.v+n)}const ae={defineProperty(e,n,t){if(t.value){const s=e[c],r=s.s.get(n);r!==void 0&&_(r,b(t.value,s.i,s))}return Reflect.defineProperty(e,n,t)},deleteProperty(e,n){const t=e[c],s=t.s.get(n),r=t.a,i=delete e[n];if(r&&i){const f=t.s.get("length"),u=e.length-1;f!==void 0&&f.v!==u&&_(f,u)}return s!==void 0&&_(s,h),i&&q(t.v),i},get(e,n,t){var i;if(n===c)return Reflect.get(e,c);const s=e[c];let r=s.s.get(n);if(r===void 0&&(!(n in e)||(i=E(e,n))!=null&&i.writable)&&(r=(s.i?w:D)(b(e[n],s.i,s)),s.s.set(n,r)),r!==void 0){const f=d(r);return f===h?void 0:f}return Reflect.get(e,n,t)},getOwnPropertyDescriptor(e,n){const t=Reflect.getOwnPropertyDescriptor(e,n);if(t&&"value"in t){const r=e[c].s.get(n);r&&(t.value=d(r))}return t},has(e,n){var i;if(n===c)return!0;const t=e[c],s=Reflect.has(e,n);let r=t.s.get(n);return(r!==void 0||G!==null&&(!s||(i=E(e,n))!=null&&i.writable))&&(r===void 0&&(r=(t.i?w:D)(s?b(e[n],t.i,t):h),t.s.set(n,r)),d(r)===h)?!1:s},set(e,n,t,s){const r=e[c];let i=r.s.get(n);i===void 0&&(R(()=>s[n]),i=r.s.get(n)),i!==void 0&&_(i,b(t,r.i,r));const f=r.a,u=!(n in e);if(f&&n==="length")for(let a=t;a<e.length;a+=1){const o=r.s.get(a+"");o!==void 0&&_(o,h)}if(e[n]=t,u){if(f){const a=r.s.get("length"),o=e.length;a!==void 0&&a.v!==o&&_(a,o)}q(r.v)}return!0},ownKeys(e){const n=e[c];return d(n.v),Reflect.ownKeys(e)}};function me(e,n,t,s=null,r=!1){var i=null,f=null,u=null,a=r?Q:0;V(()=>{if(u===(u=!!n()))return;let o=!1;if(fe){const p=e.data===$;u===p&&(J(ue),j(!1),o=!0)}u?(i?g(i):i=L(()=>t(e)),f&&M(f,()=>{f=null})):(f?g(f):s&&(f=L(()=>s(e))),i&&M(i,()=>{i=null})),o&&j(!0)},a)}const le={get(e,n){if(!e.exclude.includes(n))return d(e.version),n in e.special?e.special[n]():e.props[n]},set(e,n,t){return n in e.special||(e.special[n]=ce({get[n](){return e.props[n]}},n,Y)),e.special[n](t),re(e.version),!0},getOwnPropertyDescriptor(e,n){if(!e.exclude.includes(n)&&n in e.props)return{enumerable:!0,configurable:!0,value:e.props[n]}},has(e,n){return e.exclude.includes(n)?!1:n in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(n=>!e.exclude.includes(n))}};function ye(e,n){return new Proxy({props:e,exclude:n,special:{},version:w(0)},le)}const oe={get(e,n){let t=e.props.length;for(;t--;){let s=e.props[t];if(P(s)&&(s=s()),typeof s=="object"&&s!==null&&n in s)return s[n]}},getOwnPropertyDescriptor(e,n){let t=e.props.length;for(;t--;){let s=e.props[t];if(P(s)&&(s=s()),typeof s=="object"&&s!==null&&n in s)return E(s,n)}},has(e,n){for(let t of e.props)if(P(t)&&(t=t()),t!=null&&n in t)return!0;return!1},ownKeys(e){const n=[];for(let t of e.props){P(t)&&(t=t());for(const s in t)n.includes(s)||n.push(s)}return n}};function Pe(...e){return new Proxy({props:e},oe)}function ce(e,n,t,s){var N;var r=(t&te)!==0,i=(t&k)!==0,f=(t&se)!==0,u=e[n],a=(N=E(e,n))==null?void 0:N.set,o=s,p=!0,T=()=>(f&&p&&(p=!1,o=R(s)),o);u===void 0&&s!==void 0&&(a&&i&&W(),u=T(),a&&a(u));var v;if(i)v=()=>{var l=e[n];return l===void 0?T():(p=!0,l)};else{var A=(r?K:ee)(()=>e[n]);A.f|=X,v=()=>{var l=d(A);return l!==void 0&&(o=void 0),l===void 0?o:l}}if(!(t&Y))return v;if(a)return function(l){return arguments.length===1?(a(l),l):v()};var S=!1,x=D(u),y=K(()=>{var l=v(),I=d(x);return S?(S=!1,I):x.v=l});return r||(y.equals=ne),function(l){var I=d(y);return arguments.length>0?(y.equals(l)||(S=!0,_(x,l),d(y)),l):I}}function de(e){m===null&&O(),m.l!==null?pe(m).m.push(e):ie(()=>{const n=R(e);if(typeof n=="function")return n})}function be(e){m===null&&O(),de(()=>()=>R(e))}function _e(e,n,{bubbles:t=!1,cancelable:s=!1}={}){return new CustomEvent(e,{detail:n,bubbles:t,cancelable:s})}function we(){const e=m;return e===null&&O(),(n,t,s)=>{var i;const r=(i=e.s.$$events)==null?void 0:i[n];if(r){const f=U(r)?r.slice():[r],u=_e(n,t,s);for(const a of f)a.call(e.x,u);return!u.defaultPrevented}return!0}}function pe(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}export{be as a,ce as b,we as c,me as i,ye as l,de as o,b as p,Pe as s};
