"use strict";var e=require("@gem-sdk/core");const t=(t,o)=>"only-feature"!==e.getResponsiveValueByScreen(t.position,o)||"none"!==e.getResponsiveValueByScreen(t.ftNavigationPosition,o)||"none"!==e.getResponsiveValueByScreen(t.ftDotStyle,o)||!0===e.getResponsiveValueByScreen(t.ftLoop,o)||!0===t.ftDragToScroll;exports.checkRenderFeaturedCarousel=e=>{let o=!1;return["desktop","mobile","tablet"].forEach(n=>{let s=t(e,n);t(e,n)&&(o=s)}),o},exports.getDotStyleForOnlyFeaturedImage=t=>{let o={};return e.DEVICES.forEach(n=>{let s=e.getResponsiveValueByScreen(t.position,n),r=e.getResponsiveValueByScreen(t.dotStyle,n);o={...o,[n]:"only-feature"===s?r:"none"}}),o},exports.getVideoHeight=({ftLayout:t,ftShape:o})=>{if(!t)return null;let n={};return Object.keys(t).forEach(s=>{let r=t[s],p=e.getResponsiveValueByScreen(o,s),g=p?.shape==="original";r&&(n[s]=g||"cover"===r?"100%":"auto")}),e.makeStyleResponsive("h",n)},exports.getZoomImageClass=()=>"gp-absolute gp-left-0 gp-top-0 gp-opacity-0 gp-transition-opacity gp-bg-white gp-pointer-events-none",exports.getZoomLenClass=()=>"!gp-flex gp-absolute gp-opacity-0 gp-h-[150px] gp-w-[150px] gp-cursor-none gp-rounded-full gp-bg-no-repeat gp-shadow-glasses gp-bg-white gp-pointer-events-none",exports.isFeatureMedia=e=>!!e&&["EXTERNAL_VIDEO","MODEL_3D","VIDEO"].includes(e);
