PageSourceSearch

https://mobilechops.com/assets/radix-ui-CIsx_TBg.js

js mobilechops.com collected 2026-10-02 16:03:01 UTC 2,168 bytes, 1 lines download raw bytes

vendor: 2,168 bytes, line 1
1import{r as l,j as y,R as S}from"./query-Bf_KNblN.js";import{r as R}from"./react-vendor-BXhMAbgd.js";var v=R();function d(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function g(...t){return e=>{let o=!1;const r=t.map(n=>{const i=d(n,e);return!o&&typeof i=="function"&&(o=!0),i});if(o)return()=>{for(let n=0;n<r.length;n++){const i=r[n];typeof i=="function"?i():d(t[n],null)}}}}var C=Symbol.for("react.lazy"),p=S[" use ".trim().toString()];function h(t){return typeof t=="object"&&t!==null&&"then"in t}function m(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===C&&"_payload"in t&&h(t._payload)}function _(t){const e=x(t),o=l.forwardRef((r,n)=>{let{children:i,...a}=r;m(i)&&typeof p=="function"&&(i=p(i._payload));const s=l.Children.toArray(i),c=s.find(j);if(c){const f=c.props.children,E=s.map(u=>u===c?l.Children.count(f)>1?l.Children.only(null):l.isValidElement(f)?f.props.children:null:u);return y.jsx(e,{...a,ref:n,children:l.isValidElement(f)?l.cloneElement(f,void 0,E):null})}return y.jsx(e,{...a,ref:n,children:i})});return o.displayName=`${t}.Slot`,o}var D=_("Slot");function x(t){const e=l.forwardRef((o,r)=>{let{children:n,...i}=o;if(m(n)&&typeof p=="function"&&(n=p(n._payload)),l.isValidElement(n)){const a=A(n),s=P(i,n.props);return n.type!==l.Fragment&&(s.ref=r?g(r,a):a),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var b=Symbol("radix.slottable");function j(t){return l.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===b}function P(t,e){const o={...e};for(const r in e){const n=t[r],i=e[r];/^on[A-Z]/.test(r)?n&&i?o[r]=(...s)=>{const c=i(...s);return n(...s),c}:n&&(o[r]=n):r==="style"?o[r]={...n,...i}:r==="className"&&(o[r]=[n,i].filter(Boolean).join(" "))}return{...t,...o}}function A(t){var r,n;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=(n=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:n.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}export{D as S,v as r};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.