PageSourceSearch

https://pfirsi.ch/assets/dist-Bp4R9TBB.js

js pfirsi.ch collected 2026-09-24 11:31:58 UTC 2,923 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-DiVRNtpo.js";var n=e(t(),1),r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}i(a,`setRef`);function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():a(e[t],null)}}}}i(o,`composeRefs`);function s(...e){return n.useCallback(o(...e),e)}i(s,`useComposedRefs`);var c=Object.defineProperty,l=(e,t)=>c(e,`name`,{value:t,configurable:!0});function u(e){let t=n.forwardRef((t,r)=>{let{children:i,...a}=t,o=null,c=!1,l=[];y(i)&&typeof C==`function`&&(i=C(i._payload)),n.Children.forEach(i,e=>{if(_(e)){c=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;y(n)&&typeof C==`function`&&(n=C(n._payload)),o=m(t,n),l.push(o?.props?.children)}else l.push(e)}),o?o=n.cloneElement(o,void 0,l):!c&&n.Children.count(i)===1&&n.isValidElement(i)&&(o=i);let u=o?g(o):void 0,d=s(r,u);if(!o){if(i||i===0)throw Error(c?S(e):x(e));return i}let f=h(a,o.props??{});return o.type!==n.Fragment&&(f.ref=r?d:u),n.cloneElement(o,f)});return t.displayName=`${e}.Slot`,t}l(u,`createSlot`);var d=u(`Slot`),f=Symbol.for(`radix.slottable`);function p(e){let t=l(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=f,t}l(p,`createSlottable`);var m=l((e,t)=>{if(`child`in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function h(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}l(h,`mergeProps`);function g(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}l(g,`getElementRef`);function _(e){return n.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===f}l(_,`isSlottable`);var v=Symbol.for(`react.lazy`);function y(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===v&&`_payload`in e&&b(e._payload)}l(y,`isLazyComponent`);function b(e){return typeof e==`object`&&!!e&&`then`in e}l(b,`isPromiseLike`);var x=l(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),S=l(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),C=n.use;export{s as a,o as i,u as n,p as r,d as t};

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.