-
Notifications
You must be signed in to change notification settings - Fork 0
/
503-4649fe0e899e8119178b.js
1 lines (1 loc) · 1.25 KB
/
503-4649fe0e899e8119178b.js
1
"use strict";(self.webpackChunkgatsby_redux_material_ui_boilerplate=self.webpackChunkgatsby_redux_material_ui_boilerplate||[]).push([[503],{69503:function(e,r,t){t.r(r),t.d(r,{lazyHydrate:function(){return c}});var o=t(6125),a=t(67294),i=t(73935),n=(t(34041),t(74811),["image","loading","isLoading","isLoaded","toggleIsLoaded","ref","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"]);function c(e,r,t,c){var u=e.image,l=e.loading,d=e.isLoading,g=e.isLoaded,s=e.toggleIsLoaded,b=e.ref,m=e.imgClassName,h=e.imgStyle,y=void 0===h?{}:h,f=e.objectPosition,_=e.backgroundColor,k=e.objectFit,C=void 0===k?"cover":k,L=(0,o._)(e,n),j=u.width,p=u.height,v=u.layout,w=u.images,N=u.placeholder,P=u.backgroundColor,E=JSON.stringify(w);y=(0,o.a)({objectFit:C,objectPosition:f,backgroundColor:_},y);var F=a.createElement(o.L,{layout:v,width:j,height:p},a.createElement(o.P,(0,o.a)({},(0,o.g)(N,g,v,j,p,P,C,f))),a.createElement(o.M,(0,o.a)({},L,{width:j,height:p,className:m},(0,o.b)(d,g,w,l,s,E,b,y))));return r.current&&(i.createRoot?(t.current||(t.current=i.createRoot(r.current)),t.current.render(F)):((t.current||c.current?i.render:i.hydrate)(F,r.current),t.current=!0)),function(){r.current&&(i.createRoot?t.current.render(null):i.render(null,r.current))}}}}]);