@gem-sdk/components 2.0.0-staging.128 → 2.0.0-staging.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -227,142 +227,145 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
|
|
|
227
227
|
})
|
|
228
228
|
]
|
|
229
229
|
}),
|
|
230
|
-
/*#__PURE__*/ jsxRuntime.
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
'gp-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
...styleHeight,
|
|
253
|
-
...styleAspectRatio,
|
|
254
|
-
...core.makeStyle({
|
|
255
|
-
bs: borderBg?.border ?? borderBg?.border,
|
|
256
|
-
bw: borderBg?.width ?? borderBg?.width,
|
|
257
|
-
bc: core.getSingleColorVariable(borderBg?.color)
|
|
230
|
+
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
231
|
+
className: "gp-flex",
|
|
232
|
+
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
233
|
+
...builderAttrs,
|
|
234
|
+
"data-id": builderProps?.uid,
|
|
235
|
+
className: core.cls(builderProps?.uid, 'gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out', common.getClassAlignBanner(alignBannerData)),
|
|
236
|
+
style: {
|
|
237
|
+
...style,
|
|
238
|
+
...visibilityStyle,
|
|
239
|
+
...styleHeight,
|
|
240
|
+
...styleWidth,
|
|
241
|
+
...styleAspectRatio
|
|
242
|
+
},
|
|
243
|
+
onMouseEnter: onMouseEnterParallax,
|
|
244
|
+
onMouseLeave: onMouseLeaveParallax,
|
|
245
|
+
children: [
|
|
246
|
+
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
247
|
+
ref: refContainer,
|
|
248
|
+
className: core.cls('gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container', {
|
|
249
|
+
'gp-justify-center': contentPosition[currentDevice] === 'center',
|
|
250
|
+
'gp-justify-start': contentPosition[currentDevice] === 'top',
|
|
251
|
+
'gp-justify-end': contentPosition[currentDevice] === 'bottom'
|
|
258
252
|
}),
|
|
259
|
-
|
|
260
|
-
...
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
ref:
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}),
|
|
253
|
+
style: {
|
|
254
|
+
...styleHeight,
|
|
255
|
+
...styleAspectRatio,
|
|
256
|
+
...core.makeStyle({
|
|
257
|
+
bs: borderBg?.border ?? borderBg?.border,
|
|
258
|
+
bw: borderBg?.width ?? borderBg?.width,
|
|
259
|
+
bc: core.getSingleColorVariable(borderBg?.color)
|
|
260
|
+
}),
|
|
261
|
+
...core.getRadiusStyleActiveState({
|
|
262
|
+
...cornerBg,
|
|
263
|
+
active: {
|
|
264
|
+
...cornerBg || {},
|
|
265
|
+
radiusType: 'custom'
|
|
266
|
+
}
|
|
267
|
+
}),
|
|
268
|
+
...core.getStyleShadow({
|
|
269
|
+
value: shadowBg,
|
|
270
|
+
styleAppliedFor: 'box-shadow',
|
|
271
|
+
isEnableShadow: hasActiveShadow
|
|
272
|
+
})
|
|
273
|
+
},
|
|
274
|
+
children: [
|
|
275
|
+
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
276
|
+
ref: elementRef,
|
|
277
|
+
"aria-label": "Background Image",
|
|
278
|
+
role: "banner",
|
|
279
|
+
className: "gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0",
|
|
287
280
|
style: {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
|
|
296
|
-
tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
|
|
297
|
-
mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
|
|
281
|
+
clipPath: index.getClipPath(borderBg?.width, cornerBg)
|
|
282
|
+
},
|
|
283
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
284
|
+
ref: bgRef,
|
|
285
|
+
className: core.cls('hero-banner-bg gp-hero-banner-image-background', {
|
|
286
|
+
'gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]': hoverEffect,
|
|
287
|
+
'gp-transition-transform': hoverEffect
|
|
298
288
|
}),
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
289
|
+
style: {
|
|
290
|
+
...styleHeroBanner(),
|
|
291
|
+
...core.getStyleBackgroundByDevice(background, {
|
|
292
|
+
ignoreBgAttachment: true,
|
|
293
|
+
ignoreBackgroundImage: true,
|
|
294
|
+
ignoreBackgroundColor: backgroundResponsive[currentDevice]?.type === 'video'
|
|
295
|
+
}),
|
|
296
|
+
...core.makeStyleResponsive('bgi', {
|
|
297
|
+
desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
|
|
298
|
+
tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
|
|
299
|
+
mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
|
|
300
|
+
}),
|
|
301
|
+
...core.getGradientBgrStyleByDevice(background, bgiEnableByDevice),
|
|
302
|
+
position: attachment === 'fixed' ? 'fixed' : 'absolute',
|
|
303
|
+
'--duration': `${hoverEffectDuration ?? 0}s`,
|
|
304
|
+
'--scale': hoverEffectScale ?? 1,
|
|
305
|
+
transform,
|
|
306
|
+
transition: 'transform 300ms cubic-bezier(0,0,0,1)'
|
|
307
|
+
},
|
|
308
|
+
children: embed
|
|
309
|
+
})
|
|
310
|
+
}),
|
|
311
|
+
overlayEnable && /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
312
|
+
"aria-label": "Overlay",
|
|
313
|
+
role: "banner",
|
|
314
|
+
className: core.cls('gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]', core.getGlobalColorStateClass('bg', overlayColor)),
|
|
315
|
+
style: {
|
|
316
|
+
...core.getGlobalColorStateStyle('bgc', overlayColor),
|
|
317
|
+
...core.makeStyleState('op', overlayOpacity),
|
|
318
|
+
'--top': 0,
|
|
319
|
+
'--left': 0
|
|
320
|
+
}
|
|
321
|
+
}),
|
|
322
|
+
!!link?.link && mode !== 'edit' && /*#__PURE__*/ jsxRuntime.jsx(Link.default, {
|
|
323
|
+
setting: {
|
|
324
|
+
href: link.link,
|
|
325
|
+
target: link.target
|
|
305
326
|
},
|
|
306
|
-
|
|
307
|
-
})
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
mobile: false
|
|
327
|
+
className: "gp-absolute gp-inset-0 gp-z-1"
|
|
328
|
+
}),
|
|
329
|
+
/*#__PURE__*/ jsxRuntime.jsx(Row.default, {
|
|
330
|
+
className: core.cls('gp-hero-banner-row gp-z-1 gp-w-full', common.getClassForContentByFitContent(sizeSetting, background), common.getClassForStretchContent(verticalAlign), common.getClassSpaceBetween(setting?.layout || {}, styles?.contentPosition1Col || {}, styles?.contentPosition2Col || {})),
|
|
331
|
+
setting: {
|
|
332
|
+
layout,
|
|
333
|
+
horizontalAlign: rowHorizontalAlign,
|
|
334
|
+
verticalAlign,
|
|
335
|
+
order
|
|
336
|
+
},
|
|
337
|
+
styles: {
|
|
338
|
+
width: common.getWidth(contentWidth),
|
|
339
|
+
verticalGutter,
|
|
340
|
+
fullWidth: {
|
|
341
|
+
desktop: false,
|
|
342
|
+
tablet: false,
|
|
343
|
+
mobile: false
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
style: {
|
|
347
|
+
...contentPaddingStyle
|
|
348
|
+
},
|
|
349
|
+
onBlur: (e)=>e?.target?.closest('div.gp-hero-banner-row')?.scrollTo(0, 0),
|
|
350
|
+
children: core.filterToolbarPreview(children)
|
|
351
|
+
}),
|
|
352
|
+
!isDisplayBGVideo && /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
|
|
353
|
+
srcSet: common.getBgImage(background),
|
|
354
|
+
aspectRatio: core.getAspectRatioGlobalSize(sizeSetting),
|
|
355
|
+
pictureClass: "gp-w-full",
|
|
356
|
+
style: {
|
|
357
|
+
...common.getDisplayStyleByFitContent(sizeSetting, background),
|
|
358
|
+
...styleHeight,
|
|
359
|
+
...styleWidth,
|
|
360
|
+
'--op': 0,
|
|
361
|
+
'--z': -1
|
|
342
362
|
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
}),
|
|
350
|
-
!isDisplayBGVideo && /*#__PURE__*/ jsxRuntime.jsx(AdaptiveImage.default, {
|
|
351
|
-
srcSet: common.getBgImage(background),
|
|
352
|
-
aspectRatio: core.getAspectRatioGlobalSize(sizeSetting),
|
|
353
|
-
pictureClass: "gp-w-full",
|
|
354
|
-
style: {
|
|
355
|
-
...common.getDisplayStyleByFitContent(sizeSetting, background),
|
|
356
|
-
...styleHeight,
|
|
357
|
-
...styleWidth,
|
|
358
|
-
'--op': 0,
|
|
359
|
-
'--z': -1
|
|
360
|
-
}
|
|
361
|
-
})
|
|
362
|
-
]
|
|
363
|
-
}),
|
|
364
|
-
core.filterToolbarPreview(children, true)
|
|
365
|
-
]
|
|
363
|
+
})
|
|
364
|
+
]
|
|
365
|
+
}),
|
|
366
|
+
core.filterToolbarPreview(children, true)
|
|
367
|
+
]
|
|
368
|
+
})
|
|
366
369
|
})
|
|
367
370
|
]
|
|
368
371
|
});
|
|
@@ -223,142 +223,145 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
|
|
|
223
223
|
})
|
|
224
224
|
]
|
|
225
225
|
}),
|
|
226
|
-
/*#__PURE__*/
|
|
227
|
-
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
'gp-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
...styleHeight,
|
|
249
|
-
...styleAspectRatio,
|
|
250
|
-
...makeStyle({
|
|
251
|
-
bs: borderBg?.border ?? borderBg?.border,
|
|
252
|
-
bw: borderBg?.width ?? borderBg?.width,
|
|
253
|
-
bc: getSingleColorVariable(borderBg?.color)
|
|
226
|
+
/*#__PURE__*/ jsx("div", {
|
|
227
|
+
className: "gp-flex",
|
|
228
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
229
|
+
...builderAttrs,
|
|
230
|
+
"data-id": builderProps?.uid,
|
|
231
|
+
className: cls(builderProps?.uid, 'gp-group/hero gp-flex gp-w-full gp-flex-col gp-self-center gp-transition-colors gp-duration-200 gp-ease-in-out', getClassAlignBanner(alignBannerData)),
|
|
232
|
+
style: {
|
|
233
|
+
...style,
|
|
234
|
+
...visibilityStyle,
|
|
235
|
+
...styleHeight,
|
|
236
|
+
...styleWidth,
|
|
237
|
+
...styleAspectRatio
|
|
238
|
+
},
|
|
239
|
+
onMouseEnter: onMouseEnterParallax,
|
|
240
|
+
onMouseLeave: onMouseLeaveParallax,
|
|
241
|
+
children: [
|
|
242
|
+
/*#__PURE__*/ jsxs("div", {
|
|
243
|
+
ref: refContainer,
|
|
244
|
+
className: cls('gp-relative gp-flex gp-w-full gp-flex-col gp-items-center gp-overflow-hidden hero-banner-container', {
|
|
245
|
+
'gp-justify-center': contentPosition[currentDevice] === 'center',
|
|
246
|
+
'gp-justify-start': contentPosition[currentDevice] === 'top',
|
|
247
|
+
'gp-justify-end': contentPosition[currentDevice] === 'bottom'
|
|
254
248
|
}),
|
|
255
|
-
|
|
256
|
-
...
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
ref:
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}),
|
|
249
|
+
style: {
|
|
250
|
+
...styleHeight,
|
|
251
|
+
...styleAspectRatio,
|
|
252
|
+
...makeStyle({
|
|
253
|
+
bs: borderBg?.border ?? borderBg?.border,
|
|
254
|
+
bw: borderBg?.width ?? borderBg?.width,
|
|
255
|
+
bc: getSingleColorVariable(borderBg?.color)
|
|
256
|
+
}),
|
|
257
|
+
...getRadiusStyleActiveState({
|
|
258
|
+
...cornerBg,
|
|
259
|
+
active: {
|
|
260
|
+
...cornerBg || {},
|
|
261
|
+
radiusType: 'custom'
|
|
262
|
+
}
|
|
263
|
+
}),
|
|
264
|
+
...getStyleShadow({
|
|
265
|
+
value: shadowBg,
|
|
266
|
+
styleAppliedFor: 'box-shadow',
|
|
267
|
+
isEnableShadow: hasActiveShadow
|
|
268
|
+
})
|
|
269
|
+
},
|
|
270
|
+
children: [
|
|
271
|
+
/*#__PURE__*/ jsx("div", {
|
|
272
|
+
ref: elementRef,
|
|
273
|
+
"aria-label": "Background Image",
|
|
274
|
+
role: "banner",
|
|
275
|
+
className: "gp-absolute gp-overflow-hidden gp-w-full gp-h-full left-0 top-0",
|
|
283
276
|
style: {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
|
|
292
|
-
tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
|
|
293
|
-
mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
|
|
277
|
+
clipPath: getClipPath(borderBg?.width, cornerBg)
|
|
278
|
+
},
|
|
279
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
280
|
+
ref: bgRef,
|
|
281
|
+
className: cls('hero-banner-bg gp-hero-banner-image-background', {
|
|
282
|
+
'gp-duration-[var(--duration)] group-hover/hero:gp-scale-[var(--scale)]': hoverEffect,
|
|
283
|
+
'gp-transition-transform': hoverEffect
|
|
294
284
|
}),
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
285
|
+
style: {
|
|
286
|
+
...styleHeroBanner(),
|
|
287
|
+
...getStyleBackgroundByDevice(background, {
|
|
288
|
+
ignoreBgAttachment: true,
|
|
289
|
+
ignoreBackgroundImage: true,
|
|
290
|
+
ignoreBackgroundColor: backgroundResponsive[currentDevice]?.type === 'video'
|
|
291
|
+
}),
|
|
292
|
+
...makeStyleResponsive('bgi', {
|
|
293
|
+
desktop: bgiEnableByDevice['desktop'] ? getBgImageByDeviceOnly('desktop') : 'url()',
|
|
294
|
+
tablet: bgiEnableByDevice['tablet'] ? getBgImageByDeviceOnly('tablet') : 'url()',
|
|
295
|
+
mobile: bgiEnableByDevice['mobile'] ? getBgImageByDeviceOnly('mobile') : 'url()'
|
|
296
|
+
}),
|
|
297
|
+
...getGradientBgrStyleByDevice(background, bgiEnableByDevice),
|
|
298
|
+
position: attachment === 'fixed' ? 'fixed' : 'absolute',
|
|
299
|
+
'--duration': `${hoverEffectDuration ?? 0}s`,
|
|
300
|
+
'--scale': hoverEffectScale ?? 1,
|
|
301
|
+
transform,
|
|
302
|
+
transition: 'transform 300ms cubic-bezier(0,0,0,1)'
|
|
303
|
+
},
|
|
304
|
+
children: embed
|
|
305
|
+
})
|
|
306
|
+
}),
|
|
307
|
+
overlayEnable && /*#__PURE__*/ jsx("div", {
|
|
308
|
+
"aria-label": "Overlay",
|
|
309
|
+
role: "banner",
|
|
310
|
+
className: cls('gp-absolute gp-inset-0 gp-left-[var(--left)] gp-top-[var(--top)] gp-z-1 gp-transition-all gp-duration-300 group-hover/hero:gp-bg-[color:var(--hvr-bgc,_var(--bgc))] group-hover/hero:gp-opacity-[var(--hvr-op,_var(--op))]', getGlobalColorStateClass('bg', overlayColor)),
|
|
311
|
+
style: {
|
|
312
|
+
...getGlobalColorStateStyle('bgc', overlayColor),
|
|
313
|
+
...makeStyleState('op', overlayOpacity),
|
|
314
|
+
'--top': 0,
|
|
315
|
+
'--left': 0
|
|
316
|
+
}
|
|
317
|
+
}),
|
|
318
|
+
!!link?.link && mode !== 'edit' && /*#__PURE__*/ jsx(Link, {
|
|
319
|
+
setting: {
|
|
320
|
+
href: link.link,
|
|
321
|
+
target: link.target
|
|
301
322
|
},
|
|
302
|
-
|
|
303
|
-
})
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
mobile: false
|
|
323
|
+
className: "gp-absolute gp-inset-0 gp-z-1"
|
|
324
|
+
}),
|
|
325
|
+
/*#__PURE__*/ jsx(Row, {
|
|
326
|
+
className: cls('gp-hero-banner-row gp-z-1 gp-w-full', getClassForContentByFitContent(sizeSetting, background), getClassForStretchContent(verticalAlign), getClassSpaceBetween(setting?.layout || {}, styles?.contentPosition1Col || {}, styles?.contentPosition2Col || {})),
|
|
327
|
+
setting: {
|
|
328
|
+
layout,
|
|
329
|
+
horizontalAlign: rowHorizontalAlign,
|
|
330
|
+
verticalAlign,
|
|
331
|
+
order
|
|
332
|
+
},
|
|
333
|
+
styles: {
|
|
334
|
+
width: getWidth(contentWidth),
|
|
335
|
+
verticalGutter,
|
|
336
|
+
fullWidth: {
|
|
337
|
+
desktop: false,
|
|
338
|
+
tablet: false,
|
|
339
|
+
mobile: false
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
style: {
|
|
343
|
+
...contentPaddingStyle
|
|
344
|
+
},
|
|
345
|
+
onBlur: (e)=>e?.target?.closest('div.gp-hero-banner-row')?.scrollTo(0, 0),
|
|
346
|
+
children: filterToolbarPreview(children)
|
|
347
|
+
}),
|
|
348
|
+
!isDisplayBGVideo && /*#__PURE__*/ jsx(AdaptiveImage, {
|
|
349
|
+
srcSet: getBgImage(background),
|
|
350
|
+
aspectRatio: getAspectRatioGlobalSize(sizeSetting),
|
|
351
|
+
pictureClass: "gp-w-full",
|
|
352
|
+
style: {
|
|
353
|
+
...getDisplayStyleByFitContent(sizeSetting, background),
|
|
354
|
+
...styleHeight,
|
|
355
|
+
...styleWidth,
|
|
356
|
+
'--op': 0,
|
|
357
|
+
'--z': -1
|
|
338
358
|
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}),
|
|
346
|
-
!isDisplayBGVideo && /*#__PURE__*/ jsx(AdaptiveImage, {
|
|
347
|
-
srcSet: getBgImage(background),
|
|
348
|
-
aspectRatio: getAspectRatioGlobalSize(sizeSetting),
|
|
349
|
-
pictureClass: "gp-w-full",
|
|
350
|
-
style: {
|
|
351
|
-
...getDisplayStyleByFitContent(sizeSetting, background),
|
|
352
|
-
...styleHeight,
|
|
353
|
-
...styleWidth,
|
|
354
|
-
'--op': 0,
|
|
355
|
-
'--z': -1
|
|
356
|
-
}
|
|
357
|
-
})
|
|
358
|
-
]
|
|
359
|
-
}),
|
|
360
|
-
filterToolbarPreview(children, true)
|
|
361
|
-
]
|
|
359
|
+
})
|
|
360
|
+
]
|
|
361
|
+
}),
|
|
362
|
+
filterToolbarPreview(children, true)
|
|
363
|
+
]
|
|
364
|
+
})
|
|
362
365
|
})
|
|
363
366
|
]
|
|
364
367
|
});
|