Lead #2237
Best Contact
Martin Bridle —
Email
martin.bridle@pearsonmay.co.uk (person)
Override
Captured Pages
Emails: mail@pearsonmay.co.uk, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal BLOG Payroll management 101: Keeping compliant and supporting your team Home | Resources | Blog | Payroll management 101: Keeping compliant and supporting your team Getting payroll right is about more than paying people on time. It underpins trust with your staff, keeps you on the right side of HMRC and protects cashflow when margins are tight. Strong payroll management means accurate pay calculations, timely Real Time Information (RTI) submissions, robust pensions auto-enrolment processes and clear communication with employees. It also means choosing the right tools, setting sensible controls and reviewing payroll data regularly so errors are spotted early and fixed quickly. For many owner-managed businesses, payroll is the one deadline that cannot slip. HMRC expects you to report payments as they happen, pension providers expect the correct contribution files and your team expects payslips that make sense. When the system works, payroll becomes a reliable routine that supports retention and morale. When it doesn’t, it generates noise, rework and penalties that drain time and money. In this guide, we set out the essentials of a compliant, efficient payroll. We cover RTI, pensions auto-enrolment, statutory payments and the processes that make payroll run smoothly month after month. If you prefer to outsource, our dedicated team can take it off your hands, from set-up to ongoing processing and reporting — see our payroll service webpage to learn more. Payroll management essentials: RTI, pensions and accuracy Report on or before payday: RTI submissions must be sent to HMRC on or before the date you pay employees. Failures can lead to late-filing penalties, though HMRC applies limited tolerance for one-off delays and first offences in a tax year (HMRC, 2025). Keep software up to date: Approved payroll software should produce accurate full payment submissions (FPS) and employer payment summaries (EPS) aligned to the current 2025/26 requirements (HMRC, 2025). Reconcile monthly: Match FPS totals to your PAYE and national insurance contribution (NIC) liabilities before paying HMRC. Variances often trace back to starters, leavers or statutory payments not coded correctly. Protect employee experience: Payslips must be clear and consistent. Where possible, use employee self-service portals so staff can access payslips and P60s securely. Auto-enrolment: Thresholds, files and records Automatic enrolment remains a core payroll duty. For 2025/26, the earnings trigger stays at £10,000, with qualifying earnings between £6,240 and £50,270 for calculating minimum contributions (DWP, 2025). That means you must assess workers every pay period, enrol eligible staff, deduct employee contributions, add the employer contribution and pay these to the scheme on time. Practical pointers Assess workers correctly: Use system rules for age and earnings so you don’t miss anyone who becomes eligible mid-year. Maintain opt-out and re-enrolment processes: Keep clear audit trails and run re-enrolment every three years. Automate contributions files: Many providers accept direct feeds from payroll software. Automate where possible and run a control report to confirm totals sent match deductions taken. Building a dependable payroll routine A dependable routine is the simplest way to stay compliant and keep people happy. The following controls reduce risk and speed up month end. Starter and leaver checklists: Use standard forms and collect everything up front — right-to-work, starter statements, pension status, bank details. Cut-off discipline: Set data cut-offs for overtime, bonuses and absences. Late changes are a major source of re-runs and rework. Four-eyes review: Someone independent should review draft reports before submission, checking gross-to-net, variances and headcount changes. Year-round housekeeping: Update tax codes, benefits in kind, parental pay entitlements and student loan plans as notifications arrive. Statutory payments and benefits: Keep policies current Payroll needs up to date rules for the following. Statutory parental pay: Ensure eligibility checks, average earnings calculations and recovery via EPS are correctly automated. Sick pay and fit notes: Apply waiting days and company policy consistently. Payrolling benefits: Register in advance if you plan to payroll benefits and ensure gross pay, tax and Class 1A NIC are handled correctly throughout the year. If you are unsure how statutory pay interacts with holiday pay or flexible working patterns, we can help you set policies that payroll can execute consistently so there are no surprises at year end. Data security and employee trust Payroll contains sensitive personal data. Good practice includes the following. Role-based access: Limit who can view salary, addresses and bank details. Secure portals: Deliver payslips and P60s through encrypted portals rather than email attachments. Audit logs: Keep records of who changed what and when. Continuity planning: Document steps so payroll can run if a key person is off. Trust builds when employees know their information is safe and issues are resolved quickly. Clear payslips, fast responses and consistent processes all reinforce confidence. When to outsource payroll Outsourcing can be a cost-effective option in these situations. Volume is growing: More headcount, multiple sites or varied working patterns. Deadlines are at risk: Late RTI filings can trigger penalties and HMRC contact. You need resilience: Holiday cover, sickness cover and specialist knowledge without hiring. You want better reporting: Outsourced teams often provide clean reports you can use for budgeting and forecasting. If this sounds familiar, our payroll service is set up to deliver reliable processing, RTI submissions, pensions files and year-end forms with friendly support. Getting started with better payroll To strengthen payroll management, focus on three things: sound processes, capable software and consistent oversight. Build a monthly checklist that covers assessments, submissions, payments and reconciliations. Use software features to automate pension files and statutory pay calculations. Schedule regular variance reviews so issues are fixed before payday. Above all, keep communication open — staff value clear payslips and quick answers to queries. If you would like a practical review of your current set-up, we can help. Some clients ask us to implement improvements in-house, others ask us to take payroll off their desk entirely. Either way, our aim is the same: a smooth, compliant process that your team trusts. Ready to improve payroll management and free up time for the rest of your business? Visit our payroll service page or get in touch — we will give you a clear plan and a fair quote. Contact us See how we can help further your financial journey today Get in touch Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/resources\/blog\/payroll-management\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"58513","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1) var rocket_beacon_data = {"ajax_url":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","nonce":"4ef6bba229","url":"https:\/\/www.pearsonmay.co.uk\/resources\/blog\/payroll-management","is_mobile":false,"width_threshold":1600,"height_threshold":700,"delay":500,"debug":null,"status":{"atf":true,"lrc":true,"preconnect_external_domain":true},"elements":"img, video, picture, p, main, div, li, svg, section, header, span","lrc_threshold":1800,"preconnect_external_domain_elements":["link","script","iframe"],"preconnect_external_domain_exclusions":["static.cloudflareinsights.com","rel=\"profile\"","rel=\"preconnect\"","rel=\"dns-prefetch\"","rel=\"icon\""]}
Emails: mail@pearsonmay.co.uk, 491mail@pearsonmay.co, 666mail@pearsonmay.co, 441mail@pearsonmay.co, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal CONTACT US Trowbridge office Home | Contact | Trowbridge office CONTACT Talk to us in Trowbridge Let’s get you on the right track. Our Trowbridge team will be overjoyed to find you the balance and calm you deserve – not only to take you to the next stage of your business lifecycle, but help you to really know what your finances mean for your future. Mail@pearsonmay.co.uk Notice: JavaScript is required for this content. var formDisplay=1;var nfForms=nfForms||[];var form=[];form.id='8';form.settings={"objectType":"Form Setting","editActive":true,"title":"Contact form on Trowbridge page","created_at":"2023-01-18 12:29:27","default_label_pos":"above","show_title":"0","clear_complete":"1","hide_complete":"1","logged_in":"","key":"","conditions":[],"wrapper_class":"","element_class":"","add_submit":"1","not_logged_in_msg":"","sub_limit_number":"","sub_limit_msg":"","calculations":[],"formContentData":[{"formContentData":[{"order":1,"cells":[{"order":0,"fields":["first_name_1615802028192"],"width":50},{"order":1,"fields":["last_name_1615802032447"],"width":50}]},{"order":2,"cells":[{"order":0,"fields":["email"],"width":50},{"order":1,"fields":["phone_1670237905095"],"width":50}]},{"order":3,"cells":[{"order":0,"fields":["message"],"width":"100"}]},{"order":4,"cells":[{"order":0,"fields":["how_did_you_hear_about_us_1746780239715"],"width":"100"}]},{"order":5,"cells":[{"order":0,"fields":["tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783"],"width":"100"}]},{"order":6,"cells":[{"order":0,"fields":["submit"],"width":"100"}]}],"order":0,"type":"part","clean":true,"title":"Part Title","key":"ynihzog","editActive":true,"drawerDisabled":false}],"container_styles_background-color":"","container_styles_border":"","container_styles_border-style":"","container_styles_border-color":"","container_styles_color":"","container_styles_height":"","container_styles_width":"","container_styles_font-size":"","container_styles_margin":"","container_styles_padding":"","container_styles_display":"","container_styles_float":"","container_styles_show_advanced_css":"0","container_styles_advanced":"","title_styles_background-color":"","title_styles_border":"","title_styles_border-style":"","title_styles_border-color":"","title_styles_color":"","title_styles_height":"","title_styles_width":"","title_styles_font-size":"","title_styles_margin":"","title_styles_padding":"","title_styles_display":"","title_styles_float":"","title_styles_show_advanced_css":"0","title_styles_advanced":"","row_styles_background-color":"","row_styles_border":"","row_styles_border-style":"","row_styles_border-color":"","row_styles_color":"","row_styles_height":"","row_styles_width":"","row_styles_font-size":"","row_styles_margin":"","row_styles_padding":"","row_styles_display":"","row_styles_show_advanced_css":"0","row_styles_advanced":"","row-odd_styles_background-color":"","row-odd_styles_border":"","row-odd_styles_border-style":"","row-odd_styles_border-color":"","row-odd_styles_color":"","row-odd_styles_height":"","row-odd_styles_width":"","row-odd_styles_font-size":"","row-odd_styles_margin":"","row-odd_styles_padding":"","row-odd_styles_display":"","row-odd_styles_show_advanced_css":"0","row-odd_styles_advanced":"","success-msg_styles_background-color":"","success-msg_styles_border":"","success-msg_styles_border-style":"","success-msg_styles_border-color":"","success-msg_styles_color":"","success-msg_styles_height":"","success-msg_styles_width":"","success-msg_styles_font-size":"","success-msg_styles_margin":"","success-msg_styles_padding":"","success-msg_styles_display":"","success-msg_styles_show_advanced_css":"0","success-msg_styles_advanced":"","error_msg_styles_background-color":"","error_msg_styles_border":"","error_msg_styles_border-style":"","error_msg_styles_border-color":"","error_msg_styles_color":"","error_msg_styles_height":"","error_msg_styles_width":"","error_msg_styles_font-size":"","error_msg_styles_margin":"","error_msg_styles_padding":"","error_msg_styles_display":"","error_msg_styles_show_advanced_css":"0","error_msg_styles_advanced":"","currency":"","unique_field_error":"A form with this value has already been submitted.","save_progress_allow_multiple":"","save_progress_table_legend":"Load saved progress","save_progress_table_columns":[{"errors":[],"max_options":0,"label":"Column Title","field":"{field}","order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"save_progress_table_columns","type":"option-repeater","label":"Save Table Columns <a href=\"#\" class=\"nf-add-new\">Add New<\/a>","width":"full","group":"primary","columns":{"field":{"header":"Field Key","default":""}},"value":[{"label":"Column Title","field":"{field}","order":0}],"tmpl_row":"tmpl-nf-save-progress-table-columns-repeater-row"}}],"mp_breadcrumb":"1","mp_progress_bar":"1","mp_display_titles":"0","breadcrumb_container_styles_show_advanced_css":"0","breadcrumb_buttons_styles_show_advanced_css":"0","breadcrumb_button_hover_styles_show_advanced_css":"0","breadcrumb_active_button_styles_show_advanced_css":"0","progress_bar_container_styles_show_advanced_css":"0","progress_bar_fill_styles_show_advanced_css":"0","part_titles_styles_show_advanced_css":"0","navigation_container_styles_show_advanced_css":"0","previous_button_styles_show_advanced_css":"0","next_button_styles_show_advanced_css":"0","navigation_hover_styles_show_advanced_css":"0","repeatable_fieldsets":"","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","formErrorsCorrectErrors":"Please correct errors before submitting this form.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fieldsMarkedRequired":" ","drawerDisabled":false,"header_position":"left","footer_position":"left","allow_public_link":0,"embed_form":"","form_title_heading_level":"3","ninjaForms":"Ninja Forms","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formHoneypot":"If you are a human seeing this field, please leave it empty.","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form.","currency_symbol":"","beforeForm":"","beforeFields":"","afterFields":"","afterForm":""};form.fields=[{"objectType":"Field","objectDomain":"fields","editActive":false,"order":1,"idAttribute":"id","label":"First name","key":"first_name_1615802028192","type":"textbox","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","mask":"","custom_mask":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4604","custom_name_attribute":"","personally_identifiable":"","value":"","drawerDisabled":"","field_label":"First name","field_key":"first_name_1615802028192","id":67,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":2,"idAttribute":"id","type":"lastname","label":"Last name","key":"last_name_1615802032447","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","admin_label":"","help_text":"","custom_name_attribute":"lname","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4607","value":"","drawerDisabled":"","field_label":"Last name","field_key":"last_name_1615802032447","id":71,"beforeField":"","afterField":"","parentType":"lastname","element_templates":["lastname","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":3,"idAttribute":"id","label":"Email","key":"email","type":"email","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","admin_label":"","help_text":"","desc_text":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4610","custom_name_attribute":"email","personally_identifiable":1,"value":"","drawerDisabled":"","field_label":"Email","field_key":"email","id":68,"beforeField":"","afterField":"","parentType":"email","element_templates":["email","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":4,"idAttribute":"id","label":"Phone","type":"phone","key":"phone_1670237905095","label_pos":"above","required":"","default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"phone","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4612","value":"","drawerDisabled":"","field_label":"Phone","field_key":"phone_1670237905095","id":73,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["tel","textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":5,"idAttribute":"id","label":"Message","key":"message","type":"textarea","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","textarea_rte":"","disable_rte_mobile":"","textarea_media":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4615","value":"","field_label":"Message","field_key":"message","id":69,"beforeField":"","afterField":"","parentType":"textarea","element_templates":["textarea","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":6,"idAttribute":"id","type":"textbox","label":"How did you hear about us?","key":"how_did_you_hear_about_us_1746780239715","label_pos":"above","required":false,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":false,"admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"","personally_identifiable":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4618","value":"","drawerDisabled":false,"id":79,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":7,"idAttribute":"id","label":"Tick the box below to confirm you're not a robot","type":"recaptcha","container_class":"","element_class":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"size":"visible","key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","cellcid":"c4621","drawerDisabled":"","field_label":"Tick the box below to confirm you're not a robot","field_key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","id":72,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["recaptcha","input"],"old_classname":"","wrap_template":"wrap","site_key":"6LdVCt4UAAAAANIXCLavzh3_rA1papCEEuuGXYNW","theme":"light","lang":"en-GB"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":8,"idAttribute":"id","label":"Submit","key":"submit","type":"submit","created_at":"2019-02-05 10:57:14","processing_label":"Processing","container_class":"","element_class":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"#75b2dd","element_styles_border":"0px","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"#000000","element_styles_height":"","element_styles_width":"","element_styles_font-size":"17px","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","submit_element_hover_styles_background-color":"#91c1e4","submit_element_hover_styles_border":"0PX","submit_element_hover_styles_border-style":"","submit_element_hover_styles_border-color":"","submit_element_hover_styles_color":"#000000","submit_element_hover_styles_height":"","submit_element_hover_styles_width":"","submit_element_hover_styles_font-size":"17px","submit_element_hover_styles_margin":"","submit_element_hover_styles_padding":"","submit_element_hover_styles_display":"","submit_element_hover_styles_float":"","submit_element_hover_styles_show_advanced_css":0,"submit_element_hover_styles_advanced":"","cellcid":"c4624","drawerDisabled":"","field_label":"Submit","field_key":"submit","admin_label":"","id":70,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["submit","button","input"],"old_classname":"","wrap_template":"wrap-no-label"}];nfForms.push(form); <div class="nf-mp-header"></div> <div class="nf-mp-body"></div> <div class="nf-mp-footer"></div> {{{ data.renderProgressBar() }}} {{{ data.renderBreadcrumbs() }}} {{{ data.renderPartTitle() }}} <h3> {{{ data.title }}} </h3> {{{ data.renderNextPrevious() }}} <ul class="nf-next-previous"> <# if ( data.showPrevious ) { #> <li class="nf-previous-item"> <input type="button" class="nf-previous" value="{{{ data.prevLabel }}}" /> </li> <# } #> <# if ( data.showNext ) { #> <li class="nf-next-item"> <input type="button" class="nf-next" value="{{{ data.nextLabel }}}" /> </li> <# } #> </ul> <ul class="nf-breadcrumbs"> <# _.each( data.parts, function( part, index ) { #> <li class="{{{ ( data.currentIndex == index ) ? 'active' : '' }}} {{{ ( part.errors ) ? 'errors' : '' }}}"> <a href="#" class="nf-breadcrumb" data-index="{{{ index }}}">{{{ ( part.errors ) ? '' : '' }}} {{{ part.title }}}</a> </li> <# } ); #> </ul> <div class="nf-progress-container"> <div class="nf-progress" style="width: {{{ data.percent }}}%;"></div> </div> <nf-fields></nf-fields> <nf-cells></nf-cells> Bath office 01225 460 491mail@pearsonmay.co.uk37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk67 & 68 St Mary Street, Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441mail@pearsonmay.co.uk5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0","url":"mailto:mail@pearsonmay.co.uk","target":"_self"},{"class":"et_pb_blurb_3","url":"https:\/\/www.pearsonmay.co.uk\/careers\/current-vacancies\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/contact\/trowbridge-office\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"53544","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var nfi18n = {"ninjaForms":"Ninja Forms","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formErrorsCorrectErrors":"Please correct errors before submitting this form.","formHoneypot":"If you are a human seeing this field, please leave it empty.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","fieldsMarkedRequired":"Fields marked with an <span class=\"ninja-forms-req-symbol\">*<\/span> are required","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form."}; var nfFrontEnd = {"adminAjax":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","ajaxNonce":"235fc5feb3","requireBaseUrl":"https:\/\/www.pearsonmay.co.uk\/wp-content\/plugins\/ninja-forms\/assets\/js\/","use_merge_tags":{"user":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"post":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"system":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"fields":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"calculations":{"html":"html","hidden":"hidden","note":"note","unknown":"unknown","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"}},"opinionated_styles":"","filter_esc_status":"false","nf_consent_status_response":[]}; var nfInlineVars = []; /* ]]> */ /* <![CDATA[ */ var nfMPSettings = {"prevLabel":"Previous","nextLabel":"Next"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ <span id="nf-form-title-{{{ data.id }}}" class="nf-form-title"> {{{ ( 1 == data.settings.show_title ) ? '<h' + data.settings.form_title_heading_level + '>' + data.settings.title + '</h' + data.settings.form_title_heading_level + '>' : '' }}} </span> <div class="nf-form-wrap ninja-forms-form-wrap"> <div class="nf-response-msg"></div> <div class="nf-debug-msg"></div> <div class="nf-before-form"></div> <div class="nf-form-layout"></div> <div class="nf-after-form"></div> </div> {{{ data.beforeForm }}} {{{ data.afterForm }}} <div class="nf-form-fields-required">{{{ data.renderFieldsMarkedRequired() }}}</div> {{{ data.beforeFields }}} {{{ data.afterFields }}} <div id="nf-form-errors-{{{ data.id }}}" class="nf-form-errors" role="alert"></div> <div class="nf-form-hp"></div> {{{ data.beforeField }}} {{{ data.afterField }}} <form> <div> <div class="nf-before-form-content"></div> <div class="nf-form-content {{{ data.element_class }}}"></div> <div class="nf-after-form-content"></div> </div> </form> <label id="nf-label-field-hp-{{{ data.id }}}" for="nf-field-hp-{{{ data.id }}}" aria-hidden="true"> {{{ nfi18n.formHoneypot }}} <input id="nf-field-hp-{{{ data.id }}}" name="nf-field-hp" class="nf-element nf-field-hp" type="text" value="" aria-labelledby="nf-label-field-hp-{{{ data.id }}}" /> </label> <div id="nf-field-{{{ data.id }}}-container" class="nf-field-container {{{ data.type }}}-container {{{ data.renderContainerClass() }}}"> <div class="nf-before-field"></div> <div class="nf-field"></div> <div class="nf-after-field"></div> </div> {{{ data.beforeField }}} <# /* * Render our input limit section if that setting exists. */ #> <div class="nf-input-limit"></div> <# /* * Render our error section if we have an error. */ #> <div id="nf-error-{{{ data.id }}}" class="nf-error-wrap nf-error" role="alert" aria-live="assertive"></div> <# /* * Render any custom HTML after our field. */ #> {{{ data.afterField }}} <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <# /* * This is our main field template. It's called for every field type. * Note that must have ONE top-level, wrapping element. i.e. a div/span/etc that wraps all of the template. */ #> <# /* * Render our label. */ #> {{{ data.renderLabel() }}} <# /* * Render our field element. Uses the template for the field being rendered. */ #> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <# /* * Render our Description Text. */ #> {{{ data.renderDescText() }}} </div> <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <div class="nf-field-label"></div> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <div class="nf-error-wrap"></div> </div> {{{ data.renderElement() }}} <div class="nf-error-wrap"></div> <div class="nf-field-label"> <# if ( data.type === "listcheckbox" || data.type === "listradio" || data.type === "listimage" || data.type === "date" || data.type === "starrating" || data.type === "signature" || data.type === "html" || data.type === "hr" ) { #> <span id="nf-label-field-{{{ data.id }}}" class="nf-label-span {{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </span> <# } else { #> <label for="nf-field-{{{ data.id }}}" id="nf-label-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </label> <# } #> </div> <div class="nf-error-msg nf-error-{{{ data.id }}}" aria-live="assertive">{{{ data.msg }}}</div> <div class="nf-error-msg nf-error-{{{ data.id }}}">{{{ data.msg }}}</div> {{{ data.currentCount() }}} {{{ nfi18n.of }}} {{{ data.input_limit }}} {{{ data.input_limit_msg }}} <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeInputLimit() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="email" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{data.maybeDisableAutocomplete()}}} {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="tel" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.maybeDisabled() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <textarea id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeDisableAutocomplete() }}} {{{ data.maybeInputLimit() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} >{{{ _.escape( data.value ) }}}</textarea> <span class="dashicons dashicons-admin-media"></span> <span class="dashicons dashicons-admin-links"></span> <span class="dashicons dashicons-editor-unlink"></span> <div class="summernote-link"> URL <input type="url" class="widefat code link-url"> <br /> Text <input type="url" class="widefat code link-text"> <br /> <label> <input type="checkbox" class="link-new-window"> {{{ nfi18n.fieldsTextareaOpenNewWindow }}} </label> <input type="button" class="cancel-link extra" value="Cancel"> <input type="button" class="insert-link extra" value="Insert"> </div> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="hidden" value="{{{ data.value }}}" /> <div class="g-recaptcha" data-callback="nf_recaptcha_response_{{{ data.id }}}" data-theme="{{{ data.theme }}}" data-sitekey="{{{ data.site_key }}}" data-fieldid="{{{ data.id }}}" {{{ ( "invisible" == data.size ) ? 'data-size="invisible"' : '' }}}></div> <# let myType = data.type if('save'== data.type){ myType = 'button' } #> <input id="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element " type="{{{myType}}}" value="{{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}}" {{{ ( data.disabled ) ? 'aria-disabled="true" disabled="true"' : '' }}}> <button id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.classes }}} nf-element"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} </button> window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: mail@pearsonmay.co.uk, 491mail@pearsonmay.co, 666mail@pearsonmay.co, 441mail@pearsonmay.co, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal CONTACT US Chippenham office Home | Contact | Chippenham office CONTACT Chat to us in Chippenham Our accounting team in Chippenham will be excited to talk to you about your needs. Whether you have tax problems, need to sort out probate, or you’re just unsure of how to take your business to the next-level, we’ll be more than happy to assist you. Mail@pearsonmay.co.uk Notice: JavaScript is required for this content. var formDisplay=1;var nfForms=nfForms||[];var form=[];form.id='7';form.settings={"objectType":"Form Setting","editActive":true,"title":"Contact form on Chippenham Office page","created_at":"2023-01-18 12:29:19","default_label_pos":"above","show_title":"0","clear_complete":"1","hide_complete":"1","logged_in":"","key":"","conditions":[],"wrapper_class":"","element_class":"","add_submit":"1","not_logged_in_msg":"","sub_limit_number":"","sub_limit_msg":"","calculations":[],"formContentData":[{"formContentData":[{"order":1,"cells":[{"order":0,"fields":["first_name_1615802028192"],"width":50},{"order":1,"fields":["last_name_1615802032447"],"width":50}]},{"order":2,"cells":[{"order":0,"fields":["email"],"width":50},{"order":1,"fields":["phone_1670237905095"],"width":50}]},{"order":4,"cells":[{"order":0,"fields":["message"],"width":"100"}]},{"order":5,"cells":[{"order":0,"fields":["how_did_you_hear_about_us_1746780047528"],"width":"100"}]},{"order":6,"cells":[{"order":0,"fields":["tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783"],"width":"100"}]},{"order":7,"cells":[{"order":0,"fields":["submit"],"width":"100"}]}],"order":0,"type":"part","clean":true,"title":"Part Title","key":"ynihzog","editActive":true,"drawerDisabled":false}],"container_styles_background-color":"","container_styles_border":"","container_styles_border-style":"","container_styles_border-color":"","container_styles_color":"","container_styles_height":"","container_styles_width":"","container_styles_font-size":"","container_styles_margin":"","container_styles_padding":"","container_styles_display":"","container_styles_float":"","container_styles_show_advanced_css":"0","container_styles_advanced":"","title_styles_background-color":"","title_styles_border":"","title_styles_border-style":"","title_styles_border-color":"","title_styles_color":"","title_styles_height":"","title_styles_width":"","title_styles_font-size":"","title_styles_margin":"","title_styles_padding":"","title_styles_display":"","title_styles_float":"","title_styles_show_advanced_css":"0","title_styles_advanced":"","row_styles_background-color":"","row_styles_border":"","row_styles_border-style":"","row_styles_border-color":"","row_styles_color":"","row_styles_height":"","row_styles_width":"","row_styles_font-size":"","row_styles_margin":"","row_styles_padding":"","row_styles_display":"","row_styles_show_advanced_css":"0","row_styles_advanced":"","row-odd_styles_background-color":"","row-odd_styles_border":"","row-odd_styles_border-style":"","row-odd_styles_border-color":"","row-odd_styles_color":"","row-odd_styles_height":"","row-odd_styles_width":"","row-odd_styles_font-size":"","row-odd_styles_margin":"","row-odd_styles_padding":"","row-odd_styles_display":"","row-odd_styles_show_advanced_css":"0","row-odd_styles_advanced":"","success-msg_styles_background-color":"","success-msg_styles_border":"","success-msg_styles_border-style":"","success-msg_styles_border-color":"","success-msg_styles_color":"","success-msg_styles_height":"","success-msg_styles_width":"","success-msg_styles_font-size":"","success-msg_styles_margin":"","success-msg_styles_padding":"","success-msg_styles_display":"","success-msg_styles_show_advanced_css":"0","success-msg_styles_advanced":"","error_msg_styles_background-color":"","error_msg_styles_border":"","error_msg_styles_border-style":"","error_msg_styles_border-color":"","error_msg_styles_color":"","error_msg_styles_height":"","error_msg_styles_width":"","error_msg_styles_font-size":"","error_msg_styles_margin":"","error_msg_styles_padding":"","error_msg_styles_display":"","error_msg_styles_show_advanced_css":"0","error_msg_styles_advanced":"","currency":"","unique_field_error":"A form with this value has already been submitted.","save_progress_allow_multiple":"","save_progress_table_legend":"Load saved progress","save_progress_table_columns":[{"errors":[],"max_options":0,"label":"Column Title","field":"{field}","order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"save_progress_table_columns","type":"option-repeater","label":"Save Table Columns <a href=\"#\" class=\"nf-add-new\">Add New<\/a>","width":"full","group":"primary","columns":{"field":{"header":"Field Key","default":""}},"value":[{"label":"Column Title","field":"{field}","order":0}],"tmpl_row":"tmpl-nf-save-progress-table-columns-repeater-row"}}],"mp_breadcrumb":"1","mp_progress_bar":"1","mp_display_titles":"0","breadcrumb_container_styles_show_advanced_css":"0","breadcrumb_buttons_styles_show_advanced_css":"0","breadcrumb_button_hover_styles_show_advanced_css":"0","breadcrumb_active_button_styles_show_advanced_css":"0","progress_bar_container_styles_show_advanced_css":"0","progress_bar_fill_styles_show_advanced_css":"0","part_titles_styles_show_advanced_css":"0","navigation_container_styles_show_advanced_css":"0","previous_button_styles_show_advanced_css":"0","next_button_styles_show_advanced_css":"0","navigation_hover_styles_show_advanced_css":"0","repeatable_fieldsets":"","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","formErrorsCorrectErrors":"Please correct errors before submitting this form.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fieldsMarkedRequired":" ","drawerDisabled":false,"header_position":"left","footer_position":"left","allow_public_link":0,"embed_form":"","form_title_heading_level":"3","ninjaForms":"Ninja Forms","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formHoneypot":"If you are a human seeing this field, please leave it empty.","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form.","currency_symbol":"","beforeForm":"","beforeFields":"","afterFields":"","afterForm":""};form.fields=[{"objectType":"Field","objectDomain":"fields","editActive":false,"order":1,"idAttribute":"id","label":"First name","key":"first_name_1615802028192","type":"textbox","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","mask":"","custom_mask":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4604","custom_name_attribute":"","personally_identifiable":"","value":"","drawerDisabled":"","field_label":"First name","field_key":"first_name_1615802028192","id":59,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":2,"idAttribute":"id","type":"lastname","label":"Last name","key":"last_name_1615802032447","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","admin_label":"","help_text":"","custom_name_attribute":"lname","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4607","value":"","drawerDisabled":"","field_label":"Last name","field_key":"last_name_1615802032447","id":63,"beforeField":"","afterField":"","parentType":"lastname","element_templates":["lastname","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":3,"idAttribute":"id","label":"Email","key":"email","type":"email","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","admin_label":"","help_text":"","desc_text":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4610","custom_name_attribute":"email","personally_identifiable":1,"value":"","drawerDisabled":"","field_label":"Email","field_key":"email","id":60,"beforeField":"","afterField":"","parentType":"email","element_templates":["email","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":4,"idAttribute":"id","label":"Phone","type":"phone","key":"phone_1670237905095","label_pos":"above","required":"","default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"phone","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4612","value":"","drawerDisabled":"","field_label":"Phone","field_key":"phone_1670237905095","id":65,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["tel","textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":5,"idAttribute":"id","label":"Message","key":"message","type":"textarea","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","textarea_rte":"","disable_rte_mobile":"","textarea_media":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4615","value":"","field_label":"Message","field_key":"message","id":61,"beforeField":"","afterField":"","parentType":"textarea","element_templates":["textarea","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":6,"idAttribute":"id","type":"textbox","label":"How did you hear about us?","key":"how_did_you_hear_about_us_1746780047528","label_pos":"above","required":false,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":false,"admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"","personally_identifiable":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4618","value":"","drawerDisabled":false,"id":78,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":7,"idAttribute":"id","label":"Tick the box below to confirm you're not a robot","type":"recaptcha","container_class":"","element_class":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"size":"visible","key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","cellcid":"c4621","drawerDisabled":"","field_label":"Tick the box below to confirm you're not a robot","field_key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","id":64,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["recaptcha","input"],"old_classname":"","wrap_template":"wrap","site_key":"6LdVCt4UAAAAANIXCLavzh3_rA1papCEEuuGXYNW","theme":"light","lang":"en-GB"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":8,"idAttribute":"id","label":"Submit","key":"submit","type":"submit","created_at":"2019-02-05 10:57:14","processing_label":"Processing","container_class":"","element_class":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"#75b2dd","element_styles_border":"0px","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"#000000","element_styles_height":"","element_styles_width":"","element_styles_font-size":"17px","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","submit_element_hover_styles_background-color":"#91c1e4","submit_element_hover_styles_border":"0PX","submit_element_hover_styles_border-style":"","submit_element_hover_styles_border-color":"","submit_element_hover_styles_color":"#000000","submit_element_hover_styles_height":"","submit_element_hover_styles_width":"","submit_element_hover_styles_font-size":"17px","submit_element_hover_styles_margin":"","submit_element_hover_styles_padding":"","submit_element_hover_styles_display":"","submit_element_hover_styles_float":"","submit_element_hover_styles_show_advanced_css":0,"submit_element_hover_styles_advanced":"","cellcid":"c4624","drawerDisabled":"","field_label":"Submit","field_key":"submit","admin_label":"","id":62,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["submit","button","input"],"old_classname":"","wrap_template":"wrap-no-label"}];nfForms.push(form); <div class="nf-mp-header"></div> <div class="nf-mp-body"></div> <div class="nf-mp-footer"></div> {{{ data.renderProgressBar() }}} {{{ data.renderBreadcrumbs() }}} {{{ data.renderPartTitle() }}} <h3> {{{ data.title }}} </h3> {{{ data.renderNextPrevious() }}} <ul class="nf-next-previous"> <# if ( data.showPrevious ) { #> <li class="nf-previous-item"> <input type="button" class="nf-previous" value="{{{ data.prevLabel }}}" /> </li> <# } #> <# if ( data.showNext ) { #> <li class="nf-next-item"> <input type="button" class="nf-next" value="{{{ data.nextLabel }}}" /> </li> <# } #> </ul> <ul class="nf-breadcrumbs"> <# _.each( data.parts, function( part, index ) { #> <li class="{{{ ( data.currentIndex == index ) ? 'active' : '' }}} {{{ ( part.errors ) ? 'errors' : '' }}}"> <a href="#" class="nf-breadcrumb" data-index="{{{ index }}}">{{{ ( part.errors ) ? '' : '' }}} {{{ part.title }}}</a> </li> <# } ); #> </ul> <div class="nf-progress-container"> <div class="nf-progress" style="width: {{{ data.percent }}}%;"></div> </div> <nf-fields></nf-fields> <nf-cells></nf-cells> Bath office 01225 460 491mail@pearsonmay.co.uk37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk67 & 68 St Mary Street, Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441mail@pearsonmay.co.uk5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0","url":"mailto:mail@pearsonmay.co.uk","target":"_self"},{"class":"et_pb_blurb_3","url":"https:\/\/www.pearsonmay.co.uk\/careers\/current-vacancies\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/contact\/chippenham-office\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"53538","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var nfi18n = {"ninjaForms":"Ninja Forms","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formErrorsCorrectErrors":"Please correct errors before submitting this form.","formHoneypot":"If you are a human seeing this field, please leave it empty.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","fieldsMarkedRequired":"Fields marked with an <span class=\"ninja-forms-req-symbol\">*<\/span> are required","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form."}; var nfFrontEnd = {"adminAjax":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","ajaxNonce":"235fc5feb3","requireBaseUrl":"https:\/\/www.pearsonmay.co.uk\/wp-content\/plugins\/ninja-forms\/assets\/js\/","use_merge_tags":{"user":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"post":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"system":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"fields":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"calculations":{"html":"html","hidden":"hidden","note":"note","unknown":"unknown","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"}},"opinionated_styles":"","filter_esc_status":"false","nf_consent_status_response":[]}; var nfInlineVars = []; /* ]]> */ /* <![CDATA[ */ var nfMPSettings = {"prevLabel":"Previous","nextLabel":"Next"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ <span id="nf-form-title-{{{ data.id }}}" class="nf-form-title"> {{{ ( 1 == data.settings.show_title ) ? '<h' + data.settings.form_title_heading_level + '>' + data.settings.title + '</h' + data.settings.form_title_heading_level + '>' : '' }}} </span> <div class="nf-form-wrap ninja-forms-form-wrap"> <div class="nf-response-msg"></div> <div class="nf-debug-msg"></div> <div class="nf-before-form"></div> <div class="nf-form-layout"></div> <div class="nf-after-form"></div> </div> {{{ data.beforeForm }}} {{{ data.afterForm }}} <div class="nf-form-fields-required">{{{ data.renderFieldsMarkedRequired() }}}</div> {{{ data.beforeFields }}} {{{ data.afterFields }}} <div id="nf-form-errors-{{{ data.id }}}" class="nf-form-errors" role="alert"></div> <div class="nf-form-hp"></div> {{{ data.beforeField }}} {{{ data.afterField }}} <form> <div> <div class="nf-before-form-content"></div> <div class="nf-form-content {{{ data.element_class }}}"></div> <div class="nf-after-form-content"></div> </div> </form> <label id="nf-label-field-hp-{{{ data.id }}}" for="nf-field-hp-{{{ data.id }}}" aria-hidden="true"> {{{ nfi18n.formHoneypot }}} <input id="nf-field-hp-{{{ data.id }}}" name="nf-field-hp" class="nf-element nf-field-hp" type="text" value="" aria-labelledby="nf-label-field-hp-{{{ data.id }}}" /> </label> <div id="nf-field-{{{ data.id }}}-container" class="nf-field-container {{{ data.type }}}-container {{{ data.renderContainerClass() }}}"> <div class="nf-before-field"></div> <div class="nf-field"></div> <div class="nf-after-field"></div> </div> {{{ data.beforeField }}} <# /* * Render our input limit section if that setting exists. */ #> <div class="nf-input-limit"></div> <# /* * Render our error section if we have an error. */ #> <div id="nf-error-{{{ data.id }}}" class="nf-error-wrap nf-error" role="alert" aria-live="assertive"></div> <# /* * Render any custom HTML after our field. */ #> {{{ data.afterField }}} <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <# /* * This is our main field template. It's called for every field type. * Note that must have ONE top-level, wrapping element. i.e. a div/span/etc that wraps all of the template. */ #> <# /* * Render our label. */ #> {{{ data.renderLabel() }}} <# /* * Render our field element. Uses the template for the field being rendered. */ #> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <# /* * Render our Description Text. */ #> {{{ data.renderDescText() }}} </div> <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <div class="nf-field-label"></div> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <div class="nf-error-wrap"></div> </div> {{{ data.renderElement() }}} <div class="nf-error-wrap"></div> <div class="nf-field-label"> <# if ( data.type === "listcheckbox" || data.type === "listradio" || data.type === "listimage" || data.type === "date" || data.type === "starrating" || data.type === "signature" || data.type === "html" || data.type === "hr" ) { #> <span id="nf-label-field-{{{ data.id }}}" class="nf-label-span {{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </span> <# } else { #> <label for="nf-field-{{{ data.id }}}" id="nf-label-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </label> <# } #> </div> <div class="nf-error-msg nf-error-{{{ data.id }}}" aria-live="assertive">{{{ data.msg }}}</div> <div class="nf-error-msg nf-error-{{{ data.id }}}">{{{ data.msg }}}</div> {{{ data.currentCount() }}} {{{ nfi18n.of }}} {{{ data.input_limit }}} {{{ data.input_limit_msg }}} <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeInputLimit() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="email" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{data.maybeDisableAutocomplete()}}} {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="tel" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.maybeDisabled() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <textarea id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeDisableAutocomplete() }}} {{{ data.maybeInputLimit() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} >{{{ _.escape( data.value ) }}}</textarea> <span class="dashicons dashicons-admin-media"></span> <span class="dashicons dashicons-admin-links"></span> <span class="dashicons dashicons-editor-unlink"></span> <div class="summernote-link"> URL <input type="url" class="widefat code link-url"> <br /> Text <input type="url" class="widefat code link-text"> <br /> <label> <input type="checkbox" class="link-new-window"> {{{ nfi18n.fieldsTextareaOpenNewWindow }}} </label> <input type="button" class="cancel-link extra" value="Cancel"> <input type="button" class="insert-link extra" value="Insert"> </div> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="hidden" value="{{{ data.value }}}" /> <div class="g-recaptcha" data-callback="nf_recaptcha_response_{{{ data.id }}}" data-theme="{{{ data.theme }}}" data-sitekey="{{{ data.site_key }}}" data-fieldid="{{{ data.id }}}" {{{ ( "invisible" == data.size ) ? 'data-size="invisible"' : '' }}}></div> <# let myType = data.type if('save'== data.type){ myType = 'button' } #> <input id="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element " type="{{{myType}}}" value="{{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}}" {{{ ( data.disabled ) ? 'aria-disabled="true" disabled="true"' : '' }}}> <button id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.classes }}} nf-element"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} </button> window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
https://pearsonmay.co.uk/contact/bath-office
Status: 200
Emails: mail@pearsonmay.co.uk, 491mail@pearsonmay.co, 666mail@pearsonmay.co, 441mail@pearsonmay.co, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal CONTACT US Bath office Home | Contact | Bath office CONTACT Reach us in Bath When our offices originally opened in Bath, our founders were probably unaware of just how longstanding the firm would be. If you’re local to us, we’d love to see you in our office. If not, give us a call and we’ll be more than happy to talk to you about your needs. Mail@pearsonmay.co.uk Notice: JavaScript is required for this content. var formDisplay=1;var nfForms=nfForms||[];var form=[];form.id='6';form.settings={"objectType":"Form Setting","editActive":true,"title":"Contact form on Bath Office page","created_at":"2023-01-18 12:29:13","default_label_pos":"above","show_title":"0","clear_complete":"1","hide_complete":"1","logged_in":"","key":"","conditions":[],"wrapper_class":"","element_class":"","add_submit":"1","not_logged_in_msg":"","sub_limit_number":"","sub_limit_msg":"","calculations":[],"formContentData":[{"formContentData":[{"order":1,"cells":[{"order":0,"fields":["this_is_for_the_bath_office_1746801728762"],"width":"100"}]},{"order":2,"cells":[{"order":0,"fields":["first_name_1615802028192"],"width":50},{"order":1,"fields":["last_name_1615802032447"],"width":50}]},{"order":3,"cells":[{"order":0,"fields":["email"],"width":50},{"order":1,"fields":["phone_1670237905095"],"width":50}]},{"order":4,"cells":[{"order":0,"fields":["message"],"width":"100"}]},{"order":5,"cells":[{"order":0,"fields":["how_did_you_hear_about_us_1746779997902"],"width":"100"}]},{"order":6,"cells":[{"order":0,"fields":["tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783"],"width":"100"}]},{"order":7,"cells":[{"order":0,"fields":["submit"],"width":"100"}]}],"order":0,"type":"part","clean":true,"title":"Part Title","key":"ynihzog","editActive":true,"drawerDisabled":false}],"container_styles_background-color":"","container_styles_border":"","container_styles_border-style":"","container_styles_border-color":"","container_styles_color":"","container_styles_height":"","container_styles_width":"","container_styles_font-size":"","container_styles_margin":"","container_styles_padding":"","container_styles_display":"","container_styles_float":"","container_styles_show_advanced_css":"0","container_styles_advanced":"","title_styles_background-color":"","title_styles_border":"","title_styles_border-style":"","title_styles_border-color":"","title_styles_color":"","title_styles_height":"","title_styles_width":"","title_styles_font-size":"","title_styles_margin":"","title_styles_padding":"","title_styles_display":"","title_styles_float":"","title_styles_show_advanced_css":"0","title_styles_advanced":"","row_styles_background-color":"","row_styles_border":"","row_styles_border-style":"","row_styles_border-color":"","row_styles_color":"","row_styles_height":"","row_styles_width":"","row_styles_font-size":"","row_styles_margin":"","row_styles_padding":"","row_styles_display":"","row_styles_show_advanced_css":"0","row_styles_advanced":"","row-odd_styles_background-color":"","row-odd_styles_border":"","row-odd_styles_border-style":"","row-odd_styles_border-color":"","row-odd_styles_color":"","row-odd_styles_height":"","row-odd_styles_width":"","row-odd_styles_font-size":"","row-odd_styles_margin":"","row-odd_styles_padding":"","row-odd_styles_display":"","row-odd_styles_show_advanced_css":"0","row-odd_styles_advanced":"","success-msg_styles_background-color":"","success-msg_styles_border":"","success-msg_styles_border-style":"","success-msg_styles_border-color":"","success-msg_styles_color":"","success-msg_styles_height":"","success-msg_styles_width":"","success-msg_styles_font-size":"","success-msg_styles_margin":"","success-msg_styles_padding":"","success-msg_styles_display":"","success-msg_styles_show_advanced_css":"0","success-msg_styles_advanced":"","error_msg_styles_background-color":"","error_msg_styles_border":"","error_msg_styles_border-style":"","error_msg_styles_border-color":"","error_msg_styles_color":"","error_msg_styles_height":"","error_msg_styles_width":"","error_msg_styles_font-size":"","error_msg_styles_margin":"","error_msg_styles_padding":"","error_msg_styles_display":"","error_msg_styles_show_advanced_css":"0","error_msg_styles_advanced":"","currency":"","unique_field_error":"A form with this value has already been submitted.","save_progress_allow_multiple":"","save_progress_table_legend":"Load saved progress","save_progress_table_columns":[{"errors":[],"max_options":0,"label":"Column Title","field":"{field}","order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"save_progress_table_columns","type":"option-repeater","label":"Save Table Columns <a href=\"#\" class=\"nf-add-new\">Add New<\/a>","width":"full","group":"primary","columns":{"field":{"header":"Field Key","default":""}},"value":[{"label":"Column Title","field":"{field}","order":0}],"tmpl_row":"tmpl-nf-save-progress-table-columns-repeater-row"}}],"mp_breadcrumb":"1","mp_progress_bar":"1","mp_display_titles":"0","breadcrumb_container_styles_show_advanced_css":"0","breadcrumb_buttons_styles_show_advanced_css":"0","breadcrumb_button_hover_styles_show_advanced_css":"0","breadcrumb_active_button_styles_show_advanced_css":"0","progress_bar_container_styles_show_advanced_css":"0","progress_bar_fill_styles_show_advanced_css":"0","part_titles_styles_show_advanced_css":"0","navigation_container_styles_show_advanced_css":"0","previous_button_styles_show_advanced_css":"0","next_button_styles_show_advanced_css":"0","navigation_hover_styles_show_advanced_css":"0","repeatable_fieldsets":"","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","formErrorsCorrectErrors":"Please correct errors before submitting this form.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fieldsMarkedRequired":" ","drawerDisabled":false,"header_position":"left","footer_position":"left","allow_public_link":0,"embed_form":"","form_title_heading_level":"3","ninjaForms":"Ninja Forms","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formHoneypot":"If you are a human seeing this field, please leave it empty.","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form.","currency_symbol":"","beforeForm":"","beforeFields":"","afterFields":"","afterForm":""};form.fields=[{"objectType":"Field","objectDomain":"fields","editActive":false,"order":1,"idAttribute":"id","type":"hidden","label":"This is for the Bath office","key":"this_is_for_the_bath_office_1746801728762","default":"","admin_label":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4609","drawerDisabled":false,"id":80,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"hidden","element_templates":["hidden","input"],"old_classname":"","wrap_template":"wrap-no-label"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":2,"idAttribute":"id","label":"First name","key":"first_name_1615802028192","type":"textbox","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","mask":"","custom_mask":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4613","custom_name_attribute":"","personally_identifiable":"","value":"","drawerDisabled":"","field_label":"First name","field_key":"first_name_1615802028192","id":51,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":3,"idAttribute":"id","type":"lastname","label":"Last name","key":"last_name_1615802032447","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","admin_label":"","help_text":"","custom_name_attribute":"lname","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4615","value":"","drawerDisabled":"","field_label":"Last name","field_key":"last_name_1615802032447","id":55,"beforeField":"","afterField":"","parentType":"lastname","element_templates":["lastname","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":4,"idAttribute":"id","label":"Email","key":"email","type":"email","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","admin_label":"","help_text":"","desc_text":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4618","custom_name_attribute":"email","personally_identifiable":1,"value":"","drawerDisabled":"","field_label":"Email","field_key":"email","id":52,"beforeField":"","afterField":"","parentType":"email","element_templates":["email","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":5,"idAttribute":"id","label":"Phone","type":"phone","key":"phone_1670237905095","label_pos":"above","required":"","default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"phone","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4620","value":"","drawerDisabled":"","field_label":"Phone","field_key":"phone_1670237905095","id":57,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["tel","textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":6,"idAttribute":"id","label":"Message","key":"message","type":"textarea","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","textarea_rte":"","disable_rte_mobile":"","textarea_media":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4623","value":"","field_label":"Message","field_key":"message","id":53,"beforeField":"","afterField":"","parentType":"textarea","element_templates":["textarea","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":7,"idAttribute":"id","type":"textbox","label":"How did you hear about us?","key":"how_did_you_hear_about_us_1746779997902","label_pos":"above","required":false,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":false,"admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"","personally_identifiable":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4626","value":"","drawerDisabled":false,"id":77,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":8,"idAttribute":"id","label":"Tick the box below to confirm you're not a robot","type":"recaptcha","container_class":"","element_class":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"size":"visible","key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","cellcid":"c4629","drawerDisabled":"","field_label":"Tick the box below to confirm you're not a robot","field_key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","id":56,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["recaptcha","input"],"old_classname":"","wrap_template":"wrap","site_key":"6LdVCt4UAAAAANIXCLavzh3_rA1papCEEuuGXYNW","theme":"light","lang":"en-GB"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":9,"idAttribute":"id","label":"Submit","key":"submit","type":"submit","created_at":"2019-02-05 10:57:14","processing_label":"Processing","container_class":"","element_class":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"#75b2dd","element_styles_border":"0px","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"#000000","element_styles_height":"","element_styles_width":"","element_styles_font-size":"17px","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","submit_element_hover_styles_background-color":"#91c1e4","submit_element_hover_styles_border":"0PX","submit_element_hover_styles_border-style":"","submit_element_hover_styles_border-color":"","submit_element_hover_styles_color":"#000000","submit_element_hover_styles_height":"","submit_element_hover_styles_width":"","submit_element_hover_styles_font-size":"17px","submit_element_hover_styles_margin":"","submit_element_hover_styles_padding":"","submit_element_hover_styles_display":"","submit_element_hover_styles_float":"","submit_element_hover_styles_show_advanced_css":0,"submit_element_hover_styles_advanced":"","cellcid":"c4632","drawerDisabled":"","field_label":"Submit","field_key":"submit","admin_label":"","id":54,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["submit","button","input"],"old_classname":"","wrap_template":"wrap-no-label"}];nfForms.push(form); <div class="nf-mp-header"></div> <div class="nf-mp-body"></div> <div class="nf-mp-footer"></div> {{{ data.renderProgressBar() }}} {{{ data.renderBreadcrumbs() }}} {{{ data.renderPartTitle() }}} <h3> {{{ data.title }}} </h3> {{{ data.renderNextPrevious() }}} <ul class="nf-next-previous"> <# if ( data.showPrevious ) { #> <li class="nf-previous-item"> <input type="button" class="nf-previous" value="{{{ data.prevLabel }}}" /> </li> <# } #> <# if ( data.showNext ) { #> <li class="nf-next-item"> <input type="button" class="nf-next" value="{{{ data.nextLabel }}}" /> </li> <# } #> </ul> <ul class="nf-breadcrumbs"> <# _.each( data.parts, function( part, index ) { #> <li class="{{{ ( data.currentIndex == index ) ? 'active' : '' }}} {{{ ( part.errors ) ? 'errors' : '' }}}"> <a href="#" class="nf-breadcrumb" data-index="{{{ index }}}">{{{ ( part.errors ) ? '' : '' }}} {{{ part.title }}}</a> </li> <# } ); #> </ul> <div class="nf-progress-container"> <div class="nf-progress" style="width: {{{ data.percent }}}%;"></div> </div> <nf-fields></nf-fields> <nf-cells></nf-cells> Bath office 01225 460 491mail@pearsonmay.co.uk37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk67 & 68 St Mary Street, Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441mail@pearsonmay.co.uk5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0","url":"mailto:mail@pearsonmay.co.uk","target":"_self"},{"class":"et_pb_blurb_3","url":"https:\/\/www.pearsonmay.co.uk\/careers\/current-vacancies\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/contact\/bath-office\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"53541","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var nfi18n = {"ninjaForms":"Ninja Forms","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formErrorsCorrectErrors":"Please correct errors before submitting this form.","formHoneypot":"If you are a human seeing this field, please leave it empty.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","fieldsMarkedRequired":"Fields marked with an <span class=\"ninja-forms-req-symbol\">*<\/span> are required","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form."}; var nfFrontEnd = {"adminAjax":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","ajaxNonce":"235fc5feb3","requireBaseUrl":"https:\/\/www.pearsonmay.co.uk\/wp-content\/plugins\/ninja-forms\/assets\/js\/","use_merge_tags":{"user":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"post":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"system":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"fields":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"calculations":{"html":"html","hidden":"hidden","note":"note","unknown":"unknown","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"}},"opinionated_styles":"","filter_esc_status":"false","nf_consent_status_response":[]}; var nfInlineVars = []; /* ]]> */ /* <![CDATA[ */ var nfMPSettings = {"prevLabel":"Previous","nextLabel":"Next"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ <span id="nf-form-title-{{{ data.id }}}" class="nf-form-title"> {{{ ( 1 == data.settings.show_title ) ? '<h' + data.settings.form_title_heading_level + '>' + data.settings.title + '</h' + data.settings.form_title_heading_level + '>' : '' }}} </span> <div class="nf-form-wrap ninja-forms-form-wrap"> <div class="nf-response-msg"></div> <div class="nf-debug-msg"></div> <div class="nf-before-form"></div> <div class="nf-form-layout"></div> <div class="nf-after-form"></div> </div> {{{ data.beforeForm }}} {{{ data.afterForm }}} <div class="nf-form-fields-required">{{{ data.renderFieldsMarkedRequired() }}}</div> {{{ data.beforeFields }}} {{{ data.afterFields }}} <div id="nf-form-errors-{{{ data.id }}}" class="nf-form-errors" role="alert"></div> <div class="nf-form-hp"></div> {{{ data.beforeField }}} {{{ data.afterField }}} <form> <div> <div class="nf-before-form-content"></div> <div class="nf-form-content {{{ data.element_class }}}"></div> <div class="nf-after-form-content"></div> </div> </form> <label id="nf-label-field-hp-{{{ data.id }}}" for="nf-field-hp-{{{ data.id }}}" aria-hidden="true"> {{{ nfi18n.formHoneypot }}} <input id="nf-field-hp-{{{ data.id }}}" name="nf-field-hp" class="nf-element nf-field-hp" type="text" value="" aria-labelledby="nf-label-field-hp-{{{ data.id }}}" /> </label> <div id="nf-field-{{{ data.id }}}-container" class="nf-field-container {{{ data.type }}}-container {{{ data.renderContainerClass() }}}"> <div class="nf-before-field"></div> <div class="nf-field"></div> <div class="nf-after-field"></div> </div> {{{ data.beforeField }}} <# /* * Render our input limit section if that setting exists. */ #> <div class="nf-input-limit"></div> <# /* * Render our error section if we have an error. */ #> <div id="nf-error-{{{ data.id }}}" class="nf-error-wrap nf-error" role="alert" aria-live="assertive"></div> <# /* * Render any custom HTML after our field. */ #> {{{ data.afterField }}} <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <# /* * This is our main field template. It's called for every field type. * Note that must have ONE top-level, wrapping element. i.e. a div/span/etc that wraps all of the template. */ #> <# /* * Render our label. */ #> {{{ data.renderLabel() }}} <# /* * Render our field element. Uses the template for the field being rendered. */ #> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <# /* * Render our Description Text. */ #> {{{ data.renderDescText() }}} </div> <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <div class="nf-field-label"></div> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <div class="nf-error-wrap"></div> </div> {{{ data.renderElement() }}} <div class="nf-error-wrap"></div> <div class="nf-field-label"> <# if ( data.type === "listcheckbox" || data.type === "listradio" || data.type === "listimage" || data.type === "date" || data.type === "starrating" || data.type === "signature" || data.type === "html" || data.type === "hr" ) { #> <span id="nf-label-field-{{{ data.id }}}" class="nf-label-span {{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </span> <# } else { #> <label for="nf-field-{{{ data.id }}}" id="nf-label-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </label> <# } #> </div> <div class="nf-error-msg nf-error-{{{ data.id }}}" aria-live="assertive">{{{ data.msg }}}</div> <div class="nf-error-msg nf-error-{{{ data.id }}}">{{{ data.msg }}}</div> {{{ data.currentCount() }}} {{{ nfi18n.of }}} {{{ data.input_limit }}} {{{ data.input_limit_msg }}} <input type="hidden" id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}}> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeInputLimit() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="email" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{data.maybeDisableAutocomplete()}}} {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="tel" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.maybeDisabled() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <textarea id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeDisableAutocomplete() }}} {{{ data.maybeInputLimit() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} >{{{ _.escape( data.value ) }}}</textarea> <span class="dashicons dashicons-admin-media"></span> <span class="dashicons dashicons-admin-links"></span> <span class="dashicons dashicons-editor-unlink"></span> <div class="summernote-link"> URL <input type="url" class="widefat code link-url"> <br /> Text <input type="url" class="widefat code link-text"> <br /> <label> <input type="checkbox" class="link-new-window"> {{{ nfi18n.fieldsTextareaOpenNewWindow }}} </label> <input type="button" class="cancel-link extra" value="Cancel"> <input type="button" class="insert-link extra" value="Insert"> </div> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="hidden" value="{{{ data.value }}}" /> <div class="g-recaptcha" data-callback="nf_recaptcha_response_{{{ data.id }}}" data-theme="{{{ data.theme }}}" data-sitekey="{{{ data.site_key }}}" data-fieldid="{{{ data.id }}}" {{{ ( "invisible" == data.size ) ? 'data-size="invisible"' : '' }}}></div> <# let myType = data.type if('save'== data.type){ myType = 'button' } #> <input id="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element " type="{{{myType}}}" value="{{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}}" {{{ ( data.disabled ) ? 'aria-disabled="true" disabled="true"' : '' }}}> <button id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.classes }}} nf-element"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} </button> window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
https://pearsonmay.co.uk/contact
Status: 200
Emails: mail@pearsonmay.co.uk, 491mail@pearsonmay.co, 666mail@pearsonmay.co, 441mail@pearsonmay.co, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal CONTACT US Speak to the team Home | Contact CONTACT You’re in the hands of experts Whatever you want in life, whether that’s a better business, more control over your wealth, or to leave a legacy for your family, we can help. We’ll make you believe in yourself and try to give you a real foundation of financial security. Pick up the phone, or drop us a message today. Mail@pearsonmay.co.uk Notice: JavaScript is required for this content. var formDisplay=1;var nfForms=nfForms||[];var form=[];form.id='1';form.settings={"objectType":"Form Setting","editActive":true,"title":"Contact form on Contact page","key":"","created_at":"2019-02-05 10:57:14","default_label_pos":"above","conditions":[],"show_title":0,"clear_complete":"1","hide_complete":"1","wrapper_class":"","element_class":"","add_submit":"1","logged_in":"","not_logged_in_msg":"","sub_limit_number":"","sub_limit_msg":"","calculations":[],"formContentData":[{"formContentData":[{"order":1,"cells":[{"order":0,"fields":["first_name_1615802028192"],"width":50},{"order":1,"fields":["last_name_1615802032447"],"width":50}]},{"order":2,"cells":[{"order":0,"fields":["email"],"width":50},{"order":1,"fields":["phone_1670237905095"],"width":50}]},{"order":3,"cells":[{"order":0,"fields":["office_1674041003218"],"width":"100"}]},{"order":4,"cells":[{"order":0,"fields":["message"],"width":"100"}]},{"order":5,"cells":[{"order":0,"fields":["how_did_you_hear_about_us_1746703919951"],"width":"100"}]},{"order":6,"cells":[{"order":0,"fields":["tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783"],"width":"100"}]},{"order":7,"cells":[{"order":0,"fields":["submit"],"width":"100"}]}],"order":0,"type":"part","clean":true,"title":"Part Title","key":"ynihzog","editActive":true,"drawerDisabled":false}],"container_styles_background-color":"","container_styles_border":"","container_styles_border-style":"","container_styles_border-color":"","container_styles_color":"","container_styles_height":"","container_styles_width":"","container_styles_font-size":"","container_styles_margin":"","container_styles_padding":"","container_styles_display":"","container_styles_float":"","container_styles_show_advanced_css":"0","container_styles_advanced":"","title_styles_background-color":"","title_styles_border":"","title_styles_border-style":"","title_styles_border-color":"","title_styles_color":"","title_styles_height":"","title_styles_width":"","title_styles_font-size":"","title_styles_margin":"","title_styles_padding":"","title_styles_display":"","title_styles_float":"","title_styles_show_advanced_css":"0","title_styles_advanced":"","row_styles_background-color":"","row_styles_border":"","row_styles_border-style":"","row_styles_border-color":"","row_styles_color":"","row_styles_height":"","row_styles_width":"","row_styles_font-size":"","row_styles_margin":"","row_styles_padding":"","row_styles_display":"","row_styles_show_advanced_css":"0","row_styles_advanced":"","row-odd_styles_background-color":"","row-odd_styles_border":"","row-odd_styles_border-style":"","row-odd_styles_border-color":"","row-odd_styles_color":"","row-odd_styles_height":"","row-odd_styles_width":"","row-odd_styles_font-size":"","row-odd_styles_margin":"","row-odd_styles_padding":"","row-odd_styles_display":"","row-odd_styles_show_advanced_css":"0","row-odd_styles_advanced":"","success-msg_styles_background-color":"","success-msg_styles_border":"","success-msg_styles_border-style":"","success-msg_styles_border-color":"","success-msg_styles_color":"","success-msg_styles_height":"","success-msg_styles_width":"","success-msg_styles_font-size":"","success-msg_styles_margin":"","success-msg_styles_padding":"","success-msg_styles_display":"","success-msg_styles_show_advanced_css":"0","success-msg_styles_advanced":"","error_msg_styles_background-color":"","error_msg_styles_border":"","error_msg_styles_border-style":"","error_msg_styles_border-color":"","error_msg_styles_color":"","error_msg_styles_height":"","error_msg_styles_width":"","error_msg_styles_font-size":"","error_msg_styles_margin":"","error_msg_styles_padding":"","error_msg_styles_display":"","error_msg_styles_show_advanced_css":"0","error_msg_styles_advanced":"","allow_public_link":0,"embed_form":"","currency":"","unique_field_error":"A form with this value has already been submitted.","save_progress_allow_multiple":false,"save_progress_table_legend":"Load saved progress","save_progress_table_columns":[{"errors":[],"max_options":0,"label":"Column Title","field":"{field}","order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"save_progress_table_columns","type":"option-repeater","label":"Save Table Columns <a href=\"#\" class=\"nf-add-new\">Add New<\/a>","width":"full","group":"primary","columns":{"field":{"header":"Field Key","default":""}},"value":[{"label":"Column Title","field":"{field}","order":0}],"tmpl_row":"tmpl-nf-save-progress-table-columns-repeater-row"}}],"mp_breadcrumb":1,"mp_progress_bar":1,"mp_display_titles":0,"breadcrumb_container_styles_show_advanced_css":0,"breadcrumb_buttons_styles_show_advanced_css":0,"breadcrumb_button_hover_styles_show_advanced_css":0,"breadcrumb_active_button_styles_show_advanced_css":0,"progress_bar_container_styles_show_advanced_css":0,"progress_bar_fill_styles_show_advanced_css":0,"part_titles_styles_show_advanced_css":0,"navigation_container_styles_show_advanced_css":0,"previous_button_styles_show_advanced_css":0,"next_button_styles_show_advanced_css":0,"navigation_hover_styles_show_advanced_css":0,"repeatable_fieldsets":"","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","formErrorsCorrectErrors":"Please correct errors before submitting this form.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fieldsMarkedRequired":" ","drawerDisabled":false,"header_position":"left","footer_position":"left","form_title_heading_level":"3","ninjaForms":"Ninja Forms","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formHoneypot":"If you are a human seeing this field, please leave it empty.","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form.","currency_symbol":"","beforeForm":"","beforeFields":"","afterFields":"","afterForm":""};form.fields=[{"objectType":"Field","objectDomain":"fields","editActive":false,"order":1,"idAttribute":"id","label":"First name","key":"first_name_1615802028192","type":"textbox","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","mask":"","custom_mask":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4607","custom_name_attribute":"","personally_identifiable":"","value":"","drawerDisabled":false,"id":1,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":2,"idAttribute":"id","type":"lastname","label":"Last name","key":"last_name_1615802032447","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","admin_label":"","help_text":"","custom_name_attribute":"lname","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4610","value":"","drawerDisabled":false,"id":11,"beforeField":"","afterField":"","parentType":"lastname","element_templates":["lastname","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":3,"idAttribute":"id","label":"Email","key":"email","type":"email","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","admin_label":"","help_text":"","desc_text":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4613","custom_name_attribute":"email","personally_identifiable":1,"value":"","drawerDisabled":false,"id":2,"beforeField":"","afterField":"","parentType":"email","element_templates":["email","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":4,"idAttribute":"id","label":"Phone","type":"phone","key":"phone_1670237905095","label_pos":"above","required":false,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":false,"admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"phone","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c5975","value":"","drawerDisabled":false,"id":45,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["tel","textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":5,"idAttribute":"id","label":"Office","type":"listcheckbox","key":"office_1674041003218","label_pos":"above","required":1,"options":[{"errors":[],"max_options":0,"label":"Bath","value":"bath","calc":"1","selected":0,"order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"options","type":"option-repeater","label":"Options <a href=\"#\" class=\"nf-add-new\">Add New<\/a> <a href=\"#\" class=\"extra nf-open-import-tooltip\"><i class=\"fa fa-sign-in\" aria-hidden=\"true\"><\/i> Import<\/a>","width":"full","group":"","value":[{"label":"One","value":"one","calc":"","selected":0,"order":0},{"label":"Two","value":"two","calc":"","selected":0,"order":1},{"label":"Three","value":"three","calc":"","selected":0,"order":2}],"columns":{"label":{"header":"Label","default":""},"value":{"header":"Value","default":""},"calc":{"header":"Calc Value","default":""},"selected":{"header":"<span class=\"dashicons dashicons-yes\"><\/span>","default":0}}}},{"errors":[],"max_options":0,"label":"Chippenham","value":"chippenham","calc":"2","selected":0,"order":1,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"options","type":"option-repeater","label":"Options <a href=\"#\" class=\"nf-add-new\">Add New<\/a> <a href=\"#\" class=\"extra nf-open-import-tooltip\"><i class=\"fa fa-sign-in\" aria-hidden=\"true\"><\/i> Import<\/a>","width":"full","group":"","value":[{"label":"One","value":"one","calc":"","selected":0,"order":0},{"label":"Two","value":"two","calc":"","selected":0,"order":1},{"label":"Three","value":"three","calc":"","selected":0,"order":2}],"columns":{"label":{"header":"Label","default":""},"value":{"header":"Value","default":""},"calc":{"header":"Calc Value","default":""},"selected":{"header":"<span class=\"dashicons dashicons-yes\"><\/span>","default":0}}}},{"errors":[],"max_options":0,"label":"Trowbridge","value":"trowbridge","calc":"3","selected":0,"order":2,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"options","type":"option-repeater","label":"Options <a href=\"#\" class=\"nf-add-new\">Add New<\/a> <a href=\"#\" class=\"extra nf-open-import-tooltip\"><i class=\"fa fa-sign-in\" aria-hidden=\"true\"><\/i> Import<\/a>","width":"full","group":"","value":[{"label":"One","value":"one","calc":"","selected":0,"order":0},{"label":"Two","value":"two","calc":"","selected":0,"order":1},{"label":"Three","value":"three","calc":"","selected":0,"order":2}],"columns":{"label":{"header":"Label","default":""},"value":{"header":"Value","default":""},"calc":{"header":"Calc Value","default":""},"selected":{"header":"<span class=\"dashicons dashicons-yes\"><\/span>","default":0}}}}],"container_class":"","element_class":"","admin_label":"","help_text":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"list_item_row_styles_border":"","list_item_row_styles_height":"","list_item_row_styles_width":"","list_item_row_styles_font-size":"","list_item_row_styles_margin":"","list_item_row_styles_padding":"","list_item_row_styles_float":"","list_item_row_styles_show_advanced_css":0,"list_item_label_styles_border":"","list_item_label_styles_height":"","list_item_label_styles_width":"","list_item_label_styles_font-size":"","list_item_label_styles_margin":"","list_item_label_styles_padding":"","list_item_label_styles_float":"","list_item_label_styles_show_advanced_css":0,"list_item_element_styles_border":"","list_item_element_styles_height":"","list_item_element_styles_width":"","list_item_element_styles_font-size":"","list_item_element_styles_margin":"","list_item_element_styles_padding":"","list_item_element_styles_float":"","list_item_element_styles_show_advanced_css":0,"cellcid":"c4619","drawerDisabled":false,"id":50,"beforeField":"","afterField":"","value":"","parentType":"list","element_templates":["listcheckbox","input"],"old_classname":"list-checkbox","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":6,"idAttribute":"id","label":"Message","key":"message","type":"textarea","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","textarea_rte":"","disable_rte_mobile":"","textarea_media":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4622","value":"","drawerDisabled":false,"id":3,"beforeField":"","afterField":"","parentType":"textarea","element_templates":["textarea","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":7,"idAttribute":"id","type":"textbox","label":"How did you hear about us?","key":"how_did_you_hear_about_us_1746703919951","label_pos":"above","required":false,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":false,"admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"","personally_identifiable":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c6703","value":"","drawerDisabled":false,"id":76,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":8,"idAttribute":"id","label":"Tick the box below to confirm you're not a robot","type":"recaptcha","container_class":"","element_class":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"size":"visible","key":"tick_the_box_below_to_confirm_you_re_not_a_robot_1631003981783","cellcid":"c4625","drawerDisabled":false,"id":37,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["recaptcha","input"],"old_classname":"","wrap_template":"wrap","site_key":"6LdVCt4UAAAAANIXCLavzh3_rA1papCEEuuGXYNW","theme":"light","lang":"en-GB"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":9,"idAttribute":"id","label":"Submit","key":"submit","type":"submit","created_at":"2019-02-05 10:57:14","processing_label":"Processing","container_class":"","element_class":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"#75b2dd","element_styles_border":"0px","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"#000000","element_styles_height":"","element_styles_width":"","element_styles_font-size":"17px","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","submit_element_hover_styles_background-color":"#91c1e4","submit_element_hover_styles_border":"0PX","submit_element_hover_styles_border-style":"","submit_element_hover_styles_border-color":"","submit_element_hover_styles_color":"#000000","submit_element_hover_styles_height":"","submit_element_hover_styles_width":"","submit_element_hover_styles_font-size":"17px","submit_element_hover_styles_margin":"","submit_element_hover_styles_padding":"","submit_element_hover_styles_display":"","submit_element_hover_styles_float":"","submit_element_hover_styles_show_advanced_css":0,"submit_element_hover_styles_advanced":"","cellcid":"c4628","drawerDisabled":false,"admin_label":"","id":4,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["submit","button","input"],"old_classname":"","wrap_template":"wrap-no-label"}];nfForms.push(form); <div class="nf-mp-header"></div> <div class="nf-mp-body"></div> <div class="nf-mp-footer"></div> {{{ data.renderProgressBar() }}} {{{ data.renderBreadcrumbs() }}} {{{ data.renderPartTitle() }}} <h3> {{{ data.title }}} </h3> {{{ data.renderNextPrevious() }}} <ul class="nf-next-previous"> <# if ( data.showPrevious ) { #> <li class="nf-previous-item"> <input type="button" class="nf-previous" value="{{{ data.prevLabel }}}" /> </li> <# } #> <# if ( data.showNext ) { #> <li class="nf-next-item"> <input type="button" class="nf-next" value="{{{ data.nextLabel }}}" /> </li> <# } #> </ul> <ul class="nf-breadcrumbs"> <# _.each( data.parts, function( part, index ) { #> <li class="{{{ ( data.currentIndex == index ) ? 'active' : '' }}} {{{ ( part.errors ) ? 'errors' : '' }}}"> <a href="#" class="nf-breadcrumb" data-index="{{{ index }}}">{{{ ( part.errors ) ? '' : '' }}} {{{ part.title }}}</a> </li> <# } ); #> </ul> <div class="nf-progress-container"> <div class="nf-progress" style="width: {{{ data.percent }}}%;"></div> </div> <nf-fields></nf-fields> <nf-cells></nf-cells> Bath office 01225 460 491mail@pearsonmay.co.uk37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk67 & 68 St Mary Street, Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441mail@pearsonmay.co.uk5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0","url":"mailto:mail@pearsonmay.co.uk","target":"_self"},{"class":"et_pb_blurb_3","url":"https:\/\/www.pearsonmay.co.uk\/careers\/current-vacancies\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/contact\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"485","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var nfi18n = {"ninjaForms":"Ninja Forms","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formErrorsCorrectErrors":"Please correct errors before submitting this form.","formHoneypot":"If you are a human seeing this field, please leave it empty.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","fieldsMarkedRequired":"Fields marked with an <span class=\"ninja-forms-req-symbol\">*<\/span> are required","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form."}; var nfFrontEnd = {"adminAjax":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","ajaxNonce":"235fc5feb3","requireBaseUrl":"https:\/\/www.pearsonmay.co.uk\/wp-content\/plugins\/ninja-forms\/assets\/js\/","use_merge_tags":{"user":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"post":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"system":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"fields":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"calculations":{"html":"html","hidden":"hidden","note":"note","unknown":"unknown","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"}},"opinionated_styles":"","filter_esc_status":"false","nf_consent_status_response":[]}; var nfInlineVars = []; /* ]]> */ /* <![CDATA[ */ var nfMPSettings = {"prevLabel":"Previous","nextLabel":"Next"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ <span id="nf-form-title-{{{ data.id }}}" class="nf-form-title"> {{{ ( 1 == data.settings.show_title ) ? '<h' + data.settings.form_title_heading_level + '>' + data.settings.title + '</h' + data.settings.form_title_heading_level + '>' : '' }}} </span> <div class="nf-form-wrap ninja-forms-form-wrap"> <div class="nf-response-msg"></div> <div class="nf-debug-msg"></div> <div class="nf-before-form"></div> <div class="nf-form-layout"></div> <div class="nf-after-form"></div> </div> {{{ data.beforeForm }}} {{{ data.afterForm }}} <div class="nf-form-fields-required">{{{ data.renderFieldsMarkedRequired() }}}</div> {{{ data.beforeFields }}} {{{ data.afterFields }}} <div id="nf-form-errors-{{{ data.id }}}" class="nf-form-errors" role="alert"></div> <div class="nf-form-hp"></div> {{{ data.beforeField }}} {{{ data.afterField }}} <form> <div> <div class="nf-before-form-content"></div> <div class="nf-form-content {{{ data.element_class }}}"></div> <div class="nf-after-form-content"></div> </div> </form> <label id="nf-label-field-hp-{{{ data.id }}}" for="nf-field-hp-{{{ data.id }}}" aria-hidden="true"> {{{ nfi18n.formHoneypot }}} <input id="nf-field-hp-{{{ data.id }}}" name="nf-field-hp" class="nf-element nf-field-hp" type="text" value="" aria-labelledby="nf-label-field-hp-{{{ data.id }}}" /> </label> <div id="nf-field-{{{ data.id }}}-container" class="nf-field-container {{{ data.type }}}-container {{{ data.renderContainerClass() }}}"> <div class="nf-before-field"></div> <div class="nf-field"></div> <div class="nf-after-field"></div> </div> {{{ data.beforeField }}} <# /* * Render our input limit section if that setting exists. */ #> <div class="nf-input-limit"></div> <# /* * Render our error section if we have an error. */ #> <div id="nf-error-{{{ data.id }}}" class="nf-error-wrap nf-error" role="alert" aria-live="assertive"></div> <# /* * Render any custom HTML after our field. */ #> {{{ data.afterField }}} <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <# /* * This is our main field template. It's called for every field type. * Note that must have ONE top-level, wrapping element. i.e. a div/span/etc that wraps all of the template. */ #> <# /* * Render our label. */ #> {{{ data.renderLabel() }}} <# /* * Render our field element. Uses the template for the field being rendered. */ #> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <# /* * Render our Description Text. */ #> {{{ data.renderDescText() }}} </div> <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <div class="nf-field-label"></div> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <div class="nf-error-wrap"></div> </div> {{{ data.renderElement() }}} <div class="nf-error-wrap"></div> <div class="nf-field-label"> <# if ( data.type === "listcheckbox" || data.type === "listradio" || data.type === "listimage" || data.type === "date" || data.type === "starrating" || data.type === "signature" || data.type === "html" || data.type === "hr" ) { #> <span id="nf-label-field-{{{ data.id }}}" class="nf-label-span {{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </span> <# } else { #> <label for="nf-field-{{{ data.id }}}" id="nf-label-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </label> <# } #> </div> <div class="nf-error-msg nf-error-{{{ data.id }}}" aria-live="assertive">{{{ data.msg }}}</div> <div class="nf-error-msg nf-error-{{{ data.id }}}">{{{ data.msg }}}</div> {{{ data.currentCount() }}} {{{ nfi18n.of }}} {{{ data.input_limit }}} {{{ data.input_limit_msg }}} <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeInputLimit() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="email" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{data.maybeDisableAutocomplete()}}} {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="tel" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.maybeDisabled() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <ul aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}"> {{{ data.renderOptions() }}} </ul> <# if ( ! data.visible ) { return '' } #> <li> <input type="checkbox" id="nf-field-{{{ data.fieldID }}}-{{{ data.index }}}" name="nf-field-{{{ data.fieldID }}}" class="{{{ data.classes }}} nf-element {{{ ( data.isSelected ) ? ' nf-checked' : '' }}}" value="{{{ data.value }}}" {{{ ( data.isSelected ) ? 'checked="checked"' : '' }}} aria-labelledby="nf-label-field-{{{ data.fieldID }}} nf-label-field-{{{ data.fieldID }}}-{{{ data.index }}}" role="checkbox" <# if( data.required ) { #> required aria-required="true" <# } #> > <label for="nf-field-{{{ data.fieldID }}}-{{{ data.index }}}" id="nf-label-field-{{{ data.fieldID }}}-{{{ data.index }}}" class="{{{ ( data.isSelected ) ? 'nf-checked-label' : '' }}}">{{{ data.label }}}</label> </li> <li {{{ ( ! data.visible ) ? 'style="display:none"' : '' }}}> <input type="checkbox" id="nf-field-{{{ data.fieldID }}}-other" name="nf-field-{{{ data.fieldID }}}" class="{{{ data.classes }}} nf-element" value="nf-other" {{{ ( ! data.valueFound ) ? 'checked="checked"' : '' }}} aria-labelledby="nf-label-field-{{{ data.fieldID }}}-other" <# if( data.required ) { #> required aria-required="true" <# } #> > <label id="nf-label-field-{{{ data.fieldID }}}-other">Other {{{ data.renderOtherText() }}} </label> </li> <input type="text" name="nf-field-{{{ data.fieldID }}}" class="nf-element" value="{{{ data.currentValue }}}"> <textarea id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeDisableAutocomplete() }}} {{{ data.maybeInputLimit() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} >{{{ _.escape( data.value ) }}}</textarea> <span class="dashicons dashicons-admin-media"></span> <span class="dashicons dashicons-admin-links"></span> <span class="dashicons dashicons-editor-unlink"></span> <div class="summernote-link"> URL <input type="url" class="widefat code link-url"> <br /> Text <input type="url" class="widefat code link-text"> <br /> <label> <input type="checkbox" class="link-new-window"> {{{ nfi18n.fieldsTextareaOpenNewWindow }}} </label> <input type="button" class="cancel-link extra" value="Cancel"> <input type="button" class="insert-link extra" value="Insert"> </div> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="hidden" value="{{{ data.value }}}" /> <div class="g-recaptcha" data-callback="nf_recaptcha_response_{{{ data.id }}}" data-theme="{{{ data.theme }}}" data-sitekey="{{{ data.site_key }}}" data-fieldid="{{{ data.id }}}" {{{ ( "invisible" == data.size ) ? 'data-size="invisible"' : '' }}}></div> <# let myType = data.type if('save'== data.type){ myType = 'button' } #> <input id="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element " type="{{{myType}}}" value="{{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}}" {{{ ( data.disabled ) ? 'aria-disabled="true" disabled="true"' : '' }}}> <button id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.classes }}} nf-element"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} </button> window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
https://pearsonmay.co.uk/about/meet-the-team
Status: 200
Emails: martin.bridle@pearsonmay.co.uk, helen.draper@pearsonmay.co.uk, david.richards@pearsonmay.co.uk, james.rose@pearsonmay.co.uk, matthew.rutter@pearsonmay.co.uk, ben.withers@pearsonmay.co.uk, geoffrey.banwell@pearsonmay.co.uk, jacqui.bowden@pearsonmay.co.uk, nicholas.oliver@pearsonmay.co.uk, keith.surry@pearsonmay.co.uk, michael.taylor@pearsonmay.co.uk, mail@pearsonmay.co.uk, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal ABOUT US Meet the team Home | About | Meet the team Meet the team Our group of accounting and advice experts We work closely with our clients to deliver a personal service and our team are at the heart of this. We understand the importance of having a skilled team of partners, staff and consultants and we continually invest in professional development to provide an expert service tailored to our clients. Read more about our partners and consultants below. Martin Bridle CTA ATT FMAAT Partner +44 (0)1225 764441 Email me View profile Helen Draper MMath(Hons) FCA Partner +44 (0)1225 460491 Email me View profile David Richards BA(Hons) ACA CTA Partner +44 (0)1225 460491 Email me View profile James Rose MMath(Hons) ACA CTA Partner +44 (0)1225 764441 Email me View profile Matthew Rutter BSc (Hons) FCA CTA Partner +44 (0)1225 460491 Email me View profile Ben Withers ACA CTA Partner +44 (0)1249 444666 Email me View profile Geoffrey Banwell BSc(Agric) FCA CTA TEP Consultant +44 (0)1225 460491 Email me View profile Jacqui Bowden Bsc (Hons) ACA Consultant +44 (0)1225 460491 Email me View profile Nicholas Oliver FCA FloD Consultant +44 (0)1225 460491 Email me View profile Keith Surry FCA Consultant +44 (0)1249 444666 Email me View profile Michael Taylor FCA CTA TEP Consultant +44 (0)1225 764441 Email me View profile Contact us See how we can help further your financial journey today Get in touch Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/about\/meet-the-team\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"53107","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
https://pearsonmay.co.uk/about
Status: 200
Emails: mail@pearsonmay.co.uk, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal ABOUT US Who are we? Home | About ABOUT US Our origins Pearson May originated in 1841 – a period of great change and innovation, just like today. It was the year Isambard Kingdom Brunel opened his Great Western Railway. More than 180 years later the firm still stands as a proud achievement, with a team of professional accountants and accomplished business advisers who understand what it takes to look after a client. At Pearson May we are dedicated to adding value to our business relationships so that our clients receive maximum benefit from our advice and services. We believe that through years of passion and a constant desire to improve and succeed, we can confidently advise businesses and individuals with strategic ingenuity to reach their goals and protect their wealth. When choosing a firm of Chartered Accountants you will be looking for a team who can add value to your finances, not just for today, but also into the future – whatever lies in store. OUR PHILOSOPHY Our approach to business At Pearson May our aim is to help our clients realise their personal and business goals. We believe in a planned and proactive approach in order to maximise income and minimise tax, which in turn will help you to create and retain more wealth. Above all else, the client is always number one. With offices in Bath, Chippenham and Trowbridge we are ideally positioned to provide you with the personal attention you demand. We appreciate that our clients require prompt attention and we expect to deliver effectively and on time. We encourage our clients to agree deadlines. This helps us to both plan our work and keep costs down. We are a leading practice with a long-standing professional reputation and you can be confident that we will always put your interests first. As an independent firm of Chartered Accountants we provide an unbiased opinion in respect of all aspects of your affairs. MEET THE TEAM Business advisers and accounting professionals Our team will take the time needed to understand your needs. It’s part of our DNA, what makes us excited to come to work every day, and has given us a foundation for our successes. We believe in our people, in giving them a platform to succeed and helping them in their careers, and giving you the correct mix of experience and expertise. Read more about our partners and consultants, and get a closer feel for what it will be like to work with them in the future. Meet the team Join the team Contact us See how we can help further your financial journey today Get in touch Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/about\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"504","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
https://pearsonmay.co.uk/
Status: 200
Emails: mail@pearsonmay.co.uk, 666mail@pearsonmay.co.uk
View text
Home About About Meet the team Services Services Business services Accountancy Audit Bookkeeping and management accounts Business start-up Company formation and secretarial Corporate finance and valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International for individuals Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal About About Meet the team Services Services Business services Accountancy Audit Bookkeeping & management accounts Business start-up Company formation & secretarial Corporate finance & valuation Corporate taxation International Payroll Strategic consultancy Business tax planning VAT Research & development tax relief Private clients Personal tax services Personal tax planning International Probate Estate administration Inheritance tax & estate planning Trusts Taxation Business tax planning International for business Personal tax planning International for individuals Making tax digital Probate Careers Careers Working for Pearson May Training opportunities Current vacancies Resources Blog Publications News Dates & deadlines Contact Bath Chippenham Trowbridge Client portal ORIGINATED IN 1841 We are a leading firm of Chartered Accountants and Tax Advisers We provide a complete range of services to businesses and private individuals from our offices in Bath, Chippenham and Trowbridge. View our services Free 30 minute meeting Contact us about us You’re in the hands of tax experts Getting your business and personal tax under control is a constant juggling act. With more than 180 years of experience to our name, we’re the advisers you want in the room when you’re thinking about your future. Whether that’s through support for legislation changes or just general advice, we’ll help you to reap the benefits of more time for your business. More about us Our services Supporting your journey to grow your business and save tax When you’re spending money on an accountant, you need to know that you can depend on them. We’ll look after your business as if it was our own and tailor our approach to your personal needs to give you the best advice and support there is. Business services Your finances and future plans are looked after with tailored advice. Read more Private clients Helping you with financial planning and achieving your aspirations. Read more Taxation Tax is not worth losing sleep over, especially with a trusted adviser. Read more Business services Your finances and future plans are looked after with tailored advice. Read more Private clients Helping you with financial planning and achieving your aspirations. Read more Taxation Tax is not worth losing sleep over, especially with a trusted adviser. Read more Our careers Join our team Become part of the next generation of accounting and business advisory experts. Our team is already brilliant, but we’re always on the lookout for new and exciting talent to join the ranks. View careers Latest news Business resources built around you Year-round tax planning: Strategies for individuals and businesses Nov 8, 2025 | Business, Personal, TaxYear-round tax planning that protects cashflow and strengthens decisions – practical steps for UK SMEs and individuals. read more Choosing the right business structure: Sole trader, partnership, or limited company? Oct 26, 2025 | BusinessChoosing the right business structure made simple for SMEs. Explore tax, risk and filings for sole trader, partnership or limited company. read more Payroll management 101: Keeping compliant and supporting your team Oct 6, 2025 | BusinessPayroll management done right: RTI, auto-enrolment, accuracy and employee trust, with practical steps to stay compliant and support your team. read more Contact us See how we can help further your financial journey today Get in touch Bath office 01225 460 491 mail@pearsonmay.co.uk 37 Great Pulteney Street, Bath, BA2 4DA Chippenham office 01249 444 666mail@pearsonmay.co.uk 67 & 68 St Mary Street,Chippenham, Wiltshire, SN15 3JF Trowbridge office 01225 764 441 mail@pearsonmay.co.uk 5 Wicker Hill, Trowbridge, Wiltshire, BA14 8JS Privacy policy | Terms & conditions | Privacy statement & cookie policy | Accessibility statement | Copyright | Client login Legal Information Pearson May is regulated for a range of investment business activities, and licensed to carry out the reserved legal activity of non-contentious probate in England and Wales by the Institute of Chartered Accountants in England & Wales. Pearson May provides audit services via Pearson May Audit Limited, a company registered to carry out audit work in the UK by the Institute of Chartered Accountants in England and Wales under reference number C011006840. Pearson May is registered with The Chartered Institute of Taxation as a firm of Chartered Tax Advisers. Pearson May’s VAT No. is GB 138468735 Pearson May Audit Limited’s VAT No. is GB 483 8522 60 {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0","url":"https:\/\/www.pearsonmay.co.uk\/services\/business-services\/","target":"_self"},{"class":"et_pb_blurb_1","url":"https:\/\/www.pearsonmay.co.uk\/services\/private-clients\/","target":"_self"},{"class":"et_pb_blurb_2","url":"https:\/\/www.pearsonmay.co.uk\/services\/taxation\/","target":"_self"},{"class":"et_pb_blurb_3","url":"https:\/\/www.pearsonmay.co.uk\/services\/business-services\/","target":"_self"},{"class":"et_pb_blurb_4","url":"https:\/\/www.pearsonmay.co.uk\/services\/private-clients\/","target":"_self"},{"class":"et_pb_blurb_5","url":"https:\/\/www.pearsonmay.co.uk\/services\/taxation\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 78; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1050) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.pearsonmay.co.uk\/","stats_nonce":"9a493cd6a4","share_counts":"fbe67b020b","follow_counts":"da15dbde87","total_counts":"74b3ea8b81","media_single":"b23002ed26","media_total":"a58f33a4d0","generate_all_window_nonce":"bd3aa067de","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.pearsonmay.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.pearsonmay.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"fcd72737b6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"7cf2da42b5","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"409","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.pearsonmay.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var mejsL10n = {"language":"en","strings":{"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}}; /* ]]> */ /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive","audioShortcodeLibrary":"mediaelement","videoShortcodeLibrary":"mediaelement"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)