10to8 - Perkins and Co
WebFont.load({ google: { families: ['Material Icons', 'Material Icons Outlined', 'Material Icons Two Tone', 'Material Icons Round' ] }, timeout: 60000 });
(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")
STATIC_URL = "https://dpt78m53p45fm.cloudfront.net/deep_thought/9bc21dd1f83505fb95312c77f6acb18ee344350a-gzip/"; API_ROOT = "https://app.10to8.com/api/jupiter/v1/"; APP_ROOT = "/diary/perkins-and-co/"; IS_SANDBOX = false; DEMO_ACCOUNT = false; CUSTOMER_NOUN_PLURAL = "customers"; STAFF_NOUN_PLURAL = "staff"; ORG_NAME = "Perkins and Co"; ORG_ACCOUNT_TYPE = "trial"; USE_MERCURY = true; USER_HAS_OTHER_ORGS = false; USER_IS_CUSTOMER = false // USER_IS_TTE_STAFF - ensure any sensitive data/behaviour is guarded at the backend USER_IS_TTE_STAFF = false; NETHER_ENABLED = true; PROMOTIONAL_SLUG = "perkins-and-"; SHOW_REFERRALS_REPORT = true; SHOULD_HIGHLIGHT_REFERRALS_MENU = false; SHOW_WEEBLY_EDITOR_LINK = false; ENABLE_HIPAA_FEATURES = true; ENABLE_NEW_STAFF_PAGE = true; STAFF_IS_ADMINISTRATOR = true; STAFF_CAN_SEE_OTHER_STAFF_EVENTS = true; SIMPLE_NAVIGATION = false; BOOTSTRAP_ORGANISATION_TIMEZONE = "Asia/Singapore"; TRIAL_DETAILS = {"days_left":14}; BLOCKED_TIME_SERVICE_TYPE = 1912488; NEW_AVAILABILITY_MODE = true; NEW_CUSTOMER_MESSAGE_MODE = true; CHEAPEST_PLAN_FOR_EACH_FEATURE = {"edit_message_content":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"edit_email_html":{"display_name":"Premium Plan","trial_to_offer":null},"send_custom_sms":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"send_multiple_customer_sms_reminders":{"display_name":"Starter Plan","trial_to_offer":null},"rooms":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"longer_sms":{"display_name":"Starter Plan","trial_to_offer":null},"edit_slug":{"display_name":"Starter Plan","trial_to_offer":null},"no_message_experiments":{"display_name":"Starter Plan","trial_to_offer":null},"six_month_inactive_cronofy_links_preserved":{"display_name":"Starter Plan","trial_to_offer":null},"inactive_cronofy_links_preserved":{"display_name":"Starter Plan","trial_to_offer":null},"sms_spoofing":{"display_name":"Premium Plan","trial_to_offer":null},"custom_domains":{"display_name":"Premium Plan","trial_to_offer":null},"multiple_location_types":{"display_name":"Starter Plan","trial_to_offer":null},"booking_restrictions":{"display_name":"Starter Plan","trial_to_offer":null},"calendar_sync":{"display_name":"Starter Plan","trial_to_offer":null},"staff_sms":{"display_name":"Starter Plan","trial_to_offer":null},"personal_branding":{"display_name":"Premium Plan","trial_to_offer":null},"send_voice":{"display_name":"Premium Plan","trial_to_offer":null},"paypal_payments":{"display_name":"Starter Plan","trial_to_offer":null},"sage_pay_payments":{"display_name":"Starter Plan","trial_to_offer":null},"no_stripe_application_fees":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"multiple_location_availability":{"display_name":"Starter Plan","trial_to_offer":null},"customer_sms":{"display_name":"Starter Plan","trial_to_offer":null},"hipaa":{"display_name":"Premium Plan","trial_to_offer":null},"service_specific_booking_processes":{"display_name":"Starter Plan","trial_to_offer":null},"edit_logo_image":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"multiple_booking_pages":{"display_name":"Premium Plan","trial_to_offer":null},"area_based_availability":{"display_name":"Starter Plan","trial_to_offer":null},"deactivate_within_product":{"display_name":"Starter Plan","trial_to_offer":null},"enterprise_connect_calendar":{"display_name":"Enterprise Plan","trial_to_offer":null},"staff_timezones":{"display_name":"Premium Plan","trial_to_offer":null},"salesforce_integration":{"display_name":"Enterprise Plan","trial_to_offer":null},"staff_photos":{"display_name":"Starter Plan","trial_to_offer":null},"multistaff_bookings":{"display_name":"Starter Plan","trial_to_offer":null},"multicustomer_bookings":{"display_name":"Starter Plan","trial_to_offer":null},"new_classes":{"display_name":"Starter Plan","trial_to_offer":null},"non_canary":{"display_name":"Premium Plan","trial_to_offer":null},"3d_secure_not_mandatory":{"display_name":"Starter Plan","trial_to_offer":null},"custom_salesforce":{"display_name":"Starter Plan","trial_to_offer":null},"zoom":{"display_name":"Starter Plan","trial_to_offer":null},"bulk_messaging":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"bulk_sms_messaging":{"display_name":"Premium Plan","trial_to_offer":null},"zoom_alternative_hosts":{"display_name":"Starter Plan","trial_to_offer":null},"whatsapp_messaging":{"display_name":"Pro Plan","trial_to_offer":{"length":14}},"booking_invites":{"display_name":"Starter Plan","trial_to_offer":null},"adhoc_messaging":{"display_name":"Starter Plan","trial_to_offer":null},"change_c2_theme":{"display_name":"Premium Plan","trial_to_offer":null},"gpt_message_handler":{"display_name":"Premium Plan","trial_to_offer":null},"gpt_question_answerer":{"display_name":"Premium Plan","trial_to_offer":null},"google_meet":{"display_name":"Starter Plan","trial_to_offer":null}}; LOAD_JELTZ_IN_BACKGROUND = false; PROPOSE_OLD_TO_NEW_INBOX_MIGRATION = null; MIGRATION_PROPOSED_IN_CALENDAR = null; SHOW_INTRO_WIZARD = false; OVERRIDE_SHOW_EXPANDED_JUPITER_NAVIGATION = null; DASHBOARD_MENU_ITEM_NAME = "Dashboard"; DASHDOARD_MENU_ITEM_NAME = "Dashboard"; SHOW_NEW_DASHBOARD = true; PUSHER_KEY = "aa1894c55cb8533eb283"; PUSHER_CLUSTER = "eu"; PUSHER_ORGANISATION_CHANNEL = "Organisation-230407"; PUSHER_STAFF_CHANNEL = "Staff-398980"; PRICING_MODE = "per-seat"; OFFER_TRIAL = false; CALENDAR_APP = "ceres"; USE_RUMBLE_FOR_CALENDAR = false; EMBEDDED_SUPPORT_URL = "https://support.10to8.com/"; HAS_NEW_INBOX = true; VERSION = 12; SHOW_ALL_STAFF_CALENDAR = true; NEXT_BILLING_PERIOD_CLOSURE_DATE= "Sept. 24, 2023"; IS_CUSTOM_PLAN = false; SHOW_SIS_THEME = false; IS_SIA_ORGANISATION = false; SIGN_IN_APP_URL = null; TOUR_TO_SHOW = null; USE_NEW_LOGO = true; CAN_OFFER_TRIAL_TO_ORGANISATION = false; SUBSCRIPTION_NAME = "Pro Plan Trial"; STAFF_BOOKING_URL = "https://perkins-and-co.10to8.com"; HIDE_BILLING_PAGE = false;
CUSTOMER_NOUN = "customer"; CUSTOMER_NOUN_PLURAL = "customers"; CAPITALIZED_CUSTOMER_NOUN = "Customer"; CAPITALIZED_CUSTOMER_NOUN_PLURAL = "Customers"; STAFF_NOUN = "staff"; STAFF_NOUN_PLURAL = "staff"; CAPITALIZED_STAFF_NOUN = "Staff"; CAPITALIZED_STAFF_NOUN_PLURAL = "Staff"; ORGANISATION_NOUN = "business"; CAPITALIZED_ORGANISATION_NOUN = "Business";
STAFF_ID = 398980; STAFF_IS_ADMINISTRATOR = true; SHOW_ULTIMATE_SETUP_PAGE = true; STAFF_CAN_ALTER_APPOINTMENT = true; STAFF_CAN_SEE_OTHER_STAFF_EVENTS = true; STAFF_CAN_SEE_TEAM_BOOKINGS_AND_C2_ATTENDEES = true; STAFF_CAN_CREATE_AND_MODIFY_TEAM_SERVICES = true; STAFF_SELECT_ALL_LIMIT = 25; USER_ID = "User/409970"; USERNAME = "al@sleet.so"; STAFF_PERMISSIONS = {"is_staff_admin":true,"can_take_bookings":true,"can_see_all_bookings":true,"can_modify_visible_bookings":true,"can_see_team_bookings_and_c2_attendees":true,"can_create_and_modify_team_services":true,"can_view_advanced_mode":true,"can_send_adhoc_messages":true,"can_edit_automated_c2_messages":true,"can_see_inbox":true,"can_edit_their_availability":true,"can_edit_team_availability":true,"can_edit_all_availability":true,"can_cancel_all_bookings_for_day":true}; STAFF_PERMISSION_DISPLAY_NAMES = {"is_staff_admin":"Is administrator","can_take_bookings":"Can take bookings","can_see_all_bookings":"Can see all bookings","can_modify_visible_bookings":"Can modify bookings","can_see_team_bookings_and_c2_attendees":"Can see team's bookings and attendees","can_create_and_modify_team_services":"Can create and modify team's services","can_view_advanced_mode":"Can view advanced mode","can_send_adhoc_messages":"Can send ad hoc messages","can_edit_automated_c2_messages":"Can edit automated messages to Customers","can_see_inbox":"Can see inbox","can_edit_their_availability":"Can edit their availability","can_edit_team_availability":"Can edit team's availability","can_edit_all_availability":"Can edit all availability","can_cancel_all_bookings_for_day":"Can cancel all the bookings for the day"}; STAFF_IS_SIA_USER = false;
API_ROOT = "https://app.10to8.com/api/jupiter/v1/"; APP_ROOT = "/diary/perkins-and-co/"; APP_NAME = "jupiter"; ORG_ID = "230407"; ORG_SLUG = "perkins-and-co"; ORG_NAME = "Perkins and Co"; ORG_COUNTRY = "US"; /* TODO: include ORG_UUID */
if(typeof Sentry === "undefined") { /* Filler so the app doesn't have to check for the existance of Sentry everywhere */ window.Sentry = { forceLoad: function() {}, onLoad: function(callback) { callback() }, configureScope: function() {}, init: function() {}, captureException: function() {}, captureMessage: function() {}, setExtra: function() {}, setUser: function() {}, addBreadcrumb: function() {}, withScope: function(callback) { callback() }, setTag: function() {} }; }
if("https://0a228d9df42b4ae58307f24f36472af8@app.10to8.com:9000/1") { console.log("jupiter: initializing sentry"); Sentry.init({ dsn: "https://0a228d9df42b4ae58307f24f36472af8@app.10to8.com:9000/1" }); Sentry.configureScope(function(scope) { scope.setUser({"id":"User/409970"}); scope.setTags({"organisation":230407,"staff":398980}); }); }
if(typeof window.addToHomescreen !== 'undefined') { window.addToHomescreen({ startDelay: 5, maxDisplayCount: 1 }) }
window.Intercom = function() {};
if(true) { zE(function() { zE('webWidget', 'helpCenter:setSuggestions', { labels: ['new'] }); }); }
FEATURES = {"edit_message_content":true,"edit_email_html":false,"send_custom_sms":true,"send_multiple_customer_sms_reminders":true,"rooms":true,"longer_sms":true,"edit_slug":true,"no_message_experiments":true,"six_month_inactive_cronofy_links_preserved":true,"inactive_cronofy_links_preserved":true,"sms_spoofing":false,"custom_domains":false,"custom_domains_in_sms":false,"multiple_location_types":true,"booking_restrictions":true,"calendar_sync":true,"staff_sms":true,"personal_branding":false,"send_voice":false,"paypal_payments":true,"sage_pay_payments":true,"no_stripe_application_fees":true,"multiple_location_availability":true,"customer_sms":true,"hipaa":false,"service_specific_booking_processes":true,"edit_logo_image":true,"multiple_booking_pages":false,"area_based_availability":true,"deactivate_within_product":true,"enterprise_connect_calendar":false,"staff_timezones":false,"salesforce_integration":false,"staff_photos":true,"multistaff_bookings":true,"multicustomer_bookings":true,"new_classes":true,"non_canary":false,"3d_secure_not_mandatory":true,"custom_salesforce":true,"zoom":true,"bulk_messaging":true,"bulk_sms_messaging":false,"signed_emails":false,"zoom_alternative_hosts":true,"whatsapp_messaging":true,"booking_invites":true,"adhoc_messaging":true,"change_c2_theme":false,"gpt_message_handler":false,"gpt_question_answerer":false,"google_meet":true};
function expressInterestInFeature(featureName) { parent.postMessage({ type: "expressInterestInFeature", featureName: featureName }, "*"); }
window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src="https://cdn.heapanalytics.com/js/heap-"+e+".js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(r,a);for(var n=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","resetIdentity","removeEventProperty","setEventProperties","track","unsetEventProperty"],o=0;o
(function() { /* List of modes, whichever is first to match gets applied */ var modes = [ [ "vvsmall", window.matchMedia("(max-width: 1400px) and (pointer: fine)") ], [ "vsmall", window.matchMedia("(max-width: 1700px) and (pointer: fine)") ], [ "small", window.matchMedia("(max-width: 1900px)") ], [ "normal", window.matchMedia("all") ] ]; var findFirstMatchingMode = function() { var modeAndMatchMedia = modes.find(function(modeAndMatchMedia) { var matchMedia = modeAndMatchMedia[1]; return matchMedia.matches; }); if(modeAndMatchMedia) { return modeAndMatchMedia[0]; } } var handleMatch = function() { let newMode = localStorage.getItem("jupiter:zoomMode") || findFirstMatchingMode(); if(newMode) { window.tteResponsiveMode = newMode; console.log("Entering " + newMode); } }; handleMatch(); })(); function setZoomMode(newMode) { window.tteResponsiveMode = newMode; localStorage.setItem("jupiter:zoomMode", newMode); }
var checkResponsiveMode = function() { var setClass = function(element, className, onOrOff) { if(onOrOff) { window.document.documentElement.classList.add(className); } else { window.document.documentElement.classList.remove(className); } }; var html = window.document.documentElement; var responsiveMode = window.top.tteResponsiveMode; setClass(html, "vvsmallResponsiveMode", responsiveMode == "vvsmall"); setClass(html, "vsmallResponsiveMode", responsiveMode == "vsmall"); setClass(html, "smallResponsiveMode", responsiveMode == "small"); setClass(html, "normalResponsiveMode", responsiveMode == "normal"); }; setInterval(checkResponsiveMode, 500); checkResponsiveMode();
function dispatchJupiterAction(action) { /* Fires an Redux Action to Jupiter, which is then processed by the * top level Reducer, before fresh state is passed to all MicroApps */ window.parent.postMessage({ type: "jupiter:action", action: action }) }; /* * Standard Jupiter Action factories. See iframe-redux-parent.js for how * these actions are handled. */ window.JupiterActions = { changeTimezone: function(newTimezone, fromSystem) { // fromSystem: true means it was not a user specified change in timezone return { type: "CHANGE_TIMEZONE", timezone: newTimezone, fromSystem: fromSystem } }, setSimpleNavigation(simpleNavigation) { return { type: "SET_SIMPLE_NAVIGATION", simpleNavigation: simpleNavigation, } }, setExtraBookingTimezones(extraTimezones) { return { type: "SET_EXTRA_BOOKING_TIMEZONES", extraTimezones: extraTimezones } }, startBooking: function(startDatetime, endDatetime, staff, location) { return { type: "START_BOOKING", params: { startDatetime: startDatetime, endDatetime: endDatetime, staff: staff || [], location: location } }; }, startRebooking: function(originalEvent) { return { type: "START_BOOKING", params: { originalEvent: originalEvent } }; }, openEvent: function(eventId) { return { type: "OPEN_EVENT", eventId: eventId }; }, closeRightPanel: function() { return { type: "CLOSE_RIGHT_PANEL" }; }, startSuggestedSlotsSearch: function(serviceId, locationId, buffers, timezone,) { return { type: "START_SUGGESTED_SLOTS_SEARCH", params: { serviceId: serviceId, locationId: locationId, buffers: buffers, timezone: timezone, } }; }, cancelSuggestedSlotsSearch: function(serviceId, locationId) { return { type: "CANCEL_SUGGESTED_SLOTS_SEARCH" }; }, startEditingWorkingHours: function(date, staff, defaultDateRange, defaultWorkingHours){ return { type: "START_EDITING_WORKING_HOURS", date: date, staff: staff, defaultDateRange: defaultDateRange, defaultWorkingHours: defaultWorkingHours } }, openSupportArticle: function(url) { return { type: "OPEN_SUPPORT_ARTICLE", url: url } } };
close
dashboard
Dashboard
date_range
Calendar
people
Customers
inbox
Inbox
settings
Setup
tune
Configuration
settings
Setup
Integrations
file_download
Reports
attach_money
Billing
open_in_new
Visit your Booking Page
content_copy
0
/80
diamond
Upgrade
X
zoom_in
Scale
remove
Large
add
search
14 Days
Remaining of your
Pro Plan Trial.
diamond
Upgrade
/* ... but don't keep that height in place forever, since that will screw up the view */ setTimeout(function() { document.getElementById("app").style.minHeight = "initial"; }, 1000); /* If our min-height: 101% fix didn't work, and the body tag *still* scrolls, hide the #app div temporarily * to retrigger layout and getting the scroll bars to work again ! */ window.addEventListener("load", function(event) { var resetApp = false; document.body.onscroll = function() { if(!resetApp) { resetApp = true; document.getElementById("app").style.display = "none"; setTimeout(function() { document.getElementById("app").style.display = "block"; }); } } });
document.addEventListener('gesturestart', function (event) { event.preventDefault(); }, false);
window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i
if(window.wootric) { window.wootricSettings = { email: "al@sleet.so", created_at: '1692883383', account_token: "NPS-a15748d7", properties: { user_id: "User/409970", staff_id: "398980", meta_account_type: "trial", custom_plan: "False", account_type: "Pro Plan Trial", country: "US", is_admin: "True", organisation_name: "Perkins and Co", } }; window.wootric('run'); }
if('serviceWorker' in navigator) { window.configureServiceWorker = function(worker, scope) { return navigator.serviceWorker .register(worker, { scope: scope }) .then(function(reg) { console.log('Registration succeeded. Scope is ' + reg.scope); return reg; }).catch(function(error) { console.log('Registration failed with ' + error + " - " + worker + scope); }); } } else { window.configureServiceWorker = function() {}; }
window.serviceWorkerRegistrationPromise = configureServiceWorker("/diary/perkins-and-co/service-worker.js", "/diary/perkins-and-co/");