var _affirm_config = { public_api_key: 'VLXEQIVR1SLS7ZXG', script: 'https://d11bn9i8gmo4kr.cloudfront.net/js/v2/affirm.js' }; (function(l,g,m,e,a,f,b){var d,c=l[m]||{},h=document.createElement(f),n=document.getElementsByTagName(f)[0],k=function(a,b,c){return function(){a[b]._.push([c,arguments])}};c[e]=k(c,e,"set");d=c[e];c[a]={};c[a]._=[];d._=[];c[a][b]=k(c,a,b);a=0;for(b="set add save post open empty reset on off trigger ready setProduct".split(" ");a'; // open the customized Affirm learn more modal a.onclick = payment_estimate.open_modal; a.style.visibility = 'visible'; }; // request a payment estimate affirm.ui.payments.get_estimate(options, handleEstimateResponse); }