text: !function(r){var t=r('[id*="submitPrice"]'),o=r('input[name="price"]').val().split("||")[0],i=r("select.product-options");function d(i){return priceModifier=i.split("|")[0],priceModifier=2===priceModifier.split("+").length?priceModifier.split("+")[1]:void 0,priceModifier}function p(i){return priceModifier=i.split("|")[0],priceModifier=2===priceModifier.split("-").length?priceModifier.split("-")[1]:void 0,priceModifier}function c(i){return priceModifier=i.split("|")[0],priceModifier=2===priceModifier.split(":").length?priceModifier.split(":")[1]:void 0,priceModifier}r(".foxycartOptionsContainer option:disabled").each(function(){r(this).prop("disabled")&&r(this).addClass("outOfStock").append(document.createTextNode(" (out of stock)"))}),i.bind("change",function(){var i=r(this).val(),e=r(this).val().substring(i.lastIndexOf("{")+1,i.lastIndexOf("}"));void 0!==d(e)?alteredPrice=parseFloat(d(e))+parseFloat(o):void 0!==p(e)?alteredPrice=parseFloat(o)-parseFloat(p(e)):c(e)&&(alteredPrice=parseFloat(c(e))),void 0!==alteredPrice?t.html("$"+Number.parseFloat(alteredPrice).toFixed(2)):t.html(o)}),0<i.length&&r(window).on("load",function(){i.change()})}(jQuery);