{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/tfGIJwItEuWFwvzEzkqv/soTMjzbAAFuZewxQ30Jt/Copy_to_Clipboard.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export const withCopyToClipboard=Component=>{return props=>{const textToCopy=\"https://airtable.com/appPv6MjxiLkzTMAI/shrv10aqVjonFDjkl/iCal?timeZone=Australia%2FSydney&userLocale=en-au\";const handleClick=()=>{navigator.clipboard.writeText(textToCopy);};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};};\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCopyToClipboard\":{\"type\":\"reactHoc\",\"name\":\"withCopyToClipboard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Copy_to_Clipboard.map"],
  "mappings": "2HACA,IAAMA,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAAigB,IAAMC,EAAoBC,GAAmBC,GAAO,CAAC,IAAMC,EAAW,6GAAgL,OAAoBC,EAAKH,EAAU,CAAC,GAAGC,EAAM,QAA9F,IAAI,CAACG,EAAU,UAAU,UAAUF,CAAU,CAAE,CAAkE,CAAC,CAAE",
  "names": ["useStore", "createStore", "withCopyToClipboard", "Component", "props", "textToCopy", "p", "navigator"]
}
