PageSourceSearch

https://hilfreno.at/assets/dist-D6RZCSbo.js

js hilfreno.at collected 2026-10-09 22:02:13 UTC 10,229 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{_ as t,f as n,g as r,h as i}from"./card-DFKC5Q5p.js";import{n as a,r as o}from"./dist-CDqmpeQR.js";var s=e(t(),1),c=r(),l=Object.defineProperty,u=(e,t)=>l(e,`name`,{value:t,configurable:!0});function d(e){let t=e+`CollectionProvider`,[r,a]=o(t),[l,d]=r(t,{collectionRef:{current:null},itemMap:new Map}),f=u(e=>{let{scope:t,children:n}=e,r=s.useRef(null),i=s.useRef(new Map).current;return(0,c.jsx)(l,{scope:t,itemMap:i,collectionRef:r,children:n})},`CollectionProvider`);f.displayName=t;let p=e+`CollectionSlot`,m=n(p),h=s.forwardRef((e,t)=>{let{scope:n,children:r}=e,a=d(p,n),o=i(t,a.collectionRef);return(0,c.jsx)(m,{ref:o,children:r})});h.displayName=p;let g=e+`CollectionItemSlot`,_=`data-radix-collection-item`,v=n(g),y=s.forwardRef((e,t)=>{let{scope:n,children:r,...a}=e,o=s.useRef(null),l=i(t,o),u=d(g,n);return s.useEffect(()=>(u.itemMap.set(o,{ref:o,...a}),()=>void u.itemMap.delete(o))),(0,c.jsx)(v,{[_]:``,ref:l,children:r})});y.displayName=g;function b(t){let n=d(e+`CollectionConsumer`,t);return s.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${_}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return u(b,`useCollection`),[{Provider:f,Slot:h,ItemSlot:y},b,a]}u(d,`createCollection`);var f=new WeakMap,p=class e extends Map{static{u(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],f.set(this,!0)}set(e,t){return f.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=g(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=m(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=m(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return m(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function m(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=h(e,t);return n===-1?void 0:e[n]}u(m,`at`);function h(e,t){let n=e.length,r=g(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}u(h,`toSafeIndex`);function g(e){return e!==e||e===0?0:Math.trunc(e)}u(g,`toSafeInteger`);function _(e){let t=e+`CollectionProvider`,[r,a]=o(t),[l,d]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new p,setItemMap:u(()=>void 0,`setItemMap`)}),f=u(({state:e,...t})=>e?(0,c.jsx)(h,{...t,state:e}):(0,c.jsx)(m,{...t}),`CollectionProvider`);f.displayName=t;let m=u(e=>{let t=T();return(0,c.jsx)(h,{...e,state:t})},`CollectionInit`);m.displayName=t+`Init`;let h=u(e=>{let{scope:t,children:n,state:r}=e,a=s.useRef(null),[o,u]=s.useState(null),d=i(a,u),[f,p]=r;return s.useEffect(()=>{if(!o)return;let e=x(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,c.jsx)(l,{scope:t,itemMap:f,setItemMap:p,collectionRef:d,collectionRefObject:a,collectionElement:o,children:n})},`CollectionProviderImpl`);h.displayName=t+`Impl`;let g=e+`CollectionSlot`,_=n(g),y=s.forwardRef((e,t)=>
1{let{scope:n,children:r}=e,a=d(g,n),o=i(t,a.collectionRef);return(0,c.jsx)(_,{ref:o,children:r})});y.displayName=g;let S=e+`CollectionItemSlot`,C=n(S),w=s.forwardRef((e,t)=>{let{scope:n,children:r,...a}=e,o=s.useRef(null),[l,u]=s.useState(null),f=i(t,o,u),{setItemMap:m}=d(S,n),h=s.useRef(a);v(h.current,a)||(h.current=a);let g=h.current;return s.useEffect(()=>{let e=g;return m(t=>l?t.has(l)?t.set(l,{...e,element:l}).toSorted(b):(t.set(l,{...e,element:l}),t.toSorted(b)):t),()=>{m(e=>!l||!e.has(l)?e:(e.delete(l),new p(e)))}},[l,g,m]),(0,c.jsx)(C,{"data-radix-collection-item":``,ref:f,children:r})});w.displayName=S;function T(){return s.useState(new p)}u(T,`useInitCollection`);function E(t){let{itemMap:n}=d(e+`CollectionConsumer`,t);return n}return u(E,`useCollection`),[{Provider:f,Slot:y,ItemSlot:w},{createCollectionScope:a,useCollection:E,useInitCollection:T}]}u(_,`createCollection`);function v(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}u(v,`shallowEqual`);function y(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}u(y,`isElementPreceding`);function b(e,t){return!e[1].element||!t[1].element?0:y(e[1].element,t[1].element)?-1:1}u(b,`sortByDocumentPosition`);function x(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}u(x,`getChildListObserver`);var S=Object.defineProperty,C=(e,t)=>S(e,`name`,{value:t,configurable:!0});function w(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>((...e)=>t.current?.(...e)),[])}C(w,`useCallbackRef`);var T=Object.defineProperty,E=(e,t)=>T(e,`name`,{value:t,configurable:!0});function D(e,t){return s.useReducer((e,n)=>t[e][n]??e,e)}E(D,`useStateMachine`);var O=E(e=>{let{present:t,children:n}=e,r=k(t),i=typeof n==`function`?n({present:r.isPresent}):s.Children.only(n),a=j(r.ref,N(i));return typeof n==`function`||r.isPresent?s.cloneElement(i,{ref:a}):null},`Presence`);function k(e){let[t,n]=s.useState(),r=s.useRef(null),i=s.useRef(e),o=s.useRef(`none`),c=s.useRef(void 0),[l,u]=D(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return s.useEffect(()=>{l===`mounted`?(o.current=c.current??M(r.current),c.current=void 0):o.current=`none`},[l]),a(()=>{let t=r.current,n=i.current;if(n!==e){let r=o.current,a=M(t);e?(c.current=a,u(`MOUNT`)):a===`none`||t?.display===`none`?u(`UNMOUNT`):u(n&&r!==a?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,u]),a(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,a=E(a=>{let o=M(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(u(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=E(e=>{e.target===t&&(o.current=M(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,a),t.addEventListener(`animationend`,a),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,a),t.removeEventListener(`animationend`,a)}}u(`ANIMATION_END`)},[t,u]),{isPresent:[`mounted`,`unmountSuspended`].includes(l),ref:s.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,c.current=M(t)}else r.current=null;n(e)},[])}}E(k,`usePresence`);function A(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}E(A,`setRef`);function j(...e){let t=s.useRef(e);return t.current=e,s.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=A(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():A(n[e],null)}}},[])}E(j,`useStableComposedRefs`);function M(e){return e?.animationName||`none`}E(M,`getAnimationName`);function N(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)}E(N,`getElementRef`);var P=Object.defineProperty,F=(e,t)=>P(e,`name`,{value:t,configurable:!0}),I=s.useId||(()=>void 0),L=0;function R(e){let[t,n]=s.useState(I());return a(()=>{e||n(e=>e??String(L++))},[e]),e||(t?`radix-${t}`:``)}F(R,`useId`);export{d as i,O as n,w as r,R 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.