1!function(){function e(t,n,i){function o(s,r){if(!n[s]){if(!t[s]){var c="function"==typeof require&&require;if(!r&&c)return c(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return o(n||e)},d,d.exports,e,t,n,i)}return n[s].exports}for(var a="function"==typeof require&&require,s=0;s<i.length;s++)o(i[s]);return o}return e}()({1:[function(e,t,n){!function(){function e(e){this.el=e,this.setDefaults(),this.addListeners()}e.prototype.setDefaults=function(){this.dom={showMoreBtn:this.el.querySelector(".comparison-chart-block__show-more"),hiddenRows:this.el.querySelectorAll(".comparison-chart-block__row--collapsible"),icon:this.el.querySelector(".comparison-chart-block__show-more-icon"),label:this.el.querySelector(".comparison-chart-block__show-more-label"),printBtn:this.el.querySelector(".comparison-chart-block__print-btn")},this.dom.showMoreBtn&&(this.dom.labelExpanded=this.dom.showMoreBtn.getAttribute("data-hide-text"),this.dom.labelCollapsed=this.dom.showMoreBtn.getAttribute("data-show-text"))},e.prototype.addListeners=function(){var e=this;this.dom.showMoreBtn&&this.dom.showMoreBtn.addEventListener("click",function(){e.toggleRows()}),this.dom.printBtn&&this.dom.printBtn.addEventListener("click",function(){e.printTable()})},e.prototype.toggleRows=function(){var e="true"===this.dom.showMoreBtn.getAttribute("aria-expanded"),t=!e,n=t?this.dom.labelExpanded:this.dom.labelCollapsed;this.dom.hiddenRows.forEach(function(e){e.hidden=!t}),this.dom.showMoreBtn.setAttribute("aria-expanded",String(t)),this.updateShowMoreLabel(n)},e.prototype.updateShowMoreLabel=function(e){this.dom.label.textContent=e},e.prototype.printTable=function(){for(var e=[],t=this.el;t&&t!==document.body;){var n=t.parentElement;if(!n)break;Array.prototype.forEach.call(n.children,function(n){n!==t&&(n.classList.add("print-hide"),e.push(n))}),t=n}var i=function(){e.forEach(function(e){e.classList.remove("print-hide")}),window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),window.print()};var n={init:function(){document.querySelectorAll(".comparison-chart-block-wrapper").forEach(function(t){new e(t)})}};t.exports=n||window.ComparisonTableBlock}()},{}],2:[function(e,t,n){!function(){var e={init:function(){document.querySelectorAll(".js-mortgage-drawer__trigger").forEach(function(e){e.addEventListener("click",function(){var t=e.id+"Drawer";document.getElementById(t).showModal(),document.body.style.overflow="hidden"})}),document.querySelectorAll("dialog").forEach(function(e){e.addEventListener("click",function(t){t.target===e&&(e.close(),document.body.style.overflow="")})}),document.querySelectorAll(".mortgage-drawer__btn-close").forEach(function(e){e.addEventListener("click",function(){document.querySelector("dialog[open]").close(),document.body.style.overflow=""})})}};t.exports=e||window.MortgageDrawer}()},{}],3:[function(e,t,n){!function(){var e={_headerSelector:"header.header--sticky-offset",_topOffsetSelector:".header--sticky-offset",getOffset:function(){return e.mergeIntervals(e.getContributors())},getContributors:function(){var t=[];return $(e._headerSelector).length?($(e._topOffsetSelector).each(function(){var e=$
1(this),n=e.css("position");if(e.is(":visible")&&("fixed"===n||"sticky"===n||"-webkit-sticky"===n)){var i=this.getBoundingClientRect();i.bottom<=0||t.push({top:Math.max(i.top,0),bottom:i.bottom})}}),t):t},mergeIntervals:function(e){return e.sort(function(e,t){return e.top-t.top}),e.reduce(function(e,t){return t.top>e+1?e:Math.max(e,t.bottom)},0)}},n={_animSpeed:500,_blockSelector:".block",_correctionTolerance:1,init:function(){$('a.smooth-scroll[href*="#"]').on("click",function(e){var t=this.hash,i=n.getScrollTarget(t);i.length&&(e.preventDefault(),n.scrollToTarget(i,t))}),$(window).on("hashchange",function(){n.scrollToHash(window.location.hash)}),n.scrollToHashOnLoad()},getScrollTarget:function(e){if(!e||"#"===e)return $();var t=$(e);if(!t.length)return $();var i=t.closest(n._blockSelector);return i.length?i:t},scrollToHash:function(e){var t=n.getScrollTarget(e);t.length&&n.scrollToTarget(t,e)},scrollToHashOnLoad:function(){if(window.location.hash){var e=function(){n.scrollToHash(window.location.hash)};if("complete"===document.readyState)return void e();$(window).one("load",e)}},scrollToTarget:function(e,t){t=t||"",$("body, html").animate({scrollTop:n.getTargetScrollTop(e)},n._animSpeed).promise().done(function(){n.alignTargetBelowHeader(e),n.setLocationHash(t)})},setLocationHash:function(e){if(e)return history.replaceState?void history.replaceState(null,"",e):void(window.location.hash=e)},getTargetScrollTop:function(t){return Math.max(t.offset().top-e.getOffset(),0)},alignTargetBelowHeader:function(t){if(t.length&&t[0]){var i=e.getOffset(),o=t[0].getBoundingClientRect().top,a=o-i;Math.abs(a)<=n._correctionTolerance||$("body, html").scrollTop(Math.max($(window).scrollTop()+a,0))}}};void 0!==t&&t.exports?t.exports=n:window.SmoothScroll=n}()},{}],4:[function(e,t,n){!function(){var e={init:function(){const e=window.location.search,t=new URLSearchParams(e.toLowerCase());var n="";if(t.has("slidertarget")&&(n=t.get("slidertarget")),""!=n&&$("#"+n).length>0){var i=$("#"+n),o=i.closest(".panel-slider"),a="#"+n,s=o.find(".sidebarPanel"),r="#"+n+"-section-id";r&&"true"===r.attr("aria-expanded")?r.attr("aria-expanded",!1):r&&"false"===r.attr("aria-expanded")&&r.attr("aria-expanded",!0);var c=s.find('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])').filter(":visible").first();c.length&&c.focus(),$(o).addClass("active"),$(o).find(".sidebarPanelItem").removeClass("active"),$(a).addClass("active");var l=$(a).outerHeight(),d=o.find(".contentPanel").outerHeight();s.css({height:l+150,"min-height":d}),o.css({height:l+150+40,"min-height":d}),$("html, body").animate({scrollTop:o.offset().top-106},"slow")}$(document).ready(function(){var e=null;$(".panel-slider .close-btn").attr("tabindex",-1),$(".panel-slider a.panel-control, .panel-slider button.panel-control").on("click keydown",function(t){if("keydown"===t.type){if("Enter"!==t.key&&" "!==t.key&&"Spacebar"!==t.key)return;t.preventDefault()}"click"===t.type&&t.preventDefault();var n=$(this);e=n;var i=n.closest(".panel-slider"),o="#"+n.attr("data-target"),a=i.find(".sidebarPanel"),s=$(o),r=$(o+"-section-id");i.addClass("active"),i.find(".sidebarPanelItem").removeClass("active"),s.addClass("active"),r&&"true"===r.attr("aria-expanded")?r.attr("aria-expanded",!1):r&&"false"===r.attr("aria-expanded")&&r.attr("aria-expanded",!0),a.find(".close-btn").attr("tabindex",0).focus()}),$(".panel-slider .close-btn").on("click",function(){var t=$(this),n=t.closest(".panel-slider"),i=t.closest(".sidebarPanel"),o=n.find(".contentPanel").outerHeight();n.removeClass("active"),n.css("height",o),i&&"true"===i.attr("aria-expanded")?i.attr("aria-expanded",!1):i&&"false"===i.attr("aria-expanded")&&i.attr("aria-expanded",!0),t.attr("tabindex",-1),e&&e.length&&e.focus()})})}};t.exports=e||window.SliderPanels}()},{}],5:[function(e,t,n){!function(){var e={_$wrapper:$(".account-offerings"),_$openTarget:null,_linkSuffix:"-saf",_deeplinking:!0,_animSpeed:.1,_animEase:"Sine.easeInOut",_breakpoint:479,init:function(){this._$headline=this._$wrapper.find(".title-wrap h3"),this._$subheadline=this._$wrapper.find(".title-wrap h5"),this._$buttons=this._$wrapper.find(".accordion-btn"),this._bOnButtonClick=$.proxy(this._onButtonClick,this),this._bOnResize=$.proxy(this._setBreakpoint,this),this._setBreakpoint(),this._setup(),this._attachEvents("on"),this._deeplink&&window.location.hash.length&&$.each(this._$buttons,$.proxy(function(e,t){$(t).attr("data-target")+this._linkSuffix===window.location.hash&&$("body,html").animate({scrollTop:this._$wrapper.offset().top},500)},this))},_deeplink:function(){this._deeplink&&$.each(this._$buttons,$.proxy(function(e,t){var n=$(t);n.attr("data-target")+this._linkSuffix===window.location.hash&&n.click()},this))},_attachEvents:function(e){var t=this;this._$buttons[e]("click",this._bOnButtonClick),this._$buttons[e]("key
1down",function(e){13===e.keyCode&&t._bOnButtonClick(e)}),$(window)[e]("resize orientationchange",this._bOnResize)},_setHash:function(e){if(e){var t=e+this._linkSuffix;history.pushState?history.pushState(null,null,t):window.location.hash=t}else window.location.hash=""},_setup:function(){var e=$.merge($.merge([],this._$headline),this._$subheadline),t=new TimelineMax({onComplete:$.proxy(this._deeplink,this)}),n=new ScrollMagic.Controller,i=new ScrollMagic.Scene({triggerHook:.6,reverse:!1});TweenMax.set(this._$wrapper.find(".accordion-content"),{opacity:0}),this._$buttons.each($.proxy(function(t,n){e.push($(n))},this)),$.each(e,$.proxy(function(e,n){t.add(TweenMax.from(n,.1,{opacity:0,ease:this._animEase}))},this)),i.triggerElement(this._$wrapper.get(0)).setTween(t).addTo(n)},_setBreakpoint:function(){this._isMobile=$(window).width()<=this._breakpoint},_setCookie:function(e,t){var n=new Date;n.setTime(n.getTime()+31536e6),expires="; expires="+n.toGMTString(),document.cookie=e+"="+t+expires+";secure; path=/"},_onButtonClick:function(t){t.preventDefault(),window.location.href.indexOf("personal")>-1&&e._setCookie("epi-account","personal"),window.location.href.indexOf("business")>-1&&e._setCookie("epi-account","business");var n=$(t.target);n.is("a")||(n=n.closest("a")),null===this._$openTarget?(this._setOpenAccordion(n),this._openAccordion(),this._modifyAriaExpanded(n,"true")):this._$openTarget.get(0)===n.get(0)?(this._closeAccordion(n),this._modifyAriaExpanded(n,"false")):(this._openNewAccordion(n),this._modifyAriaExpanded(n,"true")),this._setHash(n.attr("data-target"))},_modifyAriaExpanded:function(e,t){e.attr("aria-expanded",t)},_openAccordion:function(){var e=this._$openTarget,t=this._$buttons.not(e),n=this._$wrapper.outerHeight(!0)+t.parent().first().outerHeight()*this._$buttons.length,i=e.siblings(".accordion-content"),o=(i.find(".content-wrap"),new TimelineMax({onComplete:$.proxy(function(){$("html, body").stop().animate({scrollTop:e.offset().top-10},500,"swing",function(){}),this._setOpenAccordion(e),this._setupAccordionContent()},this)}));TweenMax.set(i.find(".contact-rep, .shadow-box, .row:not(:first-child)"),{opacity:0}),o.set(e,{className:"+=active"}),this._isMobile||o.to(t,.2,{opacity:0,ease:this._animEase}).to(this._$wrapper,.2,{height:n},"-=0.2").set(e.parent(),{position:"absolute"}).to(e.parent(),.2,{width:"100%",left:0,ease:this._animEase}).set(e.parent(),{top:0}),o.set(this._$wrapper,{className:"+=open"}),this.isMobile||o.to(e.parent(),1,{top:t.parent().first().outerHeight(!0)*this._$buttons.index(e),ease:this._animEase,clearProps:"position,width,top,left"}),o.set(e,{className:"+=in"}).set(i,{className:"-=collapse"}).from(i,.2,{height:0}).set(this._$wrapper,{height:""}).to(i,.2,{opacity:1}),t.each($.proxy(function(e,t){o.to(t,.2,{opacity:1,ease:this._animEase},"-=0.2")},this))},_openNewAccordion:function(e){$("html, body").stop().animate({scrollTop:this._$openTarget.offset().top-10},500,"swing",function(){});var t=this._$openTarget,n=t.siblings(".accordion-content"),i=e.siblings(".accordion-content");new TimelineMax({onComplete:$.proxy(function(){$("html, body").stop().animate({scrollTop:e.offset().top-10},500,"swing",function(){}),this._setOpenAccordion(e)},this)}).to(n,.8,{height:0,opacity:0,ease:this._animEase,clearProps:"height, opacity"}).set(n,{className:"+=collapse"}).set(t,{className:"-=in"}).set(t,{className:"-=active"}).set(e,{className:"+=in"}).set(e,{className:"+=active"}).from(i,.4,{height:0,opacity:0,ease:this._animEase,clearProps:"height, opacity"}).set(i,{className:"-=collapse"}),this._setOpenAccordion(e)},_closeAccordion:function(e){$("html, body").stop().animate({scrollTop:e.closest("section").offset().top-10},500,"swing",function(){});var t=this._$buttons.not(this._$openTarget),n=this._$buttons.not(e),i=(n.parent().first().outerHeight(),this._$buttons.length,this._$openTarget.siblings(".accordion-content")),o=(e.siblings(".accordion-content"),new TimelineMax({paused:!0,onComplete:$.proxy(function(){window.location.hash="/"})}));this._isMobile||o.to(t,.4,{opacity:0,ease:this._animEase}),o.to(i,.4,{height:0,opacity:0,clearProps:"height, opacity"}).set(i,{className:"+=collapse"}).set(this._$openTarget,{className:"-=in"}),this._isMobile||o.set(this._$openTarget.parent(),{position:"absolute",left:0,top:n.parent().first().outerHeight(!0)*this._$buttons.index(e),width:"100%"}).to(this._$openTarget.parent(),.4,{top:0,ease:this._animEase}),o.set(this._$wrapper,{className:"-=open",height:"auto"}),this._isMobile||o.from(this._$wrapper,.4,{height:this._$wrapper.height(),ease:this._animEase}
1,"-=0.4").to(this._$openTarget.parent(),.4,{width:"25%",left:"25"*this._$buttons.index(this._$openTarget)+"%",ease:this._animEase,clearProps:"position,width,left,top"}),o.to(t,.4,{opacity:1,ease:this._animEase}).set(this._$openTarget,{className:"-=active"}),e.blur(),this._$openTarget=null,o.play()},_setOpenAccordion:function(e){this._$openTarget=e},_setupAccordionContent:function(){var e=this._$openTarget.siblings(".accordion-content"),t=e.find(".row:not(:first-child)"),n=e.find(".contact-rep, .shadow-box"),i=(new ScrollMagic.Controller,new TimelineMax);new ScrollMagic.Scene({triggerHook:.6,reverse:!1});n.each($.proxy(function(e,t){i.to(t,.4,{opacity:1,ease:this._animEase})},this)),t.each($.proxy(function(e,t){var n=new ScrollMagic.Controller,i=new TimelineMax,o=new ScrollMagic.Scene({triggerHook:.6,reverse:!1});i.to(t,this._animSpeed,{opacity:1,ease:this._animEase}),o.triggerElement(t).setTween(i).addTo(n)},this))}};t.exports=e||window.AccountOfferings}()},{}],6:[function(e,t,n){!function(){var e={_$wrapper:$(".account-selector"),_timeline:new TimelineMax,_animSpeed:.1,_animSpeedFirst:.5,_animSpeedTransition:500,_animEase:"Sine.easeInOut",_step2Timeline:new TimelineMax({paused:!0}),_step3Timeline:new TimelineMax({paused:!0}),currentStep:1,previousSteps:[],iconCardNextStep:0,customerData:{customerType:"",accountElectives:[]},init:function(){this._$stepsWrapper=this._$wrapper.find(".steps-wrapper"),this._$otherLinks=this._$wrapper.find(".other-links-wrap"),this._$otherLinksColumns=this._$otherLinks.find(".other-links-column"),this._$otherLinksWrapTop=this._$wrapper.find(".other-links-wrap-top"),this._$images=this._$wrapper.find(".select-by-img"),this._$iconCard=this._$wrapper.find(".icon-card"),this._$titleBarStatic=this._$wrapper.find(".title-bar-static"),this._$otherLinksLinks=this._$wrapper.find(".other-links"),this._bOnImageClick=$.proxy(this._onImageClick,this),this._bOnOtherLinksClick=$.proxy(this._onOtherLinksClick,this),this.setUpListeners(),this.buildScene()},rebuildScene1:function(){$("#step_1 .col-sm-3").css("left","0px");var e=(this._$otherLinksColumns.filter(".other-links-center"),new ScrollMagic.Controller),t=new ScrollMagic.Scene({triggerHook:.6,reverse:!1});TweenMax.set(this._$otherLinksWrapTop,{opacity:0,height:0}),t.triggerElement(this._$wrapper.get(0)).setTween(this._timeline).addTo(e)},buildScene:function(){var e=$.merge($.merge([],this._$images),this._$otherLinks.not(this._$otherLinksWrapTop)),t=(this._$otherLinksColumns.filter(".other-links-center"),new ScrollMagic.Controller),n=new ScrollMagic.Scene({triggerHook:.6,reverse:!1});this._animSpeed;$.each(e,$.proxy(function(e,t){0!=e?this._timeline.add(TweenMax.from(t,this._animSpeedFirst,{delay:this._animSpeedFirst-2*this._animSpeedFirst,opacity:0,ease:this._animEase})):this._timeline.add(TweenMax.from(t,this._animSpeedFirst,{opacity:0,ease:this._animEase}))},this)),TweenMax.set(this._$otherLinksWrapTop,{opacity:0,height:0}),n.triggerElement(this._$wrapper.get(0)).setTween(this._timeline).addTo(t)},buildStep2:function(){var e=(this._$otherLinksColumns.filter(".other-links-center"),this._animSpeedFirst-2*this._animSpeedFirst);this._$iconCard.each($.proxy(function(t,n){this._step2Timeline.add(TweenMax.from(n,this._animSpeedFirst,{delay:e,opacity:0,ease:this._animEase}))},this)),this._step2Timeline.to(this._$otherLinksWrapTop,.5,{height:"100%",opacity:1,ease:this._animEase},"other-links")},buildOtherLinks:function(e){this._$otherLinksLinks.each($.proxy(function(t,n){$(n).show(),$(n).attr("data-val")===e&&$(n).hide()},this))},buildRecommendedStep:function(){var t=(this._animSpeedTransition%6e4/1e3).toFixed(0);this._step3Timeline.add(TweenMax.from(this._$otherLinks,this._animSpeed,{opacity:0,ease:this._animEase})),this._$openAccountButton=this._$wrapper.find("#step_"+e.currentStep+" .open-account-button"),this._$checkList=this._$wrapper.find("#step_"+e.currentStep+" .check-list");var n=this._animSpeedFirst-2*this._animSpeedFirst;this._$checkList.each($.proxy(function(e,t){var i=$("<div />",{class:"check-list-cover"}),o=i.clone();o.insertAfter($(t)),this._step3Timeline.add(TweenMax.from(o,this._animSpeedFirst,{delay:n,height:"100%",ease:this._animEase}))},this)),this._step3Timeline.to(this._$otherLinksWrapTop,.5,{height:"100%",opacity:1,ease:this._animEase},"other-links"),this._step3Timeline.add(TweenMax.from(this._$openAccountButton,t,{opacity:0,ease:this._animEase}))},setUpListeners:function(){this._$images.click(this._bOnImageClick),this._$otherLinksLinks.click(this._bOnOtherLinksClick),$(".icon-card").click(function(t){t.preventDefault();var n=$(this),i="accountElectives";if(n.hasClass("icon-card-multi")){n.toggleClass("active"),e.updatedCustomerData(n,i);1===$(".icon-card-multi.active").length?e.iconCardNextStep=n.attr("data-next-step"):e.iconCardNextStep=$(".icon-card-multi:last").attr("data-next-step")}else e.iconCardNextStep=n.attr("data-next-step"),$(".icon-card").removeClass("active"),e.customerData.accountElectives.splice(0,e.customerData.accountElectives.length),n.toggleClass("active"),e.updatedCustomerData(n,i)}),$(".next-account-offering").click(function(t){t.preventDefault(),e.previousSteps.push(e.currentStep),e.showNextStep(e.iconCardNextStep)}),$(".previous-account-offering").click(function(t){t.preventDefault(),e.showPreviousStep()})},_onOtherLinksClick:function(t){t.preventDefault(),e.showFirstStep()},_onImageClick:function(t){t.preventDefault();var n=$(t.currentTarget),i=this._$images.not(n),o=$("#step_1").find("h4"),a=new TimelineMax,s=n.offset().left+n.outerWidth(!0)/2,r=$(window).width()/2,c=2*this._animSpeed;this._$stepsWrapper.css("height",$("#step_1").outerHeight(!0));var l=n.attr("data-val");e.buildOtherLinks(l),this._$titleBarStatic.each($.proxy(function(e,t){$(t).html(l)},this));var d=n.attr("data-next-step");this.previousSteps.push(1),a.add("start").to(i,this._animSpeed,{opacity:0,ease:this._animEase},"start").to(n.parent(),c,{left:r-s,ease:this._animEase},"start").add("centered").to(o,this._animSpeed,{opacity:0,ease:this._animEase},"centered").to(n,c,{opacity:0,ease:this._animEase,onComplete:$.proxy(this.showNextStep(d),this)},"centered")},updatedCustomerData:function(t,n){var i=t.attr("data-val");if(t.hasClass("select-by-img"))e.customerData[n]=i;else if(t.hasClass("icon-card")){var o=e.customerData.accountElectives;if(t.hasClass("active"))o.push(i);else for(var a=o.length-1;a>=0;a--)o[a]===i&&o.splice(a,1);o.length>0?$(".next-account-offering").prop("disabled",""):$(".next-account-offering").prop("disabled","disabled")}},showPreviousStep:function(){var t=e.previousSteps.pop();e.showNextStep(t)},showFirstStep:function(){e.previousSteps.splice(0,e.previousSteps.length),e.showNextStep(1)},showNextStep:function(t){var n;$("#step_"+e.currentStep).animate({opacity:0}
1,this._animSpeedTransition,$.proxy(function(){this._$stepsWrapper.css({height:$("#step_"+e.currentStep).outerHeight(!0),overflow:"hidden"}),$("#step_"+e.currentStep).removeClass("active"),e.currentStep=t,"account type"===$("#step_"+e.currentStep).attr("data-step-type")?e.buildRecommendedStep():"slider"===$("#step_"+e.currentStep).attr("data-step-type")||e.buildStep2(),$("#step_"+e.currentStep).css("opacity",0).addClass("active"),this._$stepsWrapper.animate({height:$("#step_"+e.currentStep).outerHeight(!0)},this._animSpeedTransition,$.proxy(function(){this._$stepsWrapper.attr("style",""),$("#step_"+e.currentStep).animate({opacity:1},this._animSpeedTransition,$.proxy(function(){"account type"===$("#step_"+e.currentStep).attr("data-step-type")?(n="_step3Timeline",this[n].play()):"slider"===$("#step_"+e.currentStep).attr("data-step-type")?e.rebuildScene1():(n="_step2Timeline",this[n].play(),$(".icon-card").fadeTo("fast",1))},this))},this))},this))}};t.exports=e||window.AccountSelector}()},{}],7:[function(e,t,n){!function(){var e={sliderClass:$(".bxslider"),sliders:[],init:function(){e.setUpListeners(),e.createSlidersArray(),e.setupBxSliders()},setUpListeners:function(){$(window).resize(function(){e.setupBxSliders()})},createSlidersArray:function(){e.sliderClass.each(function(){e.sliders.push($(this))})},setupBxSliders:function(){$(window).width()>767?!$(".bx-wrapper").length||$(".phone-slider").length||$(".rewards-slider").length||e.sliderClass.each(function(t){e.sliders[t].destroySlider()}):!$(".bx-wrapper").length||$(".phone-slider").length||$(".rewards-slider").length||e.sliderClass.each(function(t){e.sliders[t].bxSlider({controls:!1,slideMargin:0,slideWidth:300,touchEnabled:!1})})}};t.exports=e||window.BxSlider}()},{}],8:[function(e,t,n){!function(){var e={init:function(){var e=null,t=$("#txtChatWidth").val(),n=$("#txtChatHeight").val(),i=$("#txtChatUrl").val(),o="height="+n+",width="+t;$(".btnPopOutChat").click(function(){if(e)e.focus();else{var a=function(){var i=(screen.width-t)/2,o=(screen.height-n)/2;e.moveTo(i,o)};!function(){e=window.open(i,"",o),a()}()}}),window.addEventListener("message",function(t){switch(t.data.event){case"pending_msgs":case"session_started":break;case"session_ended":console.log("cause : ",t.data.cause);break;case"widget_beforeunload":case"widget_unload":e=null}},!1),window.addEventListener("beforeunload",function(t){e&&(e.close(),e=null)})}};t.exports=e||window.ChatBlock}()},{}],9:[function(e,t,n){"use strict";!function(){var e={init:function(){function e(e,t,n){var i=this;i.activateTooltips=function(){e(function(){$('[data-toggle="tooltip"]').tooltip({container:"body"})},0)},$('[data-toggle="tooltip"]').length>0&&i.activateTooltips(),i.accts=[],i.showAll=!0,i.showThreshold=4,i.showAllToggle=function(){i.showAll=!i.showAll,i.activateTooltips(),i.toggleAriaExpanded("a.show-more")},i.init=function(e){i.contentLink=e;var o=JSON.parse(sessionStorage.getItem("comparison_table_features_"+i.contentLink));o?i.features=o:t({method:"GET",url:"/api/CompareAccountsApi/GetFeatures/"+i.contentLink,headers:{"Content-Type":"application/json"}}).then(function(e){i.features=e.data,n.sessionStorage.setItem("comparison_table_features_"+i.contentLink,JSON.stringify(i.features)),i.activateTooltips()},function(e){console.log("error - getFeatures: "+e)});var a=JSON.parse(sessionStorage.getItem("comparison_table_accts_"+i.contentLink));if(a){i.accts=a;for(var s=i.accts.length,r=0;r<s;r++)i.shadowSelect.push({id:i.accts[r].id,selected:i.accts[r].selected})}else t({method:"GET",url:"/api/CompareAccountsApi/GetAccounts/"+i.contentLink,headers:{"Content-Type":"application/json"}}).then(function(e){i.accts=e.data,n.sessionStorage.setItem("comparison_table_accts_"+i.contentLink,JSON.stringify(i.accts));for(var t=i.accts.length,o=0;o<t;o++)i.shadowSelect.push({id:i.accts[o].id,selected:i.accts[o].selected})},function(e){console.log("error - getAccounts: "+e)})},i.toggleAriaExpanded=function(e){var t=$(e),n=t.attr("aria-expanded"),i="true"===n?"false":"true";t.attr("aria-expanded",i)},i.countSelected=function(e){void 0!==e&&null!==e||(e=i.accts);for(var t=e.length,n=1,o=0;o<t;o++)e[o].selected&&n++;return n},i.removeAcct=function(e){i.countSelected(i.accts)>1&&(i.accts[e].selected=!1)},i.toggleAcct=function(e){var t=i.countSelected(i.shadowSelect);(t>1||!i.shadowSelect[e].selected)&&(t<5||i.shadowSelect[e].selected)&&(i.shadowSelect[e].selected=!i.shadowSelect[e].selected)},i.addAcct=function(e){if(i.selAccts.length<5){var t={id:i.accts[e].id};i.selAccts.push(t)}},i.lookupFeature=function(e,t){for(var n="",o=i.features.length,a=0;a<o;a++)if(i.features[a].id===e){0===i.features[a].cat.length?n=1===t:(n=i.features[a].cat[t],void 0===n||null===n?n=!1:n.replace("$","<sup>$</sup>"));break}return n},i.lookup=function(e,t){for(var n=i.accts.length,o=null,a=0;a<n;a++)if(i.accts[a].id.indexOf(e)>-1)for(var s=i.accts[a].features.length,r=0;r<s;r++)if(t.indexOf(i.accts[a].features[r].id)>-1){o=i.lookupFeature(t,i.accts[a].features[r].value);break}return o},i.shadowSelect=[],$("#choose-accounts").off("show.bs.modal").on("show.bs.modal",function(t){e(function(){for(var e=i.accts.length,t=0;t<e;t++)i.shadowSelect[t].selected=i.accts[t].selected},0)}),i.applySelection=function(){for(var e=i.shadowSelect.length,t=0;t<e;t++)i.accts[t].selected=i.shadowSelect[t].selected;$("#choose-accounts").modal("hide")},i.showModal=function(){$("#choose-accounts").modal("show")}}"undefined"!=typeof angular&&null!==angular&&angular.module("safApp",["ngSanitize"]).controller("CompTableCtrl",["$timeout","$http","$window",e])}};t.exports=e||window.ComparisonTable}()},{}],10:[function(e,t,n){var i=new ScrollMagic.Controller,o=$(".fade-in");o.length&&o.each(function(){new ScrollMagic.Scene({triggerElement:this,triggerHook:.9,reverse:!1}).setClassToggle(this,"active").addTo(i)})},{}],11:[function(e,t,n){function i(e){for(var t=$("#"+e+" .counter-items"),n=t.find("li"),i=0;i<n.length;i++){var o=document.getElementById(n[i].id).querySelector(".counter"),a=parseFloat(o.getAttribute("data-value")),s=o.getAttribute("data-prefix")||"",r=o.getAttribute("data-suffix")||"",c={prefix:s,suffix:r},l=0;a%1!=0&&(l=2);var d=new CountUp(o,0,a,l,2,c);d.error||d.start()}}var o=new ScrollMagic.Controller;if($("#sf-counter").length){new ScrollMagic.Scene({triggerElement:"#sf-counter",triggerHook:.9,reverse:!1}).setClassToggle("#sf-counter","fade-in").addTo(o).on("start",function(){i("sf-counter")})}},{}],12:[function(e,t,n){!function(){var e={_searchTerm:"",init:function(){var e=this;this.fillOfficersDropdown(),$("#allFinancialAdvisors").change(function(){""!==$(this).val()&&($("#loanOfficersResults").html(""),$.getJSON("/api/FinancialAdvisorApi/GetOfficerByName",{name:$(this).val()},function(e){location.href=e[0].url,$("#loanOfficersResultDescription").hide()}))}),$("#loanOfficerZipcode").keypress(function(t){if(13===t.keyCode)return t.preventDefault(),void e.search()}),$("#loanOfficerCity").keypress(function(t){if(13===t.keyCode)return t.preventDefault(),void e.search()})}
1,search:function(){var e=$("#loanOfficerZipcode").val();if(e||(e=$("#loanOfficerCity").val()),e){this._searchTerm=e,this.resetResultsView();var t;if("undefined"!=typeof Storage){if(t=JSON.parse(sessionStorage.getItem("episerver_financial_advisor_search:"+e)))return void this.updateView(t);this.searchAjax(e,this.updateView,!0)}else this.searchAjax(e,this.updateView,!1)}},searchAjax:function(e,t,n){$.getJSON("/api/FinancialAdvisorApi/Search",{searchTerm:e},function(i){n&&sessionStorage.setItem("episerver_financial_advisor_search:"+e,JSON.stringify(i)),t(i)})},fillOfficersDropdown:function(){$.getJSON("/api/FinancialAdvisorApi/GetAllFinancialAdvisors",function(e){var t=$("#all-loan-officers").html();e.forEach(function(e){var n=Mustache.render(t,e);$("#allFinancialAdvisors").append(n)})})},resetResultsView:function(){$("#loanOfficersResultDescriptionNoResult").hasClass("hidden")||$("#loanOfficersResultDescriptionNoResult").addClass("hidden"),$("#loanOfficersResultDescription").hasClass("hidden")||$("#loanOfficersResultDescription").addClass("hidden"),$("#loanOfficersResults").hasClass("hidden")||$("#loanOfficersResults").addClass("hidden"),$("#loanOfficerClose").hasClass("hidden")||$("#loanOfficerClose").addClass("hidden")},updateView:function(e){$("#loanOfficersCount").text(e.length),e.length<1?$("#loanOfficersResultDescriptionNoResult").removeClass("hidden"):(e.length>1?$("#loanOfficersPlural").removeClass("hidden"):$("#loanOfficersPlural").hasClass("hidden")||$("#loanOfficersPlural").addClass("hidden"),$("#loanOfficersResultDescription").removeClass("hidden"),$("#loanOfficersResults").removeClass("hidden"),$("#loanOfficerClose").removeClass("hidden")),$("#loanOfficersLocationSearched").text(this._searchTerm),$("#loanOfficerZipcode").val(""),$("#loanOfficerCity").val(""),$(".find-an-advisor .bx-wrapper .bx-viewport").css("height","470px !important");var t=$("#loanOfficerRow").html(),n=$("#loanOfficersResults");n.empty(),e.forEach(function(e){var i=Mustache.render(t,e);n.append(i)}),n.removeAttr("style"),$("#loanOfficersResultsHeader").removeAttr("style")}};window.FinancialAdvisorService=e,t.exports=e||window.FinancialAdvisorService}()},{}],13:[function(e,t,n){!function(){var e={init:function(){e.setUpListeners()},setUpListeners:function(){$(".find-an-officer .results-close a").click(function(t){t.preventDefault(),e.hideResults()}),$(".find-an-advisor .results-close a").click(function(t){t.preventDefault(),e.hideAdvisors()})},hideResults:function(){$(".find-an-officer .results").animate({height:0},350,function(){$(this).hide()})},hideAdvisors:function(){$(".find-an-advisor .results").animate({height:0},350,function(){$(this).hide()})}};t.exports=e||window.FindAnOfficerResults}()},{}],14:[function(e,t,n){!function(){var e={init:function(){$(".flip-card").each(function(){var e=$
1(this),t=e.find(".flip-control"),n=e.find(".flip-control-close"),i=e.find(".btn-container .learn-more-btn"),o=null;t.on("click",function(){var e=$(this),t=$(this).attr("data-target"),a=e.closest(".flip-card-inner");a.find(".content").removeClass("active"),a.toggleClass("active"),a.find('.content[data-content="'+t+'"]').addClass("active"),o=e,i.attr("tabindex","0"),n.attr("tabindex","0"),n.focus()}),n.on("click",function(){var e=$(this).closest(".flip-card-inner");e.removeClass("active"),e.find(".content").removeClass("active"),i.attr("tabindex","-1"),n.attr("tabindex","-1"),o.focus()})})}};t.exports=e||window.FlipCards}()},{}],15:[function(e,t,n){!function(){var e={init:function(e,t,n){var i=this;$(".sf-hero-carousel").owlCarousel({nav:!1,dots:!0,items:1,autoplaySpeed:e,loop:!1,autoplay:t,autoplayTimeout:n,autoplayHoverPause:!0,onInitialized:function(){i.makeButtonsFocusable(),i.modifyLinksFocusability()},onTranslated:function(){i.modifyLinksFocusability()}})},makeButtonsFocusable:function(){var e=$(".sf-hero-carousel .owl-dots button.owl-dot");e.each(function(t){$(this).attr("aria-label","slide "+(t+1)+" of "+e.length),$(this).attr("tabindex","0")})},modifyLinksFocusability:function(){$(".sf-hero-carousel .owl-item").each(function(){var e=$
1(this).find("a");$(this).hasClass("active")?e.attr("tabindex","0"):e.attr("tabindex","-1")})}};t.exports=e||window.GallerySlider}()},{}],16:[function(e,t,n){!function(){var e={theGallery:$(".owl-carousel"),updateCarouselStatus:function(e,t,n){$("#carousel-status").text("Slide "+e+" of "+t+": "+n)},init:function(){setTimeout(function(t){t.owlCarousel({items:1,loop:!0,margin:5,nav:!0,navText:['<span class="fa-stack fa-lg"><i class="fa fa-chevron-left fa-stack-1x"></i><span class="circle"></span></span>','<span class="fa-stack fa-lg"><i class="fa fa-chevron-right fa-stack-1x"></i><span class="circle"></span></span>'],responsive:{0:{stagePadding:10,nav:!1},991:{stagePadding:0}},onInitialized:function(t){var n=e.theGallery.find(".owl-prev"),i=e.theGallery.find(".owl-next"),o=t.relatedTarget._clones.length/2,a=t.item.count,s=e.theGallery.find(".owl-item").eq(o).find("img").attr("alt");n.removeAttr("role"),i.removeAttr("role"),n.attr({"aria-label":"Previous Slide","aria-controls":e.theGallery.attr("id")}),i.attr({"aria-label":"Next Slide","aria-controls":e.theGallery.attr("id")}),e.theGallery.find(".owl-item:not(.cloned)").each(function(t){$(this).attr("role","group"),$(this).attr("aria-roledescription","slide"),$(this).attr("aria-label",t+1+" of "+e.theGallery.find(".owl-item:not(.cloned)").length)}), 2e.updateCarouselStatus(1,a,s)},onChanged:function(t){var n=t.item.index,i=t.item.count,o=e.theGallery.find(".owl-item").eq(n).find("img").attr("alt");e.updateCarouselStatus(n,i,o)}})},0,this.theGallery)}};window.Gallery=e,t.exports=e||window.Gallery}()},{}],17:[function(e,t,n){!function(){var e={init:function(){this._$elements=$(".saf-fade-in"),this._build()},_build:function(){this._$elements.each($.proxy(function(e,t){var n=new ScrollMagic.Controller,i=new TimelineLite,o=new ScrollMagic.Scene({triggerHook:.6,reverse:!1});i.add(TweenLite.from(t,.45,{opacity:0,ease:Sine.easeInOut})),o.triggerElement(t).setTween(i).addTo(n)},this))}};t.exports=e||window.GlobalFadeIn}()},{}],18:[function(e,t,n){!function(){var e={init:function(){var e=$
2(".laptop-slider .slide-pager .page-item"),t=$(".laptop-slider .bxslider").bxSlider({pagerCustom:".slide-container",slideWidth:800,controls:!1,auto:!0,autoHover:!0,pause:4e3,pager:!0,onSlideBefore:function(t,n,i){e.eq(n).removeClass("pager-active"),e.eq(i).addClass("pager-active")}});$(".laptop-slider .slide-pager").on("mouseover",".page-item",function(){t.goToSlide($(this).data("slide-index")),t.stopAuto()}),$(".laptop-slider .slide-pager").on("mouseleave",".page-item",function(){t.startAuto()})}};t.exports=e||window.laptopslideshow}()},{}],19:[function(e,t,n){!function(){var e={self:this,_searchTerm:"",init:function(){var e=this;this.fillOfficersDropdown(),$("#allLoanOfficers").change(function(){var e=$(this).val();if(""!==e){$("#loanOfficersResults").html("");var t=JSON.parse(sessionStorage.getItem("all-loan-officers")).filter(function(t){return t.name===e});location.href=t[0].url,$.getJSON("/api/LoanOfficerApi/GetOfficerByName",{name:$(this).val()},function(e){$("#loanOfficersResultDescription").hide()})}}),$("#loanOfficerZipcode").keypress(function(t){if(13===t.keyCode)return t.preventDefault(),void e.search()}),$("#loanOfficerCity").keypress(function(t){if(13===t.keyCode)return t.preventDefault(),void e.search()})}
2,search:function(){var e=$("#loanOfficerZipcode").val();if(e||(e=$("#loanOfficerCity").val()),e){self._searchTerm=e,this.resetResultsView();var t;if("undefined"!=typeof Storage){if(t=JSON.parse(sessionStorage.getItem("episerver_loan_officer_search:"+e)))return void this.updateView(t);this.searchAjax(e,this.updateView,!0)}else this.searchAjax(e,this.updateView,!1)}},searchAjax:function(e,t,n){$.getJSON("/api/LoanOfficerApi/Search",{searchTerm:e},function(i){n&&sessionStorage.setItem("episerver_loan_officer_search:"+e,JSON.stringify(i)),t(i)})},fillOfficersDropdown:function(){var e=JSON.parse(sessionStorage.getItem("all-loan-officers"));if(null===e)$.getJSON("/api/LoanOfficerApi/GetAllLoanOffiers",function(e){var t=$("#all-loan-officers").html();sessionStorage.setItem("all-loan-officers",JSON.stringify(e)),e.forEach(function(e){var n=Mustache.render(t,e);$("#allLoanOfficers").append(n)})});else{var t=$("#all-loan-officers").html();e.forEach(function(e){var n=Mustache.render(t,e);$("#allLoanOfficers").append(n)})}},resetResultsView:function(){$("#loanOfficersResultDescriptionNoResult").hasClass("hidden")||$("#loanOfficersResultDescriptionNoResult").addClass("hidden"),$("#loanOfficersResultDescription").hasClass("hidden")||$("#loanOfficersResultDescription").addClass("hidden"),$("#loanOfficersResults").hasClass("hidden")||$("#loanOfficersResults").addClass("hidden"),$("#loanOfficerClose").hasClass("hidden")||$("#loanOfficerClose").addClass("hidden")},updateView:function(e){$("#loanOfficersCount").text(e.length),e.length<1?$("#loanOfficersResultDescriptionNoResult").removeClass("hidden"):(e.length>1?$("#loanOfficersPlural").removeClass("hidden"):$("#loanOfficersPlural").hasClass("hidden")||$("#loanOfficersPlural").addClass("hidden"),$("#loanOfficersResultDescription").removeClass("hidden"),$("#loanOfficersResults").removeClass("hidden"),$("#loanOfficerClose").removeClass("hidden")),$("#loanOfficersLocationSearched").text(self._searchTerm),$("#loanOfficerZipcode").val(""),$("#loanOfficerCity").val(""),$(".find-an-officer .bx-wrapper .bx-viewport").css("height","470px !important");var t=$("#loanOfficerRow").html(),n=$("#loanOfficersResults");n.empty(),e.forEach(function(e){var i=Mustache.render(t,e);n.append(i)}),n.removeAttr("style"),$("#loanOfficersResultsHeader").removeAttr("style")}};window.LoanOfficerService=e,t.exports=e||window.LoanOfficerService}()},{}],20:[function(e,t,n){!function(){var e={_$wrapper:$(".main-hero"),_animSpeed:.9,init:function(){this._$headline=this._$wrapper.find("h1"),this._setup()},_setup:function(){var e=new ScrollMagic.Controller,t=new TimelineLite,n=new ScrollMagic.Scene({triggerHook:.4,reverse:!1});t.add(TweenLite.from(this._$headline.get(0),this._animSpeed,{delay:1.5,opacity:0,ease:Sine.easeInOut})),n.triggerElement(this._$wrapper.get(0)).setTween(t).addTo(e)}};t.exports=e||window.MainHero}()},{}],21:[function(e,t,n){!function(){var e={cookieName:"saf-login",userName:"saf-username",corpUserName:"corp-username",corpCookieName:"corp-login",init:function(){e.setUpListeners(),e.setState(),e.setCorpState(),e.initPasswordToggles(document)},setUpListeners:function(){$("#user-icon").click(function(e){e.preventDefault()}),$(document).on("click",".main-nav-login.open",function(e){e.stopPropagation()}),$(document).ready(function(){$.each($(".login-main input[readonly]"),function(e,t){t.removeAttribute("readonly")})}),$(".main-nav-login #account-login form input[name=UserName], .main-nav-login #account-login form input[name=username]").on("blur",function(e){var t=$(this);if(null!=(t.attr("data-original")||"")){var n=t.val().split("");for(t.attr("data-original",n.join("")),l=3;l<n.length;l+=1)n[l]="â";t.val(n.join(""))}}),$(".main-nav-login #account-login form").on("submit",function(t){var n=$(t.target).find("input[name=UserName], input[name=username]");e.setCookie("OLBUser","yes"),n.val(n.attr("data-original")),!0===$(".main-nav-login .account-username-save")[0].checked?e.setCookie(e.userName,n.attr("data-original")):e.deleteCookie(e.userName)}),$(".main-nav-login #web-cash-manger form input[name=UserName], .main-nav-login #web-cash-manger form input[name=username]").on("blur",function(e){var t=$(this);if(null!=(t.attr("data-original")||"")){var n=t.val().split("");for(t.attr("data-original",n.join("")),l=3;l<n.length;l+=1)n[l]="â";t.val(n.join(""))}}),$(".main-nav-login #web-cash-manger form").on("submit",function(t){var n=$(t.target).find("input[name=UserName], input[name=username]");n.val(n.attr("data-original")),e.setCookie("corpOLBUser","yes"),!0===$(".main-nav-login .corp-username-save")[0].checked?e.setCookie(e.corpUserName,n.attr("data-original")):e.deleteCookie(e.corpUserName)})},setState:function(){var t=e.getCookie(e.userName);t&&"null"!=t?($(".main-nav-login #account-login form input[name=UserName], .main-nav-login #account-login form #username").val(t).attr("data-original",t).blur(),$(".main-nav-login .account-username-save").attr("checked","checked")):$(".main-nav-login #account-login form .account-username-save").removeAttr("checked")},setCorpState:function(){var t=e.getCookie(e.corpUserName);t&&"null"!=t?($(".main-nav-login #web-cash-manger form input[name=username]").val(t).attr("data-original",t).focus().blur(),$(".main-nav-login .corp-username-save").attr("checked","checked")):$(".main-nav-login #web-cash-manger form .corp-username-save").removeAttr("checked")},initPasswordToggles:function(e){$(e).find(".input-submit-arrow").each(function(){var e=this,t=e.querySelector(".password-toggle-input, #password"),n=e.querySelector(".password-toggle-icon, #togglePassword");if(t&&n&&"true"!==n.dataset.passwordToggleBound){var i=function(){var e=Boolean(t.value);e||(t.setAttribute("type","password"),n.classList.remove("fa-eye-slash")),n.classList.toggle("is-visible",e)};n.dataset.passwordToggleBound="true",n.addEventListener("click",function(){var e="password"===t.getAttribute("type")?"text":"password";t.setAttribute("type",e),this.classList.toggle("fa-eye-slash","text"===e)}
2),t.addEventListener("input",i),t.addEventListener("change",i),i()}})},getCookie:function(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return null},setCookie:function(e,t){var n=new Date;n.setTime(n.getTime()+31536e6),expires="; expires="+n.toGMTString(),document.cookie=e+"="+t+expires+"; secure; path=/"},deleteCookie:function(e){var t=e+"=",n=new Date;n.setTime(n.getTime()-864e5),t+=";max-age=0",t+=";expires="+n.toUTCString(),t+=";secure; path=/",document.cookie=t}};t.exports=e||window.MainNavLogin}()},{}],22:[function(e,t,n){!function(){var e={init:function(){this.setupDropdown(),this.setFocusOrder(),this.updateDropdownValues(),this.setupKeyboardNavigation(),$(".nav li.dropdown").hasClass("open")||$(".nav li.dropdown:first").addClass("open")},setupDropdown:function(){$(".dropdown-toggle-btn").on("click",function(){e.toggleDropdown($(this).closest("li.dropdown"))})},toggleDropdown:function(t){var n=t.hasClass("open");$(".nav li.dropdown").removeClass("open"),n||t.addClass("open"),e.setFocusOrder(),e.updateDropdownValues()},openDropdown:function(t){t.hasClass("open")||($(".nav li.dropdown").removeClass("open"),t.addClass("open"),e.setFocusOrder(),e.updateDropdownValues())},setFocusOrder:function(){$(".subMenu a").attr("tabindex","-1"),$(".nav li.dropdown.open .subMenu a").removeAttr("tabindex")},updateDropdownValues:function(){$(".nav li.dropdown").each(function(){var e=$
2(this).find(".dropdown-toggle"),t=$(this).find(".dropdown-toggle-btn"),n=e.find(".sr-only"),i=$(this).hasClass("open");t.attr("aria-expanded",i),n.text(i?"(current)":"")})},setupKeyboardNavigation:function(){function t(t){e.openDropdown(t.closest("li.dropdown"))}$(".nav li.dropdown button").on("keydown",function(t){var n=t.keyCode||t.which;13!==n&&32!==n||(t.preventDefault(),e.toggleDropdown($(this).closest("li.dropdown")))}),$(".nav li.dropdown a, .nav li.dropdown button").on("focus",function(){t($(this))})}};t.exports=e||window.MainNavMenu}()},{}],23:[function(e,t,n){!function(){var e={init:function(){window.matchMedia("only screen and (max-width: 1000px)").matches?($(".main-nav-search").removeClass("open"),$("#search-icon").attr("aria-expanded","false")):($(".main-nav-search").addClass("open"),$("#search-icon").attr("aria-expanded","true")),e.setUpListeners()},setUpListeners:function(){$("#search-icon").click(function(t){t.preventDefault(),$(".main-nav-search").toggleClass("open");var n=$(".main-nav-search").hasClass("open");$("#search-icon").attr("aria-expanded",n?"true":"false"),e.enableTabulation(n)}),$(".search-btn").click(function(e){e.preventDefault();var t=$("#search-input").val().trim();t||(t=$("#search-input-desktop").val().trim()),t&&(window.location.href="/search?q="+encodeURIComponent(t))}),$("#microphoneimg").click(function(e){e.preventDefault()}),$("#search-input").keypress(function(e){13===(e.keyCode?e.keyCode:e.which)&&(window.location.href="/search?q="+this.value)}),$("#search-input-desktop").keypress(function(e){13===(e.keyCode?e.keyCode:e.which)&&(window.location.href="/search?q="+this.value)}),$(document).on("click",".main-nav-search.open",function(e){e.stopPropagation()})},enableTabulation:function(e){var t=e?"0":"-1";$(".navbar-form.input-group").find("input, button").attr("tabindex",t)}};t.exports=e||window.MainNavSearch}()},{}],24:[function(e,t,n){!function(){var e={init:function(){function e(){o||(n.stopAuto(),o=!0,$("#pauseButton").hide(),$("#resumeButton").show())}function t(){o&&(n.startAuto(),o=!1,$("#resumeButton").hide(),$("#pauseButton").show())}var n,i=$(".cellphone-slider .slide-pager .page-item"),o=!1;$("#pauseButton").click(function(){e()}),$("#resumeButton").click(function(){t()}),n=$(".cellphone-slider .bxslider").bxSlider({pagerCustom:".slide-container",slideWidth:300,controls:!1,auto:!0,autoHover:!0,pause:4e3,pager:!0,onSlideBefore:function(e,t,n){i.eq(t).removeClass("pager-active"),i.eq(n).addClass("pager-active")}}),$(".cellphone-slider .slide-pager").on("mouseover focus",".page-item",function(){n.goToSlide($(this).data("slide-index")),e()})}};t.exports=e||window.phoneslideshow}()},{}],25:[function(e,t,n){!function(){var e={_numberOfPlacesNotFound:0,init:function(e,t){},initUserLocationMap:function(e,t){},searchForSalemFivePlace:function(e,t,n){if("undefined"!=typeof Storage){var i=JSON.parse(sessionStorage.getItem("google_place_"+e.latitude+"::"+e.longitude));i?n(i):this.searchForSalemFivePlaceAjax(e,t,n,!0)}else this.searchForSalemFivePlaceAjax(e,t,n,!1)},searchForSalemFivePlaceAjax:function(e,t,n,i){},getDetails:function(e,t,n){},getDetailsAjax:function(e,t,n,i,o){},setUp:function(e,t){},setDetails:function(e,t,n){},setHours:function(e){},getDay:function(e){return 0===e?"Sunday":1===e?"Monday":2===e?"Tuesday":3===e?"Wednesday":4===e?"Thursday":5===e?"Friday":6===e?"Saturday":void 0}};window.PlacesService=e,t.exports=e||window.PlacesService}()},{}],26:[function(e,t,n){!function(){var e={init:function(){$(".download-info").on("click",this.showPopover.bind(this)),$(document).on("click scroll",this.hidePopover.bind(this)),$(".popover").on("click",this.handlePopoverClick.bind(this))},showPopover:function(e){e.stopPropagation();var t,n,i=$(".popover"),o=$(".utility-nav .download-info"),a=o.offset(),s=$(window).scrollTop()>200;window.matchMedia("(max-width: 479px)").matches?t=232:window.matchMedia("(max-width: 991px)").matches?(t=190,n=435):s?(t=167,n=a.left+o.outerWidth()-i.outerWidth()+25):(t=a.top-i.outerHeight()-10,n=a.left+o.outerWidth()-i.outerWidth()+25),i.css({top:t+"px",left:n+"px"}),i.addClass("in")},hidePopover:function(){$(".popover").removeClass("in")},handlePopoverClick:function(e){e.stopPropagation(),$(e.target).hasClass("in")||this.hidePopover()}};t.exports=e||window.popover,e.init()}()},{}],27:[function(e,t,n){!function(){var e={init:function(){var e=$
2(window),t=$(".promo-block"),n=$(".promo-block.sticky"),i=$(".promo-block").offset().top,o=$(".promo-block").height()+100;e.scroll(function(){e.scrollTop()>=i+o?(n.length||t.addClass("sticky"),console.log(e.scrollTop())):t.removeClass("sticky")})}};t.exports=e||window.PromoBlock}()},{}],28:[function(e,t,n){!function(){function e(){var e=decodeURIComponent(window.location.hash);if(e){document.querySelectorAll(".rates-chart").forEach(function(e){e.style.display="none"}),document.querySelectorAll(".tab-item").forEach(function(e){e.classList.remove("tab-item-active")});var t=document.querySelector(".navigation-tabs .tab-item");if(t){var n=t.dataset.section,i=e.replace(/^#/,"").trim(),o=document.querySelector('[data-section="'+i+'"]'),a=document.getElementById(i);if(a&&o)a.style.display="block",o.classList.add("tab-item-active");else{var s=document.getElementById(n),r=document.querySelector('[data-section="'+n+'"]');s&&r&&(s.style.display="block",r.classList.add("tab-item-active"))}}}}function n(e){var t=document.querySelector(".dropdown-options");t&&t.querySelectorAll("li").forEach(function(t){t.setAttribute("tabindex",e)})}function i(e,t,i){t.addEventListener(e,function(){var e="block"===i.style.display;t.style.backgroundImage=e?u:p,i.style.display="block"===i.style.display?"none":"block",n(e?-2:0)})}function o(e){var t=e.closest(".rate-card").querySelectorAll(".rate-details"),n=e.value;t.forEach(function(e){e.style.display="none"});var i=document.getElementById(n),o=$("#"+n+" .rate-percentage").text();$("#ratesDetailLiveRegion").html(o),i&&(i.style.display="block")}function a(e,t){var n=e.value;t.forEach(function(e){e.style.display="none";var t=e.querySelector(".term-dropdown");t&&(t.style.display="none")});var i=document.getElementById(n);if(i){i.style.display="block",i.focus();var a=i.querySelector(".term-dropdown");a&&(a.style.display="block",o(a))}}function s(e,t,n){var i=document.querySelector(".tab-item-active");i&&(i.classList.remove("tab-item-active"),i.removeAttribute("aria-selected")),e.classList.add("tab-item-active"),e.setAttribute("aria-selected","true");var a=e.getAttribute("data-section");n.forEach(function(e){e.style.display="none";var t=e.querySelector(".term-dropdown");t&&(t.style.display="none")});var s=document.getElementById(a);if(s){s.style.display="block";var r=s.querySelector(".term-dropdown");if(r&&(r.style.display="block",o(r)),t){var c=s.querySelector("a, button, input, select, textarea");c?c.focus():(s.setAttribute("tabindex","-1"),s.focus())}}}function r(e,t,n,i){var o=e.key,a=Array.from(n).indexOf(t),r=-1;"ArrowRight"===o?r=(a+1)%n.length:"ArrowLeft"===o?r=(a-1+n.length)%n.length:"Home"===o?r=0:"End"===o?r=n.length-1:"Enter"!==o&&" "!==o&&"Tab"!==o||(e.preventDefault(),s(t,!0,i)),-1!==r&&(n[r].focus(),s(n[r],!1,i),e.preventDefault())}function c(){var e=document.querySelector(".custom-dropdown");if(e){var t=e.querySelector(".dropdown-selected"),n=e.querySelector(".dropdown-options");if(t&&n){var o=n.querySelectorAll("li");i("click",t,n),i("keydown",t,n),o.forEach(function(e){e.addEventListener("click",function(){t.textContent=this.textContent,$("#tabs-dropdown").val(this.dataset.value),t.style.backgroundImage=u,a(document.getElementById("tabs-dropdown"),document.querySelectorAll(".rates-chart")),o.forEach(function(e){e.classList.remove("selected")}),this.classList.add("selected"),n.style.display="none"})}),document.addEventListener("click",function(i){e.contains(i.target)||(n.style.display="none",t.style.backgroundImage=u)})}}}function l(e){document.querySelectorAll(".rates-chart").forEach(function(t){t.addEventListener("keydown",function(n){var i=t.querySelectorAll('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])'),o=Array.from(i).filter(function(e){return!e.disabled&&null!==e.offsetParent}),a=o[0],s=o[o.length-1];if("Tab"===n.key&&!n.shiftKey&&document.activeElement===s){n.preventDefault();var r=Array.from(e).findIndex(function(e){return e.classList.contains("tab-item-active")}),c=r+1;c<e.length&&(e[r].classList.remove("tab-item-active"),e[c].classList.add("tab-item-active"),e[c].focus())}if("Tab"===n.key&&n.shiftKey&&document.activeElement===a){n.preventDefault();var l=Array.from(e).findIndex(function(e){return e.classList.contains("tab-item-active")}),d=l-1;d>=0&&(e[l].classList.remove("tab-item-active"),e[d].classList.add("tab-item-active"),e[d].focus())}})})}function d(){document.querySelectorAll(".rate-card").forEach(function(e){var t=e.querySelector(".term-dropdown");t&&(o(t),t.addEventListener("change",function(){o(t)}))})}var u="url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2218%22%20height%3D%2210%22%20viewBox%3D%220%200%2018%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7.75264%208.53555L7.7526%208.53558L9.16682%209.9498L17.6521%201.46452L16.2379%200.0503022L9.16685%207.12134L2.09574%200.0502313L0.681532%201.46444L7.75264%208.53555Z%22%20fill%3D%22%2350
25050%22%2F%3E%3C%2Fsvg%3E')",p="url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2218%22%20height%3D%2210%22%20viewBox%3D%220%200%2018%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20transform%3D%22rotate(180%2C9%2C5)%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7.75264%208.53555L7.7526%208.53558L9.16682%209.9498L17.6521%201.46452L16.2379%200.0503022L9.16685%207.12134L2.09574%200.0502313L0.681532%201.46444L7.75264%208.53555Z%22%20fill%3D%22%23505050%22%2F%3E%3C%2Fsvg%3E')",h={init:function(){var t=document.querySelectorAll(".navigation-tabs .tab-item, .navigation-tabs .tab-item-active"),n=document.querySelectorAll(".rates-chart"),i=document.querySelectorAll(".navigation-tabs .tab-item");window.addEventListener("hashchange",e),e(),c(),l(i),d(),t.forEach(function(e){e.addEventListener("click",function(){s(e,!1,n)}),e.addEventListener("keydown",function(i){r(i,e,t,n)}),e.addEventListener("focus",function(){s(e,!1,n)})}),n.forEach(function(e){var t=e.querySelector(".term-dropdown");t&&t.addEventListener("change",function(){o(t)})});var u=document.querySelector(".tabItems-dropdown");u&&u.addEventListener("change",function(){a(u,n)})}};t.exports=h||window.SafRatesTabContainer}()},{}],29:[function(e,t,n){!function(){var e={init:function(e,t){$(e).autocomplete({source:function(e,n){$.ajax({url:t+"/_autocomplete?prefix="+encodeURIComponent(e.term)+"&size=20",dataType:"json",contentType:"application/json; charset=utf-8",success:function(e){n($.map(e.hits,function(e){return{label:e.query,value:e.query}}))}})},minLength:1})},relatedQuery:function(e,t,n,i){$.ajax({url:n+"/_didyoumean?query="+encodeURIComponent(t)+"&size=5&tags="+encodeURIComponent(i),dataType:"json",contentType:"application/json; charset=utf-8",success:function(t){if(t.hits&&t.hits.length){var n=$.map(t.hits,function(e){return e.suggestion});n.length>0&&e.html("People also searched for: ");for(var i=0;i<n.length;i++)e.append("<a href='?q="+n[i]+"&category="+$(".hdnCategories").val()+"'>"+n[i]+"</a> ")}}})},spellCheck:function(e,t,n,i){$.ajax({url:n+"/_spellcheck?query="+encodeURIComponent(t)+"&size=5&tags="+encodeURIComponent(i),dataType:"json",contentType:"application/json; charset=utf-8",success:function(t){if(t.hits&&t.hits.length&&t.hits[0].suggestion){var n=t.hits[0].suggestion;e.html("Did you mean: <a href='?q="+n+"&category="+$(".hdnCategories").val()+"'>"+n+"</a>")}}})},setCheckboxValues:function(t){$(".search-results input:checkbox").attr("checked",!1);for(var n=t.split(","),i=0;i<n.length;i++){if(""!==n[i]){var o="#id-"+n[i];i===n.length-1?$(".search-results .categoryname").append("<mark>"+$(o).data("value")+"</mark>"):$(".search-results .categoryname").append("<mark>"+$(o).data("value")+",</mark>"),$(o).attr("checked",!0)}e.setHiddenValues()}}
2,setHiddenValues:function(){var e=$("#search-results-filter-menu input:checkbox:checked").map(function(){return this.value}).get();$(".hdnCategories").val(e.join(",")),$(".category").val(e.join(","))},filter:function(e,t){$(".search-results input:checkbox:checked").length>0?window.location="?q="+t+"&category="+$(".hdnCategories").val():window.location="?q="+t}};window.autoComplete=e,t.exports=e||window.autoComplete}()},{}],30:[function(e,t,n){!function(){var e={init:function(){this.addMicButtonClickEvent()},addMicButtonClickEvent:function(){const t=document.getElementById("micButton");t&&t.addEventListener("click",function(){e.startDictation()})},startDictation:function(){if(window.hasOwnProperty("webkitSpeechRecognition")){document.getElementById("search-input").value="",$("#micButton").addClass("search-mic-clicked");var e=new webkitSpeechRecognition;e.continuous=!1,e.interimResults=!1,e.lang="en-US",e.start(),e.onresult=function(t){document.getElementById("search-input").value=t.results[0][0].transcript,e.stop(),document.getElementById("search-input").value=d
2ocument.getElementById("search-input").value.replace(".","")},e.onerror=function(t){e.stop()}}}};window.speechRecognition=e,t.exports=e||window.speechRecognition}()},{}],31:[function(e,t,n){!function(){var e={init:function(){this.addMicButtonClickEvent()},addMicButtonClickEvent:function(){const t=document.getElementById("micButton-desktop");t?t.addEventListener("click",function(){e.startDictation()}):console.warn("Mic button not found. Speech recognition will not be available.")},startDictation:function(){if(window.hasOwnProperty("webkitSpeechRecognition")){const e=document.getElementById("search-input-desktop");e&&(e.value=""),$("#micButton-desktop").addClass("search-mic-clicked");var t=new webkitSpeechRecognition;t.continuous=!1,t.interimResults=!1,t.lang="en-US",t.start(),t.onresult=function(e){document.getElementById("search-input-desktop").value=e.results[0][0].transcript,t.stop(),document.getElementById("search-input-desktop").value=document.getElementById("search-input-desktop").value.replace(".","")},t.onerror=function(e){t.stop()}}}};window.speechRecognition=e,t.exports=e||window.speechRecognition}()},{}],32:[function(e,t,n){!function(){var e={init:function(){function e(e){i.innerHTML="$"+s;var n=e.length;s<=e[0].id?(t(e),e[0].className=e[0].className.replace("card","card active")):s>e[0].id&&s<=e[1].id?(t(e),e[1].className=e[1].className.replace("card","card active")):s>e[1].id&&s<=e[2].id?(t(e),e[2].className=e[2].className.replace("card","card active")):4==n?s>e[2].id&&s<=e[3].id&&(t(e),e[3].className=e[3].className.replace("card","card active")):5==n&&(s>e[2].id&&s<=e[3].id?(t(e),e[3].className=e[3].className.replace("card","card active")):s>e[3].id&&s<=e[4].id&&(t(e),e[4].className=e[4].className.replace("card","card active")))}function t(e){for(var t=0;t<e.length;t++)e[t].className=e[t].className.replace("card active","card")}if($(".rewards-slider").length){var n=document.getElementById("sliderRange"),i=document.getElementById("output"),o=document.getElementsByName("rangesliderItem"),a=document.getElementById("sliderRange").value,s=a;$('input[type="range"]').rangeslider({polyfill:!1}),e(o),i.innerHTML="$"+n.value,n.oninput=function(){s=parseInt(this.value),e(o)}}}};t.exports=e||window.sfrangeslider}()},{}],33:[function(e,t,n){!function(){var e={_$wrapper:$(".tabbed-sticky-nav-wrapper"),_$container:$(".tabbed-sticky-nav"),_animSpeed:500,_paddingTop:10,init:function(){this._$links=this._$container.find("a");e.setUpListeners(),e.setUpDeepLink()},setUpListeners:function(){var e=this;$("body").scrollspy({target:".tabbed-sticky-nav .nav-container",offset:160}),this._$links.on("click",function(t){e._onClick(t)}),this._$links.on("keydown",function(t){e._onKeyDown(t)})},setUpDeepLink:function(){var e;null!=location.hash&&""!=location.hash&&(e=this._$links.filter('[href="'+location.hash+'"]'),e.click())},_onClick:function(e){e.preventDefault();var t=$(e.target).attr("href");this.scrollToSection(t)},_onKeyDown:function(e){if(" "===e.key||"Enter"===e.key){e.preventDefault();var t=$(e.target).attr("href");this.scrollToSection(t)}},scrollToSection:function(e){if(e&&"#"!==e&&""!==e){var t=$(e).offset().top-150;$("body, html").animate({scrollTop:t},this._animSpeed)}}};t.exports=e||window.TabbedStickyNav}()},{}],34:[function(e,t,n){function i(e){s.removeClass("open").addClass("closed"),setTimeout(function(){e()},900)}var o=$(".collapsing-menu .nav-container a"),a=$(".collapsing-menu"),s=$(".collapsing-menu .main-content-wrap"),r=$(".collapsing-menu .close-btn");o.on("click",function(e){e.preventDefault(),$(".collapsing-menu.open").length||function(e){a.addClass("open").removeClass("closed"),setTimeout(function(){e()})}(function(){s.addClass("open").removeClass("closed")}),o.removeClass("active"),$(this).addClass("active");var t=$(".main-content-wrap .content-panel"),n=this.getAttribute("data-control"),i=$(n).outerHeight();t.hide(),$(".main-content-wrap").css("height",i+130),$(n).show()}),r.on("click",function(e){e.preventDefault(),document.querySelector(".main-content-wrap").removeAttribute("style"),i(function(){a.removeClass("open").addClass("closed")}),o.removeClass("active")})},{}],35:[function(e,t,n){!function(){var e={_$wrapper:$(".zig-zag-listing"),_animSpeed:.45,_animEase:"Sine.easeInOut",init:function(){this._$rows=this._$wrapper.find(".row"),this._setup(),this._attachModalFocusEvent()},_setup:function(){this._$rows.each($.proxy(function(e,t){var n=$(t).find(".circle-image, .title, .txt, .cta"),i=new ScrollMagic.Controller,o=new TimelineLite,a=new ScrollMagic.Scene({triggerHook:.6,reverse:!1});o.to(t,.4,{className:"+=active"}).from(n,this._animSpeed,{opacity:0,ease:this._animEase}),a.triggerElement(t).setTween(o).addTo(i)},this))}
2,_attachModalFocusEvent:function(){var e=$("div.cta a.btn");$("#external-link-popop").on("hidden.bs.modal",function(){e.focus()})}};t.exports=e||window.ZigZagListing}()},{}],36:[function(e,t,n){!function(){var e={init:function(){e.setUpListeners()},setUpListeners:function(){$(document).on("click",".nonActive-blur",function(){var e=$(this);e.hasClass("active")||e.blur()}),$('[data-toggle="tooltip"]').tooltip(),$(".dotdotdot").dotdotdot({watch:!0})}};t.exports=e||window.GlobalDomHelpers}()},{}],37:[function(e,t,n){"use strict";window.Utils=window.Utils||{};var i=$(window),o={},a=e("./globalDomHelpers.js"),s=e("./components/mainHero.js"),r=e("./components/mainNavSearch.js"),c=e("./components/mainNavLogin.js"),l=e("./components/mainNavMenu.js"),d=e("./components/tabbedStickyNav.js"),u=e("./components/bxslider.js"),p=e("./components/accountOfferings.js"),h=e("./components/accountSelector.js"),f=e("./components/findAnOfficerResults.js"),m=e("./components/comparisonTable.js"),g=(e("./components/places.js"),e("./components/gallery.js")),v=e("./components/zigZagListing.js"),w=(e("./components/searchAutoComplete.js"),e("./components/loanOfficer.js")),y=e("./components/financialAdvisor.js"),b=e("./components/globalFadeIn.js"),_=e("./components/phone-slideshow.js"),k=e("./components/laptop-slideshow.js"),S=(e("./components/components.js"),e("./components/counter.js"),e("./components/why-salem-five.js"),e("./components/sf-rangeslider.js")),x=e("./components/promoblock.js"),C=e("./components/SliderPanels.js"),T=e("./components/gallery-slider.js"),O=e("./components/chat.js"),L=e("./components/flip-cards.js"),E=e("./components/searchSpeechRecognition.js"),A=e("./components/searchSpeechRecognitionDesktop.js"),D=e("./components/popover.js"),M=e("./components/ratesTabContainer.js"),j=e("./blocks/smoothScroll.js"),N=e("./blocks/mortgageDrawer.js"),B=e("./blocks/comparisonTableBlock.js");m.init(),function(e,t,n,i,s){o={initGlobal:function(){a.init(e),$("header").length}}}(window,document,jQuery,window.Utils),$(function(){function e(e,t){var n=e.split("?");if(n.length>=2){for(var i=n.shift(),o=n.join("?"),a=encodeURIComponent(t)+"=",s=o.split(/[&;]/g),r=s.length;r-- >0;)-1!==s[r].lastIndexOf(a,0)&&s.splice(r,1);e=i+"?"+s.join("&")}return e}if($('a[href^="http"]').click(function(t){""!==this.href&&this.href!==this.baseURI&&-1===this.href.indexOf("speedbump=off")&&-1===this.href.indexOf("maps.google.com")&&-1===this.href.indexOf("www.google.com/maps/place")&&-1===this.href.indexOf("azurewebsites.net")&&-1===this.href.indexOf("salemfive.com")&&-1===this.href.indexOf("salemfivedirect")&&-1===this.href.indexOf("salemfiveinsurance")&&-1===this.href.indexOf("fivision.com")&&-1===this.href.indexOf("olbanking.com")?($(".external-link-popup-link").attr("href",this.href),$("#external-link-popop").modal("show"),t.preventDefault()):("_self"!=this.target.toLowerCase()&&(this.target="_blank"),this.href=e(this.href,"speedbump"))}),$("header").length&&(E.init(i),A.init(i),c.init(i),r.init(i),l.init(i)),$(".find-an-officer").length&&w.init(),$(".find-an-advisor").length&&y.init(),$(".main-hero").length&&s.init(),$(".btnPopOutChat").length&&O.init(),$(".flip-card").length&&L.init(),$(".zig-zag-listing").length&&v.init(),$(".tabbed-sticky-nav").length&&d.init(i),$(".rates-tab-container").length&&M.init(i),$(".sf-hero-carousel").length){var t=1e3,n=5e3,o=$("#autoplayYN").val(),a="true"==o;0!=$("#autoplayspeed").val()&&(t=$("#autoplayspeed").val()),0!=$("#autoplaytimeout").val()&&(n=$("#autoplaytimeout").val()),T.init(t,a,n)}if($(".bxslider").length&&u.init(i),$(".account-offerings").length&&p.init(),$(".account-selector").length&&h.init(),$(".find-an-officer").length&&f.init(),$(".find-an-advisor").length&&f.init(),$(".location-finder").length&&SafLocationFinder.init(),$(".owl-carousel").length&&g.init(),$(".saf-fade-in").length&&b.init(),$(".smooth-scroll").length&&j.init(),$(".login-main").length&&D.init(),$(".panel-slider").length&&C.init(),$(".promo-block.locked").length&&x.init(),$(".cellphone-slider").length&&_.init(),$(".laptop-slider").length&&k.init(),$(".rewards-slider").length&&S.init(),$(".mortgage-drawer").length&&$(".js-mortgage-drawer__trigger").length&&N.init(),B.init(),$(".list-accordion-links:not(.accordion-btns)").length&&null!=location.hash&&""!=location.hash){$(".collapse").removeClass("in"), 3$("#"+encodeURIComponent(location.hash.slice(1))+".collapse").collapse("show");var m=$("#"+encodeURIComponent(location.hash.slice(1))).parent().offset().top;$(window).scrollTop(m)}if($('a[href$="/investments/"]').click(function(e){$(".investment-link-popup-link").attr("href",this.href),$("#investment-link-popup").modal("show"),$("#investment-link-popup").show(),e.preventDefault()}),$('a[class^="btn"]').each(function(e){$(this).attr("id","title-"+this.title.replace(" ","")+"-pageid-"+$(".pageid").val()+"-href-"+this.href.replace("http://","").replace("https://","").replace("&","").replace("/","-").replace("?","").replace(".","-"))}),$(".zig-zag-container").length){var R=new ScrollMagic.Controller;new ScrollMagic.Scene({triggerElement:".zig-zag-container",triggerHook:1,reverse:!1}).setClassToggle(".zig-zag-container","animate").addTo(R)}if($(".main-hero-sf.animated").length){var R=new ScrollMagic.Controller;new ScrollMagic.Scene({triggerElement:".main-hero-sf.animated",triggerHook:1,reverse:!1}).setClassToggle(".main-hero-sf.animated","animate").addTo(R)}
3$(".expand-grid .more").click(function(){var e=$(this);e.toggleClass("more-text"),e.hasClass("more-text")?e.text("View More"):e.text("View Less")}),autoComplete.init($("#search-input"),"/find_v2"),autoComplete.init($("#search-input-desktop"),"/find_v2"),autoComplete.init($("#srchTxt"),"/find_v2"),$("li[data-target='#safCarousel']").on("keydown",function(e){if("Enter"===e.key){var t=$(this).data("slide-to");$("#safCarousel").carousel(parseInt(t))}}),"undefined"!=typeof $$epiforms&&$$epiforms(document).ready(function(){function e(e){if(!e.getAttribute("aria-label")){var n=t(e);n&&e.setAttribute("aria-label",n)}}function t(e){return e.title?e.title:e.placeholder?e.placeholder:e.getAttribute("data-f-label")?e.getAttribute("data-f-label"):null}$(this).find(".Form__Element__ValidationError").attr("role","alert"),$(this).find(".Form__Status__Message").attr("role","alert"),$(this).find(".FormTextbox__Input").each(function(){$(this).prop("autocomplete","on"),$(this).css("border","solid 1px #757575")}),$(this).find("select").each(function(){e(this)}),$(this).find("input").each(function(){e(this)}),$(this).find("textarea").each(function(){e(this)})})})},{"./blocks/comparisonTableBlock.js":1,"./blocks/mortgageDrawer.js":2,"./blocks/smoothScroll.js":3,"./components/SliderPanels.js":4,"./components/accountOfferings.js":5,"./components/accountSelector.js":6,"./components/bxslider.js":7,"./components/chat.js":8,"./components/comparisonTable.js":9,"./components/components.js":10,"./components/counter.js":11,"./components/financialAdvisor.js":12,"./components/findAnOfficerResults.js":13,"./components/flip-cards.js":14,"./components/gallery-slider.js":15,"./components/gallery.js":16,"./components/globalFadeIn.js":17,"./components/laptop-slideshow.js":18,"./components/loanOfficer.js":19,"./components/mainHero.js":20,"./components/mainNavLogin.js":21,"./components/mainNavMenu.js":22,"./components/mainNavSearch.js":23,"./components/phone-slideshow.js":24,"./components/places.js":25,"./components/popover.js":26,"./components/promoblock.js":27,"./components/ratesTabContainer.js":28,"./components/searchAutoComplete.js":29,"./components/searchSpeechRecognition.js":30,"./components/searchSpeechRecognitionDesktop.js":31,"./components/sf-rangeslider.js":32,"./components/tabbedStickyNav.js":33,"./components/why-salem-five.js":34,"./components/zigZagListing.js":35,"./globalDomHelpers.js":36}]},{},[37]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.