PageSourceSearch

https://www.broomead.com.au/static/js/Facebook-web_2c4dc8c35bf8d25b8dd6.js

js broomead.com.au collected 2026-09-25 03:56:15 UTC 1,318 bytes, 3 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[630],{76925:(function(T,_,e){e.r(_);var i=e(50183),b=e(91436),n=e(84539),o=e(14041),g=e(2537),M=e(72307),m=e(81487),P=e(22696),d=e(98330);const f=({link:t})=>{const{FacebookAppId:a,FacebookClientToken:D}=(0,P.q)(),O=(0,i.iT)("enable-meta-oembed_page",!0),u=o.useContext(g.Y),[c,C]=o.useState(""),E=(0,d.dr)(t);let r=!0;E==="oembed_page"&&!O&&(r=!1);const[s,U]=(0,n.v)({consentMet:{src:"https://connect.facebook.net/en_US/sdk.js"},consentRequiredLevel:b.Rg.All});return o.useEffect(()=>{async function A(){try{const l=encodeURIComponent(t),h=`${a}|${D}`;if(!r)return;const L=(await(await fetch(`https://graph.facebook.com/v23.0/${E}?omitscript=true&url=${l}&access_token=${h}`)).json()).html;L&&(C(L),(0,d.rU)(a))}catch(l){u.debug({error:l,link:t},"Error loading facebook post")}}s===n.r.Success&&A()},[s,D,a,t,u,O,E,r]),s===n.r.NotConsented?o.createElement(M.V,null):!r||s===n.r.Failed?o.createElement(m.Y,{href:t,openInNewWindow:!0},"View Facebook Embed"):!c||s===n.r.Loading?o.createElement(m.Y,{href:t,openInNewWindow:!0},"Loading Facebook Embed"):c?o.createElement("div",{dangerouslySetInnerHTML:{__html:c}}):null};_.default=f,e.d(_,["FacebookEmbed",0,f])})}]);
2
3//# sourceMappingURL=Facebook-web_2c4dc8c35bf8d25b8dd6.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.