import{j as c}from"./index-DxNxE5m4.js";import{f as u,a as b}from"./use-theme-BljIc0Ij.js";import{u as F,s as N}from"./use-image-BxRxBFC5.js";import{o as x}from"./use-style-config-V51jHKUD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f82a3263-f552-4465-9d32-c7e874acbbfc",e._sentryDebugIdIdentifier="sentry-dbid-f82a3263-f552-4465-9d32-c7e874acbbfc")}catch{}})();const n=u(function(a,t){const{htmlWidth:o,htmlHeight:r,alt:s,...i}=a;return c.jsx("img",{width:o,height:r,ref:t,alt:s,...i})});n.displayName="NativeImage";const _=u(function(a,t){const{fallbackSrc:o,fallback:r,src:s,srcSet:i,align:h,fit:I,loading:l,ignoreFallback:k,crossOrigin:d,fallbackStrategy:y="beforeLoadOrError",referrerPolicy:p,...f}=a,w=o!==void 0||r!==void 0,m=l!=null||k||!w,j=F({...a,crossOrigin:d,ignoreFallback:m}),v=N(j,y),g={ref:t,objectFit:I,objectPosition:h,...m?f:x(f,["onError","onLoad"])};return v?r||c.jsx(b.img,{as:n,className:"chakra-image__placeholder",src:o,...g}):c.jsx(b.img,{as:n,src:s,srcSet:i,crossOrigin:d,loading:l,referrerPolicy:p,className:"chakra-image",...g})});_.displayName="Image";export{_ as I};
//# sourceMappingURL=image-BmTmFJMM.js.map
