/*! * @author: Pojo Team */ /* global jQuery, PojoA11yOptions */ ( function( $, window, document, undefined ) { 'use strict'; var Pojo_Accessibility_App = { cache: { $document: $( document ), $window: $( window ) }, cacheElements: function() { this.cache.$toolbar = $( '#pojo-a11y-toolbar' ); this.cache.$toolbarLinks = this.cache.$toolbar.find( 'a.pojo-a11y-toolbar-link' ); this.cache.$toolbarToolsLinks = this.cache.$toolbar.find( '.pojo-a11y-tools a.pojo-a11y-toolbar-link' ); this.cache.$btnToolbarToggle = this.cache.$toolbar.find( 'div.pojo-a11y-toolbar-toggle > a' ); this.cache.$skipToContent = $( '#pojo-a11y-skip-content' ); this.cache.$body = $( 'body' ); }, settings: { minFontSize: 120, maxFontSize: 200, buttonsClassPrefix: 'pojo-a11y-btn-', bodyClassPrefix: 'pojo-a11y-', bodyFontClassPrefix: 'pojo-a11y-resize-font-', storageKey: 'pojo-a11y', expires: PojoA11yOptions.save_expiration ? PojoA11yOptions.save_expiration * 36e5 /* hours to ms */ : 43200000 // 12 hours }, variables: { currentFontSize: 120, currentSchema: null }, activeActions: {}, buildElements: function() { // Move the `toolbar/skip to content` to top this.cache.$body.prepend( this.cache.$toolbar ); this.cache.$body.prepend( this.cache.$skipToContent ); }, bindEvents: function() { var $self = this; $self.cache.$btnToolbarToggle.on( 'click', function( event ) { event.preventDefault(); $self.cache.$toolbar.toggleClass( 'pojo-a11y-toolbar-open' ); if ( $self.cache.$toolbar.hasClass( 'pojo-a11y-toolbar-open' ) ) { $self.cache.$toolbarLinks.attr( 'tabindex', '0' ); } else { $self.cache.$toolbarLinks.attr( 'tabindex', '-1' ); } } ); $( document ).on( 'keyup', function( event ) { var TAB_KEY = 9; if ( TAB_KEY !== event.which || ! $self.cache.$btnToolbarToggle.is( ':focus' ) ) { return; } $self.cache.$toolbar.addClass( 'pojo-a11y-toolbar-open' ); $self.cache.$toolbarLinks.attr( 'tabindex', '0' ); } ); $self.bindToolbarButtons(); }, bindToolbarButtons: function() { var self = this; self.cache.$toolbarToolsLinks.on( 'click', function( event ) { event.preventDefault(); var $this = $( this ), action = $this.data( 'action' ), actionGroup = $this.data( 'action-group' ), deactivate = false; if ( 'reset' === action ) { self.reset(); return; } if ( -1 !== [ 'toggle', 'schema' ].indexOf( actionGroup ) ) { deactivate = $this.hasClass( 'active' ); } self.activateButton( action, deactivate ); } ); }, activateButton: function( action, deactivate ) { var $button = this.getButtonByAction( action ), actionGroup = $button.data( 'action-group' ); this.activeActions[ action ] = ! deactivate; this.actions[ actionGroup ].call( this, action, deactivate ); this.saveToLocalStorage(); }, getActiveButtons: function() { return this.cache.$toolbarToolsLinks.filter( '.active' ); }, getButtonByAction: function( action ) { return this.cache.$toolbarToolsLinks.filter( '.' + this.settings.buttonsClassPrefix + action ); }, actions: { toggle: function( action, deactivate ) { var $button = this.getButtonByAction( action ), fn = deactivate ? 'removeClass' : 'addClass'; if ( deactivate ) { $button.removeClass( 'active' ); } else { $button.addClass( 'active' ); } this.cache.$body[ fn ]( this.settings.bodyClassPrefix + action ); }, resize: function( action, deactivate ) { var oldFontSize = this.variables.currentFontSize; if ( 'resize-plus' === action && this.settings.maxFontSize > oldFontSize ) { this.variables.currentFontSize += 10; } if ( 'resize-minus' === action && this.settings.minFontSize < oldFontSize ) { this.variables.currentFontSize -= 10; } if ( deactivate ) { this.variables.currentFontSize = this.settings.minFontSize; } this.cache.$body.removeClass( this.settings.bodyFontClassPrefix + oldFontSize ); var isPlusActive = 120 < this.variables.currentFontSize, plusButtonAction = isPlusActive ? 'addClass' : 'removeClass'; this.getButtonByAction( 'resize-plus' )[ plusButtonAction ]( 'active' ); if ( isPlusActive ) { this.cache.$body.addClass( this.settings.bodyFontClassPrefix + this.variables.currentFontSize ); } this.activeActions[ 'resize-minus' ] = false; this.activeActions[ 'resize-plus' ] = isPlusActive; this.cache.$window.trigger( 'resize' ); }, schema: function( action, deactivate ) { var currentSchema = this.variables.currentSchema; if ( currentSchema ) { this.cache.$body.removeClass( this.settings.bodyClassPrefix + currentSchema ); this.getButtonByAction( currentSchema ).removeClass( 'active' ); this.activeActions[ currentSchema ] = false; this.saveToLocalStorage(); } if ( deactivate ) { this.variables.currentSchema = null; return; } currentSchema = this.variables.currentSchema = action; this.cache.$body.addClass( this.settings.bodyClassPrefix + currentSchema ); this.getButtonByAction( currentSchema ).addClass( 'active' ); } }, reset: function() { for ( var action in this.activeActions ) { if ( this.activeActions.hasOwnProperty( action ) && this.activeActions[ action ] ) { this.activateButton( action, true ); } } localStorage.removeItem( this.settings.storageKey ); }, saveToLocalStorage: function() { if ( '1' !== PojoA11yOptions.enable_save ) { return; } if ( ! this.variables.expires ) { this.variables.expires = ( new Date() ).getTime() + this.settings.expires; } var data = { actions: this.activeActions, variables: { currentFontSize: this.variables.currentFontSize, expires: this.variables.expires } }; localStorage.setItem( this.settings.storageKey, JSON.stringify( data ) ); }, setFromLocalStorage: function() { if ( '1' !== PojoA11yOptions.enable_save ) { return; } var localData = JSON.parse( localStorage.getItem( this.settings.storageKey ) ); if ( ! localData ) { return; } var currentDate = new Date(), expires = localData.variables.expires; if ( currentDate > expires ) { localStorage.removeItem( this.settings.storageKey ); return; } var actions = localData.actions; if ( localData.variables.currentFontSize > 120 ) { localData.variables.currentFontSize -= 10; } $.extend( this.variables, localData.variables ); for ( var action in actions ) { if ( actions.hasOwnProperty( action ) && actions[ action ] ) { this.activateButton( action, false ); } } }, handleGlobalOptions: function() { if ( '1' === PojoA11yOptions.focusable ) { this.cache.$body.addClass( 'pojo-a11y-focusable' ); } if ( '1' === PojoA11yOptions.remove_link_target ) { $( 'a[target="_blank"]' ).attr( 'target', '' ); } if ( '1' === PojoA11yOptions.add_role_links ) { $( 'a' ).attr( 'role', 'link' ); } }, init: function() { this.cacheElements(); this.buildElements(); this.bindEvents(); this.handleGlobalOptions(); } }; $( document ).ready( function( $ ) { Pojo_Accessibility_App.init(); Pojo_Accessibility_App.setFromLocalStorage(); } ); }( jQuery, window, document ) ); {"namespace":"tribe\/events\/v1","routes":{"\/tribe\/events\/v1":{"namespace":"tribe\/events\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"tribe\/events\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1"}]}},"\/tribe\/events\/v1\/doc":{"namespace":"tribe\/events\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1\/doc"}]}},"\/tribe\/events\/v1\/events":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of events to return on each page","type":"integer","required":false},"start_date":{"default":"2025-05-31 20:59:00","description":"Events should start after the specified date","required":false},"end_date":{"default":"2027-06-01 01:27:47","description":"Events should start before the specified date","required":false},"search":{"description":"Events should contain the specified string in the title or description","type":"string","required":false},"categories":{"description":"Events should be assigned one of the specified categories slugs or IDs","items":{"type":"integer"},"required":false},"tags":{"description":"Events should be assigned one of the specified tags slugs or IDs","items":{"type":"integer"},"required":false},"venue":{"description":"Events should be assigned one of the specified venue IDs","items":{"type":"integer"},"required":false},"organizer":{"description":"Events should be assigned one of the specified organizer IDs","items":{"type":"integer"},"required":false},"featured":{"type":"boolean","description":"Events should be filtered by their featured status","required":false},"status":{"format":"string","description":"The event post status","required":false},"geoloc":{"type":"boolean","description":"Requires Events Calendar Pro. Events should be filtered by whether their venue has geolocation data","required":false},"geoloc_lat":{"format":"double","description":"Requires Events Calendar Pro. Events should be filtered by their venue latitude location, must also provide geoloc_lng","required":false},"geoloc_lng":{"format":"double","description":"Requires Events Calendar Pro. Events should be filtered by their venue longitude location, must also provide geoloc_lat","required":false},"include":{"description":"Include events with one of the post IDs specified in the array of CSV list, date filters will be ignored.","items":{"type":"integer"},"required":false},"post_parent":{"type":"integer","description":"Events should be filtered by their post_parent being the specified one.","required":false}}},{"methods":["POST"],"args":{"author":{"type":"integer","description":"The event author ID","required":false},"date":{"type":"string","description":"The event publication date","required":false},"date_utc":{"type":"string","description":"The event publication date (UTC time zone)","required":false},"title":{"type":"string","description":"The event title","required":true},"description":{"type":"string","description":"The event description","required":false},"slug":{"type":"string","description":"The event slug","required":false},"excerpt":{"type":"string","description":"The event excerpt","required":false},"status":{"type":"string","description":"The event post status","required":false},"timezone":{"type":"string","description":"The event time zone","required":false},"all_day":{"default":false,"type":"boolean","description":"Whether the event lasts the whole day or not","required":false},"start_date":{"type":"string","description":"The event start date and time","required":true},"end_date":{"type":"string","description":"The event end date and time","required":true},"image":{"type":"string","description":"The event featured image ID or URL","required":false},"cost":{"description":"The event cost","required":false},"website":{"default":null,"description":"The event website URL","required":false},"show_map":{"type":"boolean","description":"Whether the event should show a map or not","required":false},"show_map_link":{"type":"boolean","description":"Whether the event should show a map link or not","required":false},"hide_from_listings":{"type":"boolean","description":"Whether events should be hidden in the calendar view or not","required":false},"sticky":{"type":"boolean","description":"Whether the event should be sticky in the calendar view or not","required":false},"featured":{"type":"boolean","description":"Whether the event should be featured on the site or not","required":false},"categories":{"default":null,"items":{"type":"integer"},"description":"The event category ID or name","required":false},"tags":{"default":null,"items":{"type":"integer"},"description":"The event tag ID or name","required":false},"venue":{"default":null,"items":{"type":"integer"},"description":"The event venue ID or data","required":false},"organizer":{"default":null,"items":{"type":"integer"},"description":"The event organizer IDs or data","required":false}}}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1\/events"}]}},"\/tribe\/events\/v1\/events\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the event post ID","required":true}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the event post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the event post ID","required":true},"author":{"type":"integer","description":"The event author ID","required":false},"date":{"type":"string","description":"The event publication date","required":false},"date_utc":{"type":"string","description":"The event publication date (UTC time zone)","required":false},"title":{"type":"string","description":"The event title","required":false},"description":{"type":"string","description":"The event description","required":false},"slug":{"type":"string","description":"The event slug","required":false},"excerpt":{"type":"string","description":"The event excerpt","required":false},"status":{"type":"string","description":"The event post status","required":false},"timezone":{"type":"string","description":"The event time zone","required":false},"all_day":{"default":false,"type":"boolean","description":"Whether the event lasts the whole day or not","required":false},"start_date":{"type":"string","description":"The event start date and time","required":false},"end_date":{"type":"string","description":"The event end date and time","required":false},"image":{"type":"string","description":"The event featured image ID or URL","required":false},"cost":{"description":"The event cost","required":false},"website":{"default":null,"description":"The event website URL","required":false},"show_map":{"type":"boolean","description":"Whether the event should show a map or not","required":false},"show_map_link":{"type":"boolean","description":"Whether the event should show a map link or not","required":false},"hide_from_listings":{"type":"boolean","description":"Whether events should be hidden in the calendar view or not","required":false},"sticky":{"type":"boolean","description":"Whether the event should be sticky in the calendar view or not","required":false},"featured":{"type":"boolean","description":"Whether the event should be featured on the site or not","required":false},"categories":{"default":null,"items":{"type":"integer"},"description":"The event category ID or name","required":false},"tags":{"default":null,"items":{"type":"integer"},"description":"The event tag ID or name","required":false},"venue":{"default":null,"items":{"type":"integer"},"description":"The event venue ID or data","required":false},"organizer":{"default":null,"items":{"type":"integer"},"description":"The event organizer IDs or data","required":false}}}]},"\/tribe\/events\/v1\/events\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"type":"string","description":"the event post name","required":true}}},{"methods":["DELETE"],"args":{"slug":{"type":"string","description":"the event post name","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"type":"string","description":"The event slug","required":false},"author":{"type":"integer","description":"The event author ID","required":false},"date":{"type":"string","description":"The event publication date","required":false},"date_utc":{"type":"string","description":"The event publication date (UTC time zone)","required":false},"title":{"type":"string","description":"The event title","required":false},"description":{"type":"string","description":"The event description","required":false},"excerpt":{"type":"string","description":"The event excerpt","required":false},"status":{"type":"string","description":"The event post status","required":false},"timezone":{"type":"string","description":"The event time zone","required":false},"all_day":{"default":false,"type":"boolean","description":"Whether the event lasts the whole day or not","required":false},"start_date":{"type":"string","description":"The event start date and time","required":false},"end_date":{"type":"string","description":"The event end date and time","required":false},"image":{"type":"string","description":"The event featured image ID or URL","required":false},"cost":{"description":"The event cost","required":false},"website":{"default":null,"description":"The event website URL","required":false},"show_map":{"type":"boolean","description":"Whether the event should show a map or not","required":false},"show_map_link":{"type":"boolean","description":"Whether the event should show a map link or not","required":false},"hide_from_listings":{"type":"boolean","description":"Whether events should be hidden in the calendar view or not","required":false},"sticky":{"type":"boolean","description":"Whether the event should be sticky in the calendar view or not","required":false},"featured":{"type":"boolean","description":"Whether the event should be featured on the site or not","required":false},"categories":{"default":null,"items":{"type":"integer"},"description":"The event category ID or name","required":false},"tags":{"default":null,"items":{"type":"integer"},"description":"The event tag ID or name","required":false},"venue":{"default":null,"items":{"type":"integer"},"description":"The event venue ID or data","required":false},"organizer":{"default":null,"items":{"type":"integer"},"description":"The event organizer IDs or data","required":false}}}]},"\/tribe\/events\/v1\/venues":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of venues to return on each page","type":"integer","required":false},"search":{"description":"Venues should contain the specified string in the title, description or custom fields","type":"string","required":false},"event":{"description":"Venues should be related to this event","type":"integer","required":false},"has_events":{"description":"Venues should have events associated to them","required":false},"only_with_upcoming":{"description":"Venues should have upcoming events associated to them","default":false,"required":false},"status":{"format":"string","description":"The organizer post status","required":false}}},{"methods":["POST"],"args":{"author":{"type":"integer","description":"The venue author ID","required":false},"date":{"type":"string","description":"The venue publication date","required":false},"date_utc":{"type":"string","description":"The venue publication date (UTC time zone)","required":false},"venue":{"type":"string","description":"The venue name","required":true},"description":{"type":"string","default":null,"description":"The venue description","required":false},"status":{"type":"string","description":"The venue post status","required":false},"show_map":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map or not","required":false},"show_map_link":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map link or not","required":false},"address":{"type":"string","default":null,"description":"The venue address","required":false},"city":{"type":"string","default":null,"description":"The venue city","required":false},"country":{"type":"string","default":null,"description":"The venue country","required":false},"province":{"type":"string","default":null,"description":"The venue province","required":false},"state":{"type":"string","default":null,"description":"The venue state","required":false},"zip":{"type":"string","default":null,"description":"The venue ZIP code","required":false},"phone":{"type":"string","default":null,"description":"The venue phone number","required":false},"stateprovince":{"type":"string","default":null,"description":"The venue state and province","required":false},"website":{"type":"string","default":null,"description":"The venue website URL","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1\/venues"}]}},"\/tribe\/events\/v1\/venues\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the venue post ID","required":true}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the venue post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the venue post ID","required":true},"author":{"type":"integer","description":"The venue author ID","required":false},"date":{"type":"string","description":"The venue publication date","required":false},"date_utc":{"type":"string","description":"The venue publication date (UTC time zone)","required":false},"venue":{"type":"string","description":"The venue name","required":false},"description":{"type":"string","default":null,"description":"The venue description","required":false},"status":{"type":"string","description":"The venue post status","required":false},"show_map":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map or not","required":false},"show_map_link":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map link or not","required":false},"address":{"type":"string","default":null,"description":"The venue address","required":false},"city":{"type":"string","default":null,"description":"The venue city","required":false},"country":{"type":"string","default":null,"description":"The venue country","required":false},"province":{"type":"string","default":null,"description":"The venue province","required":false},"state":{"type":"string","default":null,"description":"The venue state","required":false},"zip":{"type":"string","default":null,"description":"The venue ZIP code","required":false},"phone":{"type":"string","default":null,"description":"The venue phone number","required":false},"stateprovince":{"type":"string","default":null,"description":"The venue state and province","required":false},"website":{"type":"string","default":null,"description":"The venue website URL","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/venues\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"type":"string","description":"the venue post name","required":true}}},{"methods":["DELETE"],"args":{"slug":{"type":"string","description":"the venue post name","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"type":"string","description":"the venue post name","required":true},"author":{"type":"integer","description":"The venue author ID","required":false},"date":{"type":"string","description":"The venue publication date","required":false},"date_utc":{"type":"string","description":"The venue publication date (UTC time zone)","required":false},"venue":{"type":"string","description":"The venue name","required":false},"description":{"type":"string","default":null,"description":"The venue description","required":false},"status":{"type":"string","description":"The venue post status","required":false},"show_map":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map or not","required":false},"show_map_link":{"type":"string","default":null,"description":"Whether events linked to the venue should show a map link or not","required":false},"address":{"type":"string","default":null,"description":"The venue address","required":false},"city":{"type":"string","default":null,"description":"The venue city","required":false},"country":{"type":"string","default":null,"description":"The venue country","required":false},"province":{"type":"string","default":null,"description":"The venue province","required":false},"state":{"type":"string","default":null,"description":"The venue state","required":false},"zip":{"type":"string","default":null,"description":"The venue ZIP code","required":false},"phone":{"type":"string","default":null,"description":"The venue phone number","required":false},"stateprovince":{"type":"string","default":null,"description":"The venue state and province","required":false},"website":{"type":"string","default":null,"description":"The venue website URL","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/organizers":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of organizers to return on each page","type":"integer","required":false},"search":{"description":"Organizers should contain the specified string in the title, description or custom fields","type":"string","required":false},"event":{"description":"Organizers should be related to this event","type":"integer","required":false},"has_events":{"description":"Organizers should have events associated to them","required":false},"only_with_upcoming":{"description":"Organizers should have upcoming events associated to them","default":false,"required":false},"status":{"format":"string","description":"The organizer post status","required":false}}},{"methods":["POST"],"args":{"author":{"type":"integer","default":null,"description":"The organizer author ID","required":false},"date":{"type":"string","default":null,"description":"The organizer publication date","required":false},"date_utc":{"type":"string","default":null,"description":"The organizer publication date (UTC time zone)","required":false},"organizer":{"type":"string","default":null,"description":"The organizer name","required":true},"description":{"type":"string","default":null,"description":"The organizer description","required":false},"status":{"type":"string","default":null,"description":"The organizer post status","required":false},"phone":{"type":"string","default":null,"description":"The organizer phone number","required":false},"website":{"type":"string","default":null,"description":"The organizer website","required":false},"email":{"type":"string","default":null,"description":"The organizer e-mail address","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1\/organizers"}]}},"\/tribe\/events\/v1\/organizers\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the organizer post ID","required":true}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the organizer post ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the organizer post ID","required":true},"author":{"type":"integer","default":null,"description":"The organizer author ID","required":false},"date":{"type":"string","default":null,"description":"The organizer publication date","required":false},"date_utc":{"type":"string","default":null,"description":"The organizer publication date (UTC time zone)","required":false},"organizer":{"type":"string","default":null,"description":"The organizer name","required":false},"description":{"type":"string","default":null,"description":"The organizer description","required":false},"status":{"type":"string","default":null,"description":"The organizer post status","required":false},"phone":{"type":"string","default":null,"description":"The organizer phone number","required":false},"website":{"type":"string","default":null,"description":"The organizer website","required":false},"email":{"type":"string","default":null,"description":"The organizer e-mail address","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/organizers\/by-slug\/(?P[^\/]+)":{"namespace":"tribe\/events\/v1","methods":["GET","DELETE","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"slug":{"type":"string","description":"the organizer post name","required":true}}},{"methods":["DELETE"],"args":{"slug":{"type":"string","description":"the organizer post name","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"slug":{"type":"string","description":"the organizer post name","required":true},"author":{"type":"integer","default":null,"description":"The organizer author ID","required":false},"date":{"type":"string","default":null,"description":"The organizer publication date","required":false},"date_utc":{"type":"string","default":null,"description":"The organizer publication date (UTC time zone)","required":false},"organizer":{"type":"string","default":null,"description":"The organizer name","required":false},"description":{"type":"string","default":null,"description":"The organizer description","required":false},"status":{"type":"string","default":null,"description":"The organizer post status","required":false},"phone":{"type":"string","default":null,"description":"The organizer phone number","required":false},"website":{"type":"string","default":null,"description":"The organizer website","required":false},"email":{"type":"string","default":null,"description":"The organizer e-mail address","required":false},"image":{"type":"string","default":null,"description":"The organizer featured image ID or URL","required":false}}}]},"\/tribe\/events\/v1\/categories":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of event categories to return on each page","type":"integer","required":false},"search":{"description":"Limit results to those matching a string","type":"string","required":false},"exclude":{"description":"Ensure result set exclude specific IDs","items":{"type":"integer"},"required":false},"include":{"description":"Limit result set to specific IDs","items":{"type":"integer"},"required":false},"order":{"description":"Order sort attribute ascending or descending","type":"string","required":false},"orderby":{"description":"Sort collection by term attribute","type":"string","required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts","type":"boolean","default":"1","required":false},"parent":{"description":"Limit result set to terms assigned to a specific parent","type":"integer","required":false},"post":{"description":"Limit result set to terms assigned to a specific post","type":"integer","required":false},"event":{"description":"Limit result set to terms assigned to a specific event (an alias of the \"post\" parameter)","type":"integer","required":false},"slug":{"description":"Limit result set to terms with a specific slug","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"The event category name","required":true},"description":{"type":"string","description":"The event category description","required":false},"slug":{"type":"string","description":"The event category slug","required":false},"parent":{"type":"integer","description":"The event category slug","required":false}}}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1\/categories"}]}},"\/tribe\/events\/v1\/categories\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the event category term ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the event category term ID","required":true},"name":{"type":"string","description":"The event category name","required":false},"description":{"type":"string","description":"The event category description","required":false},"slug":{"type":"string","description":"The event category slug","required":false},"parent":{"type":"integer","description":"The event category slug","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the event category term ID","required":true}}}]},"\/tribe\/events\/v1\/tags":{"namespace":"tribe\/events\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"page":{"default":1,"description":"The archive page to return","type":"integer","required":false},"per_page":{"default":"10","description":"The number of event tags to return on each page","type":"integer","required":false},"search":{"description":"Limit results to those matching a string","type":"string","required":false},"exclude":{"description":"Ensure result set exclude specific IDs","items":{"type":"integer"},"required":false},"include":{"description":"Limit result set to specific IDs","items":{"type":"integer"},"required":false},"order":{"description":"Order sort attribute ascending or descending","type":"string","required":false},"orderby":{"description":"Sort collection by term attribute","type":"string","required":false},"hide_empty":{"description":"Whether to hide terms not assigned to any posts","type":"boolean","default":"1","required":false},"post":{"description":"Limit result set to terms assigned to a specific post","type":"integer","required":false},"event":{"description":"Limit result set to terms assigned to a specific event (an alias of the \"post\" parameter)","type":"integer","required":false},"slug":{"description":"Limit result set to terms with a specific slug","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"The event tag name","required":true},"description":{"type":"string","description":"The event tag description","required":false},"slug":{"type":"string","description":"The event tag slug","required":false}}}],"_links":{"self":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/tribe\/events\/v1\/tags"}]}},"\/tribe\/events\/v1\/tags\/(?P\\d+)":{"namespace":"tribe\/events\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"type":"integer","description":"the event tag term ID","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"type":"integer","description":"the event tag term ID","required":true},"name":{"type":"string","description":"The event tag name","required":false},"description":{"type":"string","description":"The event tag description","required":false},"slug":{"type":"string","description":"The event tag slug","required":false}}},{"methods":["DELETE"],"args":{"id":{"type":"integer","description":"the event tag term ID","required":true}}}]}},"_links":{"up":[{"href":"http:\/\/misv.com.br\/index.php?rest_route=\/"}]}}