"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function i(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const l=i(o),u=new Set;function m(e){if(!u.has(e))throw new Promise(n=>{const t=new Image;t.src=e,t.onload=()=>{u.add(e),n(null)}})}function f({altText:e,className:n,imageRef:t,src:a,width:r,height:c,maxWidth:s}){return m(a),l.createElement("img",{className:n||void 0,src:a,alt:e,ref:t,style:{height:c,maxWidth:s,width:r}})}function g({src:e,altText:n,width:t,height:a,maxWidth:r}){const c=o.useRef(null);return l.createElement(o.Suspense,{fallback:null},l.createElement(l.Fragment,null,l.createElement("div",null,l.createElement(f,{className:"",src:e,altText:n,imageRef:c,width:t,height:a,maxWidth:r}))))}exports.default=g;
