text: "use strict";var updatePgTotal=function(){var a=0;$(".ttl-clm").each(function(b){var c=Number($(".ttl-clm").eq(b).html().trim().replace(/[^0-9\.]+/g,""));a+=c}),$("#total").html("$"+a.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"))},updateProdQty=function(a){var b=parseFloat($(".cost-clm").eq(a).html().trim().substring(1)),c=parseInt($('.qty-clm input[type="number"]').eq(a).val()),d=b*c;d=d.toFixed(2).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),$(".ttl-clm").eq(a).html("$"+d),updatePgTotal()},prodDefaults=function(){$('.qty-clm input[type="number"]').each(function(a){$('.qty-clm input[type="number"]').eq(a)&&($('.qty-clm input[type="number"]').eq(a).val(0),console.log(a)),updateProdQty(a)})};$(function(){$('[data-toggle="popover"]').popover({trigger:"hover",placement:"top",html:!0}),prodDefaults(),$('.qty-clm input[type="number"]').change(function(){var a=$('.qty-clm input[type="number"]').index(this);updateProdQty(a)})});