2 lines
2.6 KiB
JavaScript
2 lines
2.6 KiB
JavaScript
import{k as L,l as E,K as B,L as N,Z as y,az as Y,_ as K,a0 as M,q as j,o as I,aA as P,aB as z,aC as C,X as g,aD as F,aE as H,ax as U,aF as q,aG as G,A as Z,z as $,aH as J,aI as X,ak as Q,a5 as V,aJ as W,aK as k,S as O,aL as w,aM as v}from"./BfGs3WDN.js";import{B as ee}from"./C2sKwo1m.js";function ie(e,r,s=!1){E&&B();var n=new ee(e),a=s?N:0;function i(o,f){if(E){const l=y(e);var u;if(l===Y?u=0:l===K?u=!1:u=parseInt(l.substring(1)),o!==u){var c=M();j(c),n.anchor=c,I(!1),n.ensure(o,f),I(!0);return}}n.ensure(o,f)}L(()=>{var o=!1;r((f,u=0)=>{o=!0,i(u,f)}),o||i(!1,null)},a)}let S=!1;function re(e){var r=S;try{return S=!1,[e(),S]}finally{S=r}}const ne={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function fe(e,r,s){return new Proxy({props:e,exclude:r},ne)}const se={get(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(v(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,s){let n=e.props.length;for(;n--;){let a=e.props[n];v(a)&&(a=a());const i=P(a,r);if(i&&i.set)return i.set(s),!0}return!1},getOwnPropertyDescriptor(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(v(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const a=P(n,r);return a&&!a.configurable&&(a.configurable=!0),a}}},has(e,r){if(r===O||r===w)return!1;for(let s of e.props)if(v(s)&&(s=s()),s!=null&&r in s)return!0;return!1},ownKeys(e){const r=[];for(let s of e.props)if(v(s)&&(s=s()),!!s){for(const n in s)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(s))r.includes(n)||r.push(n)}return r}};function ue(...e){return new Proxy({props:e},se)}function le(e,r,s,n){var R;var a=!$||(s&J)!==0,i=(s&G)!==0,o=(s&W)!==0,f=n,u=!0,c=()=>(u&&(u=!1,f=o?Z(n):n),f),l;if(i){var x=O in e||w in e;l=((R=P(e,r))==null?void 0:R.set)??(x&&r in e?t=>e[r]=t:void 0)}var d,A=!1;i?[d,A]=re(()=>e[r]):d=e[r],d===void 0&&n!==void 0&&(d=c(),l&&(a&&z(),l(d)));var _;if(a?_=()=>{var t=e[r];return t===void 0?c():(u=!0,t)}:_=()=>{var t=e[r];return t!==void 0&&(f=void 0),t===void 0?f:t},a&&(s&C)===0)return _;if(l){var D=e.$$legacy;return(function(t,h){return arguments.length>0?((!a||!h||D||A)&&l(h?_():t),t):_()})}var b=!1,p=((s&X)!==0?Q:V)(()=>(b=!1,_()));i&&g(p);var m=U;return(function(t,h){if(arguments.length>0){const T=h?g(p):a&&i?F(t):t;return H(p,T),b=!0,f!==void 0&&(f=T),t}return k&&b||(m.f&q)!==0?p.v:g(p)})}export{ie as i,le as p,fe as r,ue as s};
|