{"version":3,"file":"shared-lib.GhXVGCIT.mjs","names":["useRef","CSS","useState"],"sources":["https:/framerusercontent.com/modules/6oJcxM0UYFAsnim0rfk4/5CYWkbMwbvUPV23z033H/Cursor.js","https:/framerusercontent.com/modules/9eKovGmKXIOugQyAwHfm/QEZpjg8GMDCozdhuftke/Preloader.js","https:/framerusercontent.com/modules/6eOvYDxPYoJBXEn8zd71/XpMABZaCgsXP1LdcAvCd/siteMetadata.js"],"sourcesContent":["// Cursor.tsx\n// Global cursor overlay. Drop ONCE per page.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function Cursor(props){const{enabled,label,style}=props;const blobRef=useRef(null);const labelRef=useRef(null);useEffect(()=>{if(!enabled)return;const blob=blobRef.current;const lab=labelRef.current;if(!blob||!lab)return;const fine=window.matchMedia(\"(hover: hover) and (pointer: fine)\").matches;if(!fine)return;let bx=0,by=0,tx=0,ty=0,raf=0;const move=e=>{tx=e.clientX;ty=e.clientY;const el=e.target;const interactive=el&&el.closest?el.closest(\"a, button, [data-cursor]\"):null;const wantsView=el&&el.closest?el.closest('[data-cursor=\"view\"]'):null;if(interactive)blob.classList.add(\"hover\");else blob.classList.remove(\"hover\");if(wantsView){lab.classList.add(\"show\");lab.style.left=e.clientX+\"px\";lab.style.top=e.clientY+\"px\";}else{lab.classList.remove(\"show\");}};const loop=()=>{bx+=(tx-bx)*.18;by+=(ty-by)*.18;blob.style.transform=\"translate(\"+bx+\"px,\"+by+\"px) translate(-50%,-50%)\";raf=requestAnimationFrame(loop);};window.addEventListener(\"mousemove\",move);raf=requestAnimationFrame(loop);return()=>{window.removeEventListener(\"mousemove\",move);cancelAnimationFrame(raf);};},[enabled]);if(!enabled)return null;return /*#__PURE__*/_jsxs(\"div\",{className:\"pf-cur\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsx(\"div\",{className:\"cursor-blob\",ref:blobRef}),/*#__PURE__*/_jsx(\"div\",{className:\"cursor-label\",ref:labelRef,children:label})]});}Cursor.defaultProps={enabled:true,label:\"VIEW\"};addPropertyControls(Cursor,{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true},label:{type:ControlType.String,title:\"Hover Label\"}});const CSS=`\n@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');\n\n.pf-cur, .pf-cur * { box-sizing: border-box; }\n\n.pf-cur .cursor-blob {\n  position: fixed; top: 0; left: 0;\n  width: 26px; height: 26px; border-radius: 50%;\n  background: #3B82F6;\n  transform: translate(-50%,-50%);\n  pointer-events: none; z-index: 9998;\n  opacity: .45; mix-blend-mode: multiply;\n  transition: width .25s cubic-bezier(.16,1,.3,1),\n              height .25s cubic-bezier(.16,1,.3,1),\n              opacity .25s cubic-bezier(.16,1,.3,1);\n}\n.pf-cur .cursor-blob.hover { width: 74px; height: 74px; opacity: .28; }\n\n.pf-cur .cursor-label {\n  position: fixed; top: 0; left: 0;\n  transform: translate(-50%,-50%);\n  z-index: 9999; pointer-events: none;\n  font-family: 'Space Mono', monospace;\n  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;\n  color: #F5F2EA;\n  opacity: 0; transition: opacity .25s cubic-bezier(.16,1,.3,1);\n}\n.pf-cur .cursor-label.show { opacity: 1; }\n\n@media (hover: none), (max-width: 760px) {\n  .pf-cur .cursor-blob, .pf-cur .cursor-label { display: none; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .pf-cur .cursor-blob, .pf-cur .cursor-label { display: none; }\n}\n`;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Cursor\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cursor.map","// Preloader.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function Preloader(props){const{word,enabled,style}=props;const[done,setDone]=useState(false);useEffect(()=>{if(!enabled){setDone(true);return;}const reduce=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const t=window.setTimeout(()=>setDone(true),reduce?0:1400);return()=>window.clearTimeout(t);},[enabled]);if(!enabled)return null;return /*#__PURE__*/_jsxs(\"div\",{className:\"pf-pre\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"pl-shell\"+(done?\" done\":\"\"),children:[/*#__PURE__*/_jsx(\"div\",{className:\"pl-word\",children:word}),/*#__PURE__*/_jsx(\"div\",{className:\"pl-bar\",children:/*#__PURE__*/_jsx(\"i\",{})})]})]});}Preloader.defaultProps={word:\"Bhagyashree R.\",enabled:true};addPropertyControls(Preloader,{word:{type:ControlType.String,title:\"Word\"},enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true}});const CSS=`\n@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');\n\n.pf-pre, .pf-pre * { box-sizing: border-box; }\n\n.pf-pre .pl-shell {\n  position: fixed; inset: 0; z-index: 9999;\n  background: #0C0C0E;\n  display: flex; flex-direction: column;\n  align-items: center; justify-content: center; gap: 18px;\n  transition: transform .8s cubic-bezier(.16,1,.3,1), opacity .6s ease .2s;\n}\n.pf-pre .pl-shell.done {\n  transform: translateY(-100%);\n  opacity: 0;\n  pointer-events: none;\n}\n.pf-pre .pl-word {\n  font-family: 'Anton', sans-serif;\n  font-size: clamp(28px, 6vw, 52px);\n  color: #F5F2EA;\n  letter-spacing: .01em;\n}\n.pf-pre .pl-bar {\n  width: 200px; height: 2px;\n  background: rgba(245,242,234,.25);\n  border-radius: 2px; overflow: hidden;\n}\n.pf-pre .pl-bar i {\n  display: block; height: 100%; width: 0%;\n  background: #3B82F6;\n  animation: pfPlFill 1.1s cubic-bezier(.16,1,.3,1) forwards;\n}\n@keyframes pfPlFill { from { width: 0%; } to { width: 100%; } }\n\n@media (prefers-reduced-motion: reduce) {\n  .pf-pre .pl-bar i { animation: none; width: 100%; }\n  .pf-pre .pl-shell { transition: none; }\n}\n`;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Preloader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Preloader.map","// Generated by Framer (e376235)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"6MAMG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,UAAQ,QAAM,SAAO,EAAY,EAAQA,EAAO,IAAI,EAAQ,EAASA,EAAO,IAAI,EAA8+B,OAA5+B,MAAc,CAAC,GAAG,CAAC,EAAQ,OAAO,IAAM,EAAK,EAAQ,QAAc,EAAI,EAAS,QAAyG,GAA9F,CAAC,GAAM,CAAC,GAAyF,CAAnE,EAAO,WAAW,oCAAoC,CAAC,CAAC,QAAiB,OAAO,IAAI,EAAG,EAAE,EAAG,EAAE,EAAG,EAAE,EAAG,EAAE,EA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