PageSourceSearch

https://eliteweddingsandeventswithcara.com/assets/avatar-CtqlEmcU.js

js eliteweddingsandeventswithcara.com collected 2026-09-30 06:39:45 UTC 3,191 bytes, 9 lines download raw bytes

1import{r as o,aT as k,j as d,at as p,b7 as $,b8 as m,E as S}from"./index-DaxYHL_c.js";var x={exports:{}},y={};/**
2 * @license React
3 * use-sync-external-store-shim.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var c=o;function F(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var M=typeof Object.is=="function"?Object.is:F,P=c.useState,T=c.useEffect,V=c.useLayoutEffect,D=c.useDebugValue;function G(e,t){var a=t(),s=P({inst:{value:a,getSnapshot:t}}),n=s[0].inst,r=s[1];return V(function(){n.value=a,n.getSnapshot=t,v(n)&&r({inst:n})},[e,a,t]),T(function(){return v(n)&&r({inst:n}),e(function(){v(n)&&r({inst:n})})},[e]),D(a),a}function v(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!M(e,a)}catch{return!0}}function H(e,t){return t()}var q=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?H:G;y.useSyncExternalStore=c.useSyncExternalStore!==void 0?c.useSyncExternalStore:q;x.exports=y;var B=x.exports;function K(){return B.useSyncExternalStore(O,()=>!0,()=>!1)}function O(){return()=>{}}var g="Avatar",[U,Z]=k(g),[W,h]=U(g),w=o.forwardRef((e,t)=>{const{__scopeAvatar:a,...s}=e,[n,r]=o.useState("idle");return d.jsx(W,{scope:a,imageLoadingStatus:n,onImageLoadingStatusChange:r,children:d.jsx(p.span,{...s,ref:t})})});w.displayName=g;var L="AvatarImage",b=o.forwardRef((e,t)=>{const{__scopeAvatar:a,src:s,onLoadingStatusChange:n=()=>{},...r}=e,l=h(L,a),u=z(s,r),i=$(f=>{n(f),l.onImageLoadingStatusChange(f)});return m(()=>{u!=="idle"&&i(u)},[u,i]),u==="loaded"?d.jsx(p.img,{...r,ref:t,src:s}):null});b.displayName=L;var N="AvatarFallback",R=o.forwardRef((e,t)=>{const{__scopeAvatar:a,delayMs:s,...n}=e,r=h(N,a),[l,u]=o.useState(s===void 0);return o.useEffect(()=>{if(s!==void 0){const i=window.setTimeout(()=>u(!0),s);return()=>window.clearTimeout(i)}},[s]),l&&r.imageLoadingStatus!=="loaded"?d.jsx(p.span,{...n,ref:t}):null});R.displayName=N;function A(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function z(e,{referrerPolicy:t,crossOrigin:a}){const s=K(),n=o.useRef(null),r=s?(n.current||(n.current=new window.Image),n.current):null,[l,u]=o.useState(()=>A(r,e));return m(()=>{u(A(r,e))},[r,e]),m(()=>{const i=_=>()=>{u(_)};if(!r)return;const f=i("loaded"),E=i("error");return r.addEventListener("load",f),r.addEventListener("error",E),t&&(r.referrerPolicy=t),typeof a=="string"&&(r.crossOrigin=a),()=>{r.removeEventListener("load",f),r.removeEventListener("error",E)}},[r,a,t]),l}var I=w,j=b,C=R;const J=o.forwardRef(({className:e,...t},a)=>d.jsx(I,{ref:a,className:S("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));J.displayName=I.displayName;const Q=o.forwardRef(({className:e,...t},a)=>d.jsx(j,{ref:a,className:S("aspect-square h-full w-full",e),...t}));Q.displayName=j.displayName;const X=o.forwardRef(({className:e,...t},a)=>d.jsx(C,{ref:a,className:S("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));X.displayName=C.displayName;export{J as A,Q as a,X as b};

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.