PageSourceSearch

https://treffenly.com/assets/index-CvJcFPCO.js

js treffenly.com collected 2026-10-03 21:20:51 UTC 2,601 bytes, 1 lines download raw bytes

1import{r as o,j as m}from"./jsx-runtime-Dt5Dsy05.js";function N(n,t){typeof n=="function"?n(t):n!=null&&(n.current=t)}function b(...n){return t=>n.forEach(e=>N(e,t))}function k(...n){return o.useCallback(b(...n),n)}var R=o.forwardRef((n,t)=>{const{children:e,...r}=n,l=o.Children.toArray(e),i=l.find(O);if(i){const a=i.props.children,u=l.map(v=>v===i?o.Children.count(a)>1?o.Children.only(null):o.isValidElement(a)?a.props.children:null:v);return m.jsx(C,{...r,ref:t,children:o.isValidElement(a)?o.cloneElement(a,void 0,u):null})}return m.jsx(C,{...r,ref:t,children:e})});R.displayName="Slot";var C=o.forwardRef((n,t)=>{const{children:e,...r}=n;if(o.isValidElement(e)){const l=A(e);return o.cloneElement(e,{...S(r,e.props),ref:t?b(t,l):l})}return o.Children.count(e)>1?o.Children.only(null):null});C.displayName="SlotClone";var x=({children:n})=>m.jsx(m.Fragment,{children:n});function O(n){return o.isValidElement(n)&&n.type===x}function S(n,t){const e={...t};for(const r in t){const l=n[r],i=t[r];/^on[A-Z]/.test(r)?l&&i?e[r]=(...u)=>{i(...u),l(...u)}:l&&(e[r]=l):r==="style"?e[r]={...l,...i}:r==="className"&&(e[r]=[l,i].filter(Boolean).join(" "))}return{...n,...e}}function A(n){var r,l;let t=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,e=t&&"isReactWarning"in t&&t.isReactWarning;return e?n.ref:(t=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,e=t&&"isReactWarning"in t&&t.isReactWarning,e?n.props.ref:n.props.ref||n.ref)}function j(n){var t,e,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n))for(t=0;t<n.length;t++)n[t]&&(e=j(n[t]))&&(r&&(r+=" "),r+=e);else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function P(){for(var n,t,e=0,r="";e<arguments.length;)(n=arguments[e++])&&(t=j(n))&&(r&&(r+=" "),r+=t);return r}const g=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,p=P,w=(n,t)=>e=>{var r;if((t==null?void 0:t.variants)==null)return p(n,e==null?void 0:e.class,e==null?void 0:e.className);const{variants:l,defaultVariants:i}=t,a=Object.keys(l).map(s=>{const c=e==null?void 0:e[s],f=i==null?void 0:i[s];if(c===null)return null;const d=g(c)||g(f);return l[s][d]}),u=e&&Object.entries(e).reduce((s,c)=>{let[f,d]=c;return d===void 0||(s[f]=d),s},{}),v=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((s,c)=>{let{class:f,className:d,...V}=c;return Object.entries(V).every(E=>{let[h,y]=E;return Array.isArray(y)?y.includes({...i,...u}[h]):{...i,...u}[h]===y})?[...s,f,d]:s},[]);return p(n,a,v,e==null?void 0:e.class,e==null?void 0:e.className)};export{R as S,x as a,b,w as c,k 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.