{"version":3,"file":"shared-lib.5Q5aR0aD.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/M80W6qiPU3Psa2JiQs0m/Eq1mwJvr2X29RTNV7MAo/Text_Blur.js","https:/framerusercontent.com/modules/8BmYHoKZqPWtOBobkKbv/77QFpIPpQdlaDZiR9gFN/FrostedFrame.js","https:/framerusercontent.com/modules/fvvBEvUiHbjl6HHDsRDA/TuKISMlAMZusR4ONqFbe/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{animate,useMotionValue,useMotionTemplate}from\"framer-motion\";export function withTextBlurHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const baseBlur=0;const hoverBlur=5;const blur=useMotionValue(baseBlur);const filter=useMotionTemplate`blur(${blur}px)`;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style??{},filter,WebkitFilter:filter,willChange:\"filter\"},onHoverStart:e=>{props.onHoverStart?.(e);animate(blur,hoverBlur,{duration:.75,ease:\"easeOut\"});},onHoverEnd:e=>{props.onHoverEnd?.(e);animate(blur,baseBlur,{duration:.25,ease:\"easeOut\"});}});});}// 반대 버전: 기본 blur, hover 하면 선명\nexport function withTextBlurRevealHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const baseBlur=12;const hoverBlur=0;const blur=useMotionValue(baseBlur);const filter=useMotionTemplate`blur(${blur}px)`;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style??{},filter,WebkitFilter:filter,willChange:\"filter\"},onHoverStart:e=>{props.onHoverStart?.(e);animate(blur,hoverBlur,{duration:.35,ease:\"easeOut\"});},onHoverEnd:e=>{props.onHoverEnd?.(e);animate(blur,baseBlur,{duration:.35,ease:\"easeOut\"});}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withTextBlurHover\":{\"type\":\"reactHoc\",\"name\":\"withTextBlurHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextBlurRevealHover\":{\"type\":\"reactHoc\",\"name\":\"withTextBlurRevealHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Blur.map","// Persistent overlay frame whose blur region dynamically updates in real time as the frame is resized\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FrostedFrame(props){const{blurAmount,frameColor,frameOpacity,borderRadius,borderWidth,borderColor,shadowIntensity,blurSpread,blurDirection,style}=props;// Memoize computed values to prevent recalculations\nconst computedStyles=useMemo(()=>{const hexOpacity=Math.round(frameOpacity*255).toString(16).padStart(2,\"0\");const backgroundColor=`${frameColor}${hexOpacity}`;const boxShadow=`0 ${shadowIntensity*4}px ${shadowIntensity*16}px rgba(0, 0, 0, ${shadowIntensity*.08})`;return{backgroundColor,boxShadow};},[frameColor,frameOpacity,shadowIntensity]);// Directional mask gradient\nconst maskGradient=useMemo(()=>{const inner=Math.max(0,50-blurSpread/2);const outer=Math.min(100,50+blurSpread);if(blurDirection===\"vertical\"){// blur fades out to top/bottom\nreturn`linear-gradient(to bottom, transparent 0%, black ${inner}%, black ${100-inner}%, transparent 100%)`;}if(blurDirection===\"horizontal\"){// blur fades out to left/right\nreturn`linear-gradient(to right, transparent 0%, black ${inner}%, black ${100-inner}%, transparent 100%)`;}// radial (default)\nreturn`radial-gradient(ellipse at center, black 0%, black ${inner}%, transparent ${outer}%)`;},[blurDirection,blurSpread]);return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:style?.width||\"100%\",height:style?.height||\"100%\",overflow:\"visible\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`${-blurSpread}%`,left:`${-blurSpread}%`,right:`${-blurSpread}%`,bottom:`${-blurSpread}%`,backdropFilter:`blur(${blurAmount}px)`,WebkitBackdropFilter:`blur(${blurAmount}px)`,maskImage:maskGradient,WebkitMaskImage:maskGradient,willChange:\"backdrop-filter\",contain:\"layout style paint\",transform:\"translateZ(0)\",pointerEvents:\"none\",userSelect:\"none\",WebkitUserSelect:\"none\",touchAction:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,backgroundColor:computedStyles.backgroundColor,borderRadius:borderRadius,border:`${borderWidth}px solid ${borderColor}`,boxShadow:computedStyles.boxShadow,pointerEvents:\"none\",userSelect:\"none\",WebkitUserSelect:\"none\",touchAction:\"none\"}})]});}addPropertyControls(FrostedFrame,{blurAmount:{type:ControlType.Number,title:\"Blur\",defaultValue:12,min:0,max:40,step:1,unit:\"px\"},blurDirection:{type:ControlType.Enum,title:\"Direction\",defaultValue:\"radial\",options:[\"radial\",\"vertical\",\"horizontal\"],optionTitles:[\"Radial\",\"Up/Down\",\"Left/Right\"]},frameColor:{type:ControlType.Color,title:\"Frame Color\",defaultValue:\"#FFFFFF\"},frameOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:.3,min:0,max:1,step:.05},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:40,step:1,unit:\"px\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:8,step:1,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\"},shadowIntensity:{type:ControlType.Number,title:\"Shadow\",defaultValue:2,min:0,max:5,step:.5},blurSpread:{type:ControlType.Number,title:\"Blur Spread\",defaultValue:30,min:0,max:100,step:5,unit:\"%\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrostedFrame\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FrostedFrame.map","// Generated by Framer (656a448)\nexport default function metadata(params,activeLocale){return{description:\"Jiwon Jung's Portfolio\",favicon:\"https://framerusercontent.com/assets/SnJ6zHzYjsxSPxyLAZC6QWhfpcM.png\",robots:\"max-image-preview:large\",title:\"Jiwon Jung\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"uPAA6I,SAAgB,EAAkB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAyC,EAAK,EAAe,EAAS,CAAO,EAAO,CAAiB,QAAQ,EAAK,KAAK,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,OAAO,EAAE,CAAC,SAAO,aAAa,EAAO,WAAW,SAAS,CAAC,aAAa,GAAG,CAAC,EAAM,eAAe,EAAE,CAAC,EAAQ,EAAK,EAAU,CAAC,SAAS,IAAI,KAAK,UAAU,CAAC,EAAG,WAAW,GAAG,CAAC,EAAM,aAAa,EAAE,CAAC,EAAQ,EAAK,EAAS,CAAC,SAAS,IAAI,KAAK,UAAU,CAAC,EAAG,CAAC,EAAG,kBAAnnB,IAA8B,IAAoE,ICI1I,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,aAAW,aAAW,eAAa,eAAa,cAAY,cAAY,kBAAgB,aAAW,gBAAc,SAAO,EACvK,EAAeA,OAA0P,CAAC,gBAA7I,GAAG,IAAnF,KAAK,MAAM,EAAa,IAAI,CAAC,SAAS,GAAG,CAAC,SAAS,EAAE,IAAI,GAAoL,UAAhH,KAAK,EAAgB,EAAE,KAAK,EAAgB,GAAG,mBAAmB,EAAgB,IAAI,GAAoC,EAAG,CAAC,EAAW,EAAa,EAAgB,CAAC,CACjV,EAAaA,MAAY,CAAC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