{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/FK1HjFL0pWeodvY0y2lO/hnSq1yKfQMJ6LuI0zhvx/mainCtaButtonOverrides.js", "ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/UVRHyToZgSgjkLlsS1OA/c2eNnjG0q7DC7kYaQ0dY/CalmLogoTest.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";export function upperGetMyPickleCtaOverrides(Component){return props=>{const handleClick=()=>{// 1) PostHog \uC774\uBCA4\uD2B8 \uD2B8\uB798\uD0B9\nwindow.posthog.capture(\"user_click_button\",{section:\"upperMenu\",button_label:\"getMyPickle\",navigation:\"webApp\"});// 2) \uC6D0\uB798 onClick (\uAE30\uC874 \uBC84\uD2BC \uAE30\uB2A5)\uC744 \uD638\uCD9C\nprops?.onClick?.();};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function upperSignInCtaOverrides(Component){return props=>{const handleClick=()=>{// 1) PostHog \uC774\uBCA4\uD2B8 \uD2B8\uB798\uD0B9\nwindow.posthog.capture(\"user_click_button\",{section:\"upperMenu\",button_label:\"signIn\",navigation:\"webApp\"});// 2) \uC6D0\uB798 onClick (\uAE30\uC874 \uBC84\uD2BC \uAE30\uB2A5)\uC744 \uD638\uCD9C\nprops?.onClick?.();};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function videoClipGetMyPickleCtaOverrides(Component){return props=>{const handleClick=()=>{// 1) PostHog \uC774\uBCA4\uD2B8 \uD2B8\uB798\uD0B9\nwindow.posthog.capture(\"user_click_button\",{section:\"videoClip\",button_label:\"getMyPickle\",navigation:\"webApp\"});// 2) \uC6D0\uB798 onClick (\uAE30\uC874 \uBC84\uD2BC \uAE30\uB2A5)\uC744 \uD638\uCD9C\nprops?.onClick?.();};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function bottomGetMyPickleCtaOverrides(Component){return props=>{const handleClick=()=>{// 1) PostHog \uC774\uBCA4\uD2B8 \uD2B8\uB798\uD0B9\nwindow.posthog.capture(\"user_click_button\",{section:\"bottom\",button_label:\"getMyPickle\",navigation:\"webApp\"});// 2) \uC6D0\uB798 onClick (\uAE30\uC874 \uBC84\uD2BC \uAE30\uB2A5)\uC744 \uD638\uCD9C\nprops?.onClick?.();};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"videoClipGetMyPickleCtaOverrides\":{\"type\":\"reactHoc\",\"name\":\"videoClipGetMyPickleCtaOverrides\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upperGetMyPickleCtaOverrides\":{\"type\":\"reactHoc\",\"name\":\"upperGetMyPickleCtaOverrides\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"bottomGetMyPickleCtaOverrides\":{\"type\":\"reactHoc\",\"name\":\"bottomGetMyPickleCtaOverrides\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upperSignInCtaOverrides\":{\"type\":\"reactHoc\",\"name\":\"upperSignInCtaOverrides\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./mainCtaButtonOverrides.map", "import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withClick(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{window.location.href=\"https://getpickle.ai\";setTimeout(()=>{window.location.reload();},500)// 0.5\uCD08 \uD6C4 \uC0C8\uB85C\uACE0\uCE68 \uD6A8\uACFC\n;}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withClick\":{\"type\":\"reactHoc\",\"name\":\"withClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CalmLogoTest.map"],
  "mappings": "gHAAkD,SAASA,EAA6BC,EAAU,CAAC,OAAOC,GAEjEC,EAAKF,EAAU,CAAC,GAAGC,EAAM,QAFkE,IAAI,CACxIE,EAAO,QAAQ,QAAQ,oBAAoB,CAAC,QAAQ,YAAY,aAAa,cAAc,WAAW,QAAQ,CAAC,EAC/GF,GAAO,UAAU,CAAE,CAAkE,CAAC,CAAI,CAEQ,SAASG,EAAiCC,EAAU,CAAC,OAAOC,GAErHC,EAAKF,EAAU,CAAC,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AAC,OAAOE,CAAS,CCd9C,IAAMM,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAAS,SAASC,EAAUC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAACE,EAAO,SAAS,KAAK,uBAAuB,WAAW,IAAI,CAACA,EAAO,SAAS,OAAO,CAAE,EAAE,GAAG,CAC1P,CAAC,CAAC,CAAI",
  "names": ["upperGetMyPickleCtaOverrides", "Component", "props", "p", "window", "videoClipGetMyPickleCtaOverrides", "Component", "props", "p", "window", "bottomGetMyPickleCtaOverrides", "createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "useStore", "createStore", "withClick", "Component", "props", "p", "window"]
}
