var jabvfcr_selector; var jabvfcr_iframe = jQuery('.jabvfcr .js-inspector .js-site-preview-iframe')[0].contentWindow; jabvfcr_iframe.addEventListener("load", function() { jabvfcr_openInspector(); }); function jabvfcr_isValidSelector() { jQuery('.jabvfcr .invalid').addClass('dn'); var selector = jQuery('.jabvfcr .js-selector').val(); var isValid = jabvfcr_iframe.jabvfcr_isSelectorValid(selector); if (!isValid) { jQuery('.jabvfcr .invalid').removeClass('dn'); } return isValid; } function jabvfcr_selected(selector) { jQuery('.jabvfcr .js-selector').val(selector); jabvfcr_toggleOptions(); jQuery('.jabvfcr .invalid').addClass('dn'); } function jabvfcr_toggleOptions(hide) { jQuery('.jabvfcr .js-inspector .js-clear').toggleClass('dn', hide); } function jabvfcr_toggleOverlay(show) { jQuery('.jabvfcr .js-inspector')[show ? 'show' : 'hide'](); jQuery('body').css({ overflow: show ? 'hidden' : '' }); } function jabvfcr_updateCurrentSelector(selector) { jQuery('.jabvfcr .js-current-selector').text(selector); } function jabvfcr_getOptions() { var selector = jQuery('.jabvfcr .js-selector').val(); var manipulation = jQuery('.jabvfcr .js-manipulation:checked').val(); var content = tinyMCE.activeEditor && !tinyMCE.activeEditor.hidden ? tinyMCE.activeEditor.getContent() : jQuery('#content').val(); return { selector:selector, manipulation: manipulation, content: content }; } function jabvfcr_resetSelector() { jabvfcr_iframe.jabvfcr_resetSelector(); jQuery('.jabvfcr .js-selector').val(''); } function jabvfcr_openInspector() { jQuery('.jabvfcr .js-loading-screen').remove(); var selector = jQuery('.jabvfcr .js-selector').val(); if (selector && jabvfcr_iframe.jabvfcr_isSelectorValid(selector)) { jabvfcr_iframe.jabvfcr_updateSelector(selector); jabvfcr_toggleOptions(false); } jabvfcr_toggleOverlay(true); } function jabvfcr_saveSelector() { if (!jabvfcr_isValidSelector()) { return; } var data = { _ajax_nonce: jabvfcr_ajax.nonce, action: 'jabvfcr_save_selector', selector: jQuery('.jabvfcr .js-selector').val(), manipulation: jQuery('.jabvfcr .js-manipulation:checked').val(), content: tinyMCE.activeEditor && !tinyMCE.activeEditor.hidden ? tinyMCE.activeEditor.getContent() : jQuery('#content').val() }; jQuery.post(jabvfcr_ajax.url, data).then(function() { alert('Settings updated.'); }).fail(function() { alert('There was an unexpected error. Please try again.'); }); } (function ($) { jQuery( document ).on( 'tinymce-editor-init', function( event, editor ) { tinyMCE.activeEditor.onKeyUp.add(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); tinyMCE.activeEditor.onChange.add(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); }); jQuery('#content').keyup(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); jQuery('#content').change(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); $('.jabvfcr .js-inspector .js-clear').click(function(e) { jabvfcr_resetSelector(); jabvfcr_toggleOptions(); }); $('.jabvfcr .js-close-inspector').click(function(e) { e.preventDefault(); jabvfcr_toggleOverlay(false); }); $('.jabvfcr .js-toggle-advanced-options').click(function(e) { e.preventDefault(); $('.js-advanced-options').toggleClass('dn'); }); $('.jabvfcr form .js-submit').click(function(e) { e.preventDefault(); jabvfcr_saveSelector(); }); $('.jabvfcr form .js-selector').blur(function() { if (jabvfcr_isValidSelector()) { var selector = jQuery('.jabvfcr .js-selector').val(); jabvfcr_iframe.jabvfcr_updateSelector(selector); } }); $('.jabvfcr form .js-manipulation').change(function() { jabvfcr_iframe.jabvfcr_updateSelector(); }); $('.jabvfcr .js-open-inspector').click(function() { jabvfcr_openInspector(); }); })(jQuery); {"id":181,"count":2,"description":"","link":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/","name":"1xbet india","slug":"1xbet-india","taxonomy":"category","parent":0,"meta":[],"yoast_head":"\n1xbet india Archives - GHORBAGHE<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ghorbaghe.me\/category\/1xbet-india\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"1xbet india Archives - GHORBAGHE\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ghorbaghe.me\/category\/1xbet-india\/\" \/>\n<meta property=\"og:site_name\" content=\"GHORBAGHE\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"CollectionPage\",\"@id\":\"https:\/\/ghorbaghe.me\/category\/1xbet-india\/\",\"url\":\"https:\/\/ghorbaghe.me\/category\/1xbet-india\/\",\"name\":\"1xbet india Archives - GHORBAGHE\",\"isPartOf\":{\"@id\":\"https:\/\/ghorbaghe.me\/#website\"},\"breadcrumb\":{\"@id\":\"https:\/\/ghorbaghe.me\/category\/1xbet-india\/#breadcrumb\"},\"inLanguage\":\"en-US\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ghorbaghe.me\/category\/1xbet-india\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ghorbaghe.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"1xbet india\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ghorbaghe.me\/#website\",\"url\":\"https:\/\/ghorbaghe.me\/\",\"name\":\"GHORBAGHE\",\"description\":\"Get Latest News And Trending Updates Quickly | ghorbaghe\",\"publisher\":{\"@id\":\"https:\/\/ghorbaghe.me\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ghorbaghe.me\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ghorbaghe.me\/#organization\",\"name\":\"GHORBAGHE\",\"url\":\"https:\/\/ghorbaghe.me\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ghorbaghe.me\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ghorbaghe.me\/wp-content\/uploads\/2023\/11\/cropped-cropped-GHORBAGHE-1-removebg-preview.png\",\"contentUrl\":\"https:\/\/ghorbaghe.me\/wp-content\/uploads\/2023\/11\/cropped-cropped-GHORBAGHE-1-removebg-preview.png\",\"width\":720,\"height\":202,\"caption\":\"GHORBAGHE\"},\"image\":{\"@id\":\"https:\/\/ghorbaghe.me\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"1xbet india Archives - GHORBAGHE","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/","og_locale":"en_US","og_type":"article","og_title":"1xbet india Archives - GHORBAGHE","og_url":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/","og_site_name":"GHORBAGHE","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"CollectionPage","@id":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/","url":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/","name":"1xbet india Archives - GHORBAGHE","isPartOf":{"@id":"https:\/\/ghorbaghe.me\/#website"},"breadcrumb":{"@id":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/#breadcrumb"},"inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https:\/\/ghorbaghe.me\/category\/1xbet-india\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ghorbaghe.me\/"},{"@type":"ListItem","position":2,"name":"1xbet india"}]},{"@type":"WebSite","@id":"https:\/\/ghorbaghe.me\/#website","url":"https:\/\/ghorbaghe.me\/","name":"GHORBAGHE","description":"Get Latest News And Trending Updates Quickly | ghorbaghe","publisher":{"@id":"https:\/\/ghorbaghe.me\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ghorbaghe.me\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ghorbaghe.me\/#organization","name":"GHORBAGHE","url":"https:\/\/ghorbaghe.me\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ghorbaghe.me\/#\/schema\/logo\/image\/","url":"https:\/\/ghorbaghe.me\/wp-content\/uploads\/2023\/11\/cropped-cropped-GHORBAGHE-1-removebg-preview.png","contentUrl":"https:\/\/ghorbaghe.me\/wp-content\/uploads\/2023\/11\/cropped-cropped-GHORBAGHE-1-removebg-preview.png","width":720,"height":202,"caption":"GHORBAGHE"},"image":{"@id":"https:\/\/ghorbaghe.me\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/ghorbaghe.me\/wp-json\/wp\/v2\/categories\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ghorbaghe.me\/wp-json\/wp\/v2\/categories"}],"about":[{"href":"https:\/\/ghorbaghe.me\/wp-json\/wp\/v2\/taxonomies\/category"}],"wp:post_type":[{"href":"https:\/\/ghorbaghe.me\/wp-json\/wp\/v2\/posts?categories=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}