PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.33.3
GiveWP – Donation Plugin and Fundraising Platform v2.33.3
4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / assets / dist / js / give-classic-template.js
give / assets / dist / js Last commit date
admin-add-ons.asset.php 3 years ago admin-add-ons.js 4 years ago admin-onboarding-wizard.asset.php 3 years ago admin-onboarding-wizard.js 3 years ago admin-reports-widget.asset.php 3 years ago admin-reports-widget.js 3 years ago admin-reports.asset.php 3 years ago admin-reports.js 3 years ago admin-setup.asset.php 3 years ago admin-setup.js 4 years ago admin-shortcodes.asset.php 3 years ago admin-shortcodes.js 4 years ago admin-upsell-addons-page.asset.php 3 years ago admin-upsell-addons-page.js 3 years ago admin-upsell-sale-banner.asset.php 3 years ago admin-upsell-sale-banner.js 4 years ago admin-widgets.asset.php 3 years ago admin-widgets.js 4 years ago admin.asset.php 2 years ago admin.js 2 years ago donation-options.asset.php 3 years ago donation-options.js 3 years ago donor-dashboards-app.asset.php 3 years ago donor-dashboards-app.js 3 years ago donor-dashboards-block.asset.php 3 years ago donor-dashboards-block.js 3 years ago give-admin-donation-forms.asset.php 3 years ago give-admin-donation-forms.js 3 years ago give-admin-donations.asset.php 3 years ago give-admin-donations.js 3 years ago give-admin-donors.asset.php 3 years ago give-admin-donors.js 3 years ago give-admin-subscriptions.asset.php 3 years ago give-admin-subscriptions.js 3 years ago give-classic-template.asset.php 3 years ago give-classic-template.js 3 years ago give-donation-summary.asset.php 3 years ago give-donation-summary.js 3 years ago give-log-list-table-app.asset.php 3 years ago give-log-list-table-app.js 3 years ago give-migrations-list-table-app.asset.php 3 years ago give-migrations-list-table-app.js 3 years ago give-sequoia-template.asset.php 3 years ago give-sequoia-template.js 4 years ago give-stripe-becs.asset.php 3 years ago give-stripe-becs.js 3 years ago give-stripe-sepa.asset.php 3 years ago give-stripe-sepa.js 3 years ago give-stripe.asset.php 3 years ago give-stripe.js 3 years ago give.asset.php 2 years ago give.js 2 years ago gutenberg.asset.php 3 years ago gutenberg.js 3 years ago payment-gateway.asset.php 3 years ago payment-gateway.js 3 years ago paypal-commerce.asset.php 2 years ago paypal-commerce.js 2 years ago plugin-deactivation-survey.asset.php 2 years ago plugin-deactivation-survey.js 2 years ago
give-classic-template.js
1 lines
1 (()=>{var e={28483:function(e){e.exports=function(){"use strict";var e=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],t=function(e){return String(e).replace(/[&<>"']/g,(function(e){return"&"+n[e]+";"}))},n={"&":"amp","<":"lt",">":"gt",'"':"quot","'":"apos"},o="dangerouslySetInnerHTML",r={className:"class",htmlFor:"for"},i={};function a(n,a){var c=[],l="";a=a||{};for(var u=arguments.length;u-- >2;)c.push(arguments[u]);if("function"==typeof n)return a.children=c.reverse(),n(a);if(n){if(l+="<"+n,a)for(var s in a)!1!==a[s]&&null!=a[s]&&s!==o&&(l+=" "+(r[s]?r[s]:t(s))+'="'+t(a[s])+'"');l+=">"}if(-1===e.indexOf(n)){if(a[o])l+=a[o].__html;else for(;c.length;){var d=c.pop();if(d)if(d.pop)for(var m=d.length;m--;)c.push(d[m]);else l+=!0===i[d]?d:t(d)}l+=n?"</"+n+">":""}return i[l]=!0,l}return a}()}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(28483),t=n.n(e);function o(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function r(e){null==e||e.parentNode.removeChild(e)}function i(e){var t=document.createElement("template");return e.trim(),t.innerHTML=e,t.content.firstChild}var a,c,l;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"textContent",n=document.createElement("canvas").getContext("2d"),o=window.getComputedStyle(e),r=o.fontWeight,i=o.fontSize,a=o.fontFamily;return n.font="".concat(r," ").concat(i," ").concat(a),n.measureText(e[t]).width}var s,d,m=null===(a=document.querySelector('[name="give-fee-recovery-settings"]'))||void 0===a?void 0:a.value,p=("give_fee_recovery_object"in window&&m&&(null===(c=JSON.parse(m))||void 0===c||c.fee_recovery),"Give_Recurring_Vars"in window),v="enabled"===window.classicTemplateOptions.payment_information.donation_summary_enabled,f=(null===(l=window)||void 0===l||null===(l=l.give_cs_json_obj)||void 0===l?void 0:l.length)>20;function y(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);l=!0);}catch(e){u=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return c}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function h(){classicTemplateOptions.donor_information.headline&&(document.querySelector(".give-personal-info-section legend:first-of-type").textContent=classicTemplateOptions.donor_information.headline)}function _(){classicTemplateOptions.donor_information.description&&o(i(t()("p",{className:"give-personal-info-description"},classicTemplateOptions.donor_information.description)),document.querySelector("#give_checkout_user_info legend:first-of-type"))}function S(e){var n=e.symbol,o=void 0===n?window.Give.fn.getGlobalVar("currency_sign"):n,r=e.symbolPosition,a=void 0===r?window.Give.fn.getGlobalVar("currency_pos"):r,c=e.decimalSeparator,l=void 0===c?window.Give.fn.getGlobalVar("decimal_separator"):c;document.querySelectorAll(".give-donation-level-btn:not(.give-btn-level-custom)").forEach((function(e){e.innerHTML!==("before"===a?o+e.value:e.value+o)&&function(e){var n=e.parentNode;if(!e.getAttribute("has-tooltip")){var o=i(t()("span",{className:"give-tooltip hint--top hint--bounce","aria-label":n.getAttribute("aria-label")}));e.innerHTML.length<50&&o.classList.add("narrow"),n.replaceChild(o,e),o.appendChild(e),e.setAttribute("has-tooltip","true")}}(e);var n=e.getAttribute("value"),r=g(n.split(l),2),c=r[0],u=r[1],s="before"===a?"".concat(o).concat(n):"".concat(n).concat(o);e.parentNode&&e.parentNode.getAttribute("aria-label")==e.getAttribute("aria-label")&&e.parentNode.setAttribute("aria-label",s),e.setAttribute("aria-label",s);var d=function(e){var n=e.position;return t()("span",{className:"give-currency-symbol-".concat(n)},o)};e.innerHTML=t()("span",{className:"give-formatted-currency","aria-hidden":!0},"before"===a&&t()(d,{position:"before"}),t()("span",{className:"give-amount-formatted"},t()("span",{className:"give-amount-without-decimals"},c),t()("span",{className:"give-amount-decimal"},u)),"after"===a&&t()(d,{position:"after"}))}))}"give_stripe_vars"in window&&(window.give_stripe_vars.element_font_styles={cssSrc:null===(s=document.querySelector("#give-google-font-css"))||void 0===s?void 0:s.href},Object.assign(window.give_stripe_vars.element_base_styles,{color:"#828382",fontFamily:window.getComputedStyle(document.body).fontFamily,fontWeight:400})),d=function(){var e,n,a,c,l,s,d;document.getElementById("give-receipt")||(document.body.classList.add("give-container-".concat(window.classicTemplateOptions.visual_appearance.container_style)),o(document.querySelector(".give-personal-info-section"),document.querySelector(".give-donation-amount-section")),document.querySelector(".give-payment-details-section").append(document.querySelector("#give_purchase_form_wrap")),o(document.querySelector(".give-donate-now-button-section"),document.querySelector(".give-payment-details-section")),classicTemplateOptions.donation_amount.description&&document.querySelector(".give-amount-heading").after(i(t()("p",{className:"give-amount-description"},classicTemplateOptions.donation_amount.description))),h(),_(),classicTemplateOptions.payment_information.headline&&(document.querySelector(".give-payment-mode-label").textContent=classicTemplateOptions.payment_information.headline),classicTemplateOptions.payment_information.description&&o(i('<p class="give-payment-mode-description">'.concat(classicTemplateOptions.payment_information.description,"</p>")),document.querySelector(".give-payment-mode-label")),function(){if(f){var e=JSON.parse(window.give_cs_json_obj).supported_currency,t=document.querySelector("input[name=give-cs-form-currency]"),n=new MutationObserver((function(t){var n=g(t,1)[0].target.value,o=e[n];S({symbol:o.symbol,decimalSeparator:o.setting.decimal_separator,precision:o.setting.number_decimals})})),o=e[t.value];S({symbol:o.symbol,decimalSeparator:o.setting.decimal_separator,precision:o.setting.number_decimals}),n.observe(t,{attributeFilter:["value"]})}else S({})}(),function(){var e;if(!N()){C(q());var t=document.querySelector("#give_purchase_form_wrap");t.removeChild(t.querySelector(".give-donation-submit")),(e=document.querySelector(".give-gateway-details")).append.apply(e,y(t.children)),r(t)}}(),v&&(e=document.querySelector(".give-donation-form-summary-section"),n=document.querySelector(".give-payment-details-section"),e.closest(".give-donate-now-button-section")?o(e,n):e.closest(".give-personal-info-section")&&n.parentNode.insertBefore(e,n)),p&&((d=document.querySelector('[name="give-recurring-period"]'))&&(d.addEventListener("change",(function(e){window.GiveDonationSummary.handleDonorsChoiceRecurringFrequency(e.target,jQuery(".give-form"))})),null===(l=document.querySelector(".give-recurring-donors-choice-period"))||void 0===l||l.addEventListener("change",(function(){window.GiveDonationSummary.handleDonorsChoiceRecurringFrequency(d,jQuery(".give-form"))})),null===(s=document.querySelector('[name="give-price-id"]'))||void 0===s||s.addEventListener("change",(function(e){window.GiveDonationSummary.handleAdminDefinedRecurringFrequency(e.target,jQuery(".give-form"))})))),jQuery.ajaxPrefilter((function(e,t){e.url.includes("?payment-mode=")&&(e.beforeSend=function(){jQuery(".give-donate-now-button-section").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),r(document.querySelector(".give-gateway-details")),t.beforeSend instanceof Function&&t.beforeSend()},e.success=function(e){var n,o;t.success(e),r(document.querySelector("#give_purchase_form_wrap"));var i,a,c,l,u=q();u.innerHTML=e,(n=document.querySelector(".give-personal-info-section")).replaceChildren.apply(n,y(u.removeChild(u.querySelector(".give-personal-info-section")).children)),h(),_(),(o=document.querySelector(".give-donate-now-button-section")).replaceWith.apply(o,y(u.removeChild(u.querySelector("#give_purchase_submit")).children)),O(),v&&((i=document.querySelector(".give-donation-form-summary-section")).replaceChildren.apply(i,y(u.removeChild(u.querySelector(".give-donation-form-summary-section")).children)),window.GiveDonationSummary.initTotal()),r(document.querySelector(".give-gateway-details")),C(u),p&&(a=jQuery(".give-form"),c=document.querySelector('[name="give-recurring-period"]'),l=document.querySelector('[name="give-price-id"]'),c&&window.GiveDonationSummary.handleDonorsChoiceRecurringFrequency(c,a),l&&window.GiveDonationSummary.handleAdminDefinedRecurringFrequency(l,a)),jQuery(".give-donate-now-button-section").unblock()})})),f&&(window.Give_Currency_Switcher.adjust_dropdown_width=function(){var e,t,n=document.querySelector(".give-cs-select-currency"),o=document.querySelector(".give-currency-symbol");n.style.setProperty("--currency-text-width",(e=u(o),t=window.getComputedStyle(document.documentElement).fontSize,"".concat(Number.parseFloat(e)/Number.parseFloat(t),"rem"))),n.style.width=null},window.Give_Currency_Switcher.adjust_dropdown_width()),p&&function(){var e=document.querySelector(".give-recurring-donors-choice-period");if(e){var t=function(){var t,n,o;e.style.setProperty("--selected-text-width",(t=u(e,"value"),n=e,o=window.getComputedStyle(n).fontSize,"".concat(Number.parseFloat(t)/Number.parseFloat(o),"em")))};document.fonts.ready.then(t),e.addEventListener("change",t)}}(),O(),(a=document.querySelector("#give_error_test_mode"))&&(N()?document.querySelector("#give_secure_site_wrapper").before(a):document.querySelector(".give-payment-mode-label").after(a)),f&&(c=document.querySelector(".give-currency-switcher-msg-wrap")).parentNode.after(c),document.querySelectorAll('.give-donation-amount-section input[type="checkbox"]').forEach((function(e){return e.addEventListener("change",(function(e){e.target.parentNode.classList.toggle("checked-within")}))})))},"loading"!==document.readyState?window.setTimeout(d,0):document.addEventListener("DOMContentLoaded",d);var q=function(){return i('<div class="give-gateway-details"></div>')},C=function(e){return jQuery(".give-gateway-option-selected > .give-gateway-option").after(e)};function O(){"enabled"===window.classicTemplateOptions.visual_appearance.secure_badge&&document.querySelector(".give-donate-now-button-section").lastChild.after(i(t()("aside",{className:"give-secure-donation-badge-bottom"},t()("svg",{className:"give-form-secure-icon"},t()("use",{href:"#give-icon-lock"})),window.classicTemplateOptions.visual_appearance.secure_badge_text)))}function N(){return 1===document.getElementById("give-gateway-radio-list").children.length}window.GiveClassicTemplate={share:function(e){var t=parent.window.location.toString();return window.Give.fn.getParameterByName("giveDonationAction",t)&&(t=window.Give.fn.removeURLParameter(t,"giveDonationAction"),t=window.Give.fn.removeURLParameter(t,"payment-confirmation"),t=window.Give.fn.removeURLParameter(t,"payment-id")),e.classList.contains("facebook-btn")?window.Give.share.fn.facebook(t):e.classList.contains("twitter-btn")&&window.Give.share.fn.twitter(t,classicTemplateOptions.donation_receipt.twitter_message),!1}}})()})();