{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/MXo8nyBttaTuOW8kgqeR/MNlrKHp3DhRA7JB8vDo5/Cursor.js", "ssg:https://framerusercontent.com/modules/77SPnRGzLhpYcVyrexZf/YprLwCIbeGDaktHjHrww/J7t4sQPjx.js"],
  "sourcesContent": ["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{useEffect,useState,useRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({backgroundVariant:\"default\",iconVariant:\"default\",boxWidth:0,boxHeight:0});export function withVariant(Component){return props=>{const[mousePosition,setMousePosition]=useState({x:0,y:0});const[store,setStore]=useStore();useEffect(()=>{const mouseMove=e=>{setMousePosition({x:e.clientX,y:e.clientY});};window.addEventListener(\"mousemove\",mouseMove);return()=>{window.removeEventListener(\"mousemove\",mouseMove);};},[]);const getHalf=size=>size>0?size/2:0;const variants={default:{x:mousePosition.x-4,y:mousePosition.y-4,background:\"rgba(255, 255, 255, 1)\",mixBlendMode:\"difference\",backdropFilter:\"blur(0px)\",width:10,height:10},seeProject:{background:\"rgba(0, 0, 0, 1)\",x:mousePosition.x-182/2,mixBlendMode:\"initial\",y:mousePosition.y-64/2,width:182,height:64},next:{background:\"rgba(0, 0, 15, 1)\",x:mousePosition.x-142/2,mixBlendMode:\"initial\",y:mousePosition.y-64/2,width:142,height:64},external:{mixBlendMode:\"initial\",background:\"rgba(255, 255, 255, 1)\",x:mousePosition.x-25,y:mousePosition.y-25,width:50,height:50}};useEffect(()=>{setStore(prev=>({...prev,backgroundVariant:\"default\",iconVariant:\"default\"}));},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{pointerEvents:\"none\"},variants:variants,animate:store.backgroundVariant,transition:{x:{type:\"spring\",shiftness:900,mass:.01},y:{type:\"spring\",shiftness:900,mass:.01}}});};}export function withVariantSeeProject(Component){return props=>{const[store,setStore]=useStore();const variants={default:{scale:0,opacity:0},show:{scale:1,opacity:1}};const boxRef=useRef(null);const seeType=store.backgroundVariant===\"seeProject\"?\"show\":\"default\";useEffect(()=>{if(boxRef.current){const sizes=boxRef.current.getBoundingClientRect();setStore(prev=>{return{...prev,seeProject:{boxHeight:(sizes===null||sizes===void 0?void 0:sizes.height)||0,boxWidth:(sizes===null||sizes===void 0?void 0:sizes.width)||0}};});}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:boxRef,variants:variants,animate:seeType});};}export function withVariantNext(Component){return props=>{const[store,setStore]=useStore();const variants={default:{scale:0,opacity:0},show:{scale:1,opacity:1}};const boxRef=useRef(null);const seeType=store.backgroundVariant===\"next\"?\"show\":\"default\";useEffect(()=>{if(boxRef.current){const sizes=boxRef.current.getBoundingClientRect();setStore(prev=>{return{...prev,next:{boxHeight:(sizes===null||sizes===void 0?void 0:sizes.height)||0,boxWidth:(sizes===null||sizes===void 0?void 0:sizes.width)||0}};});}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:boxRef,variants:variants,animate:seeType});};}export function withVariantExternal(Component){return props=>{const[store,setStore]=useStore();const variants={default:{scale:0,opacity:0},show:{scale:1,opacity:1}};const isShowed=store.backgroundVariant===\"external\"?\"show\":\"default\";const boxRef=useRef(null);return /*#__PURE__*/_jsx(Component,{...props,ref:boxRef,variants:variants,animate:isShowed});};}export function withHoverSeeProject(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onMouseEnter:()=>{setStore(prev=>({...prev,backgroundVariant:\"seeProject\",iconVariant:\"seeProject\"}));},onMouseLeave:()=>{setStore(prev=>({...prev,backgroundVariant:\"default\",iconVariant:\"default\"}));}});};}export function withHoverNext(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onMouseEnter:()=>{setStore(prev=>({...prev,backgroundVariant:\"next\",iconVariant:\"next\"}));},onMouseLeave:()=>{setStore(prev=>({...prev,backgroundVariant:\"default\",iconVariant:\"default\"}));}});};}export function withHoverExternal(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onMouseEnter:()=>{setStore(prev=>({...prev,backgroundVariant:\"external\",iconVariant:\"external\"}));},onMouseLeave:()=>{setStore(prev=>({...prev,backgroundVariant:\"default\",iconVariant:\"default\"}));}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withVariantExternal\":{\"type\":\"reactHoc\",\"name\":\"withVariantExternal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverNext\":{\"type\":\"reactHoc\",\"name\":\"withHoverNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverSeeProject\":{\"type\":\"reactHoc\",\"name\":\"withHoverSeeProject\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverExternal\":{\"type\":\"reactHoc\",\"name\":\"withHoverExternal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVariantNext\":{\"type\":\"reactHoc\",\"name\":\"withVariantNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVariant\":{\"type\":\"reactHoc\",\"name\":\"withVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withVariantSeeProject\":{\"type\":\"reactHoc\",\"name\":\"withVariantSeeProject\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cursor.map", "import{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;APK Protocol Medium Trial\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"APK Protocol Medium Trial\",source:\"custom\",url:\"https://framerusercontent.com/assets/0DpmG5SL4jfOUWUVyw23C6xeRMI.woff2\"}]}];export const css=['.framer-3F3fH .framer-styles-preset-2g9h4t:not(.rich-text-wrapper), .framer-3F3fH .framer-styles-preset-2g9h4t.rich-text-wrapper h5 { --framer-font-family: \"APK Protocol Medium Trial\", \"APK Protocol Medium Trial Placeholder\", sans-serif; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #333333; --framer-text-decoration: none; --framer-text-transform: none; }'];export const className=\"framer-3F3fH\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\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A,EAAK,kBAAkB,aAAa,YAAY,YAAY,EAAE,CAAE,EAAE,aAAa,IAAI,CAACH,EAASG,IAAO,CAAC,GAAGA,EAAK,kBAAkB,UAAU,YAAY,SAAS,EAAE,CAAE,CAAC,CAAC,CAAE,CAAE,CAAiV,SAASC,EAAkBC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,EAAE,OAAoBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,aAAa,IAAI,CAACE,EAASG,IAAO,CAAC,GAAGA,EAAK,kBAAkB,WAAW,YAAY,UAAU,EAAE,CAAE,EAAE,aAAa,IAAI,CAACH,EAASG,IAAO,CAAC,GAAGA,EAAK,kBAAkB,UAAU,YAAY,SAAS,EAAE,CAAE,CAAC,CAAC,CAAE,CAAE,CCDv2HC,EAAU,UAAU,CAAC,kCAAkC,CAAC,EAAS,IAAMC,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,4BAA4B,OAAO,SAAS,IAAI,wEAAwE,CAAC,CAAC,CAAC,EAAeC,EAAI,CAAC,6hBAA6hB,EAAeC,EAAU",
  "names": ["createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "useStore", "createStore", "withHoverSeeProject", "Component", "props", "store", "setStore", "useStore", "p", "prev", "withHoverExternal", "Component", "props", "store", "setStore", "useStore", "p", "prev", "fontStore", "fonts", "css", "className"]
}
