<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function(e){"use strict";e.fn.shopengine__extend_var_swatch_form=function(){return this.each((function(){var a=e(this);a.addClass("swatches-support").on("click",".swatch",(function(t){t.preventDefault();var s=e(this),n=s.closest(".value").find("select"),i=s.attr("data-value");if(!s.hasClass("disabled")){if(n.trigger("focusin"),!n.find('option[value="'+i+'"]').length)return s.siblings(".swatch").removeClass("selected"),n.val("").change(),void a.trigger("shopengine__no_matching_variation",[s]);s.hasClass("selected")?(n.val(""),s.removeClass("selected")):(s.addClass("selected").siblings(".selected").removeClass("selected"),n.val(i)),n.change()}})).on("click",".reset_variations",(function(){a.find(".swatch.selected").removeClass("selected"),a.find(".swatch.disabled").removeClass("disabled")})).on("woocommerce_update_variation_values",(function(){setTimeout((function(){a.find("tbody tr").each((function(){var a=e(this),t=a.find("select").find("option"),s=t.filter(":selected"),n=[];t.each((function(e,a){""!==a.value&amp;&amp;n.push(a.value)})),a.find(".swatch").each((function(){var a=e(this),t=a.attr("data-value");n.indexOf(t)&gt;-1?a.removeClass("disabled"):(a.addClass("disabled"),s.length&amp;&amp;t===s.val()&amp;&amp;a.removeClass("selected"))}))}))}),100)})).on("shopengine__no_matching_variation",(function(){window.alert(wc_add_to_cart_variation_params.i18n_no_matching_variations_text)}))}))},e((function(){e(".variations_form").shopengine__extend_var_swatch_form()}))}(jQuery);</pre></body></html>