PageSourceSearch

https://reparationslaborunion.org/assets/liquid/theme_donation_v2.js

js reparationslaborunion.org collected 2026-09-29 08:11:04 UTC 2,616 bytes, 11 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10$(document).ready((function(){function t(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))}function n(t,n,o){if("number"==typeof(t=t||0))return t;n=n||".",o=o||",";var a=parseFloat((""+t).replace(o,"").replace(n,"."));return isNaN(a)?0:a}var o=$(".nb_donation_v2_amount, .nb_donation_v2_amount"),a=$(".donation-v2-amounts label"),e=$("#donation_amount_other_input"),i=$("#donation_amount_other"),r=$(".donation-v2-occurence-radio input");$(document).on("change",'input[name="donation[amount_option]"]',(function(t){t.target.value>0&&o.trigger("set:amount",parseFloat(t.target.value).toFixed(2))})),a.on("click",(function(){if("donation_amount_other"!==$(this).attr("for")){var t=$(this).siblings("input").val(),n=parseFloat(t).toFixed(2);o.trigger("set:amount",n)}})),e.on("focusout",(function(){var t=$(this).val(),a="usd"===NB.payments.currency?n(t,NB.payments.decimal_mark,NB.payments.thousands_separator).toFixed(2):parseFloat(t).toFixed(2);(isNaN(a)||a<0)&&(a=parseFloat(0).toFixed(2)),o.trigger("set:amount",a)})).on("keyup mouseup",(function(){$("#donation_amount_other").prop("checked",!0);var t=$(this).val();o.trigger("set:amount",t)})),i.on("click",(function(){e.val(""),e.focus()})),o.on("set:amount",(function(t,n){$(".donation-v2-amount .hidden").removeClass("hidden hide"),$(this).val(n).text(n)})),r.click((function(){var t="donation_donation_occurrence_monthly"===$(this).attr("id"),n=$(".nb_donation_v2_interval"),o=n.attr("data-placeholder");t?n.removeClass("hidden").html(o):n.addClass("hidden").html(null)})),t("amount")&&($("input.donation_amount_option[value="+t("amount")+"]").length?$("input.donation_amount_option[value="+t("amount")+"]").trigger("click"):$("#donation_amount_other").trigger("click"),o.trigger("set:amount",t("amount")))}));
11}

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.