PageSourceSearch

https://localnewsmatters.org/wp-content/plugins/give-fee-recovery/…/give-fee-recovery-common.min.js?ver=1.9.2

js localnewsmatters.org collected 2026-09-24 08:37:51 UTC 1,700 bytes, 1 lines download raw bytes

1function give_fee_calculate(e,r,a,o){var n=0;return""!==e&&""!==r&&!1===o&&(n=e>0&&r>0?give_fee_formula(e,r,a):give_fee_flat_formula(e,r,a)),n}function give_fee_formula(e,r,a){e=parseFloat(e),r=parseFloat(r),a=parseFloat(a);const o=(a+r)/(1-e/100);return o-a}function give_fee_flat_formula(e,r,a){return e=parseFloat(e),r=parseFloat(r),a=parseFloat(a),a*(e/100)+r}function give_fee_unformat_amount(e,r){return r?Math.abs(parseFloat(accounting.unformat(e,r))):"undefined"!=typeof give_global_vars&&"undefined"!=typeof give_global_vars.decimal_separator?Math.abs(parseFloat(accounting.unformat(e,give_global_vars.decimal_separator))):"undefined"!=typeof give_vars&&"undefined"!=typeof give_vars.decimal_separator?Math.abs(parseFloat(accounting.unformat(e,give_vars.decimal_separator))):void 0}function give_fee_format_amount(e,r){var a,o;"undefined"!=typeof give_global_vars?(a=give_global_vars,o=Give.form.fn.getInfo("number_decimals",r),a.currency_sign=Give.form.fn.getInfo("currency_symbol",r),a.decimal_separator=Give.form.fn.getInfo("decimal_separator",r),a.thousands_separator=Give.form.fn.getInfo("thousands_separator",r),a.currency_code=Give.form.fn.getInfo("currency_code",r)):(a=give_vars,o=give_vars.currency_decimals,a.decimal_separator=a.decimal_separator,a.currency_code=give_fee_recovery_object.give_fee_currency_code);var n=give_fee_recovery_object.give_fee_zero_based_currency,_=JSON.parse(n);1>=parseInt(o)&&-1===jQuery.inArray(a.currency_code,_)&&(o=2),-1!==jQuery.inArray(a.currency_code,_)&&(o=0);var t={symbol:a.currency_sign,decimal:a.decimal_separator,thousand:a.thousands_separator,precision:o,format:"before"===a.currency_pos?"%s%v":"%v%s"};return accounting.formatMoney(e,t)}

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.