PageSourceSearch

https://www.sushishop.fr/rollingstart/banner-widget-46ea58f77642aec3bbab.js

js sushishop.fr collected 2026-09-24 19:57:22 UTC 4,240 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksushishop_gatsby=self.webpackChunksushishop_gatsby||[]).push([[634],{66298:function(e,t,i){i.d(t,{Z:function(){return T}});var a=i(12591),n=i(99617),l=i(86654),r=i(1345),o=i(2784),d=i(36613),s=i(60997),m=i(41037),g=i(41195),c=i(94148);const p=(0,g.default)(m.W2).withConfig({displayName:"BannerTwoSideWidgetstyled___BannerTwoSideRoot",componentId:"sc-stglce-0"})((()=>({paddingTop:16,paddingBottom:16,["@media "+c.f.lg]:{paddingTop:24,paddingBottom:24}}))),u=(0,g.default)("div").withConfig({displayName:"BannerTwoSideWidgetstyled___BannerTwoSideWidgetImage",componentId:"sc-stglce-1"})((()=>({width:"100%",height:"100%",borderRadius:4,img:{width:"100%",height:"100%"}}))),h=(0,g.default)(s.Z).withConfig({displayName:"BannerTwoSideWidgetstyled___BannerTwoSideWrap",componentId:"sc-stglce-2"})((()=>({height:320,["@media "+c.f.md]:{height:"100%"}}))),b=(0,g.default)(s.Z).withConfig({displayName:"BannerTwoSideWidgetstyled___BannerTwoSideContent",componentId:"sc-stglce-3"})((e=>{let{$bg:t}=e;return{height:"100%",background:t,borderRadius:4,padding:"25px 16px 32px",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",["@media "+c.f.lg]:{padding:"50px 42px 48px"},".banner-two-side-widget__title":{marginBottom:14,maxWidth:425,["@media "+c.f.lg]:{marginBottom:18}}}}));var f=i(86478),_=i(58404),w=i(33363);var y=e=>{const{title:t,subtitle:i,actionLabel:a,image:n,bg:l="#C0B59E",actionProps:r,theme:g}=e,c=null!=g&&g.includes("light")?"#000":"#fff";return o.createElement(p,{className:"banner-two-side-widget"},o.createElement(m.X2,{style:{minHeight:472},gutter:[8,8]},o.createElement(m.JX,{xs:12,lg:6},o.createElement(h,{align:"center",justify:"center"},n&&o.createElement(u,null,o.createElement(f.cQ,{alt:t,loading:"lazy",deferSrcUntilVisible:!1,desktop:{image:{id:n,fit:_.kQ.COVER,height:472},wrapperStyle:{maxWidth:"100%",height:464,maxHeight:464,borderRadius:4,overflow:"hidden"},imgStyle:{height:464,maxHeight:464}},mobile:{image:{id:n,fit:_.kQ.COVER,outputPixelDensities:[1,2],width:343,height:320},wrapperStyle:{maxWidth:"100%",maxHeight:320,height:320,borderRadius:4,overflow:"hidden"}}})))),o.createElement(m.JX,{xs:12,lg:6},o.createElement(b,{$bg:l},o.createElement(s.Z,{mb:104,flex:1,direction:"column"},o.createElement(d.Z,{as:"h3",variant:"h4",color:()=>c,className:"banner-two-side-widget__title"},t),i&&o.createElement(d.Z,{variant:"subtitle1",color:()=>c},i)),a&&o.createElement(w.Z,Object.assign({theme:g,mode:"dark",variant:"mono"},r),a)))))};var v=(0,n.Z)((e=>{let{p:t,params:i}=e;const{getCtaLink:a}=(0,l.G)(i),n=a("btn");return o.createElement("div",null,o.createElement(y,{bg:t("bg")||"#C0B59E",title:t("title"),subtitle:t("subtitle"),actionLabel:t("btn-label"),actionProps:{as:r.Fg,to:n},image:t("image"),theme:t("slider3_theme")}))})),E=i(33104),x=i(4923),C=i(20973),k=i(62751);function B(e){const t=null==e?void 0:e.trim();if(t&&"0"!==t&&"-1"!==t)return t}var Z=(0,n.Z)((e=>{let{p:t,params:i}=e;const{getCtaLink:a}=(0,l.G)(i),n=a("btn"),{isMobile:d}=(0,C.Z)(),s=t("image"),m=t("image_mobile"),g=function(e,t,i){var a,n;return e?null!==(n=B(i))&&void 0!==n?n:B(t):null!==(a=B(t))&&void 0!==a?a:B(i)}(d,t("video")||t("videourl"),t("video_mobile")),c=(0,o.useCallback)(((e,t)=>(0,k.q)(e,void 0,{autoPlay:!0,posterImageId:t,posterImageWidth:x.cD,useVideoExportPoster:!t})),[]),p=t("btnlabel")||t("btn-label");return o.createElement(E.Z,{tag:t("tag"),title:t("title"),subtitle:t("subtitle"),actionLabel:p,desktopImageId:B(s),mobileImageId:B(m),videoSlug:g,renderVideo:c,primaryColor:t("primary_color_picker"),theme:t("slider3_theme"),actionProps:{as:r.Fg,to:n}})})),I=i(63987);var S=(0,n.Z)((e=>{let{p:t,params:i}=e;const{getCtaLink:a}=(0,l.G)(i),n=a("btn");return o.createElement("div",null,o.createElement(I.Z,{tag:t("tag"),title:t("title"),subtitle:t("subtitle"),primaryColor:t("primary_color_picker"),secondaryColor:t("secondary_color_picker"),actionLabel:t("btn-label"),actionProps:{as:r.Fg,to:n},image:t("image"),theme:t("slider3_theme")}))}));const W=(0,a.Z)({displayName:"BannerWidget",templates:{default:S,"banner-v4":S,"two-side":v,"full-screen":Z}});W.displayName="BannerWidget";var T=W}}]);
2//# sourceMappingURL=banner-widget-46ea58f77642aec3bbab.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.