1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[748],{42591:(function(C,a,t){t.r(a);var d=t(91436),n=t(84539),e=t(14041),D=t(2537),u=t(72307),m=t(81487),L=t(22696),O=t(81072);const c=({link:s})=>{const{FacebookAppId:E,FacebookClientToken:l}=(0,L.q)(),g=e.useContext(D.Y),[r,I]=e.useState(""),[o,f]=(0,n.v)({consentMet:{src:"https://platform.instagram.com/en_US/embeds.js"},consentRequiredLevel:d.Rg.All});return e.useEffect(()=>{async function M(){try{const _=encodeURIComponent(s),P=`${E}|${l}`,i=(await(await fetch(`https://graph.facebook.com/v23.0/instagram_oembed?omitscript=true&url=${_}&access_token=${P}`)).json()).html;i&&(I(i),(0,O.kk)())}catch(_){g.debug({error:_,link:s},"Error loading instagram post")}}o===n.r.Success&&M()},[o,f,s,E,l,g]),o===n.r.NotConsented?e.createElement(u.V,null):o===n.r.Failed?e.createElement(m.Y,{href:s,openInNewWindow:!0},"View Instagram Post"):!r||o===n.r.Loading?e.createElement(m.Y,{href:s,openInNewWindow:!0},"Loading Instagram Post"):r?e.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):null};a.default=c,t.d(a,["InstagramEmbed",0,c])})}]); 2 3//# sourceMappingURL=Instagram-web_a9e96480eb4d66db3bde.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.