| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/themes/Honeygrid/javascripts/system/widgets/ |
Upload File : |
"use strict";gambio.widgets.module("paypal_checkout",[],function(t){var e=function(){var t=$('input[value="paypal3"]'),e=$('input[data-module_code="PayPalHub"]');return t.get(0)?t.get(0).checked:e.get(0).checked},n=($(this),{thirdPartyPaymentsBlock:[]}),i=$.extend(!0,{},n,t),o={},a=e,c=$("div.continue_button input").val(),d=$('<div id="ppplus_continue" class="col-xs-6 col-sm-4 col-sm-offset-4 col-md-3 col-md-offset-6 text-right paypal_continue_button"><input type="submit" class="btn btn-primary btn-block" value="'+c+'"></div>'),p=function(t){$(".order_payment #checkout_payment div.items div.payment_item").removeClass("module_option_selected"),$("#ppplus",this).length>0?($(this).css("background-image","none"),$(this).css("background-color","transparent"),$("div.paypal_continue_button").show(),$("div.continue_button").hide(),a=!0):(a&&(a=!1,console.log("3rd party payment selected ..."),ppp.deselectPaymentMethod?(console.log("... and deselectPaymentMethod() called."),ppp.deselectPaymentMethod()):(console.log("... and pp+ widget re-initialized."),initPPP(i.thirdPartyPaymentsBlock))),$("div.paypal_continue_button").hide(),$("div.continue_button").show(),$(this).addClass("module_option_selected"))},l=function(t){return ppp.doContinue(),!1};return o.init=function(t){$("#ppplus").length>0&&($("div.continue_button:first").before(d),$('input[name="payment"]:checked').closest("div.payment_item").addClass("module_option_selected"),$("#ppplus").closest("div.payment_item").addClass("ppplus_payment_item"),$("body").on?($("div.payment_item_container").on("click",p),$("div.paypal_continue_button").on("click",l)):($("body").delegate("div.payment_item_container","click",p),$("body").delegate("#ppplus_continue","click",l)),$('div.payment_item input[value="paypal3"]').closest("div.payment_item").css("border-bottom","none"),$("iframe").ready(function(){$(".list-group-item").each(function(){$(this).css("display","block")})}),initPPP&&initPPP(i.thirdPartyPaymentsBlock)),t()},o});