{"version":3,"file":"WithWorkRowTitleUnderline.B4ELNrZ9.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/6oaWoI0LVDoJiKSjghF1/UyXWhNAiMr0AsDo39JMp/WithIndexNumbers.js","https:/framerusercontent.com/modules/PSu3ljjGKswCF19dl6Vn/gUqgQSr6Brgfe5zRGdQK/WithWorkRowTitleUnderline.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";// Numbers a repeated CMS list as a printed index (01, 02, …) via a CSS counter.\n// Desktop/tablet only (>=810px); phone stays plain. Applied to the list container.\nexport function withIndexNumbers(Component){return function IndexNumbers(props){const className=[\"vs-worklist\",props?.className].filter(Boolean).join(\" \");return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n.vs-worklist { counter-reset: vswork; }\n@media (min-width: 810px) {\n  .vs-worklist > * { counter-increment: vswork; position: relative; }\n  .vs-worklist > *::before {\n    content: counter(vswork, decimal-leading-zero);\n    position: absolute;\n    left: 0;\n    top: 36px;\n    font-family: \"Geist Mono\", ui-monospace, monospace;\n    font-weight: 400;\n    font-size: 22px;\n    line-height: 1;\n    color: #8a8a8a;\n    letter-spacing: 0;\n  }\n  .vs-worklist > * > *:last-child { padding-left: 88px !important; }\n}\n`}),/*#__PURE__*/_jsx(Component,{...props,className:className})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withIndexNumbers\":{\"type\":\"reactHoc\",\"name\":\"withIndexNumbers\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithIndexNumbers.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Underlines the work-card title (the h3) in Foreground Muted when the whole\n// row is hovered, without moving the row. Applied to the card link layer.\n//\n// Touch handling: a raw `:hover` rule latches on touch devices (it stays lit\n// until you tap elsewhere, which looks stuck after the tap navigates away). So\n// hover is gated to real pointer devices, and touch gets a press state via\n// `:active` that lights only while the finger is down and releases cleanly.\nconst STYLE_ID=\"work-row-title-underline-style\";const UNDERLINE=`\n    text-decoration: underline;\n    text-decoration-color: var(--token-ac64408d-d250-4000-a417-37d6ca96530b, rgb(107, 106, 100));\n    text-decoration-thickness: 2px;\n    text-underline-offset: 8px;`;const CSS=`\n@media (hover: hover) and (pointer: fine) {\n    .work-row-title-underline:hover h3 {${UNDERLINE}\n    }\n}\n.work-row-title-underline:active h3 {${UNDERLINE}\n}`;export function withWorkRowTitleUnderline(Component){return props=>{useEffect(()=>{if(typeof document===\"undefined\")return;const existing=document.getElementById(STYLE_ID);if(existing){existing.textContent=CSS;return;}const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=CSS;document.head.appendChild(style);},[]);const className=[\"work-row-title-underline\",props.className].filter(Boolean).join(\" \");return /*#__PURE__*/_jsx(Component,{...props,className:className});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withWorkRowTitleUnderline\":{\"type\":\"reactHoc\",\"name\":\"withWorkRowTitleUnderline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithWorkRowTitleUnderline.map"],"mappings":"gIAEA,SAAgB,EAAiB,EAAU,CAAC,OAAO,SAAsB,EAAM,CAAC,IAAM,EAAU,CAAC,cAAc,GAAO,UAAU,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,CAAC,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;EAkB5O,CAAC,CAAc,EAAK,EAAU,CAAC,GAAG,EAAgB,YAAU,CAAC,CAAC,CAAC,CAAC,mBApBa,ICiB5E,SAAgB,EAA0B,EAAU,CAAC,MAAO,IAAO,CAAC,MAAc,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAM,EAAS,SAAS,eAAe,EAAS,CAAC,GAAG,EAAS,CAAC,EAAS,YAAY,EAAI,OAAQ,IAAM,EAAM,SAAS,cAAc,QAAQ,CAAC,EAAM,GAAG,EAAS,EAAM,YAAY,EAAI,SAAS,KAAK,YAAY,EAAM,EAAG,EAAE,CAAC,CAAC,IAAM,EAAU,CAAC,2BAA2B,EAAM,UAAU,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAgB,YAAU,CAAC,yBAjBtc,IAA6B,CAOlE,EAAS,iCAAuC,EAAU;;;;iCAIzB,EAAI;;0CAED,EAAU;;;uCAGb,EAAU"}