{"version":3,"file":"ServiceLoop.CmnHkIFw.mjs","names":["React.useState","_Fragment","__esmMin","_e","l","p","c","init_jsx_runtime","init_npm_react_18_3_1","addPropertyControls","init_framer_DKgW_P28","ControlType","init_ServiceMotion","useStill","Mark","drawings","name","GtmEngineeringLoop","guidePath","showGuide","setShowGuide","noteId","visualStyle","style","accent","part","sheet","guideLive","guideURL","event","value","description","parts","copy","init_ServiceLoop"],"sources":["https:/framerusercontent.com/modules/9cXpY9FmZfRnng5nQZY8/bEfnyOcW3H35nFnuu2aY/ServiceLoop.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useStill}from\"https://framerusercontent.com/modules/Lj1jAZ9hwB2cS9pKJgUz/hLIsdhzq7ceJCfGYJLEC/ServiceMotion.js\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const guidePath=\"https://tomasseliokas.com/before-you-hire-a-gtm-engineer\";const description=\"Remember holds what each account said, asked and was promised. It feeds every stage of Act: Data supplies names from lists, enrichment and signals; Sending keeps messages out of spam; Message is checked by a person. Message leads to Prove, which checks what the work produced. An arrow takes what worked back to Remember for the next decision.\";const drawings={Data:\"M4 6.5C4 4.5 7.6 3 12 3s8 1.5 8 3.5S16.4 10 12 10 4 8.5 4 6.5ZM4 6.5v5c0 2 3.6 3.5 8 3.5s8-1.5 8-3.5v-5M4 11.5v5c0 2 3.6 3.5 8 3.5s8-1.5 8-3.5v-5\",Sending:\"m3 10 18-7-6.5 18-3.5-8L3 10Zm8 3 10-10\",Message:\"M4 4h16v12H9l-5 4V4Zm4 4h8M8 12h6\",Prove:\"M6 3h9l4 4v14H6V3Zm8 0v5h5m-10 6 2.3 2.4L16 11.5\",Remember:\"M12 6c-2-2-5-2.5-9-2v14c4-.5 7 0 9 2 2-2 5-2.5 9-2V4c-4-.5-7 0-9 2Zm0 0v14\"};const parts=[[\"Data\",\"Names from lists, enrichment and signals.\"],[\"Sending\",\"Send at volume without landing in spam.\"],[\"Message\",\"What to say, checked by a person.\"],[\"Prove\",\"What happened. What it produced.\"]];function Mark({name}){return /*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",focusable:\"false\",viewBox:\"0 0 24 24\",width:\"22\",height:\"22\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.55\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:drawings[name]})});}const sheet=`\n.ts-gtm-figure,.ts-gtm-guide{box-sizing:border-box;position:relative;min-width:0;font-family:\"Instrument Sans\",\"Instrument Sans Placeholder\",Arial,sans-serif}\n.ts-gtm-figure{width:100%;container:gtm-plate / inline-size;color:#fffdf8}\n.ts-gtm-figure *,.ts-gtm-guide *{box-sizing:border-box}\n.ts-gtm-plate{--x:clamp(21px,2.7cqw,36px);--y:58px;--edge:clamp(20px,3.2cqw,40px);--pipe:#d0d0d5;\n display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.05fr);column-gap:var(--x);grid-template-rows:auto auto var(--y) auto;\n grid-template-areas:\"cap cap cap .\" \"data sending message prove\" \". . . .\" \"memory memory memory memory\";\n padding:var(--edge);border:1px solid #292a2e;border-radius:18px;background:#0b0b0d}\n.ts-gtm-cap{grid-area:cap;display:grid;gap:8px;margin:0 0 13px;text-align:center}\n.ts-gtm-cap .k{color:#d0d0d5;font-weight:650;font-size:14px;line-height:1.3}\n.ts-gtm-bracket{display:flex;align-items:center;gap:12px;color:#fffdf8;font-size:17px;font-weight:700;line-height:1}\n.ts-gtm-bracket:before,.ts-gtm-bracket:after{content:\"\";flex:1;border-top:2px solid currentColor;height:11px;transform:translateY(5px)}\n.ts-gtm-bracket:before{border-left:2px solid currentColor;border-top-left-radius:3px}\n.ts-gtm-bracket:after{border-right:2px solid currentColor;border-top-right-radius:3px}\n.ts-gtm-node{display:flex;flex-direction:column;justify-content:center;gap:8px;position:relative;min-width:0;\n padding:clamp(12px,1.75cqw,24px);min-height:106px;background:#27272b;border:1px solid #56565d;border-radius:10px}\n.ts-gtm-node .top{display:flex;justify-content:space-between;align-items:center;gap:5px}\n.ts-gtm-node .name,.ts-gtm-memory .name{font-size:clamp(20px,2.45cqw,31px);line-height:1.07;letter-spacing:-.045em;font-weight:700}\n.ts-gtm-node .top svg{opacity:.8;flex:none;width:clamp(16px,1.8cqw,22px)}\n.ts-gtm-node .desc,.ts-gtm-memory .desc{font-size:clamp(14px,1.55cqw,17px);line-height:1.36;letter-spacing:-.012em;color:#dedee1}\n.ts-gtm-node[data-stage=\"Prove\"]{background:#0b0b0d;border:2px solid #fffdf8}\n.ts-gtm-node[data-stage=\"Prove\"] .top{color:#fffdf8}\n.ts-gtm-memory{grid-area:memory;display:flex;align-items:center;gap:13px;position:relative;min-width:0;padding:16px clamp(14px,2cqw,25px);border-radius:10px;background:#fffdf8;color:#0b0b0d}\n.ts-gtm-memory svg{flex:none}.ts-gtm-memory .desc{margin-left:auto;color:#0b0b0d}\n.ts-gtm-wire{display:block;position:absolute;color:var(--pipe);pointer-events:none}\n.ts-gtm-wire:after{content:\"\";display:block;position:absolute;width:7px;height:7px;border-top:2px solid;border-right:2px solid}\n.ts-gtm-next{height:2px;width:calc(var(--x) - 2px);left:calc(100% + 2px);top:50%;background:currentColor}\n.ts-gtm-next:after{right:1px;top:-3px;transform:rotate(45deg)}\n.ts-gtm-node[data-stage=\"Message\"] .ts-gtm-next{color:#fffdf8}\n.ts-gtm-feed,.ts-gtm-result{background:currentColor;color:#fffdf8;width:2px;left:50%;top:calc(100% + 2px);height:calc(var(--y) - 2px)}\n.ts-gtm-feed:after{left:-2.5px;top:2px;transform:rotate(-45deg)}\n.ts-gtm-result:after{left:-2.5px;bottom:2px;transform:rotate(135deg)}\n.ts-gtm-result em{position:absolute;top:50%;left:8px;transform:translateY(-50%);font:600 13px/1 \"Instrument Sans\",Arial,sans-serif;color:#dedee1;white-space:nowrap}\n.ts-gtm-mobile-rail,.ts-gtm-mobile-brace,.ts-gtm-seed{display:none}\n@container gtm-plate (max-width:679px){\n .ts-gtm-plate{--y:20px;--edge:clamp(13px,4cqw,24px);grid-template-columns:10px minmax(0,1fr) 25px;column-gap:6px;\n  grid-template-rows:auto 24px auto 12px auto 20px auto 20px auto 24px auto;\n  grid-template-areas:\"memory memory .\" \". . .\" \"cap cap .\" \". . .\" \"brace data .\" \"brace . .\" \"brace sending .\" \"brace . .\" \"brace message .\" \". . .\" \"prove prove .\";\n  padding:var(--edge);border-radius:14px}\n .ts-gtm-memory{padding:12px 14px;display:grid;grid-template-columns:1fr auto;gap:3px 8px;min-height:68px}\n .ts-gtm-memory .name{grid-column:1;grid-row:1}.ts-gtm-memory svg{grid-column:2;grid-row:1}\n .ts-gtm-memory .desc{grid-column:1/-1;margin:0}\n .ts-gtm-cap{display:flex;align-items:center;gap:8px;margin:0;text-align:left}\n .ts-gtm-cap .k{order:2;font-size:clamp(12px,3.5cqw,14px);line-height:1.2}\n .ts-gtm-bracket{order:1;display:block;padding-right:8px;border-right:1px solid #56565d;font-size:17px}\n .ts-gtm-bracket:before,.ts-gtm-bracket:after{display:none}\n .ts-gtm-mobile-brace{display:block;grid-area:brace;align-self:stretch;border:solid #fffdf8;border-width:2px 0 2px 2px;border-radius:4px 0 0 4px}\n .ts-gtm-node{min-height:0;padding:10px 13px;gap:3px}\n .ts-gtm-node .name,.ts-gtm-memory .name{font-size:22px}\n .ts-gtm-node .top svg{width:18px;height:18px}\n .ts-gtm-node .desc,.ts-gtm-memory .desc{font-size:14px;line-height:1.35}\n .ts-gtm-node[data-stage=\"Prove\"]{min-height:62px}\n .ts-gtm-feed,.ts-gtm-result{display:none}\n .ts-gtm-next,.ts-gtm-seed{display:block;background:currentColor;width:2px;left:50%;top:calc(100% + 1px);height:calc(var(--y) - 2px)}\n .ts-gtm-seed{color:#fffdf8;height:21px}\n .ts-gtm-node[data-stage=\"Message\"] .ts-gtm-next{height:22px}\n .ts-gtm-next:after,.ts-gtm-seed:after{left:-2.5px;top:auto;right:auto;bottom:2px;transform:rotate(135deg)}\n .ts-gtm-mobile-rail{display:block;grid-column:3;grid-row:1/-1;position:relative;pointer-events:none;color:#fffdf8}\n .ts-gtm-mobile-rail:before{content:\"\";position:absolute;left:-5px;right:2px;top:32px;bottom:30px;border:2px solid currentColor;border-left:0;border-radius:0 7px 7px 0}\n .ts-gtm-mobile-rail:after{content:\"\";position:absolute;left:-4px;top:29px;width:7px;height:7px;border-left:2px solid;border-bottom:2px solid;transform:rotate(45deg)}\n .ts-gtm-mobile-rail span{position:absolute;right:-4px;top:50%;transform:translateY(-50%) rotate(180deg);writing-mode:vertical-rl;\n  background:#0b0b0d;padding:8px 0;color:#dedee1;font-size:12px;font-weight:600;white-space:nowrap}\n}\n.ts-gtm-guide{font-size:16px;line-height:1.45;color:#0b0b0d;text-align:left}\n.ts-gtm-guide a{color:inherit;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;font-weight:650;display:inline-block;padding:10px 0;min-height:44px}\n.ts-gtm-guide a:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}\n.ts-gtm-guide .guide-note{margin-top:4px;max-width:48ch;padding:8px 0 8px 14px;border-left:3px solid #fffdf8;line-height:1.42;font-size:15px}\n.ts-gtm-guide .guide-note strong{display:block;margin-bottom:3px}\n@media(forced-colors:active){.ts-gtm-plate{border:1px solid CanvasText}.ts-gtm-node,.ts-gtm-memory{border:2px solid CanvasText}.ts-gtm-wire,.ts-gtm-bracket,.ts-gtm-mobile-brace,.ts-gtm-mobile-rail{color:CanvasText}.ts-gtm-wire{background:CanvasText}.ts-gtm-guide a{color:LinkText}}\n`;/**\n * @framerIntrinsicWidth 980\n * @framerIntrinsicHeight 316\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function GtmEngineeringLoop({part=\"Diagram\",accent=\"#FF2D8D\",guideLive=false,guideURL=guidePath,style}){useStill();const[showGuide,setShowGuide]=React.useState(false);const noteId=\"gtm-hiring-guide-preview\";const visualStyle={...style,\"--gtm-pink\":accent};if(part===\"Guide link\"){return /*#__PURE__*/_jsxs(\"div\",{className:\"ts-gtm-guide\",style:visualStyle,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:sheet}}),/*#__PURE__*/_jsxs(\"a\",{href:guideLive?guideURL:\"#\"+noteId,\"aria-expanded\":guideLive?undefined:showGuide,\"aria-controls\":guideLive?undefined:noteId,onClick:guideLive?undefined:event=>{event.preventDefault();setShowGuide(value=>!value);},children:[\"Before you hire a GTM engineer \",/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"↗\"})]}),!guideLive&&/*#__PURE__*/_jsxs(\"div\",{id:noteId,hidden:!showGuide,className:\"guide-note\",role:\"region\",\"aria-label\":\"Hiring guide preview\",children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Guide preview\"}),\"Before you hire a GTM engineer, decide what they’d build. The full guide is not live yet.\"]})]});}return /*#__PURE__*/_jsxs(\"figure\",{className:\"ts-gtm-figure\",style:{margin:0,...visualStyle},role:\"img\",\"aria-label\":description,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:sheet}}),/*#__PURE__*/_jsxs(\"div\",{className:\"ts-gtm-plate\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"ts-gtm-cap\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"k\",children:\"The plumbing everyone has\"}),/*#__PURE__*/_jsx(\"span\",{className:\"ts-gtm-bracket\",children:\"Act\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"ts-gtm-memory\",children:[/*#__PURE__*/_jsx(Mark,{name:\"Remember\"}),/*#__PURE__*/_jsx(\"span\",{className:\"name\",children:\"Remember\"}),/*#__PURE__*/_jsx(\"span\",{className:\"desc\",children:\"What the account said, asked and was promised.\"}),/*#__PURE__*/_jsx(\"i\",{className:\"ts-gtm-wire ts-gtm-seed\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"ts-gtm-mobile-brace\"}),parts.map(([name,copy])=>/*#__PURE__*/_jsxs(\"div\",{className:\"ts-gtm-node\",\"data-stage\":name,style:{gridArea:name.toLowerCase()},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"top\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"name\",children:name}),/*#__PURE__*/_jsx(Mark,{name:name})]}),/*#__PURE__*/_jsx(\"span\",{className:\"desc\",children:copy}),name===\"Message\"&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#ff87bb\",fontSize:13,fontWeight:700},children:\"✓ Checked by a person\"}),name===\"Prove\"?/*#__PURE__*/_jsx(\"i\",{className:\"ts-gtm-wire ts-gtm-result\",children:/*#__PURE__*/_jsx(\"em\",{children:\"What worked\"})}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"i\",{className:\"ts-gtm-wire ts-gtm-next\"}),/*#__PURE__*/_jsx(\"i\",{className:\"ts-gtm-wire ts-gtm-feed\"})]})]},name)),/*#__PURE__*/_jsx(\"div\",{className:\"ts-gtm-mobile-rail\",children:/*#__PURE__*/_jsx(\"span\",{children:\"What worked\"})})]})]});}GtmEngineeringLoop.displayName=\"Service / GTM loop\";addPropertyControls(GtmEngineeringLoop,{part:{type:ControlType.Enum,title:\"Part\",options:[\"Diagram\",\"Guide link\"],defaultValue:\"Diagram\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#FF2D8D\"},guideURL:{type:ControlType.Link,title:\"Guide URL\",defaultValue:guidePath,hidden:p=>p.part!==\"Guide link\"},guideLive:{type:ControlType.Boolean,title:\"Guide is live\",defaultValue:false,hidden:p=>p.part!==\"Guide link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GtmEngineeringLoop\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"980\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1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