{"version":3,"file":"shared-lib.CPIsPYV9.mjs","names":["useState","_Fragment","useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/IFe4BaOBNuoaMGJUf0R6/rgjtHh5znSsIwmjXF2Ln/CopyButton.js","https:/framerusercontent.com/modules/kFvtgN6ZS8Ph8FICs1Jw/eU0IPqfFSOH8fPCj94gq/HeroPaddingLeft.js","https:/framerusercontent.com/modules/4z3OPWgDzpNSGCYvWOjx/0NW5RXkxKVFyqSMJUs2J/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState}from\"react\";export default function CopyEmailButton(props){const[copied,setCopied]=useState(false);const[animKey,setAnimKey]=useState(0);function handleClick(){navigator.clipboard.writeText(\"hello@alexhawthorne.com\");setCopied(true);setAnimKey(function(k){return k+1;});setTimeout(function(){setCopied(false);},1500);}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        .copy-btn-glass {\n          display: flex;\n          align-items: center;\n          justify-content: center;\n          width: 56px;\n          height: 56px;\n          position: relative;\n          background: transparent;\n          cursor: pointer;\n          border: none;\n          padding: 0;\n        }\n        .copy-icon-layer, .check-icon-layer {\n          position: absolute;\n          top: 0;\n          left: 0;\n          width: 100%;\n          height: 100%;\n          display: flex;\n          align-items: center;\n          justify-content: center;\n          transition: opacity 0.35s ease;\n        }\n        .copy-icon-layer {\n          opacity: 1;\n        }\n        .copy-icon-layer.hidden {\n          opacity: 0;\n        }\n        .check-icon-layer {\n          opacity: 0;\n        }\n        .check-icon-layer.visible {\n          opacity: 1;\n        }\n        @keyframes reveal-check {\n          from { width: 0; }\n          to { width: 16px; }\n        }\n        .check-reveal-rect {\n          animation: reveal-check 0.45s ease forwards;\n        }\n        .icon-path {\n          fill: #e8e566;\n          transition: fill 0.3s ease;\n        }\n        .copy-btn-glass:hover .icon-path {\n          fill: #fff;\n        }\n      `}),/*#__PURE__*/_jsxs(\"button\",{className:\"copy-btn-glass\",onClick:handleClick,\"aria-label\":\"Copy email address\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"copy-icon-layer\"+(copied?\" hidden\":\"\"),children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:22,height:22,style:{transform:\"scaleX(-1)\",position:\"relative\",zIndex:2},children:[/*#__PURE__*/_jsx(\"path\",{className:\"icon-path\",fillRule:\"evenodd\",clipRule:\"evenodd\",style:{filter:\"drop-shadow(0 0 6px rgba(232,229,102,0.2)) drop-shadow(0 0 16px rgba(232,229,102,0.1)) drop-shadow(0 1px 2px rgba(0,0,0,0.25))\"},d:\"M0 2C0 0.895429 0.895431 0 2 0h14c1.1046 0 2 0.895432 2 2v1.5c0 0.55228 -0.4477 1 -1 1s-1 -0.44772 -1 -1V2L2 2v14h1.5c0.55228 0 1 0.4477 1 1s-0.44772 1 -1 1H2c-1.10457 0 -2 -0.8954 -2 -2V2Z\"}),/*#__PURE__*/_jsx(\"path\",{className:\"icon-path\",fillRule:\"evenodd\",clipRule:\"evenodd\",style:{filter:\"drop-shadow(0 0 6px rgba(232,229,102,0.2)) drop-shadow(0 0 16px rgba(232,229,102,0.1)) drop-shadow(0 1px 2px rgba(0,0,0,0.25))\"},d:\"M8 6c-1.10457 0 -2 0.89543 -2 2v14c0 1.1046 0.89543 2 2 2h14c1.1046 0 2 -0.8954 2 -2V8c0 -1.10457 -0.8954 -2 -2 -2H8Z\"})]})}),/*#__PURE__*/_jsx(\"div\",{className:\"check-icon-layer\"+(copied?\" visible\":\"\"),children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 16 16\",width:22,height:22,style:{position:\"relative\",zIndex:2,overflow:\"visible\"},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"clipPath\",{id:\"check-clip-\"+animKey,children:/*#__PURE__*/_jsx(\"rect\",{className:\"check-reveal-rect\",x:\"0\",y:\"0\",width:\"0\",height:\"16\"})})}),/*#__PURE__*/_jsx(\"path\",{className:\"icon-path\",clipPath:\"url(#check-clip-\"+animKey+\")\",style:{filter:\"drop-shadow(0 0 6px rgba(232,229,102,0.2)) drop-shadow(0 0 16px rgba(232,229,102,0.1)) drop-shadow(0 1px 2px rgba(0,0,0,0.25))\"},d:\"M15.511910714285714 2.7278392857142855c0.4374535714285714 0.43744999999999995 0.4374535714285714 1.1478714285714284 0 1.5853214285714285l-8.959 8.959c-0.43744999999999995 0.4374535714285714 -1.1478714285714284 0.4374535714285714 -1.5853214285714285 0l-4.4795 -4.4795c-0.4374535714285714 -0.43744999999999995 -0.4374535714285714 -1.1478714285714284 0 -1.5853214285714285s1.1478714285714284 -0.4374535714285714 1.5853214285714285 0L5.7620000000000005 10.892428571428571 13.930089285714285 2.7278392857142855c0.43744999999999995 -0.4374535714285714 1.1478714285714284 -0.4374535714285714 1.5853214285714285 0Z\"})]},animKey)})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CopyEmailButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CopyButton.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function AlignWithGallery(props){const[leftPad,setLeftPad]=useState(\"120px\");const[opacity,setOpacity]=useState(0);const[hasMounted,setHasMounted]=useState(false);useEffect(()=>{const updatePadding=()=>{const vw=window.innerWidth;const calculated=Math.max(vw*.0625,(vw-1250)/2);setLeftPad(calculated+\"px\");};updatePadding();const timeout=setTimeout(()=>{updatePadding();setOpacity(1);setHasMounted(true);},16);window.addEventListener(\"resize\",updatePadding);return()=>{window.removeEventListener(\"resize\",updatePadding);clearTimeout(timeout);};},[]);return{style:{marginLeft:\"0px\",paddingLeft:leftPad,boxSizing:\"border-box\",width:\"100%\",opacity:opacity,transition:hasMounted?\"opacity 0.12s ease-out\":\"none\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withAlignWithGallery(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...AlignWithGallery(props)});};}withAlignWithGallery.displayName=\"AlignWithGallery\";\nexport const __FramerMetadata__ = {\"exports\":{\"withAlignWithGallery\":{\"type\":\"reactHoc\",\"name\":\"withAlignWithGallery\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AlignWithGallery\":{\"type\":\"override\",\"name\":\"AlignWithGallery\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroPaddingLeft.map","// Generated by Framer (e0e363b)\nexport default function metadata(params,activeLocale){return{description:\"User experience design expert.\",favicon:\"https://framerusercontent.com/assets/MPAKBfgOJQSBWxeuoodiLiijuXU.jpg\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/GCijv8egOE5XfzkwXaksFipTUts.jpg\",title:\"Alex Hawthorne, UX\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+MAA2G,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,EAAO,GAAWA,EAAS,EAAK,EAAO,CAAC,EAAQ,GAAYA,EAAS,CAAC,EAAE,SAAS,GAAa,CAAC,EAAU,UAAU,UAAU,yBAAyB,EAAE,EAAU,EAAI,EAAE,EAAW,SAAS,EAAE,CAAC,OAAO,EAAE,CAAE,CAAC,EAAE,WAAW,UAAU,CAAC,EAAU,EAAK,CAAE,EAAE,IAAI,CAAE,CAAC,OAAoB,EAAMC,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,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