"use strict"; /* Basic -------------------------------------------------------------- */ (function($) { var abrMetabox = {}; ( function() { var $this; abrMetabox = { /* * Initialize */ init: function( e ) { $this = abrMetabox; // Variables. $this.wrap = $( '.abr-metabox-wrap' ); // Init. $this.metaboxInit( e ); // Init events. $this.events( e ); }, /* * Events */ events: function( e ) { // Custom Events $this.wrap.on( 'click change keyup keydown', '.abr-metabox-repeater .attribute-name', $this.setSignature ); $this.wrap.on( 'click', '.abr-metabox-repeater .row-topbar', $this.toggleItems ); $this.wrap.on( 'click', '.abr-metabox-repeater .btn-remove-row', $this.removeRepeaterRow ); $this.wrap.on( 'click', '.abr-metabox-repeater .btn-add-row', $this.addRepeaterRow ); }, /* * Init metabox elements */ metaboxInit: function( e ) { // Add tabs for Meta Box (UI) $this.wrap.find( '.abr-metabox-tabs' ).tabs(); // Repeater sortable $this.wrap.find( '.abr-metabox-repeater tbody' ).sortable( { items: 'tr', placeholder: 'ui-state-highlight', handle: '.row-topbar, .row-handle', start: function( e, ui ) { ui.placeholder.height( ui.item.height() ); }, } ); }, /* * Toggle items */ toggleItems: function() { if ( $( this ).hasClass( 'closed' ) ) { $( this ).removeClass( 'closed' ); $( this ).siblings( '.row-fields' ).slideDown(); } else { $( this ).addClass( 'closed' ); $( this ).siblings( '.row-fields' ).slideUp(); } }, /* * Set signature */ setSignature: function() { var label = '' + $( this ).data( 'label' ) + ''; var value = $( this ).val() ? $( this ).val() : label; $( this ).parents( '.row-content' ).find( '.signature' ).html( value ); }, /* * Add repeater row */ addRepeaterRow: function() { var repeater = $( this ).siblings( '.abr-metabox-repeater-table' ) // Get html row. var html = repeater.find( 'tbody tr.hidden' ).html(); // Add new row. repeater.find( 'tbody' ).append( '' + html + '' ); // Visible all input and textarea. repeater.find( 'tr' ).not( '.hidden' ).find( 'input, textarea' ).removeAttr( 'disabled' ); return false; }, /* * Remove repeater row */ removeRepeaterRow: function() { $( this ).parents( '.row' ).remove(); return false; } }; } )(); // Initialize. $( function() { abrMetabox.init(); } ); })(jQuery); /* Reviews -------------------------------------------------------------- */ (function($) { var abrReviews = {}; ( function() { var $this; abrReviews = { /* * Initialize */ init: function( e ) { $this = abrReviews; // Variables. $this.wrap = $( '.review-wrap' ); // Init. $this.reviewsInit( e ); // Init events. $this.events( e ); }, /* * Events */ events: function( e ) { // Custom Events $this.wrap.on( 'click', 'input[name="abr_review_settings"]', $this.toggleMetaBox ); $this.wrap.on( 'click', 'input[name="abr_review_auto_score"]', $this.actionAutoScore ); $this.wrap.on( 'change', 'select[name="abr_review_schema_author"]', $this.actionSchemaAuthor ); }, /* * Init reviews elements */ reviewsInit: function( e ) { $this.actionAutoScore( 'input[name="abr_review_auto_score"]' ); $this.actionSchemaAuthor( 'select[name="abr_review_schema_author"]' ); }, /* * Toggle metabox view */ toggleMetaBox: function() { if ( $( this ).prop( 'checked' ) ) { $this.wrap.find( '.abr-metabox-tabs' ).attr( 'checked', 'checked' ); } else { $this.wrap.find( '.abr-metabox-tabs' ).removeAttr( 'checked' ); } }, /* * Action auto score */ actionAutoScore: function( e ) { let checked = $( typeof e === 'string' ? e : this ).prop('checked'); if ( checked ) { $( '.review-field-total-score' ).addClass( 'hidden' ); } else { $( '.review-field-total-score' ).removeClass( 'hidden' ); } }, /* * Action schema author */ actionSchemaAuthor: function( e ) { let val = $( typeof e === 'string' ? e : this ).val(); if ( 'custom' !== val ) { $( '.review-field-schema-author-custom' ).addClass( 'hidden' ); } else { $( '.review-field-schema-author-custom' ).removeClass( 'hidden' ); } }, }; } )(); // Initialize. $( function() { abrReviews.init(); }); })(jQuery);{"id":24421,"date":"2024-01-29T04:04:23","date_gmt":"2024-01-29T10:04:23","guid":{"rendered":"https:\/\/hyperfarmer.com\/?p=24421"},"modified":"2024-01-29T04:04:23","modified_gmt":"2024-01-29T10:04:23","slug":"mostbet-%d0%bc%d0%be%d1%81%d1%82%d0%b1%d0%b5%d1%82-%d0%b4%d0%be-25000-%d0%b1%d0%be%d0%bd%d1%83%d1%81-%d0%bf%d1%80%d0%b8-%d1%80%d0%b5%d0%b3%d0%b8%d1%81%d1%82%d1%80%d0%b0%d1%86%d0%b8%d0%b8-%d0%b7%d0%b5","status":"publish","type":"post","link":"https:\/\/hyperfarmer.com\/mostbet-%d0%bc%d0%be%d1%81%d1%82%d0%b1%d0%b5%d1%82-%d0%b4%d0%be-25000-%d0%b1%d0%be%d0%bd%d1%83%d1%81-%d0%bf%d1%80%d0%b8-%d1%80%d0%b5%d0%b3%d0%b8%d1%81%d1%82%d1%80%d0%b0%d1%86%d0%b8%d0%b8-%d0%b7%d0%b5\/","title":{"rendered":"Mostbet \u041c\u043e\u0441\u0442\u0431\u0435\u0442: \u0414\u043e 25000 \u0411\u043e\u043d\u0443\u0441 \u041f\u0440\u0438 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0417\u0435\u0440\u043a\u0430\u043b\u043e \u0418 \u041e\u0442\u0437\u044b\u0432\u044b \u041e \u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u043e\u0439 \u041a\u043e\u043d\u0442\u043e\u0440\u0435 \u041c\u043e\u0441\u0442\u0431\u0435\u0442 \u041e\u0444\u0444\u0448\u043e\u0440\u043d\u044b"},"content":{"rendered":"

Mostbet \u041c\u043e\u0441\u0442\u0431\u0435\u0442: \u0414\u043e 25000 \u0411\u043e\u043d\u0443\u0441 \u041f\u0440\u0438 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0417\u0435\u0440\u043a\u0430\u043b\u043e \u0418 \u041e\u0442\u0437\u044b\u0432\u044b \u041e \u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u043e\u0439 \u041a\u043e\u043d\u0442\u043e\u0440\u0435 \u041c\u043e\u0441\u0442\u0431\u0435\u0442 \u041e\u0444\u0444\u0448\u043e\u0440\u043d\u044b\u0439<\/p>\n

\u0411\u0443\u043a\u043c\u0435\u043a\u0435\u0440\u0441\u043a\u0430\u044f \u041a\u043e\u043d\u0442\u043e\u0440\u0430 \u0418 \u041e\u043d\u043b\u0430\u0439\u043d \u041a\u0430\u0437\u0438\u043d\u043e Mostbet \u0411\u043e\u043d\u0443\u0441 125 %<\/h1>\n
\n

Content<\/p>\n