{"version":3,"file":"shared-lib.BcJAcOIv.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/zjS9XA0RIqA0uaKamnW6/eGKL7lcPbdr9x0CQW8GF/Name_Reveal.js","https:/framerusercontent.com/modules/Tg7RjYBWKOgb02X1Y3Yw/WOw7E1YTtRLaOkMpziiw/zQbtgapPG.js","https:/framerusercontent.com/modules/jxmVKMhBqxynHzG8XgGa/G3mQpV9XAg3kmVqMFtmS/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";/**\n * NAME REVEAL\n * Faehrt beim Hover von \"JL\" zu \"Justus Linnekugel\" auf.\n * Das L bleibt dasselbe: es ist das L von JL UND das letzte L von Linnekugel.\n *\n * @framerSupportedLayoutWidth auto-height\n * @framerSupportedLayoutHeight auto-height\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 60\n */export default function NameReveal(props){const{prefix,middle,suffix,href,newTab,font,weight,size,color,duration}=props;const[open,setOpen]=useState(false);const wrap={display:\"inline-flex\",alignItems:\"baseline\",fontFamily:font,fontWeight:weight,fontSize:size,color:color,lineHeight:1,whiteSpace:\"nowrap\",textDecoration:\"none\",cursor:\"pointer\"};const mid={display:\"grid\",gridTemplateColumns:open?\"1fr\":\"0fr\",transition:`grid-template-columns ${duration}s cubic-bezier(0.65, 0, 0.35, 1)`};const midInner={overflow:\"hidden\",paddingBlock:\"0.2em\",marginBlock:\"-0.2em\"};return /*#__PURE__*/_jsxs(\"a\",{style:wrap,href:href||undefined,target:newTab?\"_blank\":undefined,rel:newTab?\"noopener noreferrer\":undefined,onMouseEnter:()=>setOpen(true),onMouseLeave:()=>setOpen(false),onFocus:()=>setOpen(true),onBlur:()=>setOpen(false),children:[/*#__PURE__*/_jsx(\"span\",{children:prefix}),/*#__PURE__*/_jsx(\"span\",{style:mid,children:/*#__PURE__*/_jsx(\"span\",{style:midInner,children:middle})}),/*#__PURE__*/_jsx(\"span\",{children:suffix})]});}NameReveal.defaultProps={prefix:\"J\",middle:\"ustus Linnekuge\",suffix:\"L\",href:\"\",newTab:false,font:\"Georgia, serif\",weight:\"600\",size:48,color:\"#1b1b1b\",duration:.6};addPropertyControls(NameReveal,{prefix:{type:ControlType.String,title:\"Anfang\"},middle:{type:ControlType.String,title:\"Mitte\"},suffix:{type:ControlType.String,title:\"Ende\"},href:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"Neuer Tab\"},font:{type:ControlType.String,title:\"Schriftart\"},weight:{type:ControlType.Enum,title:\"Schnitt\",options:[\"300\",\"400\",\"500\",\"600\",\"700\",\"800\"],optionTitles:[\"Light\",\"Regular\",\"Medium\",\"SemiBold\",\"Bold\",\"ExtraBold\"]},size:{type:ControlType.Number,title:\"Groesse\",min:8,max:200,step:1,unit:\"px\"},color:{type:ControlType.Color,title:\"Farbe\"},duration:{type:ControlType.Number,title:\"Dauer\",min:.1,max:3,step:.1,unit:\"s\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NameReveal\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto-height\",\"framerSupportedLayoutWidth\":\"auto-height\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"60\",\"framerIntrinsicWidth\":\"320\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Name_Reveal.map","// Generated by Framer (80f113d)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-zpzK1 .framer-styles-preset-17om2r7:not(.rich-text-wrapper), .framer-zpzK1 .framer-styles-preset-17om2r7.rich-text-wrapper a { --framer-link-current-text-color: var(--token-85cc270d-4d2d-4746-b099-dac50d519a76, #f8cec8); --framer-link-hover-text-color: #000000; --framer-link-hover-text-decoration: line-through; --framer-link-hover-text-decoration-color: var(--token-85cc270d-4d2d-4746-b099-dac50d519a76, #f8cec8) /* {\"name\":\"Akzentfarbe 2\"} */; --framer-link-hover-text-decoration-style: solid; --framer-link-hover-text-decoration-thickness: 3px; --framer-link-text-color: #000000; --framer-link-text-decoration: none; }'];export const className=\"framer-zpzK1\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (80f113d)\nexport default function metadata(params,activeLocale){return{description:\"Artist based in Hannover\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/ZEOYZVnuiUbwJ2Ob7WKSPDdxoUc.png\",title:\"Justus Linnekugel – Portfolio\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wLASG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,SAAO,SAAO,SAAO,OAAK,SAAO,OAAK,SAAO,OAAK,QAAM,YAAU,EAAW,CAAC,EAAK,GAASA,EAAS,EAAK,EAAQ,EAAK,CAAC,QAAQ,cAAc,WAAW,WAAW,WAAW,EAAK,WAAW,EAAO,SAAS,EAAW,QAAM,WAAW,EAAE,WAAW,SAAS,eAAe,OAAO,OAAO,SAAS,EAAQ,EAAI,CAAC,QAAQ,OAAO,oBAAoB,EAAK,MAAM,MAAM,WAAW,yBAAyB,EAAS,iCAAiC,EAA+E,OAAoB,EAAM,IAAI,CAAC,MAAM,EAAK,KAAK,GAAM,IAAA,GAAU,OAAO,EAAO,SAAS,IAAA,GAAU,IAAI,EAAO,sBAAsB,IAA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