{"version":3,"file":"BlogPostFoot.BegsC3VP.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/yDS011KnD9zlJd3OqwRI/tCOxqVdNskdMi6ihGc0N/BlogPostFoot.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Twincall - blog post foot: the closing call to action and the site footer.\n *\n * Carries no CSS and no page script. BlogPostHead puts both on the document\n * and this markup inherits them. It also carries no `rv` reveal classes: the\n * reveal observer runs once, from the head, and anything mounting after it\n * would stay at opacity 0 forever.\n *\n * It does have to stamp its own width tokens. The whole site's responsive CSS\n * is written as `:where([data-tw~=\"w480\"]) .fgrid{...}`, and those tokens are\n * put on the root by useTwincallPage, which this component deliberately does\n * not run. Without them the footer keeps its desktop grid on a phone: four\n * columns squeezed into 390px. Same measurement and same thresholds as the\n * hook, so every existing footer rule applies unchanged.\n */const TW_MAX=[400,420,480,520,560,600,620,640,700,720,760,820,860,900,920,940,960,980];const TW_MIN=[901];const HTML=`<main>\n<section id=\"twind\" style=\"padding:72px 0 0\"><div class=\"wrap\"><div class=\"pane\" style=\"padding:32px clamp(22px,4vw,44px)\"><div class=\"eyebrow\" style=\"margin:0 0 12px\">Built for your industry</div><p style=\"margin:0;font-size:16px;line-height:1.7;color:rgba(245,250,255,.72)\">Twincall is the <a href=\"/industries/auto-repair\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">AI receptionist for auto repair shops</a> and the <a href=\"/industries/moving-storage\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">AI answering service for moving companies</a>. It is also missed call AI for <a href=\"/industries/auto-body\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">auto body shops</a>, <a href=\"/industries/hvac-plumbing\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">HVAC and plumbing companies</a>, <a href=\"/industries/gyms\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">gyms and health clubs</a>, <a href=\"/industries/pest-control\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">pest control companies</a>, <a href=\"/industries/security-services\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">security companies and locksmiths</a> and <a href=\"/industries/home-improvement\" style=\"color:#F5FAFF;text-decoration:underline;text-decoration-color:rgba(54,139,255,.7);text-underline-offset:3px\">home improvement contractors</a>.</p></div></div></section><section id=\"end\" data-fxtoggle=\"end\"><div class=\"wrap\">\n  <div class=\"pane endcta\">\n    <div class=\"eyebrow\" style=\"margin:0\" data-fx=\"f01\">Don't take our word for it</div>\n    <h2 data-fx=\"f02\">Hear It For Yourself</h2>\n    <p class=\"lede\" style=\"text-align:center\" data-fxoff=\"f03\">Your own business-specific AI handling missed calls 24/7. Hear it in action.</p>\n    <a class=\"btn btn-p\" href=\"https://calendly.com/twincall/twincall-intro\" target=\"_blank\" rel=\"noopener\" data-fx=\"f04\">Book Demo</a>\n  </div>\n</div></section>\n<!-- chrome: editable -->\n<footer><div class=\"wrap\">\n  <div class=\"pane fdock\">\n    <div class=\"fgrid\">\n      <div class=\"fcol\">\n        <a class=\"fbrand\" href=\"/\"><svg class=\"mk\" viewBox=\"0 0 172 166\" aria-hidden=\"true\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M0,57 a57,57 0 0 1 114,0 v52 a57,57 0 0 1 -114,0 z M58,57 a57,57 0 0 1 114,0 v52 a57,57 0 0 1 -114,0 z\"/></svg><span data-fx=\"f05\">TWINCALL</span></a>\n        <p class=\"ftag\" data-fx=\"f06\">Your 24/7 AI teammate. Never miss a call. Never lose a sale.</p>\n      </div>\n      <div class=\"fcol\"><span class=\"flab\" data-fx=\"f07\">Product</span>\n        <a href=\"/product/how-it-works\" data-fx=\"f08\">How It Works</a><a href=\"/product/features\" data-fx=\"f09\">Features</a>\n        <a href=\"/product/any-phone-any-system\" data-fx=\"f10\">Any Phone Any System</a><a href=\"/#calc\" data-fx=\"f11\">Calculator</a></div>\n      <div class=\"fcol\"><span class=\"flab\" data-fx=\"f12\">Industries</span><a href=\"/industries/auto-repair\" data-fx=\"f13\">Auto Repair</a><a href=\"/industries/auto-body\">Auto Body</a><a href=\"/industries/moving-storage\" data-fx=\"f14\">Moving &amp; Storage</a><a href=\"/industries/hvac-plumbing\" data-fx=\"f15\">HVAC &amp; Plumbing</a><a href=\"/industries/gyms\" data-fxoff=\"f16\">Gyms &amp; Health Clubs</a><a href=\"/industries/security-services\" data-fxoff=\"f17\">Security &amp; Locksmiths</a><a href=\"/industries/pest-control\" data-fx=\"f18\">Pest Control</a><a href=\"/industries/home-improvement\" data-fx=\"f19\">Home Improvement</a></div>\n      <div class=\"fcol\"><span class=\"flab\" data-fx=\"f20\">Company</span>\n        <a href=\"/about\" data-fx=\"f21\">About</a>\n        <a href=\"/careers\" data-fx=\"f22\">Careers</a><a href=\"/contact\" data-fx=\"f23\">Contact</a>\n        <a href=\"/privacy\" data-fx=\"f24\">Privacy</a><a href=\"/terms\" data-fx=\"f25\">Terms</a><a href=\"/security\" data-fx=\"f26\">Security</a></div>\n    </div>\n    <div class=\"fbot\"><span data-fx=\"f27\">&copy; 2026 Twincall AI</span>\n      <span class=\"ftail\" data-fx=\"f28\">Built for Service Businesses</span></div>\n  </div>\n</div></footer>\n</main>`;// Same text contract as the rest of the site: an element carries data-fx=\"<key>\"\n// and the prop of that name replaces its content. Emptying a field restores the\n// copy the markup was authored with rather than leaving a blank on the page.\nfunction escapeHTML(v){return String(v).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\");}function applyTexts(root,texts){for(const key in texts){const els=root.querySelectorAll('[data-fx=\"'+key+'\"]');if(!els.length)continue;for(const el of els){if(!el.hasAttribute(\"data-fx-src\"))el.setAttribute(\"data-fx-src\",el.innerHTML);const v=texts[key]==null?\"\":String(texts[key]);const next=v===\"\"?el.getAttribute(\"data-fx-src\")||\"\":escapeHTML(v).replace(/\\n/g,\"<br>\");if(el.innerHTML!==next)el.innerHTML=next;}}}// 100vw is right on the published site: it is how this component escapes\n// Framer's container and runs the full width of the screen. On the CANVAS it is\n// wrong, because there 100vw is the editor's viewport, not the frame being\n// designed. The blog is the only page where that shows, since it is the only one\n// that mixes these components with a native Framer element: the CMS Post list\n// sizes to the 1440 frame while a 100vw component sized itself to the editor\n// window, so the two disagreed and the page looked broken at every breakpoint.\n// Measuring is downstream of this too. The responsive CSS is driven by\n// data-tw tokens stamped from root.clientWidth, so a wrong root width picked the\n// wrong breakpoint as well as the wrong size.\nexport default function BlogPostFoot(props){// RenderTarget has to be read during the render, not at module load: at\n// import time the target is not resolved yet and this always came back false.\nconst canvasW=RenderTarget.current()===RenderTarget.canvas?\"100%\":\"100vw\";const{style}=props;const ref=useRef(null);const texts={f01:props.f01,f02:props.f02,f03:props.f03,f04:props.f04,f05:props.f05,f06:props.f06,f07:props.f07,f08:props.f08,f09:props.f09,f10:props.f10,f11:props.f11,f12:props.f12,f13:props.f13,f14:props.f14,f15:props.f15,f16:props.f16,f17:props.f17,f18:props.f18,f19:props.f19,f20:props.f20,f21:props.f21,f22:props.f22,f23:props.f23,f24:props.f24,f25:props.f25,f26:props.f26,f27:props.f27,f28:props.f28};useEffect(()=>{const root=ref.current;if(!root)return;root.innerHTML=HTML;applyTexts(root,texts);},[]);// re-apply while Chris is typing in the properties panel\nuseEffect(()=>{const root=ref.current;if(root&&root.firstChild)applyTexts(root,texts);});useEffect(()=>{const root=ref.current;if(!root)return;const stamp=()=>{const w=root.clientWidth||root.getBoundingClientRect().width;if(!w)return;const on=[];for(const n of TW_MAX)if(w<=n)on.push(\"w\"+n);for(const n of TW_MIN)if(w>=n)on.push(\"m\"+n);const next=on.join(\" \");if(root.getAttribute(\"data-tw\")!==next)root.setAttribute(\"data-tw\",next);root.style.setProperty(\"--tw-vw\",w/100+\"px\");};stamp();const ro=new ResizeObserver(stamp);ro.observe(root);return()=>ro.disconnect();},[]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:canvasW,maxWidth:canvasW,...style}});}// Every string in the closing CTA and the footer is a control. Before this the\n// component exposed none, so on the blog index and on all 36 post pages the CTA\n// and the whole footer were the one part of the site Chris could not edit,\n// while the same footer on every other page was editable because it lives\n// inside that page's own component.\nBlogPostFoot.defaultProps={f01:\"Don't take our word for it\",f02:\"Hear It For Yourself\",f03:\"Your own business-specific AI handling missed calls 24/7. Hear it in action.\",f04:\"Book Demo\",f05:\"TWINCALL\",f06:\"Your 24/7 AI teammate. Never miss a call. Never lose a sale.\",f07:\"Product\",f08:\"How It Works\",f09:\"Features\",f10:\"Any Phone Any System\",f11:\"Calculator\",f12:\"Industries\",f13:\"Auto Repair\",f14:\"Moving & Storage\",f15:\"HVAC & Plumbing\",f16:\"Gyms & Health Clubs\",f17:\"Security & Locksmiths\",f18:\"Pest Control\",f19:\"Home Improvement\",f20:\"Company\",f21:\"About\",f22:\"Careers\",f23:\"Contact\",f24:\"Privacy\",f25:\"Terms\",f26:\"Security\",f27:\"\\xa9 2026 Twincall AI\",f28:\"Built for Service Businesses\"};addPropertyControls(BlogPostFoot,{f01:{type:ControlType.String,title:\"Closing CTA: eyebrow\"},f02:{type:ControlType.String,title:\"Closing CTA: heading\"},f03:{type:ControlType.String,title:\"Closing CTA: paragraph\"},f04:{type:ControlType.String,title:\"Closing CTA: button\"},f05:{type:ControlType.String,title:\"Footer: wordmark\"},f06:{type:ControlType.String,title:\"Footer: tagline\"},f07:{type:ControlType.String,title:\"Footer: Product heading\"},f08:{type:ControlType.String,title:\"Footer: How It Works\"},f09:{type:ControlType.String,title:\"Footer: Features\"},f10:{type:ControlType.String,title:\"Footer: Any Phone Any System\"},f11:{type:ControlType.String,title:\"Footer: Calculator\"},f12:{type:ControlType.String,title:\"Footer: Industries heading\"},f13:{type:ControlType.String,title:\"Footer: Auto Repair\"},f14:{type:ControlType.String,title:\"Footer: Moving & Storage\"},f15:{type:ControlType.String,title:\"Footer: HVAC & Plumbing\"},f16:{type:ControlType.String,title:\"Footer: Gyms\"},f17:{type:ControlType.String,title:\"Footer: Security Services\"},f18:{type:ControlType.String,title:\"Footer: Pest Control\"},f19:{type:ControlType.String,title:\"Footer: Home Improvement\"},f20:{type:ControlType.String,title:\"Footer: Company heading\"},f21:{type:ControlType.String,title:\"Footer: About\"},f22:{type:ControlType.String,title:\"Footer: Careers\"},f23:{type:ControlType.String,title:\"Footer: Contact\"},f24:{type:ControlType.String,title:\"Footer: Privacy\"},f25:{type:ControlType.String,title:\"Footer: Terms\"},f26:{type:ControlType.String,title:\"Footer: Security\"},f27:{type:ControlType.String,title:\"Footer: copyright\"},f28:{type:ControlType.String,title:\"Footer: strapline\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogPostFoot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogPostFoot.map"],"mappings":"wLA+CA,SAAS,EAAW,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAE,CAAC,SAAS,EAAW,EAAK,EAAM,CAAC,IAAI,IAAM,KAAO,EAAM,CAAC,IAAM,EAAI,EAAK,iBAAiB,aAAa,EAAI,IAAI,EAAM,KAAI,OAAgB,IAAI,IAAM,KAAM,EAAI,CAAK,EAAG,aAAa,aAAa,GAAE,EAAG,aAAa,cAAc,EAAG,SAAS,EAAE,IAAM,EAAE,EAAM,IAAM,KAAK,GAAG,OAAO,EAAM,EAAI,EAAQ,EAAK,IAA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