(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3831,95953],{42227:(e,t,s)=>{"use strict";s.d(t,{PlatformBlogLink:()=>l});var a=s(95155);function i(e){return(e.split("?")[0]||e).replace(/\/$/,"")||"/"}function l({href:e,onClick:t,children:s,...l}){return(0,a.jsx)("a",{href:e,onClick:s=>{if(t?.(s),s.defaultPrevented)return;let a=i(e);i(window.location.pathname)!==a&&(s.preventDefault(),window.location.assign(e))},...l,children:s})}},42638:(e,t,s)=>{Promise.resolve().then(s.bind(s,82144)),Promise.resolve().then(s.bind(s,42227)),Promise.resolve().then(s.bind(s,61464))},61464:(e,t,s)=>{"use strict";s.d(t,{StorageImage:()=>d});var a=s(95155),i=s(12115),l=s(5772),n=s(90927),r=s(76541);function o({fill:e,width:t,height:s,className:i}){return e?(0,a.jsx)("span",{className:`absolute inset-0 bg-[var(--muted)] animate-pulse ${i??""}`,"aria-hidden":!0}):(0,a.jsx)("span",{style:{width:t,height:s},className:`inline-block bg-[var(--muted)] animate-pulse ${i??""}`,"aria-hidden":!0})}function d({src:e,alt:t,unoptimized:s,...d}){let u="string"==typeof e?e:void 0,h=!!(u&&(0,n.X8)(u)),[c,m]=(0,i.useState)(()=>u?u.startsWith("blob:")||u.startsWith("data:")?u:h?void 0:(0,n.Bw)(u,(0,r.getApiBaseUrl)())||u:void 0);(0,i.useLayoutEffect)(()=>{"string"==typeof e&&e?e.startsWith("blob:")||e.startsWith("data:")?m(e):m((0,n.oG)(e,(0,r.getApiBaseUrl)())):m(void 0)},[e]);let f=(0,n.ae)(u),g=s??(f||"string"==typeof c&&c.includes("/media/image"));return c?c.startsWith("blob:")||c.startsWith("data:")?d.fill?(0,a.jsx)("img",{src:c,alt:t,className:`absolute inset-0 h-full w-full object-cover ${d.className??""}`}):(0,a.jsx)("img",{src:c,alt:t,width:d.width,height:d.height,className:d.className}):(0,a.jsx)(l.default,{src:c,alt:t,unoptimized:g,...d}):(0,a.jsx)(o,{fill:d.fill,width:d.width,height:d.height,className:d.className})}}},e=>{e.O(0,[24777,66711,90844,92619,59185,98500,5772,76541,92106,83491,90817,2499,28441,93794,77358],()=>e(e.s=42638)),_N_E=e.O()}]);