{"version":3,"file":"dBQRbaig0.DQKupqjJ.mjs","names":["CouponButtonLegacy"],"sources":["https:/framerusercontent.com/modules/z6Llntu4A4ODeVJEmJd3/T4Gg7VpGBlyRxmfoN3tp/dBQRbaig0.js"],"sourcesContent":["// Generated by Framer (0623976)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import CouponDownloadCTA from\"https://framerusercontent.com/modules/O27sEkOhAEJ6c5vAWbIy/Uu8gVev5DDHpf1ylj7td/CouponDownloadCTA.js\";import CouponButtonLegacy from\"https://framerusercontent.com/modules/FXCc6fvsTLUpcTJTY5U1/EWAx4KtaSqyzGGa7s1aF/uRHtWEuUc.js\";const CouponButtonLegacyFonts=getFonts(CouponButtonLegacy);const CouponDownloadCTAFonts=getFonts(CouponDownloadCTA);const cycleOrder=[\"A9fX90zWL\",\"eaj4uySY4\"];const serializationHash=\"framer-WJAdf\";const variantClassNames={A9fX90zWL:\"framer-v-1d3qcfp\",eaj4uySY4:\"framer-v-1yk8gav\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Desktop:\"A9fX90zWL\",Phone:\"eaj4uySY4\"};const getProps=({couponNoList,fontSize,height,id,title,width,...props})=>{var _ref,_ref1,_humanReadableVariantMap_props_variant,_ref2;return{...props,nvZvfoLh8:(_ref=fontSize!==null&&fontSize!==void 0?fontSize:props.nvZvfoLh8)!==null&&_ref!==void 0?_ref:22,TIBTbn0h_:couponNoList!==null&&couponNoList!==void 0?couponNoList:props.TIBTbn0h_,UTv9_Sg_U:(_ref1=title!==null&&title!==void 0?title:props.UTv9_Sg_U)!==null&&_ref1!==void 0?_ref1:\"스타일 레시피 EP.9 10% 쿠폰\",variant:(_ref2=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref2!==void 0?_ref2:\"A9fX90zWL\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,UTv9_Sg_U,TIBTbn0h_,nvZvfoLh8,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"A9fX90zWL\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-1d3qcfp\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"A9fX90zWL\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{\"--border-bottom-width\":\"0.5px\",\"--border-color\":\"rgb(0, 0, 0)\",\"--border-left-width\":\"0.5px\",\"--border-right-width\":\"0.5px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0.5px\",backgroundColor:\"rgb(255, 255, 255)\",...style},...addPropertyOverrides({eaj4uySY4:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1bt7s7d-container\",layoutDependency:layoutDependency,layoutId:\"NfAHIEyj6-container\",children:/*#__PURE__*/_jsx(CouponDownloadCTA,{couponNoList:TIBTbn0h_,height:\"100%\",id:\"NfAHIEyj6\",layoutId:\"NfAHIEyj6\",style:{width:\"100%\"},width:\"100%\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-qxbrzg\",\"data-framer-name\":\"Coupon\",layoutDependency:layoutDependency,layoutId:\"hK9rnyeAS\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Pretendard SemiBold\", \"Pretendard SemiBold Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-nvZvfoLh8-dBQRbaig0) * 1px)\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"left\"},children:\"스타일 레시피 EP.9 10% 쿠폰\"})}),className:\"framer-ynozhx\",fonts:[\"CUSTOM;Pretendard SemiBold\"],layoutDependency:layoutDependency,layoutId:\"CBZIqHazF\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-nvZvfoLh8-dBQRbaig0\":nvZvfoLh8},text:UTv9_Sg_U,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:25,children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-znufs9-container\",layoutDependency:layoutDependency,layoutId:\"iL6fMA6U7-container\",children:/*#__PURE__*/_jsx(CouponButtonLegacy,{height:\"100%\",id:\"iL6fMA6U7\",layoutId:\"iL6fMA6U7\",width:\"100%\"})})})]})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-WJAdf.framer-1xwugbd, .framer-WJAdf .framer-1xwugbd { display: block; }\",\".framer-WJAdf.framer-1d3qcfp { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 40px 45px 40px 40px; position: relative; width: 1110px; }\",\".framer-WJAdf .framer-1bt7s7d-container { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\",\".framer-WJAdf .framer-qxbrzg { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 1110px; }\",\".framer-WJAdf .framer-ynozhx { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-WJAdf .framer-znufs9-container { flex: none; height: auto; position: relative; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-WJAdf.framer-1d3qcfp { gap: 0px; } .framer-WJAdf.framer-1d3qcfp > * { margin: 0px; margin-left: calc(0px / 2); margin-right: calc(0px / 2); } .framer-WJAdf.framer-1d3qcfp > :first-child { margin-left: 0px; } .framer-WJAdf.framer-1d3qcfp > :last-child { margin-right: 0px; } }\",\".framer-WJAdf.framer-v-1yk8gav.framer-1d3qcfp { justify-content: flex-start; padding: 30px 25px 30px 20px; width: 390px; }\",'.framer-WJAdf[data-border=\"true\"]::after, .framer-WJAdf [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 105\n * @framerIntrinsicWidth 1110\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"eaj4uySY4\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"UTv9_Sg_U\":\"title\",\"TIBTbn0h_\":\"couponNoList\",\"nvZvfoLh8\":\"fontSize\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerdBQRbaig0=withCSS(Component,css,\"framer-WJAdf\");export default FramerdBQRbaig0;FramerdBQRbaig0.displayName=\"CouponButton(Legacy)\";FramerdBQRbaig0.defaultProps={height:105,width:1110};addPropertyControls(FramerdBQRbaig0,{variant:{options:[\"A9fX90zWL\",\"eaj4uySY4\"],optionTitles:[\"Desktop\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},UTv9_Sg_U:{defaultValue:\"스타일 레시피 EP.9 10% 쿠폰\",displayTextArea:false,title:\"Title\",type:ControlType.String},TIBTbn0h_:{defaultValue:\"\",title:\"Coupon No List\",type:ControlType.String},nvZvfoLh8:{defaultValue:22,title:\"Font Size\",type:ControlType.Number}});addFonts(FramerdBQRbaig0,[{explicitInter:true,fonts:[{family:\"Pretendard SemiBold\",source:\"custom\",url:\"https://framerusercontent.com/assets/bUf4UcuhtdSAGwhiC3unbHsuLB0.woff2\"}]},...CouponButtonLegacyFonts,...CouponDownloadCTAFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerdBQRbaig0\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"105\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"eaj4uySY4\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"UTv9_Sg_U\\\":\\\"title\\\",\\\"TIBTbn0h_\\\":\\\"couponNoList\\\",\\\"nvZvfoLh8\\\":\\\"fontSize\\\"}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"1110\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./dBQRbaig0.map"],"mappings":"8uBACy1B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,KAAkB,CAAe,mEAApf,EAAwB,EAASA,GAA0B,EAAuB,EAAS,GAAyB,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,CAAuO,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,WAAS,GAAG,CAAC,IAAM,EAAA,EAAwB,GAA2B,EAAW,GAAmC,EAAO,WAAiB,EAAA,OAAgC,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,GAAY,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAG,EAAO,EAAS,EAAO,OAAA,GAA6B,EAAwB,CAAC,QAAQ,YAAY,MAAM,YAAY,CAAO,GAAU,CAAC,eAAa,WAAS,SAAO,KAAG,QAAM,QAAM,GAAG,EAAM,GAAG,CAAC,IAAI,EAAK,EAAM,EAAuC,EAAM,MAAM,CAAC,GAAG,EAAM,WAAW,EAAK,GAA4C,EAAM,YAAsC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