"use strict";var carousel=['\n
\n № 1 on Trustpilot in Pensions\n

\n “The whole process was straightforward and I am pleased with the outcome. Each team member was knowledgeable helpful patient and professional. No problem recommending them.”\n

\n Trustpilot 5 Stars\n
\n Mr. Michael Saunders\n
\n
\n '];$(function(){axios.interceptors.request.use(function(t){return $("main .interactive .step .submit").append('
'),t},function(t){return Promise.reject(t)}),axios.interceptors.response.use(function(t){return $("main .interactive .step .submit .loader").remove(),t},function(t){return Promise.reject(t)});$("[name=pension-fund]").maskMoney({prefix:"£",precision:0,allowNegative:!1});var t=$(".option .title div").map(function(){return $(this).height()}).get(),e=Math.max.apply(null,t);$(".option .title").height(e),$(window).on("resize",function(){var t=$(".option .title div").map(function(){return $(this).height()}).get(),e=Math.max.apply(null,t);$(".option .title").height(e)}),Number.prototype.format=function(t,e){var n="\\d(?=(\\d{"+(e||3)+"})+"+(t>0?"\\.":"$")+")";return this.toFixed(Math.max(0,~~t)).replace(new RegExp(n,"g"),"$&,")};var n=0;$(".carousel").html(carousel[n]),setInterval(function(){n>carousel.length&&(n=0),$(".carousel").html(carousel[n]),n++},5e3),$('a[href^="#"]').bind("click.smoothscroll",function(t){t.preventDefault();var e=this.hash,n=$(e);$("html, body").stop().animate({scrollTop:n.offset().top},900,"swing",function(){window.location.hash=e})})});