var Spotlight;(self.webpackChunkSpotlight=self.webpackChunkSpotlight||[]).push([[974],{7749(t){"use strict";t.exports=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},2694(t,e,n){"use strict";var o=n(6925);function r(){}function a(){}a.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},5556(t,e,n){t.exports=n(2694)()},6925(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5338(t,e,n){"use strict";var o=n(75206);e.createRoot=o.createRoot,e.hydrateRoot=o.hydrateRoot},2277(t,e,n){"use strict";n.d(e,{hm:()=>g,Ts:()=>f});var o=n(41594),r=n.n(o),a=n(55995),i=n(58590),s=n(66850),c=n(88007);function l({id:t,feedState:e}){const[n,a]=(0,o.useState)(e);return r().createElement("div",{className:"spotlight-instagram-app"},r().createElement(c.x,{id:t,state:n,onUpdateState:a,autoDevice:!0,autoLoad:!0}))}var d=n(50909),p=n(65464),u=n(12841);function f(t={}){const e=document.getElementsByClassName("spotlight-instagram-feed");for(let n=0,o=e.length||0;n<o;++n){const o=g(e[n],t);o&&(window.SpotlightInstagram.instances[n]=o)}}function g(t,e={}){const n=t.getAttribute("data-feed-var"),o="1"===t.getAttribute("data-analytics"),c=parseInt(t.getAttribute("data-instance")),f=w[g=n]=w.hasOwnProperty(g)?w[g]:h(`sli__f__${g}`);var g;const S=function(t){return m[t]=m.hasOwnProperty(t)?m[t]:h(`sli__a__${t}`)}(n),_=function(t){return y[t]=y.hasOwnProperty(t)?y[t]:h(`sli__m__${t}`)}(n);if(n&&"object"==typeof f&&Array.isArray(S)){if(t.children.length>0)if(e.reInit){const e=t.cloneNode();t.parentNode.append(e),t.remove(),t=e}else if(!e.silent)return console.warn("A Spotlight Instagram feed could not be created because its DOM node is not empty"),null;const g=d.F.getDevice((0,s._b)()),h=i.OG.forFrontApp(S);let w=new i.eL(f,g,h,o,c);(0,p.Z)(_)||([w]=w.load(_));const m={run(){const e=r().createElement(l,{id:"sli-feed-"+n,feedState:w});(0,u.x)(e,t)}};return(0,a.Ld)(()=>m.run()),m}return null}function h(t){const e=document.getElementById(t);return e&&e.hasAttribute("data-json")?JSON.parse(e.getAttribute("data-json")):null}window.SliFrontCtx||(window.SliFrontCtx={}),window.SliAccountInfo||(window.SliAccountInfo={}),window.SliPreloadedMedia||(window.SliPreloadedMedia={}),window.SpotlightInstagram||(window.SpotlightInstagram={instances:[],init:f,feed:g});const w=window.SliFrontCtx,m=window.SliAccountInfo,y=window.SliPreloadedMedia},84997(t,e,n){"use strict";n.r(e);var o=n(2277);document.addEventListener("DOMContentLoaded",o.Ts)},41594(t){"use strict";t.exports=React},75206(t){"use strict";t.exports=ReactDOM}},t=>{t.O(0,[706,495,76],()=>t(84997));var e=t.O();Spotlight=e}]);