PageSourceSearch

https://uniteforrights.org/assets/index-D_KUIYl4.js

js uniteforrights.org collected 2026-10-05 18:54:16 UTC 5,164 bytes, 1 lines download raw bytes

1import{r as l,j as C,h as I,k as V}from"./index-CLGWC3Nd.js";var k=Object.defineProperty,P=(e,t)=>k(e,"name",{value:t,configurable:!0});function E(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}P(E,"setRef");function g(...e){return t=>{let o=!1;const i=e.map(r=>{const s=E(r,t);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let r=0;r<i.length;r++){const s=i[r];typeof s=="function"?s():E(e[r],null)}}}}P(g,"composeRefs");function $(...e){return l.useCallback(g(...e),e)}P($,"useComposedRefs");var T=Object.defineProperty,u=(e,t)=>T(e,"name",{value:t,configurable:!0});function W(e,t){const o=l.createContext(t);o.displayName=e+"Context";const i=u(s=>{const{children:n,...c}=s,a=l.useMemo(()=>c,Object.values(c));return C.jsx(o.Provider,{value:a,children:n})},"Provider");i.displayName=e+"Provider";function r(s,n={}){const{optional:c=!1}=n,a=l.useContext(o);if(a)return a;if(t!==void 0)return t;if(!c)throw new Error(`\`${s}\` must be used within \`${e}\``)}return u(r,"useContext"),[i,r]}u(W,"createContext");function A(e,t=[]){let o=[];function i(s,n){const c=l.createContext(n);c.displayName=s+"Context";const a=o.length;o=[...o,n];const v=u(d=>{const{scope:S,children:m,...f}=d,b=S?.[e]?.[a]||c,h=l.useMemo(()=>f,Object.values(f));return C.jsx(b.Provider,{value:h,children:m})},"Provider");v.displayName=s+"Provider";function x(d,S,m={}){const{optional:f=!1}=m,b=S?.[e]?.[a]||c,h=l.useContext(b);if(h)return h;if(n!==void 0)return n;if(!f)throw new Error(`\`${d}\` must be used within \`${s}\``)}return u(x,"useContext"),[v,x]}u(i,"createContext");const r=u(()=>{const s=o.map(n=>l.createContext(n));return u(function(c){const a=c?.[e]||s;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:a}}),[c,a])},"useScope")},"createScope");return r.scopeName=e,[i,R(r,...t)]}u(A,"createContextScope");function R(...e){const t=e[0];if(e.length===1)return t;const o=u(()=>{const i=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return u(function(s){const n=i.reduce((c,{useScope:a,scopeName:v})=>{const d=a(s)[`__scope${v}`];return{...c,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])},"useComposedScopes")},"createScope");return o.scopeName=t.scopeName,o}u(R,"composeContextScopes");var F=Object.defineProperty,p=(e,t)=>F(e,"name",{value:t,configurable:!0});function j(e){const t=l.forwardRef((o,i)=>{let{children:r,...s}=o,n=null,c=!1;const a=[];_(r)&&typeof y=="function"&&(r=y(r._payload)),l.Children.forEach(r,S=>{if(L(S)){c=!0;const m=S;let f="child"in m.props?m.props.child:m.props.children;_(f)&&typeof y=="function"&&(f=y(f._payload)),n=z(m,f),a.push(n?.props?.children)}else a.push(S)}),n?n=l.cloneElement(n,void 0,a):!c&&l.Children.count(r)===1&&l.isValidElement(r)&&(n=r);const v=n?D(n):void 0,x=$(i,v);if(!n){if(r||r===0)throw new Error(c?Y(e):H(e));return r}const d=O(s,n.props??{});return n.type!==l.Fragment&&(d.ref=i?x:v),l.cloneElement(n,d)});return t.displayName=`${e}.Slot`,t}p(j,"createSlot");var w=Symbol.for("radix.slottable");function M(e){const t=p(o=>"child"in o?o.children(o.child):o.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=w,t}p(M,"createSlottable");var z=p((e,t)=>{if("child"in e.props){const o=e.props.child;return l.isValidElement(o)?l.cloneElement(o,void 0,e.props.children(o.props.children)):null}return l.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function O(e,t){const o={...t};for(const i in t){const r=e[i],s=t[i];/^on[A-Z]/.test(i)?r&&s?o[i]=(...c)=>{const a=s(...c);return r(...c),a}:r&&(o[i]=r):i==="style"?o[i]={...r,...s}:i==="className"&&(o[i]=[r,s].filter(Boolean).join(" "))}return{...e,...o}}p(O,"mergeProps");function D(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}p(D,"getElementRef");function L(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w}p(L,"isSlottable");var B=Symbol.for("react.lazy");function _(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===B&&"_payload"in e&&N(e._payload)}p(_,"isLazyComponent");function N(e){return typeof e=="object"&&e!==null&&"then"in e}p(N,"isPromiseLike");
1var H=p(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Y=p(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),y=I[" use ".trim().toString()],Z=Object.defineProperty,q=(e,t)=>Z(e,"name",{value:t,configurable:!0}),G=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Q=G.reduce((e,t)=>{const o=j(`Primitive.${t}`),i=l.forwardRef((r,s)=>{const{asChild:n,...c}=r,a=n?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(a,{...c,ref:s})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function J(e,t){e&&V.flushSync(()=>e.dispatchEvent(t))}q(J,"dispatchDiscreteCustomEvent");export{Q as P,j as a,A as c,$ as u};

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.