(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79865,e=>{"use strict";var s=e.i(43476),t=e.i(71645),i=e.i(1973),r=e.i(84828);e.s(["UserImage",0,function({src:e,fallbackSrc:n="/images/user-default.svg",alt:l="User",onError:a,onLoad:o,...c}){let[u,m]=(0,t.useState)(null),[g,d]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{let s=!0;d(!0);let t=(0,i.resolveImagePath)(e)??n,r=new Image;return r.src=t,r.onload=()=>{s&&(m(t),d(!1))},r.onerror=()=>{if(!s)return;if(t===n){m(n),d(!1);return}let e=new Image;e.src=n,e.onload=()=>{s&&(m(n),d(!1))},e.onerror=()=>{s&&(m(n),d(!1))}},()=>{s=!1}},[e,n]),(0,s.jsxs)("div",{className:"relative inline-flex items-center justify-center w-full h-full",children:[g&&(0,s.jsx)(r.FaSpinner,{className:"size-5 animate-spin shrink-0"}),!g&&u&&(0,s.jsx)("img",{...c,src:u,alt:l,onLoad:o,onError:a})]})}])},3064,e=>{"use strict";e.s(["PUBLIC_SETTINGS",0,{GET_PRIVACY_POLICY:"/public/settings/privacy-policy",GET_TERMS:"/public/settings/terms-and-conditions",GET_SOCIAL_LINKS:"/public/settings/social-links"}])}]);