{"version":3,"sources":["../../../src/client/legacy/image.tsx"],"names":["React","useRef","useEffect","useCallback","useContext","useMemo","useState","Head","imageConfigDefault","VALID_LOADERS","useIntersection","ImageConfigContext","warnOnce","normalizePathTrailingSlash","normalizeSrc","src","slice","configEnv","process","env","__NEXT_IMAGE_OPTS","loadedImageURLs","Set","allImgs","Map","perfObserver","emptyDataURL","window","globalThis","__NEXT_IMAGE_IMPORTED","VALID_LOADING_VALUES","undefined","imgixLoader","config","width","quality","url","URL","path","params","searchParams","set","getAll","join","get","toString","href","akamaiLoader","cloudinaryLoader","paramsString","customLoader","Error","defaultLoader","NODE_ENV","missingValues","push","length","JSON","stringify","startsWith","domains","remotePatterns","parsedSrc","err","console","error","NEXT_RUNTIME","hasMatch","require","hostname","endsWith","dangerouslyAllowSVG","encodeURIComponent","loaders","VALID_LAYOUT_VALUES","isStaticRequire","default","isStaticImageData","isStaticImport","getWidths","layout","sizes","deviceSizes","allSizes","viewportWidthRe","percentSizes","match","exec","parseInt","smallestRatio","Math","min","widths","filter","s","kind","map","w","find","p","generateImgAttrs","unoptimized","loader","srcSet","last","i","getInt","x","defaultImageLoader","loaderProps","loaderKey","load","handleLoading","img","placeholder","onLoadingCompleteRef","setBlurComplete","decode","Promise","resolve","catch","then","parentNode","add","current","naturalWidth","naturalHeight","parentElement","parent","getComputedStyle","position","display","ImageElement","imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","loading","srcString","setIntersection","onLoad","onError","isVisible","noscriptSizes","rest","decoding","data-nimg","style","ref","complete","event","currentTarget","noscript","Image","priority","lazyRoot","lazyBoundary","height","objectFit","objectPosition","onLoadingComplete","blurDataURL","all","configContext","c","imageSizes","sort","a","b","customImageLoader","obj","_","opts","staticSrc","staticImageData","has","blurComplete","isIntersected","resetIntersected","rootRef","rootMargin","disabled","wrapperStyle","boxSizing","overflow","background","opacity","border","margin","padding","sizerStyle","hasSizer","sizerSvgUrl","layoutStyle","top","left","bottom","right","minWidth","maxWidth","minHeight","maxHeight","includes","String","isNaN","VALID_BLUR_EXT","urlStr","pathname","search","overwrittenStyles","Object","keys","key","PerformanceObserver","entryList","entry","getEntries","imgSrc","element","lcpImage","observe","type","buffered","assign","backgroundSize","backgroundPosition","backgroundImage","quotient","paddingTop","fullUrl","e","location","linkProps","imageSrcSet","crossOrigin","referrerPolicy","useLayoutEffect","previousImageSrc","imgElementArgs","span","alt","aria-hidden","link","rel","as"],"mappings":"AAAA;AAEA,OAAOA,SACLC,MAAM,EACNC,SAAS,EACTC,WAAW,EACXC,UAAU,EACVC,OAAO,EACPC,QAAQ,QACH,QAAO;AACd,OAAOC,UAAU,wBAAuB;AACxC,SACEC,kBAAkB,EAClBC,aAAa,QACR,gCAA+B;AAKtC,SAASC,eAAe,QAAQ,sBAAqB;AACrD,SAASC,kBAAkB,QAAQ,uDAAsD;AACzF,SAASC,QAAQ,QAAQ,mCAAkC;AAC3D,SAASC,0BAA0B,QAAQ,8BAA6B;AAExE,SAASC,aAAaC,GAAW;IAC/B,OAAOA,GAAG,CAAC,EAAE,KAAK,MAAMA,IAAIC,KAAK,CAAC,KAAKD;AACzC;AAEA,MAAME,YAAYC,QAAQC,GAAG,CAACC,iBAAiB;AAC/C,MAAMC,kBAAkB,IAAIC;AAC5B,MAAMC,UAAU,IAAIC;AAIpB,IAAIC;AACJ,MAAMC,eACJ;AAEF,IAAI,OAAOC,WAAW,aAAa;IAC/BC,WAAmBC,qBAAqB,GAAG;AAC/C;AAEA,MAAMC,uBAAuB;IAAC;IAAQ;IAASC;CAAU;AAqBzD,SAASC,YAAY,KAKQ;IALR,IAAA,EACnBC,MAAM,EACNlB,GAAG,EACHmB,KAAK,EACLC,OAAO,EACoB,GALR;IAMnB,qEAAqE;IACrE,MAAMC,MAAM,IAAIC,IAAI,AAAC,KAAEJ,OAAOK,IAAI,GAAGxB,aAAaC;IAClD,MAAMwB,SAASH,IAAII,YAAY;IAE/B,oEAAoE;IACpED,OAAOE,GAAG,CAAC,QAAQF,OAA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