Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the walcf7-datetimepicker domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/xjxsarcu/public_html/wp-includes/functions.php on line 6170
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/xjxsarcu/public_html/wp-includes/functions.php on line 6170
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/xjxsarcu/public_html/wp-includes/functions.php on line 6170
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the yith-woocommerce-ajax-navigation domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/xjxsarcu/public_html/wp-includes/functions.php on line 6170
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the meditest domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/xjxsarcu/public_html/wp-includes/functions.php on line 6170
if (typeof TrustindexJsLoaded === 'undefined') {
var TrustindexJsLoaded = {};
}
TrustindexJsLoaded.connect = true;
// autocomplete config
var TrustindexConnect = null;
jQuery(document).ready(function($) {
/*************************************************************************/
/* NO REG MODE */
TrustindexConnect = {
button: $('.ti-connect-platform .ti-btn'),
form: $('#ti-connect-platform-form'),
asyncRequest: function(callback, btn) {
// get url params
let params = new URLSearchParams({
type: 'google',
page_id: $('#ti-noreg-page-id').val().trim(),
access_token: $('#ti-noreg-access-token').length ? $('#ti-noreg-access-token').val() : "",
webhook_url: $('#ti-noreg-webhook-url').val(),
email: $('#ti-noreg-email').val(),
token: $('#ti-noreg-connect-token').val(),
version: $('#ti-noreg-version').val()
});
// open window
let tiWindow = window.open('https://admin.trustindex.io/source/wordpressPageRequest?' + params.toString(), 'trustindex', 'width=850,height=850,menubar=0' + popupCenter(850, 850));
// wait for process complete
window.addEventListener('message', function(event) {
if (event.origin.startsWith('https://admin.trustindex.io/'.replace(/\/$/,'')) && event.data.success) {
tiWindow.close();
callback($('#ti-noreg-connect-token').val(), event.data.request_id, (event.data.manual_download | 0), event.data.place || null);
}
});
// show popup info
$('#ti-connect-info').removeClass('ti-d-none');
let timer = setInterval(function() {
if (tiWindow.closed) {
$('#ti-connect-info').addClass('ti-d-none');
if (!dontRemoveLoading) {
button.removeClass('ti-btn-loading');
}
clearInterval(timer);
}
}, 1000);
}
};
$('.btn-connect-public').click(function(event) {
event.preventDefault();
let button = $(this);
let token = $('#ti-noreg-connect-token').val();
button.addClass('ti-btn-loading').blur();
let dontRemoveLoading = false;
// get url params
let params = new URLSearchParams({
type: 'Google',
referrer: 'public',
webhook_url: $('#ti-noreg-webhook-url').val(),
token: token,
version: $('#ti-noreg-version').val()
});
let tiWindow = window.open('https://admin.trustindex.io/source/edit2?' + params.toString(), 'trustindex', 'width=850,height=850,menubar=0' + popupCenter(850, 850));
window.addEventListener('message', function(event) {
if (event.origin.startsWith('https://admin.trustindex.io/'.replace(/\/$/,'')) && event.data.id) {
dontRemoveLoading = true;
tiWindow.close();
$('#ti-connect-info').removeClass('ti-d-none');
$('#ti-noreg-page-details').val(JSON.stringify(event.data));
button.closest('form').submit();
}
});
$('#ti-connect-info').removeClass('ti-d-none');
let timer = setInterval(function() {
if (tiWindow.closed) {
$('#ti-connect-info').addClass('ti-d-none');
if (!dontRemoveLoading) {
button.removeClass('ti-btn-loading');
}
clearInterval(timer);
}
}, 1000);
});
// try reply again
jQuery(document).on('click', '.btn-try-reply-again', function(event) {
event.preventDefault();
let btn = jQuery(this);
let replyBox = btn.closest('td').find('.ti-reply-box');
replyBox.attr('data-state', btn.data('state'));
replyBox.find('.state-'+ btn.data('state') +' .btn-post-reply').attr('data-reconnect', 1).trigger('click');
});
// make async request on review download
$('.btn-download-reviews').on('click', function(event) {
event.preventDefault();
let btn = jQuery(this);
TrustindexConnect.asyncRequest(function(token, request_id, manual_download, place) {
if (place) {
$.ajax({
type: 'POST',
data: {
_wpnonce: btn.data('nonce'),
download_data: JSON.stringify(place)
}
}).always(() => location.reload());
}
else {
$.ajax({
type: 'POST',
data: {
_wpnonce: btn.data('nonce'),
review_download_request: token,
review_download_request_id: request_id,
manual_download: manual_download
}
}).always(() => location.reload());
}
}, btn);
});
// manual download
$('#ti-review-manual-download').on('click', function(event) {
event.preventDefault();
let btn = $(this);
btn.addClass('ti-btn-loading').blur();
$.ajax({
url: location.search.replace(/&tab=[^&]+/, '&tab=free-widget-configurator'),
type: 'POST',
data: {
command: 'review-manual-download',
_wpnonce: btn.data('nonce')
},
success: () => location.reload(),
error: function() {
btn.removeClass('ti-btn-loading');
btn.removeClass('ti-toggle-tooltip').addClass('ti-show-tooltip');
setTimeout(() => btn.removeClass('ti-show-tooltip').addClass('ti-toggle-tooltip'), 3000);
}
});
});
});
Warning: Cannot modify header information - headers already sent by (output started at /home/xjxsarcu/public_html/wp-includes/functions.php:6170) in /home/xjxsarcu/public_html/wp-includes/sitemaps/class-wp-sitemaps-renderer.php on line 126
https://nghealthcare.in/wp-sitemap-posts-post-1.xmlhttps://nghealthcare.in/wp-sitemap-posts-page-1.xmlhttps://nghealthcare.in/wp-sitemap-posts-product-1.xmlhttps://nghealthcare.in/wp-sitemap-posts-mt_service-1.xmlhttps://nghealthcare.in/wp-sitemap-posts-doctorsprofile-1.xmlhttps://nghealthcare.in/wp-sitemap-taxonomies-category-1.xmlhttps://nghealthcare.in/wp-sitemap-taxonomies-post_tag-1.xmlhttps://nghealthcare.in/wp-sitemap-taxonomies-product_cat-1.xmlhttps://nghealthcare.in/wp-sitemap-taxonomies-product_tag-1.xmlhttps://nghealthcare.in/wp-sitemap-taxonomies-mt_service_type-1.xmlhttps://nghealthcare.in/wp-sitemap-users-1.xml