Town and Country Care Services Limited
award_starCQC Rating & Reviews
The provided content is a configuration file and JavaScript code related to a website's operation. Here's a summary:
Configuration and Initialization:
The code begins by checking if certain internationalization (Intl) features are available in the browser. If not, it includes a polyfill to provide these features.
It then defines some functions to handle performance metrics, like marking and measuring time.
A configuration object named "fleetConfig" is included. It seems to be related to the website's deployment.
The configuration includes information about the website's mode, components, site features, media, request URL, rollout settings, and general configuration details.
A "viewerModel" object is loaded. It appears to contain the website's overall state, including experiments and site features.
JavaScript code gets the content of the element with ID "wix-essential-viewer-model", parses it as JSON, and stores the parsed data in `window.viewerModel`.
The code sets a variable `window.initialTimestamps` to store timestamps for performance tracking.
There's an IIFE to set the window.thunderboltTag to "libs-releases-GA-local" and window.thunderboltVersion to "1.16956.0".
A variable called `window.commonConfig` is being assigned `viewerModel.commonConfig`.
Functionality and Features:
The code includes a function to check if the website runs in different context.
The code includes a function to handle cookies with a list of cookies to exclude.
It defines a function to set, get, getAll, and delete for the cookieStore on the globalThis.cookieStore.
A security experiment is being used in the code to restrict code access.
Code for the website's animation is presented.
Performance and Timing:
The code includes functionality to measure and mark performance events.
It gets the initial timestamp when the page has been activated.
Overall, the code sets up a website's environment, configuration, and sets up performance and security features.
