{"version":3,"file":"OOSCustom.DSDTohyB.mjs","names":["React.useState","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","useState","useId","useRef","__bsFramer.useTracking","_Fragment","useState","_Fragment","useState","__esmMin","init_npm_react_18_3_1","x","oe","pe","ie","window","ce","J","c","p","_e","de","init_ssg_sandbox_shims","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","addFonts","RichText","useLocaleInfo","useTracking","getPropertyControls","useVariantState","RenderTarget","withCSS","cx","SmartComponentScopedContainer","getFontsFromSharedStyle","getFonts","init_framer_DKWANagr","ComponentViewportProvider","LazyValue","useComponentViewport","addPropertyControls","ControlType","init_ziiF2uvFb","css$1","fonts","className","getFirstParagraph","html","pMatch","brParts","nlParts","ShopifyDataText","framerProps","props","isCanvas","initialData","metafieldKey","value","setValue","handleDataReady","shouldHide","isGradient","colorType","shadowStyle","shadowEnabled","shadowX","shadowY","shadowBlur","shadowColor","textStyles","typography","fontSize","gradientColor","textColor","displayText","workingText","firstParagraphOnly","useFormatting","enableFormatting","cleanText","hideLastWord","words","MotionTag","htmlTag","init_ShopifyTextFontSize","init_jsx_runtime","getLocalizedValue","locale","values","valuesByLocaleId","key","preload","promises","promise","usePreloadLocalizedValues","preloadPromise","init_jYvNCkIiw","addPropertyOverrides","variants","nextOverrides","variant","overrides","ShopifyDataTextFonts","ShopifyDataTextControls","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","negate","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","Component","css","FramerjYvNCkIiw","init_jYvNCkIiw$1","config","transition","contextValue","description","metafield","align","fontSizeShopify","title","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","scopingClassNames","visible","gbqYTxlqt","activeLocale","layoutId","gestureHandlers","classNames","style","baseVariant","gestureVariant","ZPE_RSc_s","URCWJze9Z","contentLocale","Tq5B2ZCvs","i3ooTX9Y3","EOULRtmlq","\"textAlign\"","__bsMarketCountry","MAP","seg","loc","saved","last","CtaStrike","isStrike","setIsStrike","livePriceText","setLivePriceText","priceText","selectedVariant","setSelectedVariant","isAvailable","setIsAvailable","isAdding","setIsAdding","currentMarket","setCurrentMarket","__bsLang","useBsLang","setLocale","translations","componentId","btnRef","__bsTrack","selectedVariantRef","pathLang","currentLocale","langCode","marketFromLocale","marketLocaleMap","savedMarket","handleMarketChange","t","targetCurrency","marketCurrencyMap","locString","formatPrice","amount","productId","shopifyDomain","storefrontToken","isSubscribed","activeVariant","query","variables","formattedId","json","__bsEdges","fetchedVariant","handleVariantSelected","data","total","reducedMotion","btn","particleLayer","rect","stars","embers","STAR_TINTS","EMBERS","i","st","big","size","tint","delay","tw","rise","drift","dur","timer","s","handleClick","onCartAdd","quantityToAdd","cartId","bsReadCartId","active","parsed","val","headers","bsAddLines","__bsCountry","__bsBuyer","currentVariant","previewVariant","currentText","isIdle","cssVariantClass","__info","BS_CART_KEY","bsCartBase","bsForgetCart","bsCartIsDead","bsCreateCart","init_Ctastrikenew","id","pick","raw","v","k","found","base","deadId","doomed","payload","got","sentId","country","input","endpoint","lines","fresh","fallback","QuantitySelector","qty","setQty","defaultValue","maxQty","setMaxQty","max","handleVariantUpdate","updateQty","clamped","min","newVal","init_Customqtysecletor","ColorLastWord","text","lastWord","init_LastWordColorChange","FC_ProductInventoryCounter","loading","setLoading","error","setError","inventory","setInventory","fetchShopifyData","cleanId","cleanDomain","result","productData","err","containerStyle","color","font","quantity","dynamicText","textFormat","availableForSale","noLimitText","outOfStock","outOfStockText","init_OOSCustom"],"sources":["https:/framerusercontent.com/modules/jYaXCFhbpePZKCWvEoiR/Xfr07jl74lYuDpiylzPG/ShopifyTextFontSize.js","https:/framerusercontent.com/modules/s8bOf15LwOFLPvokbsj8/bpBxJMPQ5BnoH9KqbDOh/jYvNCkIiw.js","https:/framerusercontent.com/modules/6WzE7DdyprQXmbUZSRii/bAI4wdISzhwijDcJ6U5k/jYvNCkIiw.js","https:/framerusercontent.com/modules/UbZqd1nMTF69BJds924y/2cn5rVBFDebLSv3qO7Hd/Ctastrikenew.js","https:/framerusercontent.com/modules/XI6rk6gOS4ZNO6I9V0n8/ZWXypFAWo9WLqCS2ncUB/Customqtysecletor.js","https:/framerusercontent.com/modules/iioANy6NreSbrNf35VFF/TbTXrZ4C8HHl0QEzIuqX/LastWordColorChange.js","https:/framerusercontent.com/modules/r9QWUMdkmF1KDqYR8me3/R7IOHTsv4g5rD5TMbPOd/OOSCustom.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";// Grabs just the first paragraph out of a raw HTML/description string.\n// Tries <p> tags first, then falls back to <br><br> or blank-line splits\n// for descriptions that aren't wrapped in real paragraph tags.\nfunction getFirstParagraph(html){if(!html)return html;const pMatch=html.match(/<p[^>]*>([\\s\\S]*?)<\\/p>/i);if(pMatch)return pMatch[0];const brParts=html.split(/(?:<br\\s*\\/?>\\s*){2,}/i);if(brParts.length>1)return brParts[0];const nlParts=html.split(/\\n\\s*\\n/);if(nlParts.length>1)return nlParts[0];return html;}export default function ShopifyDataText(props){const{metafieldKey,htmlTag,typography,fontSize,colorType,textColor,gradientColor,textAlign,textTransform,shadowEnabled,shadowColor,shadowX,shadowY,shadowBlur,hideLastWord,enableFormatting,firstParagraphOnly,...framerProps}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;// @ts-ignore\nconst initialData=typeof window!==\"undefined\"?window.__SHOPIFY_METAFIELDS?.[metafieldKey]:null;const[value,setValue]=React.useState(initialData);React.useEffect(()=>{if(isCanvas)return;const handleDataReady=()=>{// @ts-ignore\nif(window.__SHOPIFY_METAFIELDS){// @ts-ignore\nsetValue(window.__SHOPIFY_METAFIELDS[metafieldKey]||null);}};window.addEventListener(\"shopify_data_ready\",handleDataReady);return()=>window.removeEventListener(\"shopify_data_ready\",handleDataReady);},[metafieldKey,isCanvas]);// --- SMART HIDE LOGIC ---\nlet shouldHide=false;if(!isCanvas){if(value===null||value===undefined||value.trim()===\"\"||metafieldKey.startsWith(\"custom.\")&&value===metafieldKey){shouldHide=true;}}if(shouldHide)return null;const isGradient=colorType===\"gradient\";// --- SMART SHADOW LOGIC ---\nconst shadowStyle=shadowEnabled?isGradient?{filter:`drop-shadow(${shadowX}px ${shadowY}px ${shadowBlur}px ${shadowColor})`}:{textShadow:`${shadowX}px ${shadowY}px ${shadowBlur}px ${shadowColor}`}:{};const textStyles={...typography,...fontSize?{fontSize:fontSize}:{},textAlign,textTransform,margin:0,...shadowStyle,...isGradient?{display:\"inline-block\",width:\"fit-content\",maxWidth:\"100%\",backgroundImage:gradientColor,WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\",color:\"transparent\"}:{display:\"block\",width:\"100%\",color:textColor}};let displayText=value;if(isCanvas){displayText=`[${metafieldKey}]`;}else if(value===null){displayText=\"...\";}// --- FIRST PARAGRAPH LOGIC ---\nlet workingText=displayText||\"\";if(firstParagraphOnly&&!isCanvas){workingText=getFirstParagraph(workingText);}// --- STRIP LINKS LOGIC ---\n// Removes <a> and </a> tags while preserving the inner text\nworkingText=workingText.replace(/<\\/?a[^>]*>/gi,\"\");// --- FORMATTING LOGIC ---\n// If formatting is on, we keep the HTML and render it with dangerouslySetInnerHTML.\n// If it's off, tags get stripped like before.\nconst useFormatting=enableFormatting&&!isCanvas;let cleanText=useFormatting?workingText:workingText.replace(/<[^>]*>/g,\"\");// --- HIDE LAST WORD LOGIC ---\n// Only applies in plain-text mode — stripping a word out of raw HTML\n// risks slicing through a tag and breaking the markup.\nif(hideLastWord&&!isCanvas&&!useFormatting&&cleanText){const words=cleanText.trim().split(\" \");if(words.length>1){cleanText=words.slice(0,-1).join(\" \");}else{cleanText=\"\";}}const MotionTag=motion[htmlTag];if(useFormatting){return /*#__PURE__*/_jsx(MotionTag,{...framerProps,style:{...framerProps.style,...textStyles},dangerouslySetInnerHTML:{__html:cleanText}});}return /*#__PURE__*/_jsx(MotionTag,{...framerProps,style:{...framerProps.style,...textStyles},children:cleanText});}addPropertyControls(ShopifyDataText,{metafieldKey:{type:ControlType.String,title:\"Data Key\"},htmlTag:{type:ControlType.Enum,options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\",\"span\"],title:\"HTML Tag\",defaultValue:\"p\"},typography:{type:ControlType.Font,title:\"Typography\",controls:\"extended\",defaultValue:{fontFamily:\"Inter\",fontSize:16,fontWeight:500,lineHeight:1.2}},fontSize:{type:ControlType.Number,title:\"Font Size\",displayStepper:true,min:0},colorType:{type:ControlType.Enum,options:[\"solid\",\"gradient\"],title:\"Color Type\",defaultValue:\"solid\"},textColor:{type:ControlType.Color,title:\"Solid Color\",defaultValue:\"#FFFFFF\",hidden(props){return props.colorType===\"gradient\";}},gradientColor:{type:ControlType.String,title:\"Gradient CSS\",defaultValue:\"linear-gradient(135deg, #FF6B9D 0%, #C084FC 50%, #60A5FA 100%)\",hidden(props){return props.colorType===\"solid\";}},textAlign:{type:ControlType.Enum,options:[\"left\",\"center\",\"right\"],title:\"Align\",defaultValue:\"left\"},textTransform:{type:ControlType.Enum,options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],title:\"Transform\",defaultValue:\"none\"},enableFormatting:{type:ControlType.Boolean,title:\"Format HTML\",defaultValue:false},firstParagraphOnly:{type:ControlType.Boolean,title:\"First Paragraph Only\",defaultValue:false},hideLastWord:{type:ControlType.Boolean,title:\"Hide Last Word\",defaultValue:false},shadowEnabled:{type:ControlType.Boolean,title:\"Enable Shadow\",defaultValue:false},shadowColor:{type:ControlType.Color,title:\"Shadow Color\",defaultValue:\"rgba(189, 28, 17, 0.76)\",hidden(props){return!props.shadowEnabled;}},shadowX:{type:ControlType.Number,title:\"Shadow X\",defaultValue:0,displayStepper:true,hidden(props){return!props.shadowEnabled;}},shadowY:{type:ControlType.Number,title:\"Shadow Y\",defaultValue:0,displayStepper:true,hidden(props){return!props.shadowEnabled;}},shadowBlur:{type:ControlType.Number,title:\"Shadow Blur\",defaultValue:38,displayStepper:true,min:0,hidden(props){return!props.shadowEnabled;}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ShopifyDataText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShopifyTextFontSize.map","// Generated by Framer (7bba2ed)\nimport{LazyValue}from\"framer\";const valuesByLocaleId={hOOQEDUEY:new LazyValue(()=>import(\"./jYvNCkIiw-0.js\"))};export default function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values&&values.status===\"fulfilled\"){const value=values.read()[key];if(value)return value;}locale=locale.fallback;}}function preload(locale){const promises=[];while(locale){const values=valuesByLocaleId[locale.id];if(values){const promise=values.preload();if(promise)promises.push(promise);}locale=locale.fallback;}if(promises.length>0)return Promise.all(promises);}export function usePreloadLocalizedValues(locale){const preloadPromise=preload(locale);if(preloadPromise)throw preloadPromise;}\nexport const __FramerMetadata__ = {\"exports\":{\"usePreloadLocalizedValues\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (7bba2ed)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,getPropertyControls,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ShopifyDataText from\"https://framerusercontent.com/modules/jYaXCFhbpePZKCWvEoiR/Xfr07jl74lYuDpiylzPG/ShopifyTextFontSize.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/s65uBiJTMchvMLa7GlKn/1Ong2USM4rTs6cdRQC6c/ziiF2uvFb.js\";import getLocalizedValue,{usePreloadLocalizedValues}from\"https://framerusercontent.com/modules/s8bOf15LwOFLPvokbsj8/bpBxJMPQ5BnoH9KqbDOh/jYvNCkIiw.js\";const ShopifyDataTextFonts=getFonts(ShopifyDataText);const ShopifyDataTextControls=getPropertyControls(ShopifyDataText);const enabledGestures={rSzgdRUtd:{hover:true}};const cycleOrder=[\"rSzgdRUtd\",\"D7OE5uFv_\"];const serializationHash=\"framer-1pMkF\";const variantClassNames={D7OE5uFv_:\"framer-v-195cr17\",rSzgdRUtd:\"framer-v-1hwr2tt\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const gbqYTxlqt=undefined;const ZPE_RSc_s=undefined;const URCWJze9Z=undefined;const i3ooTX9Y3=undefined;const Tq5B2ZCvs=undefined;const EOULRtmlq=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const negate=value=>{return!value;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Performance:\"rSzgdRUtd\",Recreative:\"D7OE5uFv_\"};const Variants=motion.create(React.Fragment);const getProps=({align,description,fontSizeShopify,height,hideLastWord,id,metafield,title,width,...props})=>{return{...props,EOULRtmlq:description??props.EOULRtmlq??\" Gliding soles included\",gbqYTxlqt:metafield??props.gbqYTxlqt??false,i3ooTX9Y3:align??props.i3ooTX9Y3??\"left\",Tq5B2ZCvs:hideLastWord??props.Tq5B2ZCvs??false,URCWJze9Z:fontSizeShopify??props.URCWJze9Z??112,variant:humanReadableVariantMap[props.variant]??props.variant??\"rSzgdRUtd\",ZPE_RSc_s:title??props.ZPE_RSc_s??\"6\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,ZPE_RSc_s,EOULRtmlq,gbqYTxlqt,Tq5B2ZCvs,URCWJze9Z,i3ooTX9Y3,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"rSzgdRUtd\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=negate(gbqYTxlqt);usePreloadLocalizedValues(activeLocale);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1hwr2tt\",className,classNames),\"data-framer-name\":\"Performance\",layoutDependency:layoutDependency,layoutId:\"rSzgdRUtd\",ref:refBinding,style:{...style},...addPropertyOverrides({\"rSzgdRUtd-hover\":{\"data-framer-name\":undefined},D7OE5uFv_:{\"data-framer-name\":\"Recreative\"}},baseVariant,gestureVariant),children:[visible!==false&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{className:\"framer-styles-preset-mfnkw3\",\"data-styles-preset\":\"ziiF2uvFb\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-1of0zx5, rgb(255, 59, 46))\"},children:\"6\"})}),className:\"framer-1mt3nyt\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"fmOJBRnNs\",style:{\"--extracted-1of0zx5\":\"rgb(255, 59, 46)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",textShadow:\"none\"},text:ZPE_RSc_s,variants:{\"rSzgdRUtd-hover\":{textShadow:\"0px 0px 38px rgba(189, 28, 17, 0.76)\"},D7OE5uFv_:{\"--extracted-1of0zx5\":\"var(--token-d2b32add-5a99-4cff-83ed-1bbf1f6434e5, rgb(255, 255, 255))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({D7OE5uFv_:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{className:\"framer-styles-preset-mfnkw3\",\"data-styles-preset\":\"ziiF2uvFb\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-1of0zx5, var(--token-d2b32add-5a99-4cff-83ed-1bbf1f6434e5, rgb(255, 255, 255)))\"},children:\"6\"})})}},baseVariant,gestureVariant)}),gbqYTxlqt!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-t4q5y0-container\",\"data-framer-name\":\"FontSizeShopify\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"WLaGWL77C-container\",name:\"FontSizeShopify\",nodeId:\"WLaGWL77C\",rendersWithMotion:true,scopeId:\"jYvNCkIiw\",children:/*#__PURE__*/_jsx(ShopifyDataText,{colorType:\"solid\",enableFormatting:false,firstParagraphOnly:false,fontSize:URCWJze9Z,gradientColor:getLocalizedValue(\"v0\",contentLocale)??\"linear-gradient(135deg, #FF6B9D 0%, #C084FC 50%, #60A5FA 100%)\",height:\"100%\",hideLastWord:Tq5B2ZCvs,htmlTag:\"h3\",id:\"WLaGWL77C\",layoutId:\"WLaGWL77C\",metafieldKey:ZPE_RSc_s,name:\"FontSizeShopify\",shadowBlur:38,shadowColor:\"rgba(189, 28, 17, 0.76)\",shadowEnabled:false,shadowX:0,shadowY:0,textAlign:i3ooTX9Y3,textColor:\"var(--token-56ac8b51-665b-43da-b462-6341b1a49f2f, rgb(255, 59, 46))\",textTransform:\"uppercase\",typography:{fontFamily:'\"Anton\", \"Anton Placeholder\", sans-serif',fontSize:\"16px\",fontStyle:\"normal\",fontWeight:400,letterSpacing:\"0em\",lineHeight:\"0.94em\"},width:\"100%\",...addPropertyOverrides({\"rSzgdRUtd-hover\":{shadowEnabled:true}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7R29vZCBIZWFkIFBybyBNZWRpdW0=\",\"--framer-font-family\":'\"Good Head Pro Medium\", \"Good Head Pro Medium Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"110%\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-d2b32add-5a99-4cff-83ed-1bbf1f6434e5, rgb(255, 255, 255)))\"},children:\" Gliding soles included\"})}),className:\"framer-1s6qz13\",fonts:[\"CUSTOMV2;Good Head Pro Medium\"],layoutDependency:layoutDependency,layoutId:\"luD6RxALz\",style:{\"--extracted-r6o4lv\":\"var(--token-d2b32add-5a99-4cff-83ed-1bbf1f6434e5, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:EOULRtmlq,verticalAlignment:\"top\",withExternalLayout:true})]})})})});});const css=[\".framer-1pMkF.framer-v6rrwq, .framer-1pMkF .framer-v6rrwq { display: block; }\",\".framer-1pMkF.framer-1hwr2tt { align-content: center; align-items: center; cursor: default; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 24px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 285px; }\",\".framer-1pMkF .framer-1mt3nyt { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; z-index: 2; }\",\".framer-1pMkF .framer-t4q5y0-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-1pMkF .framer-1s6qz13 { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 147\n * @framerIntrinsicWidth 285\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"D7OE5uFv_\":{\"layout\":[\"fixed\",\"auto\"]},\"M9vA0OMK1\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"ZPE_RSc_s\":\"title\",\"EOULRtmlq\":\"description\",\"gbqYTxlqt\":\"metafield\",\"Tq5B2ZCvs\":\"hideLastWord\",\"URCWJze9Z\":\"fontSizeShopify\",\"i3ooTX9Y3\":\"align\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerjYvNCkIiw=withCSS(Component,css,\"framer-1pMkF\");export default FramerjYvNCkIiw;FramerjYvNCkIiw.displayName=\"Shoe Stats\";FramerjYvNCkIiw.defaultProps={height:147,width:285};addPropertyControls(FramerjYvNCkIiw,{variant:{options:[\"rSzgdRUtd\",\"D7OE5uFv_\"],optionTitles:[\"Performance\",\"Recreative\"],title:\"Variant\",type:ControlType.Enum},ZPE_RSc_s:{defaultValue:\"6\",displayTextArea:false,title:\"Title\",type:ControlType.String},onZPE_RSc_sChange:{changes:\"ZPE_RSc_s\",type:ControlType.ChangeHandler},EOULRtmlq:{defaultValue:\" Gliding soles included\",displayTextArea:false,title:\"Description\",type:ControlType.String},onEOULRtmlqChange:{changes:\"EOULRtmlq\",type:ControlType.ChangeHandler},gbqYTxlqt:{defaultValue:false,title:\"Metafield?\",type:ControlType.Boolean},ongbqYTxlqtChange:{changes:\"gbqYTxlqt\",type:ControlType.ChangeHandler},Tq5B2ZCvs:{defaultValue:false,title:\"Hide Last Word\",type:ControlType.Boolean},onTq5B2ZCvsChange:{changes:\"Tq5B2ZCvs\",type:ControlType.ChangeHandler},URCWJze9Z:{defaultValue:112,displayStepper:true,min:0,title:\"Font Size Shopify\",type:ControlType.Number},onURCWJze9ZChange:{changes:\"URCWJze9Z\",type:ControlType.ChangeHandler},i3ooTX9Y3:ShopifyDataTextControls?.[\"textAlign\"]&&{...ShopifyDataTextControls[\"textAlign\"],defaultValue:\"left\",description:undefined,hidden:undefined,optional:undefined,title:\"Align\"},oni3ooTX9Y3Change:{changes:\"i3ooTX9Y3\",type:ControlType.ChangeHandler}});addFonts(FramerjYvNCkIiw,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"},{cssFamilyName:\"Anton\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Anton\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/TPY5PBRHOSXJ53WNSUYZQYX4FZUMAYNF/YHKM2QXXZHS7MS6DJUZXTGRXMIGWH7K5/PCXT6E5YCQO6SSVLT6UZPPGT7QKGXOUS.woff2\",weight:\"400\"},{cssFamilyName:\"Good Head Pro Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Good Head Pro\",url:\"https://framerusercontent.com/assets/YHLgoswfQ3pPSBMOo2MzZjM.woff2\",weight:\"500\"}]},...ShopifyDataTextFonts,...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerjYvNCkIiw\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"285\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"D7OE5uFv_\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"M9vA0OMK1\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"147\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"ZPE_RSc_s\\\":\\\"title\\\",\\\"EOULRtmlq\\\":\\\"description\\\",\\\"gbqYTxlqt\\\":\\\"metafield\\\",\\\"Tq5B2ZCvs\\\":\\\"hideLastWord\\\",\\\"URCWJze9Z\\\":\\\"fontSizeShopify\\\",\\\"i3ooTX9Y3\\\":\\\"align\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./jYvNCkIiw.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useLocaleInfo}from\"framer\";import{useState,useEffect,useRef,useId}from\"react\";import*as __bsFramer from\"framer\";// Bowling Stars: market country for this page. Same rule as CountryPopup:\n// the URL language decides, unless the visitor already picked a country on this language.\nfunction __bsMarketCountry(){try{const MAP={fr:\"FR\",de:\"DE\",da:\"DK\",es:\"ES\",it:\"IT\",nl:\"NL\",pl:\"PL\",sv:\"SE\",ro:\"RO\",cs:\"CZ\"};const seg=(window.location.pathname.split(\"/\").filter(Boolean)[0]||\"\").toLowerCase();const loc=MAP[seg]?seg:\"fr\";const saved=localStorage.getItem(\"shopify_market_country\");const last=localStorage.getItem(\"shopify_last_url_locale\");if(saved&&last===loc)return saved.toUpperCase();return MAP[loc];}catch(e){return\"FR\";}}// ── Panier mort ───────────────────────────────────────────────────────────\n// Après une commande payée (ou un panier expiré), Shopify refuse l'ancien\n// identifiant de panier : cartLinesAdd renvoie une erreur sur \"cartId\" et range\n// l'article dans un panier neuf. On oublie alors l'ancien identifiant partout\n// et on repart sur un panier neuf, sinon le panier reste vide sans message.\nconst BS_CART_KEY=\"shopify_cart_active\";const bsCartBase=id=>String(id||\"\").split(\"?\")[0];const bsReadCartId=()=>{if(typeof window===\"undefined\")return null;const pick=raw=>{if(!raw||raw.indexOf(\"gid://shopify/Cart/\")===-1)return null;let v=raw;if(raw.trim().startsWith(\"{\")){try{const p=JSON.parse(raw);v=p.id||p.cartId||p.cart_id||\"\";}catch(e){return null;}}v=String(v).replace(/['\"]/g,\"\").trim();return v.startsWith(\"gid://shopify/Cart/\")?v:null;};try{const active=pick(localStorage.getItem(BS_CART_KEY));if(active)return active;for(let i=0;i<localStorage.length;i++){const k=localStorage.key(i);if(!k)continue;const found=pick(localStorage.getItem(k));if(found)return found;}}catch(e){}return null;};const bsForgetCart=deadId=>{const base=bsCartBase(deadId);if(!base||typeof window===\"undefined\")return;try{const doomed=[];for(let i=0;i<localStorage.length;i++){const k=localStorage.key(i);const v=k?localStorage.getItem(k):null;if(k&&v&&v.indexOf(base)!==-1)doomed.push(k);}doomed.forEach(k=>localStorage.removeItem(k));}catch(e){}};const bsCartIsDead=(payload,sentId)=>{if(!payload)return false;const errs=payload.userErrors||[];if(errs.some(e=>(e?.field||[]).indexOf(\"cartId\")!==-1))return true;const got=payload.cart?.id;return!!got&&bsCartBase(got)!==bsCartBase(sentId);};const bsCreateCart=async(endpoint,headers,lines)=>{let country=\"\";try{const c=String(__bsMarketCountry()||\"\").toUpperCase();if(/^[A-Z]{2}$/.test(c))country=c;}catch(e){}const input={lines};if(country)input.buyerIdentity={countryCode:country};try{const r=await fetch(endpoint,{method:\"POST\",headers,body:JSON.stringify({query:\"mutation bsCartCreate($input: CartInput!) { cartCreate(input: $input) { cart { id } } }\",variables:{input}})});const j=await r.json();const id=j?.data?.cartCreate?.cart?.id||null;if(id){try{localStorage.setItem(BS_CART_KEY,id);}catch(e){}}return id;}catch(e){return null;}};// Ajoute des lignes au panier mémorisé ; si ce panier est mort (commande déjà\n// payée), l'oublie et crée un panier neuf avec ces lignes. Renvoie l'id utilisé.\nconst bsAddLines=async(endpoint,headers,cartId,lines)=>{if(!cartId)return bsCreateCart(endpoint,headers,lines);let payload=null;try{const r=await fetch(endpoint,{method:\"POST\",headers,body:JSON.stringify({query:\"mutation bsLinesAdd($cartId: ID!, $lines: [CartLineInput!]!) { cartLinesAdd(cartId: $cartId, lines: $lines) { cart { id } userErrors { code field message } } }\",variables:{cartId,lines}})});const j=await r.json();payload=j?.data?.cartLinesAdd||null;}catch(e){return cartId;}if(!bsCartIsDead(payload,cartId))return cartId;bsForgetCart(cartId);const fresh=await bsCreateCart(endpoint,headers,lines);if(fresh)return fresh;const fallback=payload?.cart?.id;if(fallback){try{localStorage.setItem(BS_CART_KEY,fallback);}catch(e){}return fallback;}return null;};// ──────────────────────────────────────────────────────────────────────────\n// ==========================================\n// 🌍 LOCALIZATION & CURRENCY CONFIG\n// ==========================================\nconst marketCurrencyMap={FR:\"EUR\",GB:\"GBP\",DE:\"EUR\",DK:\"DKK\",ES:\"EUR\",IT:\"EUR\",NL:\"EUR\",PL:\"PLN\",RO:\"RON\",SE:\"SEK\",CZ:\"CZK\",TR:\"TRY\"};const marketLocaleMap={FR:\"fr-FR\",GB:\"en-GB\",DE:\"de-DE\",DK:\"da-DK\",ES:\"es-ES\",IT:\"it-IT\",NL:\"nl-NL\",PL:\"pl-PL\",RO:\"ro-RO\",SE:\"sv-SE\",CZ:\"cs-CZ\",TR:\"tr-TR\"};const translations={fr:{add:\"Ajouter au panier\",select:\"S\\xe9lectionner une taille\",oos:\"Rupture de stock\",max:\"Quantit\\xe9 max atteinte\",load:\"Chargement...\",added:\"Strike — Ajout\\xe9\"},en:{add:\"Add to cart\",select:\"Select a size\",oos:\"Out of stock\",max:\"Max quantity reached\",load:\"Loading...\",added:\"Strike — Added\"},de:{add:\"In den Warenkorb\",select:\"Gr\\xf6\\xdfe w\\xe4hlen\",oos:\"Ausverkauft\",max:\"Maximale Menge erreicht\",load:\"Wird geladen...\",added:\"Strike — Hinzugef\\xfcgt\"},da:{add:\"L\\xe6g i kurv\",select:\"V\\xe6lg en st\\xf8rrelse\",oos:\"Udsolgt\",max:\"Maks. antal n\\xe5et\",load:\"Indl\\xe6ser...\",added:\"Strike — Tilf\\xf8jet\"},es:{add:\"A\\xf1adir al carrito\",select:\"Seleccionar talla\",oos:\"Agotado\",max:\"Cantidad m\\xe1xima\",load:\"Cargando...\",added:\"Strike — A\\xf1adido\"},it:{add:\"Aggiungi al carrello\",select:\"Seleziona taglia\",oos:\"Esaurito\",max:\"Quantit\\xe0 massima\",load:\"Caricamento...\",added:\"Strike — Aggiunto\"},nl:{add:\"In winkelwagen\",select:\"Selecteer een maat\",oos:\"Uitverkocht\",max:\"Max. hoeveelheid bereikt\",load:\"Laden...\",added:\"Strike — Toegevoegd\"},pl:{add:\"Dodaj do koszyka\",select:\"Wybierz rozmiar\",oos:\"Brak w magazynie\",max:\"Maksymalna ilość\",load:\"Ładowanie...\",added:\"Strike — Dodano\"},ro:{add:\"Adaugă \\xeen coș\",select:\"Selectează o mărime\",oos:\"Stoc epuizat\",max:\"Cantitate maximă\",load:\"Se \\xeencarcă...\",added:\"Strike — Adăugat\"},sv:{add:\"L\\xe4gg i varukorg\",select:\"V\\xe4lj en storlek\",oos:\"Slut i lager\",max:\"Maxantal uppn\\xe5tt\",load:\"Laddar...\",added:\"Strike — Tillagd\"},cs:{add:\"Přidat do koš\\xedku\",select:\"Vyberte velikost\",oos:\"Vyprod\\xe1no\",max:\"Max. množstv\\xed\",load:\"Nač\\xedt\\xe1n\\xed...\",added:\"Strike — Přid\\xe1no\"},tr:{add:\"Sepete Ekle\",select:\"Beden se\\xe7in\",oos:\"T\\xfckendi\",max:\"Maksimum miktar\",load:\"Y\\xfckleniyor...\",added:\"Strike — Eklendi\"}};export default function CtaStrike(props){const{shopifyDomain,storefrontToken,productId,previewVariant=\"Available\",priceText=\"27.00 €\",reducedMotion=false,onCartAdd,style}=props;const[isStrike,setIsStrike]=useState(false);const[livePriceText,setLivePriceText]=useState(priceText);const[selectedVariant,setSelectedVariant]=useState(null);const[isAvailable,setIsAvailable]=useState(false);const[isAdding,setIsAdding]=useState(false);const[currentMarket,setCurrentMarket]=useState(()=>__bsMarketCountry());const __bsLang=useBsLang();const[locale,setLocale]=useState(translations[__bsLang]?__bsLang:\"fr\");const componentId=useId().replace(/:/g,\"\");const btnRef=useRef(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Suivi Framer Analytics : événement « ajout-panier » à chaque ajout réussi (mesure avant/après des fiches)\nconst __bsTrack=typeof __bsFramer.useTracking===\"function\"?__bsFramer.useTracking():null;// Track active variant without triggering infinite re-renders on selection\nconst selectedVariantRef=useRef(null);useEffect(()=>{selectedVariantRef.current=selectedVariant;},[selectedVariant]);// ==========================================\n// 🌍 SET LOCALE & MARKET\n// ==========================================\nuseEffect(()=>{if(typeof window!==\"undefined\"){const pathLang=window.location.pathname.split(\"/\")[1]?.toLowerCase();// 1. Detect and Set Locale\nlet currentLocale=\"fr\";if(pathLang&&pathLang.length===2&&translations[pathLang]){currentLocale=pathLang;}else if(document.documentElement.lang){const langCode=document.documentElement.lang.toLowerCase().split(\"-\")[0];if(translations[langCode])currentLocale=langCode;}setLocale(currentLocale);// 2. Set Market (Prioritize URL Path > LocalStorage > Default)\nconst marketFromLocale=Object.keys(marketLocaleMap).find(key=>marketLocaleMap[key].toLowerCase().startsWith(currentLocale));const savedMarket=localStorage.getItem(\"shopify_market_country\");setCurrentMarket(marketFromLocale||(savedMarket?savedMarket.toUpperCase():\"FR\"));}},[]);useEffect(()=>{const handleMarketChange=e=>{if(e.detail&&typeof e.detail===\"string\")setCurrentMarket(e.detail.toUpperCase());};window.addEventListener(\"marketCurrencyChanged\",handleMarketChange);return()=>window.removeEventListener(\"marketCurrencyChanged\",handleMarketChange);},[]);const t=key=>{const langDict=translations[locale]||translations.fr;return langDict[key]||translations.en[key]||\"\";};const targetCurrency=marketCurrencyMap[currentMarket]||\"EUR\";const locString=marketLocaleMap[currentMarket]||\"fr-FR\";const formatPrice=(amount,currency=targetCurrency)=>{return new Intl.NumberFormat(locString,{style:\"currency\",currency:currency,minimumFractionDigits:2,maximumFractionDigits:2}).format(amount);};// ==========================================\n// 📦 1. FETCH PRODUCT PRICE (Handles Standalone & Market Changes)\n// ==========================================\nuseEffect(()=>{if(isCanvas||!productId||!shopifyDomain||!storefrontToken)return;let isSubscribed=true;const fetchLatestPrice=async()=>{const activeVariant=selectedVariantRef.current;let query=\"\";let variables={};if(activeVariant){const formattedId=activeVariant.includes(\"gid://\")?activeVariant:`gid://shopify/ProductVariant/${activeVariant}`;query=`\n                query getVariantPrice($id: ID!) @inContext(country: ${currentMarket}) {\n                    node(id: $id) {\n                        ... on ProductVariant { id availableForSale price { amount currencyCode } }\n                    }\n                }`;variables={id:formattedId};}else{const formattedId=productId.includes(\"gid://\")?productId:`gid://shopify/Product/${productId}`;query=`\n                query getProductDefaultVariant($id: ID!) @inContext(country: ${currentMarket}) {\n                    product(id: $id) {\n                        variants(first: 100) {\n                            edges { node { id availableForSale price { amount currencyCode } } }\n                        }\n                    }\n                }`;variables={id:formattedId};}try{const res=await fetch(`https://${shopifyDomain}/api/2024-01/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":storefrontToken},body:JSON.stringify({query,variables})});const json=await res.json();// Bowling Stars: default to the first variant in stock\nconst __bsEdges=json.data?.product?.variants?.edges||[];const fetchedVariant=activeVariant?json.data?.node:(__bsEdges.find(e=>e?.node?.availableForSale)||__bsEdges[0])?.node;// A variant selector may have picked a variant while we were fetching: keep its choice\nif(!activeVariant&&selectedVariantRef.current)return;if(fetchedVariant&&isSubscribed){if(!activeVariant)setSelectedVariant(fetchedVariant.id);setIsAvailable(fetchedVariant.availableForSale);setLivePriceText(formatPrice(Number(fetchedVariant.price.amount),fetchedVariant.price.currencyCode));}}catch(e){}};fetchLatestPrice();return()=>{isSubscribed=false;};},[currentMarket,productId,shopifyDomain,storefrontToken,isCanvas]);// ==========================================\n// 🎛️ 2. LISTEN TO VARIANT SELECTOR (If present)\n// ==========================================\nuseEffect(()=>{if(isCanvas)return;const handleVariantSelected=e=>{const data=e.detail;if(!data)return;if(data.variantId){setSelectedVariant(data.variantId);setIsAvailable(data.available);// Calculate total price (Base + Addon) and format it dynamically\n// Use the real sale price when the selector provides it (price = compare-at when on sale)\nconst base=data.salePrice!==undefined&&data.salePrice!==null?Number(data.salePrice):Number(data.price||0);const total=base+Number(data.addonPrice||0);setLivePriceText(formatPrice(total,data.currency||targetCurrency));}else{setSelectedVariant(null);setIsAvailable(false);setLivePriceText(priceText);}};window.addEventListener(\"universalVariantSelected\",handleVariantSelected);return()=>window.removeEventListener(\"universalVariantSelected\",handleVariantSelected);},[isCanvas,priceText,targetCurrency,locString]);// ==========================================\n// ✨ 3. PARTICLE INJECTION LOGIC\n// ==========================================\nuseEffect(()=>{if(!isStrike||!btnRef.current||reducedMotion)return;const btn=btnRef.current;const particleLayer=btn.querySelector(`.cta-particles-layer-${componentId}`);if(!particleLayer)return;const rect=btn.getBoundingClientRect();const stars=[];const embers=[];const STAR_TINTS=[\"#ffffff\",\"#ffffff\",\"#ffffff\",\"#ffd9a8\",\"#7ec8ff\"];const EMBERS=[\"#ff5533\",\"#ff3b2e\",\"#ffd9a8\",\"#ff8a3d\"];for(let i=0;i<26;i++){const st=document.createElement(\"span\");st.className=`star-${componentId}`;const big=i<3;const size=big?2.6:1+Math.random()*1.4;const tint=STAR_TINTS[i%STAR_TINTS.length];st.style.width=`${size}px`;st.style.height=`${size}px`;st.style.background=tint;if(big)st.style.boxShadow=`0 0 6px ${tint}, 0 0 12px rgba(255,255,255,.35)`;st.style.left=`${4+Math.random()*(rect.width-8)}px`;st.style.top=`${3+Math.random()*(rect.height*.62)}px`;particleLayer.appendChild(st);const delay=Math.random()*350;const tw=.25+Math.random()*.5;st.animate([{opacity:0},{opacity:1,offset:.15},{opacity:tw,offset:.45},{opacity:1,offset:.7},{opacity:tw}],{duration:1900,delay:delay,easing:\"ease-in-out\",fill:\"forwards\"});stars.push(st);}for(let i=0;i<16;i++){const p=document.createElement(\"span\");p.className=`ember-p-${componentId}`;const c=EMBERS[i%EMBERS.length];p.style.background=c;p.style.boxShadow=`0 0 6px ${c}, 0 0 14px rgba(255,85,51,.5)`;p.style.left=`${8+Math.random()*(rect.width-16)}px`;p.style.top=`${rect.height-6}px`;particleLayer.appendChild(p);const rise=50+Math.random()*70;const drift=(Math.random()-.5)*36;const dur=750+Math.random()*550;p.animate([{transform:\"translate(0,0) scale(1)\",opacity:0},{transform:`translate(${drift*.3}px, ${-rise*.25}px) scale(1)`,opacity:1,offset:.18},{transform:`translate(${drift}px, ${-rise}px) scale(0.25)`,opacity:0}],{duration:dur,easing:\"cubic-bezier(.22,1,.36,1)\",fill:\"forwards\"});embers.push(p);}const timer=setTimeout(()=>{stars.forEach(s=>s.remove());embers.forEach(e=>e.remove());setIsStrike(false);},2200);return()=>{clearTimeout(timer);stars.forEach(s=>s.remove());embers.forEach(e=>e.remove());};},[isStrike,componentId,reducedMotion]);// ==========================================\n// 🛒 4. SHOPIFY HEADLESS ADD TO CART LOGIC\n// ==========================================\nconst handleClick=async()=>{if(isCanvas){setIsStrike(true);if(onCartAdd)onCartAdd();return;}if(isStrike||isAdding||!selectedVariant||!isAvailable)return;setIsAdding(true);const quantityToAdd=typeof window!==\"undefined\"&&window.__SELECTED_QUANTITY?Number(window.__SELECTED_QUANTITY):1;const findCartId=()=>{let active=localStorage.getItem(\"shopify_cart_active\");if(active){if(active.startsWith(\"{\")){try{const parsed=JSON.parse(active);active=parsed.id||parsed.cartId||parsed.cart_id;}catch(e){}}if(active&&active.includes(\"gid://shopify/Cart/\"))return active;}for(let i=0;i<localStorage.length;i++){const key=localStorage.key(i);if(!key)continue;try{const val=localStorage.getItem(key);if(!val)continue;if(val.startsWith(\"{\")&&val.includes(\"gid://shopify/Cart/\")){const parsed=JSON.parse(val);if(parsed.id)return parsed.id;if(parsed.cartId)return parsed.cartId;if(parsed.cart_id)return parsed.cart_id;}else if(val.startsWith(\"gid://shopify/Cart/\")){return val;}}catch(e){}}return null;};let cartId=bsReadCartId()||findCartId();const headers={\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":storefrontToken};try{if(!cartId){const __bsCountry=(()=>{try{const c=String(__bsMarketCountry()||\"\").toUpperCase();return/^[A-Z]{2}$/.test(c)?c:\"\";}catch(e){return\"\";}})();const __bsBuyer=__bsCountry?`, buyerIdentity: { countryCode: ${__bsCountry} }`:\"\";const query=`mutation { cartCreate(input: { lines: [{ merchandiseId: \"${selectedVariant}\", quantity: ${quantityToAdd} }]${__bsBuyer} }) { cart { id } } }`;const res=await fetch(`https://${shopifyDomain}/api/2024-01/graphql.json`,{method:\"POST\",headers,body:JSON.stringify({query})});const json=await res.json();if(json.data?.cartCreate?.cart?.id){cartId=json.data.cartCreate.cart.id;localStorage.setItem(`shopify_cart_active`,cartId);}}else{cartId=await bsAddLines(`https://${shopifyDomain}/api/2024-01/graphql.json`,headers,cartId,[{merchandiseId:selectedVariant,quantity:quantityToAdd}]);}window.dispatchEvent(new Event(\"storage\"));if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(\"cartItemAddedSuccessfully\"));}setIsStrike(true);try{if(typeof __bsTrack===\"function\")__bsTrack(\"ajout-panier\");}catch(e){}if(typeof window!==\"undefined\"&&window.navigator?.vibrate){window.navigator.vibrate(12);}if(onCartAdd)onCartAdd();}catch(error){}finally{setIsAdding(false);}};// ==========================================\n// 🎨 5. VISUAL STATE MACHINE\n// ==========================================\nlet currentVariant=\"Available\";if(isCanvas){currentVariant=previewVariant;}else{if(isAdding)currentVariant=\"Loading\";else if(!selectedVariant)currentVariant=\"Select Size\";else if(!isAvailable)currentVariant=\"Out of Stock\";}let currentText=t(\"add\");if(isStrike)currentText=t(\"added\");else if(currentVariant===\"Select Size\")currentText=t(\"select\");else if(currentVariant===\"Out of Stock\")currentText=t(\"oos\");else if(currentVariant===\"Max Quantity\")currentText=t(\"max\");else if(currentVariant===\"Loading\")currentText=t(\"load\");const isIdle=!isStrike&&currentVariant===\"Available\";const cssVariantClass=`v-${currentVariant.toLowerCase().replace(/\\s+/g,\"-\")}`;const css=`\n        .cta-wrapper-${componentId} { position: relative; width: 100%; height: 100%; container-type: inline-size; font-family: 'Anton', -apple-system, sans-serif; --ember: #ffd9a8; }\n        .cta-zone-${componentId} { width: 100%; height: 100%; position: relative; }\n        .cta-zone-${componentId}::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: -8px; height: 26px; border-radius: 50%; background: radial-gradient(55% 100% at 50% 50%, rgba(255, 85, 51, 0.55), rgba(255, 59, 46, 0.18) 55%, transparent 75%); filter: blur(9px); z-index: 0; animation: ember-breathe-${componentId} 3.4s ease-in-out infinite; pointer-events: none; display: ${isIdle?\"block\":\"none\"}; }\n\n        @keyframes ember-breathe-${componentId} { 0%, 100% { opacity: .45; transform: scaleX(.96); } 50% { opacity: .95; transform: scaleX(1.02); } }\n\n        .cta-btn-${componentId} { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 56px; border: none; border-radius: 14px; padding: 18px 20px; font-family: inherit; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px; background: linear-gradient(115deg, #ff5533 0%, #ff3b2e 45%, #ff6a3d 100%); background-size: 220% 100%; background-position: 0% 0; box-shadow: 0 10px 30px -10px rgba(255, 85, 51, 0.45), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -2px 0 rgba(0,0,0,0.22); transition: background-position .5s ease, transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, color .3s, background .3s, padding .3s, font-size .3s; -webkit-tap-highlight-color: transparent; box-sizing: border-box; }\n        .cta-particles-layer-${componentId} { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; pointer-events: none; z-index: 0; }\n\n        .cta-btn-${componentId}.v-select-size { background: #ffffff; color: #0a0a0c; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1); cursor: not-allowed; }\n        .cta-btn-${componentId}.v-select-size:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0,0,0,0.1); }\n\n        .cta-btn-${componentId}.v-out-of-stock { background: #1c1c22; color: #5a5a63; box-shadow: none; cursor: not-allowed; border: 1px solid rgba(255,255,255,0.05); }\n        .cta-btn-${componentId}.v-max-quantity { background: #2a1111; color: #ff5533; box-shadow: inset 0 0 0 1px #ff3b2e; cursor: not-allowed; }\n        .cta-btn-${componentId}.v-loading { background: #141418; color: #8a8a93; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); cursor: wait; }\n\n        .cta-btn-${componentId}.v-available:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(255, 85, 51, 0.6), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 0 rgba(0,0,0,0.22); }\n        .cta-btn-${componentId}:active { transform: translateY(1px) scale(0.975); transition-duration: .08s; }\n\n        .cta-sheen-${componentId} { position: absolute; top: -20%; bottom: -20%; width: 56px; left: -80px; background: linear-gradient(105deg, transparent, rgba(255, 235, 210, 0.4), transparent); transform: skewX(-20deg); transition: left .55s ease; pointer-events: none; display: ${currentVariant===\"Available\"?\"block\":\"none\"}; }\n        .cta-btn-${componentId}:hover .cta-sheen-${componentId} { left: calc(100% + 30px); }\n\n        .cta-btn-${componentId}.is-strike { background: #0b0b10; background-image: linear-gradient(180deg, #07070c 0%, #0d0d14 55%, #161018 100%), radial-gradient(85% 70% at 50% 118%, rgba(255, 85, 51, 0.38), rgba(255, 59, 46, 0.08) 55%, transparent 75%); background-blend-mode: normal, screen; color: var(--ember); box-shadow: 0 0 0 1.5px rgba(255, 59, 46, 0.8), 0 8px 34px -8px rgba(255, 59, 46, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05); text-shadow: 0 0 12px rgba(255, 85, 51, 0.8); animation: strike-pop-${componentId} .45s cubic-bezier(.34, 1.56, .64, 1); cursor: default; }\n        @keyframes strike-pop-${componentId} { 0% { transform: scale(0.97); } 55% { transform: scale(1.015); } 100% { transform: scale(1); } }\n\n        .cta-btn-${componentId}.is-strike .cta-price-${componentId} { border-color: rgba(255, 85, 51, 0.45); background: rgba(255, 59, 46, 0.12); color: var(--ember); }\n        .cta-label-${componentId} { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2; min-width: 0; flex: 1 1 auto; transition: gap .3s; }\n        .cta-label-text-${componentId} { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }\n        .cta-icon-${componentId} { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), width .3s, height .3s; }\n\n        .cta-btn-${componentId}.v-available:hover .cta-icon-cart { transform: translateX(3px) rotate(-6deg); }\n        .cta-icon-ball { display: none; }\n        .cta-btn-${componentId}.is-strike .cta-icon-cart { display: none; }\n        .cta-btn-${componentId}.is-strike .cta-icon-ball { display: inline-block; animation: ball-roll-${componentId} .8s cubic-bezier(.22, 1, .36, 1); }\n\n        @keyframes ball-roll-${componentId} { 0% { transform: translateX(-26px) rotate(-220deg); opacity: 0; } 100% { transform: translateX(0) rotate(0deg); opacity: 1; } }\n        @keyframes spin-${componentId} { to { transform: rotate(360deg); } }\n        .cta-icon-spinner { animation: spin-${componentId} 1s linear infinite; }\n\n        .cta-price-${componentId} { position: relative; z-index: 2; background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.18); border-radius: 100px; padding: 5px 14px; font-size: 14px; letter-spacing: 0.05em; transition: all .3s; flex: 0 0 auto; white-space: nowrap; }\n\n        .star-${componentId} { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; }\n        .ember-p-${componentId} { position: absolute; width: 5px; height: 5px; border-radius: 50%; pointer-events: none; z-index: 3; }\n\n        @container (max-width: 280px) {\n            .cta-btn-${componentId} { padding: 12px 14px; justify-content: center; }\n            .cta-btn-${componentId}.v-available .cta-label-text-${componentId} { display: none; }\n            .cta-btn-${componentId}.v-available .cta-icon-${componentId} { width: 24px; height: 24px; }\n            .cta-label-${componentId} { gap: 8px; flex: 0 1 auto; justify-content: center; }\n            .cta-price-${componentId} { position: absolute !important; top: -12px !important; right: -8px !important; transform: rotate(10deg) !important; font-size: 11px !important; padding: 3px 8px !important; background: linear-gradient(115deg, #ff3b2e 0%, #ff6a3d 100%) !important; box-shadow: 0 4px 10px rgba(255, 59, 46, 0.4), inset 0 1px 0 rgba(255,255,255,0.2) !important; border-radius: 20px !important; border: 1px solid rgba(255,255,255,0.15) !important; z-index: 10 !important; line-height: 1 !important; }\n        }\n    `;const renderIcon=()=>{if(currentVariant===\"Loading\"){return /*#__PURE__*/_jsx(\"svg\",{className:`cta-icon-${componentId} cta-icon-spinner`,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 2v4m0 12v4M4.93 4.93l2.83 2.83m8.48 8.48l2.83 2.83M2 12h4m12 0h4M4.93 19.07l2.83-2.83m8.48-8.48l2.83-2.83\"})});}if(currentVariant===\"Out of Stock\"){return /*#__PURE__*/_jsxs(\"svg\",{className:`cta-icon-${componentId}`,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"4.93\",y1:\"4.93\",x2:\"19.07\",y2:\"19.07\"})]});}if(currentVariant===\"Max Quantity\"){return /*#__PURE__*/_jsxs(\"svg\",{className:`cta-icon-${componentId}`,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"8\",x2:\"12\",y2:\"12\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"16\",x2:\"12.01\",y2:\"16\"})]});}if(currentVariant===\"Select Size\"){return /*#__PURE__*/_jsx(\"svg\",{className:`cta-icon-${componentId}`,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 5v14M5 12h14\"})});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"svg\",{className:`cta-icon-${componentId} cta-icon-cart`,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"21\",r:\"1.5\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"20\",cy:\"21\",r:\"1.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"11\",y1:\"10\",x2:\"17\",y2:\"10\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"14\",y1:\"7\",x2:\"14\",y2:\"13\"})]}),/*#__PURE__*/_jsxs(\"svg\",{className:`cta-icon-${componentId} cta-icon-ball`,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.8\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"9\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"10\",cy:\"8.5\",r:\"1\",fill:\"currentColor\",stroke:\"none\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"13.5\",cy:\"7.5\",r:\"1\",fill:\"currentColor\",stroke:\"none\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"13.8\",cy:\"11\",r:\"1\",fill:\"currentColor\",stroke:\"none\"})]})]});};return /*#__PURE__*/_jsxs(\"div\",{className:`cta-wrapper-${componentId}`,style:style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsx(\"div\",{className:`cta-zone-${componentId}`,children:/*#__PURE__*/_jsxs(\"button\",{ref:btnRef,onClick:handleClick,className:`cta-btn-${componentId} ${cssVariantClass} ${isStrike?\"is-strike\":\"\"}`,children:[/*#__PURE__*/_jsx(\"span\",{className:`cta-particles-layer-${componentId}`,children:/*#__PURE__*/_jsx(\"span\",{className:`cta-sheen-${componentId}`})}),/*#__PURE__*/_jsxs(\"span\",{className:`cta-label-${componentId}`,children:[renderIcon(),/*#__PURE__*/_jsx(\"span\",{className:`cta-label-text-${componentId}`,children:currentText})]}),/*#__PURE__*/_jsx(\"span\",{className:`cta-price-${componentId}`,style:{display:currentVariant===\"Loading\"||currentVariant===\"Out of Stock\"?\"none\":\"block\"},children:livePriceText})]})})]});}addPropertyControls(CtaStrike,{shopifyDomain:{type:ControlType.String,title:\"Shopify Domain\",defaultValue:\"bowling-stars.myshopify.com\"},storefrontToken:{type:ControlType.String,title:\"Store Token\",defaultValue:\"605c822ded51e6c3b91e2dd2d422f662\"},productId:{type:ControlType.String,title:\"Product ID\",defaultValue:\"8412930491823\",description:\"Links standalone items (like bags) without a variant selector.\"},onCartAdd:{type:ControlType.EventHandler,title:\"On Added (Open Cart)\"},previewVariant:{type:ControlType.Enum,title:\"Canvas Preview\",defaultValue:\"Available\",options:[\"Available\",\"Select Size\",\"Out of Stock\",\"Max Quantity\",\"Loading\"]},priceText:{type:ControlType.String,title:\"Fallback Price\",defaultValue:\"27.00 €\"},reducedMotion:{type:ControlType.Boolean,title:\"Reduced Motion\",defaultValue:false}});// Bowling Stars: SSR-safe language (server render gets the page locale, not \"fr\")\nfunction useBsLang(){const __info=useLocaleInfo();return String(__info?.activeLocale?.code||\"fr\").split(\"-\")[0].toLowerCase();}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CtaStrike\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ctastrikenew.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useState,useEffect}from\"react\";export default function QuantitySelector(props){const{min=1,max=20,defaultValue=1,style}=props;const[qty,setQty]=useState(defaultValue);const[maxQty,setMaxQty]=useState(max);const isCanvas=RenderTarget.current()===RenderTarget.canvas;// 🛠️ THE FIX: Reset the global window variable on mount\nuseEffect(()=>{if(typeof window!==\"undefined\"){window.__SELECTED_QUANTITY=defaultValue;setQty(defaultValue);}},[defaultValue]);useEffect(()=>{if(isCanvas)return;const handleVariantUpdate=e=>{if(e.detail){// If the product is unavailable, set max to 0, otherwise use provided max or default high\nsetMaxQty(e.detail.available?max||20:0);// If current qty exceeds new stock, clamp it\nif(qty>(e.detail.available?max||20:0)){updateQty(e.detail.available?1:0);}}};window.addEventListener(\"universalVariantSelected\",handleVariantUpdate);return()=>window.removeEventListener(\"universalVariantSelected\",handleVariantUpdate);},[isCanvas,max,qty]);const updateQty=newVal=>{const clamped=Math.max(min,Math.min(maxQty,newVal));setQty(clamped);if(typeof window!==\"undefined\"){window.__SELECTED_QUANTITY=clamped;}window.dispatchEvent(new CustomEvent(\"quantityChanged\",{detail:{quantity:clamped}}));};const css=`\n        .qty-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,0.05); padding: 8px 20px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); width: 100%; height: 100%; box-sizing: border-box; font-family: 'Anton', -apple-system, sans-serif; }\n        .qty-btn { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; transition: opacity 0.2s; display: flex; align-items: center; }\n        .qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }\n        .qty-btn:hover:not(:disabled) { color: #ff3b2e; }\n        .qty-value { font-size: 16px; font-weight: 600; color: #fff; min-width: 24px; text-align: center; }\n    `;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"div\",{className:\"qty-controls\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"qty-btn\",disabled:qty<=min,onClick:()=>updateQty(qty-1),children:\"-\"}),/*#__PURE__*/_jsx(\"span\",{className:\"qty-value\",children:qty}),/*#__PURE__*/_jsx(\"button\",{className:\"qty-btn\",disabled:qty>=maxQty,onClick:()=>updateQty(qty+1),children:\"+\"})]})]});}addPropertyControls(QuantitySelector,{min:{type:ControlType.Number,title:\"Min\",defaultValue:1},max:{type:ControlType.Number,title:\"Default Max (if stock not found)\",defaultValue:20},defaultValue:{type:ControlType.Number,title:\"Default\",defaultValue:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QuantitySelector\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Customqtysecletor.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function ColorLastWord(Component){return props=>{const text=props.text;if(typeof text!==\"string\"){return /*#__PURE__*/_jsx(Component,{...props});}const words=text.trim().split(/\\s+/);if(words.length===0){return /*#__PURE__*/_jsx(Component,{...props});}const lastWord=words.pop();return /*#__PURE__*/_jsx(Component,{...props,text:/*#__PURE__*/_jsxs(_Fragment,{children:[words.join(\" \"),\" \",/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FF3B2E\"},children:lastWord})]})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"ColorLastWord\":{\"type\":\"reactHoc\",\"name\":\"ColorLastWord\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LastWordColorChange.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function FC_ProductInventoryCounter(props){const{shopifyDomain,storefrontToken,productId,font,fontSize,color,textFormat,outOfStock,outOfStockText,noLimitText}=props;const[loading,setLoading]=useState(true);const[error,setError]=useState(null);const[inventory,setInventory]=useState(null);useEffect(()=>{if(!shopifyDomain||!storefrontToken||!productId){setLoading(false);return;}async function fetchShopifyData(){setLoading(true);setError(null);const cleanId=productId.trim();const formattedId=cleanId.startsWith(\"gid://\")?cleanId:`gid://shopify/Product/${cleanId}`;const query=`\n                query getProductInventory($id: ID!) {\n                  product(id: $id) {\n                    totalInventory\n                    availableForSale\n                  }\n                }\n            `;try{const cleanDomain=shopifyDomain.replace(/https?:\\/\\//,\"\").replace(/\\/$/,\"\");const response=await fetch(`https://${cleanDomain}/api/2024-04/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":storefrontToken},body:JSON.stringify({query,variables:{id:formattedId}})});const result=await response.json();if(result.errors){throw new Error(result.errors[0].message);}const productData=result.data?.product;if(!productData){throw new Error(\"Product data could not be retrieved.\");}setInventory({quantity:productData.totalInventory??0,availableForSale:productData.availableForSale??false});}catch(err){setError(err.message||\"Failed to fetch stock.\");}finally{setLoading(false);}}fetchShopifyData();},[shopifyDomain,storefrontToken,productId]);const fontStyles=typeof font===\"object\"?font:font?{fontFamily:font}:{};const containerStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\",color:color||\"#DF9F3F\",fontSize:fontSize,lineHeight:1,whiteSpace:\"nowrap\",...fontStyles};if(!shopifyDomain||!storefrontToken||!productId){return /*#__PURE__*/_jsx(\"div\",{style:{...containerStyle,opacity:.5},children:\"⚠️ Connect Shopify API & CMS Product ID\"});}if(loading){return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:\"Loading...\"});}if(error){return /*#__PURE__*/_jsx(\"div\",{style:{...containerStyle,color:\"#FF4444\"},children:error});}if(!inventory)return null;const{quantity,availableForSale}=inventory;if(quantity>0){const dynamicText=textFormat.replace(\"{{inventory}}\",String(quantity));return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:dynamicText});}if(quantity<=0&&availableForSale){return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:noLimitText});}if(quantity<=0&&!availableForSale){if(outOfStock===\"Hide\")return null;return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:outOfStockText});}return null;}addPropertyControls(FC_ProductInventoryCounter,{shopifyDomain:{type:ControlType.String,title:\"Store Domain\",placeholder:\"your-store.myshopify.com\"},storefrontToken:{type:ControlType.String,title:\"API Token\",placeholder:\"shpca_xxx...\"},productId:{type:ControlType.String,title:\"Product ID\"},font:{type:ControlType.Font,title:\"Font\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:2,max:144,step:1,displayStepper:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#DF9F3F\"},textFormat:{type:ControlType.String,title:\"Text Format\",defaultValue:\"Only {{inventory}} left in stock!\"},outOfStock:{type:ControlType.Enum,title:\"Out of Stock\",options:[\"Show\",\"Hide\"],defaultValue:\"Show\",displaySegmented:true},outOfStockText:{type:ControlType.String,title:\"Out of Stock Text\",defaultValue:\"Out of Stock\",hidden(props){return props.outOfStock===\"Hide\";}},noLimitText:{type:ControlType.String,title:\"No Limit Text\",defaultValue:\"Available to backorder\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FC_ProductInventoryCounter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OOSCustom.map"],"mappings":"A,6dAGA,SAAS0D,EAAkB,EAAK,CAAC,GAAG,CAACC,EAAK,OAAOA,EAAK,IAAMC,EAAOD,EAAK,MAAM,0BAA0B,EAAE,GAAGC,EAAO,OAAOA,EAAO,GAAG,IAAMC,EAAQF,EAAK,MAAM,wBAAwB,EAAE,GAAGE,EAAQ,OAAO,EAAE,OAAOA,EAAQ,GAAG,IAAMC,EAAQH,EAAK,MAAM,SAAS,EAAwC,OAAnCG,EAAQ,OAAO,EAASA,EAAQ,GAAUH,CAAK,CAAC,SAAwBI,EAAgB,EAAM,CAAC,GAAK,CAAC,eAAa,UAAQ,aAAW,WAAS,YAAU,YAAU,gBAAc,YAAU,gBAAc,gBAAc,cAAY,UAAQ,UAAQ,aAAW,eAAa,mBAAiB,qBAAmB,GAAGC,GAAaC,EAAYC,EAASxB,EAAa,QAAQ,IAAIA,EAAa,OACxnByB,EAAmB3C,IAAS,OAAwD,KAA5CA,EAAO,uBAAuB4C,GAAwB,CAACC,EAAMC,GAAUtE,EAAemE,CAAW,EAAE1C,MAAoB,CAAC,GAAGyC,EAAS,OAAO,IAAMK,MAAoB,CAChN/C,EAAO,sBACV8C,EAAS9C,EAAO,qBAAqB4C,IAAe,IAAI,CAAG,EAAgE,OAA9D5C,EAAO,iBAAiB,qBAAqB+C,CAAe,MAAY/C,EAAO,oBAAoB,qBAAqB+C,CAAe,CAAE,EAAE,CAACH,EAAaF,CAAQ,CAAC,EAC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