{"id":2,"date":"2023-10-19T19:21:16","date_gmt":"2023-10-19T19:21:16","guid":{"rendered":"http:\/\/fieldworkusallc.com\/?page_id=2"},"modified":"2025-11-24T09:40:33","modified_gmt":"2025-11-24T15:40:33","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/fieldworkusallc.com\/","title":{"rendered":"Field Work Telecom"},"content":{"rendered":"\n<p class=\"has-primary-color has-subtle-background-background-color has-text-color has-background\">Serving the Upper Midwest and beyond, our family-owned company specializes in fusion-spliced fiber optic cable terminations. Whether one fiber or many, we are dedicated to quality, no matter the project.<\/p>\n\n\n\n<ul class=\"wp-block-list has-primary-color has-subtle-background-background-color has-text-color has-background\">\n<li>Loose tube<\/li>\n\n\n\n<li>Ribbon<\/li>\n\n\n\n<li>New builds<\/li>\n\n\n\n<li>Network expansion<\/li>\n\n\n\n<li>Network repair and maintenance<\/li>\n\n\n\n<li>Network troubleshooting, testing, and diagnosing<\/li>\n\n\n\n<li>Emergency restoration<\/li>\n<\/ul>\n\n\n\n<p class=\"has-primary-color has-subtle-background-background-color has-text-color has-background\">Schedule your site survey today; we would love to get your project up and running! Email us at office@fieldworkusallc.com and we will respond promptly!<\/p>\n\n\n\n<p><\/p>\n\n\n\n<style>\n  .splice-counter-wrap {\n    display: flex;\n    justify-content: center;\n    margin: 3rem 0;\n  }\n\n  .splice-counter-card {\n    background: rgba(0, 0, 0, 0.65);\n    color: #ffffff;\n    padding: 1.75rem 2.5rem;\n    border-radius: 12px;\n    text-align: center;\n    max-width: 520px;\n    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);\n    backdrop-filter: blur(4px);\n  }\n\n  .splice-counter-label {\n    font-size: 0.95rem;\n    letter-spacing: 0.18em;\n    text-transform: uppercase;\n    opacity: 0.8;\n    margin-bottom: 0.35rem;\n  }\n\n  .splice-counter-number {\n    font-size: 3rem;\n    font-weight: 700;\n    line-height: 1.1;\n    margin: 0.15rem 0 0.2rem;\n  }\n\n  .splice-counter-label-static {\n    font-size: 0.8rem;\n    opacity: 0.85;\n    margin-bottom: 0.5rem;\n  }\n\n  .splice-counter-subtitle {\n    font-size: 0.95rem;\n    opacity: 0.9;\n  }\n\n  .splice-counter-error {\n    font-size: 0.8rem;\n    margin-top: 0.4rem;\n    opacity: 0.8;\n  }\n\n  @media (max-width: 600px) {\n    .splice-counter-card {\n      padding: 1.25rem 1.5rem;\n      margin: 0 1rem;\n    }\n    .splice-counter-number {\n      font-size: 2.3rem;\n    }\n  }\n<\/style>\n\n<div class=\"splice-counter-wrap\">\n  <div class=\"splice-counter-card\">\n    <div class=\"splice-counter-label\">FIELD WORK TELECOM<\/div>\n\n    <!-- Number on its own line -->\n    <div id=\"splice-counter-number\" class=\"splice-counter-number\">\n      0\n    <\/div>\n\n    <!-- Static label on its own line -->\n    <div class=\"splice-counter-label-static\">\n      splices to date\n    <\/div>\n\n    <div class=\"splice-counter-subtitle\">\n      Powered by Tasquatch\n    <\/div>\n\n    <div id=\"splice-counter-error\" class=\"splice-counter-error\"><\/div>\n  <\/div>\n<\/div>\n\n<script>\n  (function () {\n    \/\/ IMPORTANT: paste here the URL that shows {\"total\":44750} when you open it in your browser\n    var url = \"https:\/\/script.googleusercontent.com\/macros\/echo?user_content_key=AehSKLg73ATyyE3jfBWdzFdIgGY-J01RA-lnHMvgqtO5KDEnn2X-nyI9K_g-LYjm7cibHlbvG-KzujofgbRR1JojEC8RoDGHErd71QwaWqCoXhzI_mMxMPSWjeQKk2V24WBH-ArRqUiB-h9WmUVi15dXKjwISI-acUaVwEAcsGD_5b9xWYWSYD6rrmYVXfo178E0RrJ96lIzIG_nTetd87_VO3agF-qoepbQpDJ7FCb8Kd3k3KvlWj8YgXX7P8flta-EJr4iy4DDkmLOJPVBoPg69lJrMGRunK1EOXFWhvSc&lib=MNBfstzzFuCErHPIg-8C96nqwgxTfpkC2\"; \n    var refreshMs = 30000; \/\/ refresh every 30 seconds\n    var currentValue = 0;\n\n    \/\/ Smooth easing (number only)\n    function animateCount(el, start, end, duration) {\n      var startTime = null;\n\n      function easeOutCubic(t) {\n        return 1 - Math.pow(1 - t, 3);\n      }\n\n      function step(timestamp) {\n        if (!startTime) startTime = timestamp;\n\n        var raw = Math.min((timestamp - startTime) \/ duration, 1);\n        var eased = easeOutCubic(raw);\n\n        var value = Math.floor(start + (end - start) * eased);\n        el.textContent = value.toLocaleString();\n\n        if (raw < 1) {\n          window.requestAnimationFrame(step);\n        }\n      }\n\n      window.requestAnimationFrame(step);\n    }\n\n    function showError(message) {\n      var errorEl = document.getElementById(\"splice-counter-error\");\n      if (errorEl) {\n        errorEl.textContent = message;\n      }\n    }\n\n    function loadCounter() {\n      fetch(url)\n        .then(function (response) {\n          if (!response.ok) {\n            throw new Error(\"HTTP \" + response.status);\n          }\n          return response.json();\n        })\n        .then(function (data) {\n          var numberEl = document.getElementById(\"splice-counter-number\");\n          if (!numberEl) return;\n\n          \/\/ Clear any previous error\n          showError(\"\");\n\n          var total = Number(data.total);\n          if (isNaN(total)) {\n            console.error(\"Splice counter: total is not a number:\", data);\n            showError(\"Splice count unavailable (bad data).\");\n            return;\n          }\n\n          \/\/ Start from last known value (or 0 on very first run)\n          var startVal = currentValue || 0;\n\n          \/\/ Animate with easing \u2014 22 seconds\n          animateCount(numberEl, startVal, total, 22000);\n\n          currentValue = total;\n        })\n        .catch(function (err) {\n          console.error(\"Splice counter error:\", err);\n          showError(\"Splice count unavailable (connection error).\");\n        });\n    }\n\n    \/\/ Initial load + auto refresh\n    loadCounter();\n    setInterval(loadCounter, refreshMs);\n  })();\n<\/script>\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Serving the Upper Midwest and beyond, our family-owned company specializes in fusion-spliced fiber optic cable terminations. Whether one fiber or many, we are dedicated to quality, no matter the project. Schedule your site survey today; we would love to get your project up and running! Email us at office@fieldworkusallc.com and we will respond promptly! FIELD [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":20,"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/fieldworkusallc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}