import{H as S,I as T,P as m,g as P,J as D,K as B,m as M,i as N,L as U,M as Y,N as j,O as x,b as K,a as $,Q as q,R as z,T as C,S as R,U as w,V as d}from"./mO2F3zLa.js";let p=!1;function G(r){var n=p;try{return p=!1,[r(),p]}finally{p=n}}const H={get(r,n){let t=r.props.length;for(;t--;){let e=r.props[t];if(d(e)&&(e=e()),typeof e=="object"&&e!==null&&n in e)return e[n]}},set(r,n,t){let e=r.props.length;for(;e--;){let i=r.props[e];d(i)&&(i=i());const f=S(i,n);if(f&&f.set)return f.set(t),!0}return!1},getOwnPropertyDescriptor(r,n){let t=r.props.length;for(;t--;){let e=r.props[t];if(d(e)&&(e=e()),typeof e=="object"&&e!==null&&n in e){const i=S(e,n);return i&&!i.configurable&&(i.configurable=!0),i}}},has(r,n){if(n===R||n===w)return!1;for(let t of r.props)if(d(t)&&(t=t()),t!=null&&n in t)return!0;return!1},ownKeys(r){const n=[];for(let t of r.props)if(d(t)&&(t=t()),!!t){for(const e in t)n.includes(e)||n.push(e);for(const e of Object.getOwnPropertySymbols(t))n.includes(e)||n.push(e)}return n}};function Q(...r){return new Proxy({props:r},H)}function V(r,n,t,e){var O;var i=!$||(t&q)!==0,f=(t&x)!==0,y=(t&C)!==0,a=e,v=!0,b=()=>(v&&(v=!1,a=y?K(e):e),a),l;if(f){var E=R in r||w in r;l=((O=S(r,n))==null?void 0:O.set)??(E&&n in r?s=>r[n]=s:void 0)}var o,h=!1;f?[o,h]=G(()=>r[n]):o=r[n],o===void 0&&e!==void 0&&(o=b(),l&&(i&&T(),l(o)));var u;if(i?u=()=>{var s=r[n];return s===void 0?b():(v=!0,s)}:u=()=>{var s=r[n];return s!==void 0&&(a=void 0),s===void 0?a:s},i&&(t&m)===0)return u;if(l){var A=r.$$legacy;return(function(s,c){return arguments.length>0?((!i||!c||A||h)&&l(c?u():s),s):u()})}var g=!1,_=((t&z)!==0?D:B)(()=>(g=!1,u()));f&&P(_);var L=Y;return(function(s,c){if(arguments.length>0){const I=c?P(_):i&&f?M(s):s;return N(_,I),g=!0,a!==void 0&&(a=I),s}return U&&g||(L.f&j)!==0?_.v:P(_)})}export{V as p,Q as s};
