{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/CnPlmPROshWxEAU042jF/v9OGGLtqnZPBL9ADnVnj/CopyUrlButton.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function CopyUrlButton(props){const{text,width,height,backgroundColor,textColor,fontFamily}=props;const handleClick=()=>{const currentUrl=window.location.href;navigator.clipboard.writeText(currentUrl).then(()=>{alert(\"\uB9C1\uD06C\uAC00 \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4.\");}).catch(err=>{console.error(\"\uB9C1\uD06C \uBCF5\uC0AC \uC2E4\uD328: \",err);});};return /*#__PURE__*/_jsx(\"button\",{onClick:handleClick,style:{width:width,height:height,backgroundColor:backgroundColor,color:textColor,border:\"none\",borderRadius:\"8px\",fontSize:\"16px\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontFamily:fontFamily},children:text});}// \uAE30\uBCF8 \uC18D\uC131 \uC124\uC815\nCopyUrlButton.defaultProps={text:\"\uC544\uD2F0\uD074 \uACF5\uC720\uD558\uAE30\",width:138,height:52,backgroundColor:\"#5CA8FF\",textColor:\"#FFFFFF\",fontFamily:\"TossProductSansOTF-Semibold\"};// \uC18D\uC131 \uD328\uB110\uC5D0 \uD45C\uC2DC\uB420 \uC18D\uC131 \uCD94\uAC00\naddPropertyControls(CopyUrlButton,{text:{type:ControlType.String,title:\"Button Text\"},width:{type:ControlType.Number,title:\"Width\",defaultValue:138},height:{type:ControlType.Number,title:\"Height\",defaultValue:52},backgroundColor:{type:ControlType.Color,title:\"Background Color\"},textColor:{type:ControlType.Color,title:\"Text Color\"},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"TossProductSansOTF-Semibold\"}});export default CopyUrlButton;\nexport const __FramerMetadata__ = {\"exports\":{\"CopyUrlButton\":{\"type\":\"reactComponent\",\"name\":\"CopyUrlButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CopyUrlButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CopyUrlButton.map"],
  "mappings": "yIAAsG,SAASA,EAAcC,EAAM,CAAC,GAAK,CAAC,KAAAC,EAAK,MAAAC,EAAM,OAAAC,EAAO,gBAAAC,EAAgB,UAAAC,EAAU,WAAAC,CAAU,EAAEN,EAAiM,OAAoBO,EAAK,SAAS,CAAC,QAA5M,IAAI,CAAC,IAAMC,EAAWC,EAAO,SAAS,KAAKC,EAAU,UAAU,UAAUF,CAAU,EAAE,KAAK,IAAI,CAAC,MAAM,gEAAc,CAAE,CAAC,EAAE,MAAMG,GAAK,CAAC,QAAQ,MAAM,2CAAaA,CAAG,CAAE,CAAC,CAAE,EAAyD,MAAM,CAAC,MAAMT,EAAM,OAAOC,EAAO,gBAAgBC,EAAgB,MAAMC,EAAU,OAAO,OAAO,aAAa,MAAM,SAAS,OAAO,OAAO,UAAU,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,WAAWC,CAAU,EAAE,SAASL,CAAI,CAAC,CAAE,CAC/qBF,EAAc,aAAa,CAAC,KAAK,8CAAW,MAAM,IAAI,OAAO,GAAG,gBAAgB,UAAU,UAAU,UAAU,WAAW,6BAA6B,EACtJa,EAAoBb,EAAc,CAAC,KAAK,CAAC,KAAKc,EAAY,OAAO,MAAM,aAAa,EAAE,MAAM,CAAC,KAAKA,EAAY,OAAO,MAAM,QAAQ,aAAa,GAAG,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,EAAE,gBAAgB,CAAC,KAAKA,EAAY,MAAM,MAAM,kBAAkB,EAAE,UAAU,CAAC,KAAKA,EAAY,MAAM,MAAM,YAAY,EAAE,WAAW,CAAC,KAAKA,EAAY,OAAO,MAAM,cAAc,aAAa,6BAA6B,CAAC,CAAC,EAAE,IAAOC,EAAQf",
  "names": ["CopyUrlButton", "props", "text", "width", "height", "backgroundColor", "textColor", "fontFamily", "p", "currentUrl", "window", "navigator", "err", "addPropertyControls", "ControlType", "CopyUrlButton_default"]
}
