PageSourceSearch

https://recallhq.com/assets/js/rcp.js?1234

js recallhq.com collected 2026-10-09 22:39:56 UTC 2,434 bytes, 89 lines download raw bytes

1console.log("script connected")
2import { CountUp } from './countUp.js-master/dist/countUp.js';
3
4
5
6// Metrics Section Count Up
7function countUp(elem, target, decimals) {
8
9    const options = {
10      useGrouping: false,
11      decimalPlaces: decimals,
12    };
13    let avg_ro = new CountUp(elem, target, options);
14    if (!avg_ro.error) {
15      avg_ro.start();
16    } else {
17      console.error(avg_ro.error);
18    }
19  
20    window.onload = function() {
21      var countUp = new CountUp('target', 2500);
22      countUp.start();
23    }
24  
25  }
26  
27  // Trigger Function Based on Element Visibility
28  function triggerOnVisibility(elementId, callback, threshold = 0.5) {
29    const targetElement = document.getElementById(elementId);
30  
31    if (!targetElement) {
32        console.error(`Element with ID "${elementId}" not found.`);
33        return;
34    }
35  
36    const observer = new IntersectionObserver(
37        ([entry], observerInstance) => {
38            if (entry.isIntersecting) {
39                callback(entry.target); // Trigger the callback with the element
40                observerInstance.unobserve(entry.target); // Stop observing after first visibility
41            }
42        },
43        { threshold } // Visibility threshold (default 50% visible)
44    );
45  
46    observer.observe(targetElement);
47  }
48
49// Count Up When Visible
50document.addEventListener("DOMContentLoaded", () => {
51    triggerOnVisibility("avg_ro", (element) => {
52        countUp('avg_ro', 564,0)
53    });
54});
55
56// Count Up When Visible
57document.addEventListener("DOMContentLoaded", () => {
58    triggerOnVisibility("avg_roi", (element) => {
59        countUp('avg_roi', 10.7,1)
60    });
61});
62
63// Count Up When Visible
64document.addEventListener("DOMContentLoaded", () => {
65    triggerOnVisibility("pct_customer_pay", (element) => {
66        countUp('pct_customer_pay', 70,0)
67    });
68});
69      
70// Count Up When Visible
71document.addEventListener("DOMContentLoaded", () => {
72    triggerOnVisibility("vins_never_at_dealer", (element) => {
73        countUp('vins_never_at_dealer', 44,0)
74    });
75});
76
77// Count Up When Visible
78document.addEventListener("DOMContentLoaded", () => {
79    triggerOnVisibility("days_since_last_visit", (element) => {
80        countUp('days_since_last_visit', 939,0)
81    });
82});
83
84// Count Up When Visible
85document.addEventListener("DOMContentLoaded", () => {
86    triggerOnVisibility("top_dealer_roi", (element) => {
87        countUp('top_dealer_roi', 36,0)
88    });
89});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.