{"version":3,"file":"Gallery.BfFWRt0m.mjs","names":["i","e","t","r","n","c","o","a","u","s","create","useMemo","i","n","e","useState","useState","e","useState","useRef","e","useState","i"],"sources":["https:/framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js","https:/framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js","https:/framerusercontent.com/modules/l1z5Z7HKu7jw66Txaa5F/7aL6JiqExNvheuIFD72s/State_empty_canvas.js","https:/framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/Uam6NjjQgBdbM2uxwvNZ/Parse_shopify_data.js","https:/framerusercontent.com/modules/ieMSnIJVCiFKJmsg1OmM/KWFJj6n258MVreTmJoNk/Zustand.js","https:/framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/yNIABzdTP3fu4mWtyAdp/Product_selection_store.js","https:/framerusercontent.com/modules/3Um7Da0PioNPYdqeX5Ez/ecis2Nf7HMVfdMJ5MDtO/Hooks.js","https:/framerusercontent.com/modules/7wU9mRDjXO6UTdjgi9UD/iEIbpLyIF6FicKho8vnT/Swatch.js","https:/framerusercontent.com/modules/Nrs4jz2AAEOfEZRQEQij/7Ao2SBt1Ssf683HHXgzl/Shared_styles.js","https:/framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js","https:/framerusercontent.com/modules/bbjyVb2V57Nhjs1gu9rH/GK97OdzakPPjxQfUUuyS/Use_is_mobile.js","https:/framerusercontent.com/modules/EAtAInyNWWh0slvVOxX5/pJmXVbV0Z2aGDUgGtoMa/Lightbox.js","https:/framerusercontent.com/modules/E8uvFgVk9lf9dvq1WmMl/HsfI3mZpqPD0s34wqkoG/Zoom_image.js","https:/framerusercontent.com/modules/IUxqF8JlmtZMvOa0ETXF/FiTpzmJKecoxdvgjWLuL/Gallery.js"],"sourcesContent":["import{RenderTarget}from\"framer\";import{useEffect,useState}from\"react\";export function isOnFramerCanvasFn(){return RenderTarget.hasRestrictions();}export function isBrowserFn(){return typeof window!==\"undefined\";}export function useIsInFramerPreview(){const[isInFramerPreview,setIsInFramerPreview]=useState(false);useEffect(()=>{if(typeof window==\"undefined\")return;const currrentUrl=window.location.href;const isInFramerPreview=currrentUrl.includes(\"framercanvas.com\");setIsInFramerPreview(isInFramerPreview);},[]);return isInFramerPreview;}\nexport const __FramerMetadata__ = {\"exports\":{\"isBrowserFn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isOnFramerCanvasFn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsInFramerPreview\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Framer_utils.map","export const DEFAULT_PRODUCT_IMAGE=\"https://framerusercontent.com/images/oqyYSLXhERdfkDY5XMVyprSYO0.webp\";export const DEFAULT_PRODUCT_IMAGE_2=\"https://framerusercontent.com/images/ub17BCl84mP9KkiTTOme1UDyvk.webp\";export const DEFAULT_PRODUCT_IMAGE_3=\"https://framerusercontent.com/images/ORfm700yP1zckvftzPEQOe006k.webp\";export function extractImageNumbersForVariant(mappingString,variantId){if(!mappingString||!variantId)return[];const result=[];const regex=/\\[img (\\d+) ~ (\\d+)\\]/g;let match;while((match=regex.exec(mappingString))!==null){const imageNum=match[1];const mappedVariantId=match[2];if(String(mappedVariantId)===String(variantId)){result.push(imageNum);}}return result;}export function getVariantIdForImageNumber(mappingString,imageNumber){if(!mappingString||!imageNumber)return null;const regex=/\\[img (\\d+) ~ (\\d+)\\]/g;let match;while((match=regex.exec(mappingString))!==null){const imageNum=Number(match[1]);const variantId=match[2];if(imageNum===imageNumber)return variantId;}return null;}export function getObjectFit(objectFit){if(objectFit===\"fill\")return\"cover\";if(objectFit===\"fit\")return\"contain\";if(objectFit===\"stretch\")return\"fill\";return\"cover\";}\nexport const __FramerMetadata__ = {\"exports\":{\"getVariantIdForImageNumber\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_PRODUCT_IMAGE_3\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_PRODUCT_IMAGE_2\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getObjectFit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_PRODUCT_IMAGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"extractImageNumbersForVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Helpers.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{DEFAULT_PRODUCT_IMAGE,DEFAULT_PRODUCT_IMAGE_2,DEFAULT_PRODUCT_IMAGE_3,getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";export default function GalleryEmptyCanvasState(props){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,height:\"100%\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",overflow:\"hidden\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"img\",{src:DEFAULT_PRODUCT_IMAGE,alt:\"Default product image\",style:{width:\"100%\",height:\"100%\",display:\"block\",objectFit:getObjectFit(props.imageFit),objectPosition:props.imageFit===\"fill\"?`${props.focalPoint.x}% ${props.focalPoint.y}%`:undefined}})}),props.showSwatches&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:6},children:[1,2,3].map(i=>/*#__PURE__*/_jsx(\"img\",{src:i===1?DEFAULT_PRODUCT_IMAGE:i===2?DEFAULT_PRODUCT_IMAGE_2:DEFAULT_PRODUCT_IMAGE_3,alt:`Default swatch ${i}`,style:{width:64,height:64,objectFit:\"cover\",borderRadius:6,border:\"2px solid transparent\",cursor:\"pointer\"}},i))})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GalleryEmptyCanvasState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./State_empty_canvas.map","export const parseShopifyData=shopifyData=>{const parsedShopifyData=shopifyData?JSON.parse(shopifyData):EXAMPLE_DATA;return parsedShopifyData;};const EXAMPLE_DATA={id:\"15176683880773\",variants:[{id:\"55218501157189\",title:\"Variant Title\",price:{amount:\"99\",currencyCode:\"USD\"},priceByMarket:{US:{amount:\"99\",currencyCode:\"USD\"},GB:{amount:\"79\",currencyCode:\"GBP\"},CA:{amount:\"129\",currencyCode:\"CAD\"},EU:{amount:\"89\",currencyCode:\"EUR\"},AU:{amount:\"139\",currencyCode:\"AUD\"}},compareAtPriceByMarket:{US:{amount:\"120\",currencyCode:\"USD\"},GB:{amount:\"95\",currencyCode:\"GBP\"},CA:{amount:\"155\",currencyCode:\"CAD\"},EU:{amount:\"109\",currencyCode:\"EUR\"},AU:{amount:\"169\",currencyCode:\"AUD\"}},weight:0,weightUnit:\"KILOGRAMS\",availableForSale:true,sku:\"sku-untracked-1\",image:{id:\"gid://shopify/ProductImage/77445152801093\",url:\"https://cdn.shopify.com/s/files/1/0967/3896/7877/files/snowboard_purple_hydrogen.png?v=1753365380\",altText:\"Top and bottom view of a snowboard. The top view shows a centred hexagonal logo for Hydrogen that\\n          appears to radiate outwards, as well as some overlapping hexagons at the bottom. The bottom view shows an\\n          abstract angular grid in purples.\",width:3097,height:3908}}]};\nexport const __FramerMetadata__ = {\"exports\":{\"parseShopifyData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Parse_shopify_data.map","import e from\"react\";var t,r={},n={};function c(){if(t)return n;t=1;const e=e=>{let t;const r=new Set,n=(e,n)=>{const c=\"function\"==typeof e?e(t):e;if(!Object.is(c,t)){const e=t;t=(null!=n?n:\"object\"!=typeof c||null===c)?c:Object.assign({},t,c),r.forEach(r=>r(t,e));}},c=()=>t,o={setState:n,getState:c,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,c,o);return o;};return n.createStore=t=>t?e(t):e,n;}var o,a,u={};function s(){if(o)return u;o=1;var t=e,r=c();const n=e=>e;function a(e,r=n){const c=t.useSyncExternalStore(e.subscribe,t.useCallback(()=>r(e.getState()),[e,r]),t.useCallback(()=>r(e.getInitialState()),[e,r]));return t.useDebugValue(c),c;}const s=e=>{const t=r.createStore(e),n=e=>a(t,e);return Object.assign(n,t),n;};return u.create=e=>e?s(e):s,u.useStore=a,u;}function i(){return a||(a=1,function(e){var t=c(),r=s();Object.keys(t).forEach(function(r){\"default\"===r||Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r];}});}),Object.keys(r).forEach(function(t){\"default\"===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t];}});});}(r)),r;}var f=i().create;export{f as create};\nexport const __FramerMetadata__ = {\"exports\":{\"create\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Zustand.map","import{create}from\"https://framerusercontent.com/modules/ieMSnIJVCiFKJmsg1OmM/KWFJj6n258MVreTmJoNk/Zustand.js\";const sanitizeQuantity=value=>{if(!Number.isFinite(value))return 1;const rounded=Math.floor(value);return Math.max(1,rounded);};export const useProductSelectionStore=create((set,get)=>({quantitiesByVariantId:{},selectedVariantByProductId:{},getQuantity:variantId=>{const value=get().quantitiesByVariantId[variantId];return typeof value===\"number\"?value:1;},setQuantity:(variantId,quantity)=>{const next=sanitizeQuantity(quantity);set(state=>({quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}}));},increment:(variantId,step=1)=>{set(state=>{const current=state.quantitiesByVariantId[variantId]??1;const next=sanitizeQuantity(current+step);return{quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}};});},decrement:(variantId,step=1)=>{set(state=>{const current=state.quantitiesByVariantId[variantId]??1;const next=sanitizeQuantity(current-step);return{quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:next}};});},resetQuantity:variantId=>{set(state=>({quantitiesByVariantId:{...state.quantitiesByVariantId,[variantId]:1}}));},getSelectedVariant:(productId,variants)=>{const selectedVariantId=get().selectedVariantByProductId[productId];if(selectedVariantId&&variants.some(v=>v.id===selectedVariantId)){return selectedVariantId;}// Default to first variant if no selection or invalid selection\n    return variants[0]?.id||\"\";},setSelectedVariant:(productId,variantId)=>{set(state=>({selectedVariantByProductId:{...state.selectedVariantByProductId,[productId]:variantId}}));},clearAll:()=>set({quantitiesByVariantId:{},selectedVariantByProductId:{}})}));\nexport const __FramerMetadata__ = {\"exports\":{\"useProductSelectionStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Product_selection_store.map","import{useEffect,useMemo,useState}from\"react\";import{parseShopifyData}from\"https://framerusercontent.com/modules/Vu8sM3DwKDdSi2bltsPi/Uam6NjjQgBdbM2uxwvNZ/Parse_shopify_data.js\";import{useProductSelectionStore}from\"https://framerusercontent.com/modules/8l7kldZFdo4Q33wHQBGB/yNIABzdTP3fu4mWtyAdp/Product_selection_store.js\";import{isBrowserFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";import{extractImageNumbersForVariant,getVariantIdForImageNumber}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";/**\n * Hook to parse Shopify data and extract product information\n */export function useShopifyProductData(shopifyData){const data=parseShopifyData(shopifyData);const productId=data?.id||\"\";const variants=data?.variants||[];return{data,productId,variants};}/**\n * Hook to compute images array from component props\n */export function useGalleryImages(props){const images=useMemo(()=>{const arr=[];for(let i=1;i<=props.numberOfImages;i++){const imageProp=props[`image${i}`];if(imageProp?.src){arr.push(imageProp.src);}}return arr;},[props]);return images;}/**\n * Hook to get the currently selected variant ID\n */export function useSelectedVariant(productId,variants){const selectedVariantId=useProductSelectionStore(state=>state.getSelectedVariant(productId,variants));return selectedVariantId;}/**\n * Hook to handle variant-image mapping logic\n */export function useVariantImageMapping(variantImageMapping,selectedVariantId,images){// Get initial image index based on variant from Zustand storage\nconst getInitialImageIndex=()=>{if(!variantImageMapping||!selectedVariantId){return 0;// Default to first image if no variant selected\n}const nums=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);if(nums[0]){const idx=Number(nums[0])-1;if(idx>=0&&idx<images.length){return idx;}}// If variant not found in mapping, default to first image\nreturn 0;};// Compute which image indices belong to the currently selected variant\nconst variantImageIndices=useMemo(()=>{if(!variantImageMapping||!selectedVariantId){return images.map((_,i)=>i);}const nums=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);const idxs=nums.map(n=>Number(n)-1).filter(i=>Number.isFinite(i)&&i>=0&&i<images.length);return idxs.length>0?idxs:images.map((_,i)=>i);},[variantImageMapping,selectedVariantId,images,images.length]);return{getInitialImageIndex,variantImageIndices};}/**\n * Hook to handle global variant image sync events\n */export function useVariantImageSync(productId,images,setCurrentImageIndex){const isBrowser=isBrowserFn();useEffect(()=>{if(!isBrowser)return;function handleVariantImageMatch(e){if(!e?.detail?.imageNumber)return;if(e.detail?.shopifyProductID!==`gid://shopify/Product/${productId}`){return;}const imgNum=Number(e.detail.imageNumber);if(!Number.isFinite(imgNum))return;const idx=imgNum-1;if(idx>=0&&idx<images.length)setCurrentImageIndex(idx);}document.addEventListener(\"frameship_variant_image_selected\",handleVariantImageMatch);return()=>{document.removeEventListener(\"frameship_variant_image_selected\",handleVariantImageMatch);};},[productId,images.length,setCurrentImageIndex,isBrowser]);}/**\n * Hook to manage gallery state and auto-sync effects\n */export function useGalleryState(variantImageMapping,selectedVariantId,images,getInitialImageIndex,productId){const[currentImageIndex,setCurrentImageIndex]=useState(getInitialImageIndex);// Auto-sync to first mapped image when selection changes (initial mount and changes)\nuseEffect(()=>{if(!variantImageMapping||!selectedVariantId)return;const nums=extractImageNumbersForVariant(variantImageMapping,selectedVariantId);if(nums[0]){const idx=Number(nums[0])-1;if(idx>=0&&idx<images.length)setCurrentImageIndex(idx);}},[variantImageMapping,selectedVariantId,images.length]);// Set up global sync listener\nuseVariantImageSync(productId,images,setCurrentImageIndex);return{currentImageIndex,setCurrentImageIndex};}/**\n * Hook to handle variant selection when clicking swatches\n */export function useSwatchClick(variantImageMapping,variants,fullIdx){const handleSwatchClick=()=>{if(!variantImageMapping)return;const variantId=getVariantIdForImageNumber(variantImageMapping,fullIdx+1);if(!variantId)return;const variant=variants.find(v=>String(v.id)===String(variantId));if(!variant)return;// Note: Variant selection logic would go here if needed\n// Currently just prevents the click if no variant found\n};return handleSwatchClick;}\nexport const __FramerMetadata__ = {\"exports\":{\"useGalleryImages\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSelectedVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useVariantImageSync\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useShopifyProductData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useVariantImageMapping\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSwatchClick\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useGalleryState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";import{useSwatchClick}from\"https://framerusercontent.com/modules/3Um7Da0PioNPYdqeX5Ez/ecis2Nf7HMVfdMJ5MDtO/Hooks.js\";// ------------------------------------------------------------ //\n// SUB-COMPONENTS\n// ------------------------------------------------------------ //\nexport default function Swatch(props){const{swatchConfig,isSelected}=props;const handleSwatchClick=useSwatchClick(props.variantImageMapping,props.variants,props.imageIndex);const defaultBorderColor=getBorderColor(swatchConfig.border.default);const selectedBorderColor=getBorderColor(swatchConfig.border.selected);const borderStyle=swatchConfig.border.default.borderStyle||\"solid\";const wrapperStyles={display:\"inline-flex\",borderRadius:swatchConfig.borderRadius,borderWidth:1,borderStyle:borderStyle,cursor:\"pointer\"};const imageStyles={width:swatchConfig.width,height:swatchConfig.height,objectFit:getObjectFit(swatchConfig.imageFit),objectPosition:swatchConfig.imageFit===\"fill\"?`${swatchConfig.focalPoint.x}% ${swatchConfig.focalPoint.y}%`:undefined,borderRadius:adjustBorderRadius(swatchConfig.borderRadius,1),borderWidth:1,borderStyle:borderStyle,background:swatchConfig.background||\"transparent\",display:\"block\"};const borderTransition={duration:.2,ease:\"easeOut\"};function handleClick(){props.onClick();handleSwatchClick();}return /*#__PURE__*/_jsx(motion.div,{style:wrapperStyles,animate:{borderColor:isSelected?selectedBorderColor:\"rgba(0, 0, 0, 0)\"},initial:false,transition:borderTransition,onClick:handleClick,children:/*#__PURE__*/_jsx(motion.img,{src:props.src,alt:\"\",style:imageStyles,initial:false,animate:{borderColor:isSelected?selectedBorderColor:defaultBorderColor},transition:borderTransition})});}// ------------------------------------------------------------ //\n// UTILITY FUNCTIONS\n// ------------------------------------------------------------ //\n/**\n * Extracts border color from BorderProps\n */function getBorderColor(borderProps){if(borderProps.borderColor){return borderProps.borderColor;}if(borderProps.border){const parts=borderProps.border.split(\" \");if(parts.length>=3){return parts.slice(2).join(\" \");}}return\"transparent\";}/**\n * Adjusts border radius to account for nested border\n */function adjustBorderRadius(borderRadius,offset){const match=borderRadius.match(/^(\\d+(?:\\.\\d+)?)(px|%|em|rem)?$/);if(match){const value=parseFloat(match[1]);const unit=match[2]||\"px\";const adjusted=Math.max(0,value-offset);return`${adjusted}${unit}`;}return borderRadius;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Swatch\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SwatchConfigProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export const Colors={Primary:{color:\"#000000\",placeholderColor:\"rgba(0, 0, 0, 0.5)\",fill:{color:\"#F3F3F3\",colorA:\"#999999\",colorB:\"#F3F3F3\"},hover:{fill:{color:\"#E6E6E6\",colorA:\"#8C8C8C\",colorB:\"#E6E6E6\"}}},Accent:{color:\"#FFFFFF\",fill:{color:\"#111111\",colorA:\"#5E5E5E\",colorB:\"#111111\"},hover:{fill:{color:\"#1F1F1F\",colorA:\"#6B6B6B\",colorB:\"#1F1F1F\"}}}};export const SHARED_COLORS={background:\"#F3F3F3\",backgroundHover:\"#E6E6E6\",backgroundMuted:\"#D9D9D9\",foreground:\"#111111\",foregroundHover:\"#2A2A2A\",foregroundMuted:\"#757575\",primary:\"#40D41A\"};export const SHARED_STYLES={borderRadius:\"10px\",buttonPadding:\"8px 16px 8px 16px\"};\nexport const __FramerMetadata__ = {\"exports\":{\"Colors\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHARED_STYLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHARED_COLORS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Shared_styles.map","import{ControlType}from\"framer\";export const SUPPORT_CONTROL={needHelp:{type:ControlType.Object,title:\"Need help?\",buttonTitle:\"Get Support\",icon:\"interaction\",controls:{info:{type:ControlType.Enum,defaultValue:\"info\",options:[\"info\"],optionTitles:[\"Support 🛟\"],displaySegmentedControl:true,title:\"Get Support\",description:\"We're here to help! The best place to get support is to visit our documentation to find your answers. We're also available on live chat.\\n\\n[Visit Frameship docs](https://insertframe.io/docs/frameship)\"}}}};export const SHOPIFY_DATA_DESCRIPTION=\"Connect this to a *Shopify Data* variable from CMS.\";export const VARIANT_IMAGE_MAPPING_DESCRIPTION=\"Connect this to a *Variant Image Mapping* variable from CMS.\";export const VARIANT_OPTIONS_DESCRIPTION=\"Connect this to a *Variant Options* variable from CMS.\";\nexport const __FramerMetadata__ = {\"exports\":{\"SUPPORT_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHOPIFY_DATA_DESCRIPTION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VARIANT_IMAGE_MAPPING_DESCRIPTION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VARIANT_OPTIONS_DESCRIPTION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Shared_props.map","import{useEffect,useState}from\"react\";export function useIsMobile(){const[isMobile,setIsMobile]=useState(()=>{if(typeof window===\"undefined\")return false;return window.innerWidth<768;});useEffect(()=>{let timeoutId;const handleResize=()=>{clearTimeout(timeoutId);timeoutId=setTimeout(()=>{setIsMobile(window.innerWidth<768);},100);};window.addEventListener(\"resize\",handleResize);return()=>{window.removeEventListener(\"resize\",handleResize);clearTimeout(timeoutId);};},[]);return isMobile;}\nexport const __FramerMetadata__ = {\"exports\":{\"useIsMobile\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Use_is_mobile.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{useIsMobile}from\"https://framerusercontent.com/modules/bbjyVb2V57Nhjs1gu9rH/GK97OdzakPPjxQfUUuyS/Use_is_mobile.js\";export default function Lightbox(props){const{images,currentIndex,onClose,onNext,onPrev,alt,lightboxConfig}=props;const isMobile=useIsMobile();// Keyboard navigation\nuseEffect(()=>{const handleKeyDown=e=>{if(e.key===\"Escape\"){onClose();}else if(e.key===\"ArrowLeft\"){onPrev();}else if(e.key===\"ArrowRight\"){onNext();}};document.addEventListener(\"keydown\",handleKeyDown);// Prevent body scroll when lightbox is open\ndocument.body.style.overflow=\"hidden\";return()=>{document.removeEventListener(\"keydown\",handleKeyDown);document.body.style.overflow=\"\";};},[onClose,onNext,onPrev]);const handleBackdropClick=e=>{if(e.target===e.currentTarget){onClose();}};const handleNext=()=>{if(currentIndex<images.length-1){onNext();}};const handlePrev=()=>{if(currentIndex>0){onPrev();}};return /*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:handleBackdropClick,style:{position:\"fixed\",top:0,left:0,right:0,bottom:0,backgroundColor:lightboxConfig.overlayBackground,zIndex:9999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"zoom-out\"},children:[/*#__PURE__*/_jsx(motion.button,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:onClose,style:{position:\"absolute\",top:\"20px\",right:\"20px\",width:\"40px\",height:\"40px\",borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",color:\"white\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"24px\",fontWeight:\"bold\",transition:\"background-color 0.2s\"},whileHover:{backgroundColor:\"rgba(255, 255, 255, 0.2)\"},whileTap:{scale:.95},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 5L5 15M5 5L15 15\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.button,{initial:{opacity:currentIndex===0?.5:1},animate:{opacity:currentIndex===0?.5:1},exit:{opacity:currentIndex===0?.5:1},onClick:handlePrev,style:{position:\"absolute\",left:isMobile?\"calc(50% - 60px)\":\"20px\",bottom:isMobile?\"40px\":\"auto\",width:`${lightboxConfig.prevButtonStyles.size}px`,height:`${lightboxConfig.prevButtonStyles.size}px`,borderRadius:lightboxConfig.prevButtonStyles.borderRadius,border:\"none\",backgroundColor:lightboxConfig.prevButtonStyles.backgroundColor,color:lightboxConfig.prevButtonStyles.svgColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"background-color 0.2s\"},whileHover:{backgroundColor:lightboxConfig.prevButtonStyles.hoverBackgroundColor},whileTap:{scale:lightboxConfig.prevButtonStyles.tapScale},disabled:currentIndex===0,children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18L9 12L15 6\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.button,{initial:{opacity:currentIndex===images.length-1?.5:1},animate:{opacity:currentIndex===images.length-1?.5:1},exit:{opacity:currentIndex===images.length-1?.5:1},onClick:handleNext,style:{position:\"absolute\",left:isMobile?\"calc(50%)\":\"auto\",right:isMobile?\"auto\":\"20px\",bottom:isMobile?\"40px\":\"auto\",width:`${lightboxConfig.nextButtonStyles.size}px`,height:`${lightboxConfig.nextButtonStyles.size}px`,borderRadius:lightboxConfig.nextButtonStyles.borderRadius,border:\"none\",backgroundColor:lightboxConfig.nextButtonStyles.backgroundColor,color:lightboxConfig.nextButtonStyles.svgColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"background-color 0.2s\"},whileHover:{backgroundColor:lightboxConfig.nextButtonStyles.hoverBackgroundColor},whileTap:{scale:lightboxConfig.nextButtonStyles.tapScale},disabled:currentIndex===images.length-1,children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 18L15 12L9 6\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(AnimatePresence,{mode:\"popLayout\",initial:false,children:/*#__PURE__*/_jsx(motion.img,{initial:{opacity:.7},animate:{opacity:1},exit:{opacity:.7},src:images[currentIndex],alt:alt||\"\",style:{maxWidth:\"90vw\",maxHeight:\"90vh\",objectFit:\"contain\",cursor:\"zoom-out\",// position relative helps with layout animations\nposition:\"relative\"},transition:{duration:.3,ease:\"easeInOut\",// Separate opacity transition for smoother crossfade\nopacity:{duration:.2}}},currentIndex)})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Lightbox\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lightbox.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useRef}from\"react\";import{getObjectFit}from\"https://framerusercontent.com/modules/Yka9BTwP6pnUEgruT9LS/Jc9IxeCuGijc2VjPdP2l/Helpers.js\";export default function ZoomImage(props){const{src,alt,imageFit,focalPoint,zoomConfig,onClick,cursor}=props;const[isHovering,setIsHovering]=useState(false);const[transformOrigin,setTransformOrigin]=useState(\"50% 50%\");const containerRef=useRef(null);const handleMouseMove=e=>{if(!zoomConfig.enabled||!containerRef.current)return;const container=containerRef.current;const rect=container.getBoundingClientRect();const x=(e.clientX-rect.left)/rect.width*100;const y=(e.clientY-rect.top)/rect.height*100;setTransformOrigin(`${x}% ${y}%`);};const handleMouseEnter=()=>{if(zoomConfig.enabled){setIsHovering(true);}};const handleMouseLeave=()=>{setIsHovering(false);// Don't reset transformOrigin - let the image zoom out from the last cursor position\n// Since scale goes to 1, the transform origin doesn't affect the final visual\n};const scale=isHovering&&zoomConfig.enabled?zoomConfig.zoomLevel/100:1;return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,onMouseMove:handleMouseMove,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,onClick:onClick,style:{width:\"100%\",height:\"100%\",overflow:\"hidden\",cursor:cursor||\"default\"},children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:alt,style:{width:\"100%\",height:\"100%\",display:\"block\",objectFit:getObjectFit(imageFit),objectPosition:imageFit===\"fill\"?`${focalPoint.x}% ${focalPoint.y}%`:undefined,transform:`scale(${scale})`,transformOrigin:transformOrigin,transition:\"transform 0.3s ease-out\"}})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ZoomImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Zoom_image.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{AnimatePresence}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import{isOnFramerCanvasFn}from\"https://framerusercontent.com/modules/0cFx6PDS8kp3yxNfnoIw/3wFcPS10LYSFljb1q710/Framer_utils.js\";import GalleryEmptyCanvasState from\"https://framerusercontent.com/modules/l1z5Z7HKu7jw66Txaa5F/7aL6JiqExNvheuIFD72s/State_empty_canvas.js\";import{useShopifyProductData,useGalleryImages,useSelectedVariant,useVariantImageMapping,useGalleryState}from\"https://framerusercontent.com/modules/3Um7Da0PioNPYdqeX5Ez/ecis2Nf7HMVfdMJ5MDtO/Hooks.js\";import Swatch from\"https://framerusercontent.com/modules/7wU9mRDjXO6UTdjgi9UD/iEIbpLyIF6FicKho8vnT/Swatch.js\";import{SHARED_COLORS}from\"https://framerusercontent.com/modules/Nrs4jz2AAEOfEZRQEQij/7Ao2SBt1Ssf683HHXgzl/Shared_styles.js\";import{SHOPIFY_DATA_DESCRIPTION,SUPPORT_CONTROL,VARIANT_IMAGE_MAPPING_DESCRIPTION}from\"https://framerusercontent.com/modules/G9UZNzEc4NZQrMJzPvWx/tl22i1lNtmmpBOq8EDe4/Shared_props.js\";import Lightbox from\"https://framerusercontent.com/modules/EAtAInyNWWh0slvVOxX5/pJmXVbV0Z2aGDUgGtoMa/Lightbox.js\";import ZoomImage from\"https://framerusercontent.com/modules/E8uvFgVk9lf9dvq1WmMl/HsfI3mZpqPD0s34wqkoG/Zoom_image.js\";// ------------------------------------------------------------ //\n// MAIN COMPONENT\n// ------------------------------------------------------------ //\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 800\n * @framerDisableUnlink\n */export default function Gallery(props){const isOnFramerCanvas=isOnFramerCanvasFn();// Parse Shopify product data\nconst{productId,variants}=useShopifyProductData(props.shopifyData);// Get selected variant\nconst selectedVariantId=useSelectedVariant(productId,variants);// Get images array from props\nconst images=useGalleryImages(props);// Get variant-image mapping utilities\nconst{getInitialImageIndex,variantImageIndices}=useVariantImageMapping(props.variantImageMapping,selectedVariantId,images);// Manage gallery state\nconst{currentImageIndex,setCurrentImageIndex}=useGalleryState(props.variantImageMapping,selectedVariantId,images,getInitialImageIndex,productId);// Lightbox state\nconst[isLightboxOpen,setIsLightboxOpen]=useState(false);const[lightboxImageIndex,setLightboxImageIndex]=useState(0);// When on Framer canvas, show light content with default images\nif(isOnFramerCanvas&&!props.image1?.src){return /*#__PURE__*/_jsx(GalleryEmptyCanvasState,{imageFit:props.imageFit,focalPoint:props.focalPoint,showSwatches:props.showSwatches});}if(!productId||!images.length)return null;const isLeftPosition=props.swatchConfig.position===\"left\";// Get lightbox images (only variant images)\nconst lightboxImages=variantImageIndices.map(idx=>images[idx]);const initialLightboxIndex=variantImageIndices.indexOf(currentImageIndex);// Lightbox navigation handlers\nconst handleLightboxOpen=()=>{setLightboxImageIndex(initialLightboxIndex);setIsLightboxOpen(true);};const handleLightboxClose=()=>{setIsLightboxOpen(false);};const handleLightboxNext=()=>{if(lightboxImageIndex<lightboxImages.length-1){const nextIndex=lightboxImageIndex+1;setLightboxImageIndex(nextIndex);// Update gallery index immediately to keep it in sync for close animation\nconst newGalleryIndex=variantImageIndices[nextIndex];if(newGalleryIndex!==undefined){setCurrentImageIndex(newGalleryIndex);}}};const handleLightboxPrev=()=>{if(lightboxImageIndex>0){const prevIndex=lightboxImageIndex-1;setLightboxImageIndex(prevIndex);// Update gallery index immediately to keep it in sync for close animation\nconst newGalleryIndex=variantImageIndices[prevIndex];if(newGalleryIndex!==undefined){setCurrentImageIndex(newGalleryIndex);}}};return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:isLeftPosition?\"row\":\"column\",gap:props.gap,height:\"100%\",width:\"100%\"},children:[props.showSwatches&&isLeftPosition&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:props.swatchConfig.gap,alignItems:\"center\",overflowY:props.swatchConfig.allowWrap?\"visible\":\"auto\",maxHeight:props.swatchConfig.allowWrap?\"none\":\"100%\"},children:variantImageIndices.map(fullIdx=>/*#__PURE__*/_jsx(Swatch,{src:images[fullIdx],isSelected:fullIdx===currentImageIndex,onClick:()=>setCurrentImageIndex(fullIdx),variantImageMapping:props.variantImageMapping,variants:variants,imageIndex:fullIdx,swatchConfig:props.swatchConfig},images[fullIdx]+String(fullIdx)))}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,overflow:\"hidden\",height:\"100%\",width:isLeftPosition?\"auto\":\"100%\"},children:/*#__PURE__*/_jsx(ZoomImage,{src:images[currentImageIndex],alt:(variants.find(v=>v.id===selectedVariantId)?.title)||\"\",imageFit:props.imageFit,focalPoint:props.focalPoint,zoomConfig:props.zoomConfig,onClick:props.lightboxConfig.enabled?handleLightboxOpen:undefined,cursor:props.lightboxConfig.enabled?\"zoom-in\":\"default\"})}),props.showSwatches&&!isLeftPosition&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:props.swatchConfig.allowWrap?\"wrap\":\"nowrap\",gap:props.swatchConfig.gap,overflowX:props.swatchConfig.allowWrap?\"visible\":\"auto\"},children:variantImageIndices.map(fullIdx=>/*#__PURE__*/_jsx(Swatch,{src:images[fullIdx],isSelected:fullIdx===currentImageIndex,onClick:()=>setCurrentImageIndex(fullIdx),variantImageMapping:props.variantImageMapping,variants:variants,imageIndex:fullIdx,swatchConfig:props.swatchConfig},images[fullIdx]+String(fullIdx)))}),props.lightboxConfig.enabled&&/*#__PURE__*/_jsx(AnimatePresence,{children:isLightboxOpen&&/*#__PURE__*/_jsx(Lightbox,{images:lightboxImages,currentIndex:lightboxImageIndex,onClose:handleLightboxClose,onNext:handleLightboxNext,onPrev:handleLightboxPrev,layoutId:`gallery-main-image-${productId}-${variantImageIndices[lightboxImageIndex]}`,alt:(variants.find(v=>v.id===selectedVariantId)?.title)||\"\",lightboxConfig:props.lightboxConfig})})]});}// ------------------------------------------------------------ //\n// PROPERTY CONTROLS\n// ------------------------------------------------------------ //\nconst generateGalleryPropertyControls=()=>{const controls={shopifyData:{type:ControlType.String,description:SHOPIFY_DATA_DESCRIPTION},variantImageMapping:{type:ControlType.String,title:\"Variant Image Mapping\",description:VARIANT_IMAGE_MAPPING_DESCRIPTION},imageFit:{title:\"Image Fit\",type:ControlType.Enum,options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],defaultValue:\"fill\"},focalPoint:{type:ControlType.Object,title:\"Focal Point\",buttonTitle:\"X, Y Position\",controls:{x:{type:ControlType.Number,title:\"X Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Horizontal focal point (0% = left, 100% = right)\"},y:{type:ControlType.Number,title:\"Y Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Vertical focal point (0% = top, 100% = bottom)\"}},hidden:props=>props.imageFit!==\"fill\",defaultValue:{x:50,y:50}},showSwatches:{type:ControlType.Boolean,title:\"Show Swatches\",defaultValue:true},swatchConfig:{type:ControlType.Object,title:\"Swatch Config\",controls:{position:{type:ControlType.Enum,title:\"Position\",options:[\"bottom\",\"left\"],optionTitles:[\"Bottom\",\"Left\"],defaultValue:\"bottom\",displaySegmentedControl:true},width:{type:ControlType.Number,title:\"Width\",defaultValue:64,unit:\"px\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:64,unit:\"px\"},imageFit:{title:\"Image Fit\",type:ControlType.Enum,options:[\"fill\",\"fit\",\"stretch\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],defaultValue:\"fit\"},focalPoint:{type:ControlType.Object,title:\"Focal Point\",buttonTitle:\"X, Y Position\",controls:{x:{type:ControlType.Number,title:\"X Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Horizontal focal point (0% = left, 100% = right)\"},y:{type:ControlType.Number,title:\"Y Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Vertical focal point (0% = top, 100% = bottom)\"}},hidden:props=>props.imageFit!==\"fill\",defaultValue:{x:50,y:50}},border:{type:ControlType.Object,title:\"Border\",buttonTitle:\"Style\",controls:{default:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Default\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"}},selected:{// @ts-expect-error - Border is not a valid control type in this Framer npm version\ntype:ControlType.Border,title:\"Selected\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}},defaultValue:{default:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"},selected:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}}},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"6px\"},background:{type:ControlType.Color,title:\"Background\",optional:true},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:6,min:0,step:1,displayStepper:true,unit:\"px\",description:\"Space between swatches\"},allowWrap:{type:ControlType.Boolean,title:\"Allow Wrap\",defaultValue:true,description:\"Allow swatches to wrap to new lines. When disabled, swatches will be scrollable.\"}},hidden:props=>!props.showSwatches,defaultValue:{position:\"bottom\",width:64,height:64,imageFit:\"fit\",border:{default:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"},selected:{borderWidth:2,borderStyle:\"solid\",borderColor:SHARED_COLORS.foreground}},borderRadius:\"6px\",gap:6,allowWrap:true}},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,step:1,displayStepper:true,unit:\"px\",description:\"Space between swatches and main image\"},lightboxConfig:{type:ControlType.Object,title:\"Lightbox Config\",buttonTitle:\"Enabled, Styles, etc.\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true},overlayBackground:{type:ControlType.Color,title:\"Overlay Background\",defaultValue:\"rgba(0, 0, 0, 0.9)\",hidden:props=>!props.enabled},prevButtonStyles:{type:ControlType.Object,title:\"Previous Button\",buttonTitle:\"Size, Radius, Background, Icon\",controls:{size:{type:ControlType.Number,title:\"Size\",defaultValue:50,min:20,max:100,step:1,displayStepper:true,unit:\"px\"},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"50%\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"rgba(255, 255, 255, 0.2)\"},svgColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#ffffff\"},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.95,min:0,max:1,step:.01}},defaultValue:{size:50,borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",svgColor:\"#ffffff\",tapScale:.95,hoverBackgroundColor:\"rgba(255, 255, 255, 0.2)\"},hidden:props=>!props.enabled},nextButtonStyles:{type:ControlType.Object,title:\"Next Button\",buttonTitle:\"Size, Radius, Background, Icon\",controls:{size:{type:ControlType.Number,title:\"Size\",defaultValue:50,min:20,max:100,step:1,displayStepper:true,unit:\"px\"},borderRadius:{// @ts-expect-error - BorderRadius is not a valid control type in this Framer npm version\ntype:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"50%\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"rgba(255, 255, 255, 0.2)\"},svgColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#ffffff\"},tapScale:{type:ControlType.Number,title:\"Tap Scale\",defaultValue:.95,min:0,max:1,step:.01}},defaultValue:{size:50,borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.1)\",svgColor:\"#ffffff\",tapScale:.95,hoverBackgroundColor:\"rgba(255, 255, 255, 0.2)\"},hidden:props=>!props.enabled}}},zoomConfig:{type:ControlType.Object,title:\"Zoom Config\",buttonTitle:\"Enabled, Zoom Level\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:false,description:\"Enable zoom functionality when hovering over the main image.\"},zoomLevel:{type:ControlType.Number,title:\"Zoom Level\",defaultValue:150,min:100,max:500,step:1,unit:\"%\",hidden:props=>!props.enabled}},defaultValue:{enabled:true,zoomLevel:150}},// this need to be the last one\nnumberOfImages:{type:ControlType.Number,title:\"# of Images\",defaultValue:10,min:1,max:30,step:1,displayStepper:true}};// Dynamically generate image controls based on numberOfImages\nfor(let i=1;i<=30;i++){controls[`image${i}`]={type:ControlType.ResponsiveImage,title:`Image ${i}`,hidden:props=>props.numberOfImages<i};}return{...controls,...SUPPORT_CONTROL};};addPropertyControls(Gallery,generateGalleryPropertyControls());Gallery.displayName=\"Smart Gallery\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Gallery\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"800\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"qRAAuE,SAAgB,GAAoB,CAAC,OAAO,EAAa,iBAAiB,CAAE,SAAgB,GAAa,CAAC,OAAc,IAAS,4BAAvK,IAAsC,ICA2P,SAAgB,EAA8B,EAAc,EAAU,CAAC,GAAG,CAAC,GAAe,CAAC,EAAU,MAAM,EAAE,CAAC,IAAM,EAAO,EAAE,CAAO,EAAM,yBAA6B,EAAM,MAAO,EAAM,EAAM,KAAK,EAAc,IAAI,MAAK,CAAC,IAAM,EAAS,EAAM,GAAS,EAAgB,EAAM,GAAM,OAAO,EAAgB,GAAG,OAAO,EAAU,EAAE,EAAO,KAAK,EAAS,CAAG,OAAO,EAAQ,SAAgB,GAA2B,EAAc,EAAY,CAAC,GAAG,CAAC,GAAe,CAAC,EAAY,OAAO,KAAK,IAAM,EAAM,yBAA6B,EAAM,MAAO,EAAM,EAAM,KAAK,EAAc,IAAI,MAAK,CAAC,IAAM,EAAS,OAAO,EAAM,GAAG,CAAO,EAAU,EAAM,GAAG,GAAG,IAAW,EAAY,OA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