PageSourceSearch

https://ofw.ourfamilywizard.com/app/assets/index-D5rz2TZU.js

js ourfamilywizard.com collected 2026-10-01 11:42:43 UTC 3,644 bytes, 1 lines download raw bytes

1import{_ as N,j as s,at as z,as as M,r as b,au as T,aC as h,s as x,af as U,ay as $,az as E,m as q,t as H}from"./WarningIcon-hckcyQCq.js";const L=N(s.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}));function _(t){return z("MuiAvatar",t)}M("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const B=t=>{const{classes:a,variant:e,colorDefault:r}=t;return $({root:["root",e,r&&"colorDefault"],img:["img"],fallback:["fallback"]},_,a)},W=x("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:e}=t;return[a.root,a[e.variant],e.colorDefault&&a.colorDefault]}})(E(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(t.vars||t).palette.background.default,...t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:t.palette.grey[400],...t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})}}}]}))),G=x("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),J=x(L,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function K({crossOrigin:t,referrerPolicy:a,src:e,srcSet:r}){const[n,l]=b.useState(!1);return b.useEffect(()=>{if(!e&&!r)return;l(!1);let c=!0;const o=new Image;return o.onload=()=>{c&&l("loaded")},o.onerror=()=>{c&&l("error")},o.crossOrigin=t,o.referrerPolicy=a,o.src=e,r&&(o.srcset=r),()=>{c=!1}},[t,a,e,r]),n}const O=b.forwardRef(function(a,e){const r=T({props:a,name:"MuiAvatar"}),{alt:n,children:l,className:c,component:o="div",slots:d={},slotProps:i={},imgProps:g,sizes:f,src:m,srcSet:v,variant:w="circular",...A}=r;let p=null;const u={...r,component:o,variant:w},j=K({...g,...typeof i.img=="function"?i.img(u):i.img,src:m,srcSet:v}),k=m||v,S=k&&j!=="error";u.colorDefault=!S,delete u.ownerState;const y=B(u),[P,C]=h("root",{ref:e,className:U(y.root,c),elementType:W,externalForwardedProps:{slots:d,slotProps:i,component:o,...A},ownerState:u}),[R,F]=h("img",{className:y.img,elementType:G,externalForwardedProps:{slots:d,slotProps:{img:{...g,...i.img}}},additionalProps:{alt:n,src:m,srcSet:v,sizes:f},ownerState:u}),[I,D]=h("fallback",{className:y.fallback,elementType:J,externalForwardedProps:{slots:d,slotProps:i},shouldForwardComponentProp:!0,ownerState:u});return S?p=s.jsx(R,{...F}):l||l===0?p=l:k&&n?p=n[0]:p=s.jsx(I,{...D}),s.jsx(P,{...C,children:p})}),Q=q()((t,a)=>({root:{backgroundColor:a.color,opacity:a.disabled?"50%":"initial"},small:{width:32,height:32},large:{width:40,height:40}})),X=t=>{const{text:a,color:e="#bdbdbd",alt:r,size:n="large",margin:l={},id:c,className:o,onClick:d,type:i="circle",disabled:g=!1}=t,{classes:f}=Q({color:e,disabled:g});return s.jsxs("div",{style:{cursor:d?"pointer":"default"},children:[i==="circle"&&s.jsx("div",{style:{...l},children:s.jsx(O,{alt:r,className:`${f.root} ${f[n]} ${o}`,id:c,onClick:d,children:a})}),i==="fullName"&&s.jsxs("div",{className:o,onClick:d,style:{display:"flex"},children:[s.jsx("div",{style:{borderRadius:50,background:e,height:12,width:12,marginRight:6,marginTop:6}}),s.jsx("div",{style:{fontSize:16,fontWeight:400,color:H.palette.gray.dark,lineHeight:"24px"},id:c,children:a})]})]})};export{X as A,O as a};

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.