!function(M){M.fn.extend({slimScroll:function(R){var D=M.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},R);return this.each(function(){var s,e,o,i,a,r,l,n,c="
",h=30,u=!1,p=M(this);if(p.parent().hasClass(D.wrapperClass)){var d=p.scrollTop();if(m=p.siblings("."+D.barClass),w=p.siblings("."+D.railClass),H(),M.isPlainObject(R)){if("height"in R&&"auto"==R.height){p.parent().css("height","auto"),p.css("height","auto");var g=p.parent().parent().height();p.parent().css("height",g),p.css("height",g)}else if("height"in R){var f=R.height;p.parent().css("height",f),p.css("height",f)}if("scrollTo"in R)d=parseInt(D.scrollTo);else if("scrollBy"in R)d+=parseInt(D.scrollBy);else if("destroy"in R)return m.remove(),w.remove(),void p.unwrap();C(d,!1,!0)}}else if(!(M.isPlainObject(R)&&"destroy"in R)){D.height="auto"==D.height?p.parent().height():D.height;var b=M(c).addClass(D.wrapperClass).css({position:"relative",overflow:"hidden",width:D.width,height:D.height});p.css({overflow:"hidden",width:D.width,height:D.height});var v,w=M(c).addClass(D.railClass).css({width:D.size,height:"100%",position:"absolute",top:0,display:D.alwaysVisible&&D.railVisible?"block":"none","border-radius":D.railBorderRadius,background:D.railColor,opacity:D.railOpacity,zIndex:90}),m=M(c).addClass(D.barClass).css({background:D.color,width:D.size,position:"absolute",top:0,opacity:D.opacity,display:D.alwaysVisible?"block":"none","border-radius":D.borderRadius,BorderRadius:D.borderRadius,MozBorderRadius:D.borderRadius,WebkitBorderRadius:D.borderRadius,zIndex:99}),y="right"==D.position?{right:D.distance}:{left:D.distance};w.css(y),m.css(y),p.wrap(b),p.parent().append(m),p.parent().append(w),D.railDraggable&&m.bind("mousedown",function(e){var i=M(document);return o=!0,t=parseFloat(m.css("top")),pageY=e.pageY,i.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,m.css("top",currTop),C(0,m.position().top,!1)}),i.bind("mouseup.slimscroll",function(e){o=!1,E(),i.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(e){return e.stopPropagation(),e.preventDefault(),!1}),w.hover(function(){S()},function(){E()}),m.hover(function(){e=!0},function(){e=!1}),p.hover(function(){s=!0,S(),E()},function(){s=!1,E()}),p.bind("touchstart",function(e,t){e.originalEvent.touches.length&&(a=e.originalEvent.touches[0].pageY)}),p.bind("touchmove",function(e){u||e.originalEvent.preventDefault(),e.originalEvent.touches.length&&(C((a-e.originalEvent.touches[0].pageY)/D.touchScrollStep,!0),a=e.originalEvent.touches[0].pageY)}),H(),"bottom"===D.start?(m.css({top:p.outerHeight()-m.outerHeight()}),C(0,!0)):"top"!==D.start&&(C(M(D.start).position().top,null,!0),D.alwaysVisible||m.hide()),v=this,window.addEventListener?(v.addEventListener("DOMMouseScroll",x,!1),v.addEventListener("mousewheel",x,!1)):document.attachEvent("onmousewheel",x)}function x(e){if(s){var t=0;(e=e||window.event).wheelDelta&&(t=-e.wheelDelta/120),e.detail&&(t=e.detail/3);var i=e.target||e.srcTarget||e.srcElement;M(i).closest("."+D.wrapperClass).is(p.parent())&&C(t,!0),e.preventDefault&&!u&&e.preventDefault(),u||(e.returnValue=!1)}}function C(e,t,i){u=!1;var s=e,o=p.outerHeight()-m.outerHeight();if(t&&(s=parseInt(m.css("top"))+e*parseInt(D.wheelStep)/100*m.outerHeight(),s=Math.min(Math.max(s,0),o),s=0=p.outerHeight()?u=!0:(m.stop(!0,!0).fadeIn("fast"),D.railVisible&&w.stop(!0,!0).fadeIn("fast"))}function E(){D.alwaysVisible||(i=setTimeout(function(){D.disableFadeOut&&s||e||o||(m.fadeOut("slow"),w.fadeOut("slow"))},1e3))}}),this}}),M.fn.extend({slimscroll:M.fn.slimScroll})}(jQuery);/** * register a meta group * * @uses Tribe__Events__Meta_Factory::register() * @deprecated 4.3 * * @param string $meta_group_id * @param array $args * * @return bool $success */ function tribe_register_meta_group( $meta_group_id, $args = [] ) { _deprecated_function( __FUNCTION__, '4.3' ); // setup default for registering a meta group $defaults = [ 'register_type' => 'meta_group', 'register_overwrite' => true ]; // parse the $default and $args into the second param for registering a meta item return Tribe__Events__Meta_Factory::register( $meta_group_id, wp_parse_args( $args, $defaults ) ); } /** * register a meta item * * @uses Tribe__Events__Meta_Factory::register() * @deprecated 4.3 * * @param int $meta_id * @param array $args * * @return bool $success */ function tribe_register_meta( $meta_id, $args = [] ) { _deprecated_function( __FUNCTION__, '4.3' ); return Tribe__Events__Meta_Factory::register( $meta_id, $args ); } /** * Get the meta group. * * @deprecated 4.3 * * @param $meta_group_id * @param bool $is_the_meta * * @return bool|mixed|void */ function tribe_get_meta_group( $meta_group_id, $is_the_meta = false ) { _deprecated_function( __FUNCTION__, '4.3' ); do_action( 'tribe_get_meta_group', $meta_group_id, $is_the_meta ); $type = 'meta_group'; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_group_id, $type ) ) { return false; } $meta_group = Tribe__Events__Meta_Factory::get_args( $meta_group_id, $type ); $meta_ids = Tribe__Events__Meta_Factory::get_order( $meta_group_id ); $group_html = ''; // internal check for hiding items in the meta if ( ! $meta_group['show_on_meta'] ) { return false; } $meta_pos_int = 0; $total_meta_items = tribe_count_hierarchical( $meta_ids ); foreach ( $meta_ids as $meta_id_group ) { foreach ( $meta_id_group as $meta_id ) { $meta_pos_int ++; $group_html = tribe_separated_field( $group_html, $meta_group['wrap']['meta_separator'], tribe_get_meta( $meta_id, $is_the_meta ) ); } } $params = [ $meta_group_id ]; if ( ! empty( $meta['filter_callback'] ) ) { return call_user_func_array( $meta['filter_callback'], $params ); } if ( ! empty( $meta['callback'] ) ) { $value = call_user_func_array( $meta['callback'], $params ); } $value = empty( $value ) ? $group_html : $value; $html = ! empty( $group_html ) ? Tribe__Events__Meta_Factory::template( $meta_group['label'], $value, $meta_group_id, 'meta_group' ) : ''; return apply_filters( 'tribe_get_meta_group', $html, $meta_group_id ); } /** * Get the meta. * * @deprecated 4.3 * * @param $meta_id * @param bool $is_the_meta * * @return bool|mixed|void */ function tribe_get_meta( $meta_id, $is_the_meta = false ) { _deprecated_function( __FUNCTION__, '4.3' ); do_action( 'tribe_get_meta', $meta_id, $is_the_meta ); // die silently if the requested meta item is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id ) ) { return false; } $meta = Tribe__Events__Meta_Factory::get_args( $meta_id ); // internal check for hiding items in the meta if ( ! $meta['show_on_meta'] ) { return false; } $params = [ $meta_id ]; if ( ! empty( $meta['filter_callback'] ) ) { return call_user_func_array( $meta['filter_callback'], $params ); } if ( ! empty( $meta['callback'] ) ) { $value = call_user_func_array( $meta['callback'], $params ); } $value = empty( $value ) ? $meta['meta_value'] : $value; // if we have a value let's build the html template $html = ! empty( $value ) ? Tribe__Events__Meta_Factory::template( $meta['label'], $value, $meta_id ) : ''; return apply_filters( 'tribe_get_meta', $html, $meta_id ); } /** * Get the args for a meta object. * * @deprecated 4.3 * * @param $meta_id * @param $arg_key * @param string $type * * @return bool */ function tribe_get_meta_arg( $meta_id, $arg_key, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $args = Tribe__Events__Meta_Factory::get_args( $meta_id, $type ); // check if the arg exists if ( isset( $args[ $arg_key ] ) ) { return $args[ $arg_key ]; } else { return false; } } /** * Get the template part for the meta object. * * @deprecated 4.3 * * @param $meta_id * @param $template_key * @param string $type * * @return bool */ function tribe_get_meta_template_part( $meta_id, $template_key, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $template = tribe_get_meta_arg( $meta_id, 'wrap', $type ); if ( isset( $template[ $template_key ] ) ) { return $template[ $template_key ]; } else { return false; } } /** * Set the visibility of the meta object. * * @deprecated 4.3 * * @param $meta_id * @param bool $status * @param string $type */ function tribe_set_the_meta_visibility( $meta_id, $status = true, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); Tribe__Events__Meta_Factory::set_visibility( $meta_id, $type, $status ); } /** * Set the template for the meta object. * * @deprecated 4.3 * * @param $meta_id * @param array $template * @param string $type * * @return bool */ function tribe_set_the_meta_template( $meta_id, $template = [], $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id ) { tribe_set_the_meta_template( $id, $template, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } if ( ! empty( $template ) ) { $_tribe_meta_factory->{$type}[ $meta_id ]['wrap'] = wp_parse_args( $template, $_tribe_meta_factory->{$type}[ $meta_id ]['wrap'] ); } } } /** * Set the meta priority to manage positioning. * * @deprecated 4.3 * * @param $meta_id * @param int $priority * @param string $type * * @return bool */ function tribe_set_meta_priority( $meta_id, $priority = 100, $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id => $priority ) { tribe_set_meta_priority( $id, $priority, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } if ( ! empty( $priority ) ) { $_tribe_meta_factory->{$type}[ $meta_id ]['priority'] = $priority; } } } /** * Set meta value for meta object. * * @deprecated 4.3 * * @param $meta_id * @param $value * @param string $value_type * @param string $type * * @return bool */ function tribe_set_meta_value( $meta_id, $value, $value_type = 'meta_value', $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id ) { tribe_set_meta_value( $id, $value, $value_type, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $_tribe_meta_factory->{$type}[ $meta_id ][ $value_type ] = $value; } } /** * Set the meta label for the meta object. * * @deprecated 4.3 * * @param $meta_id * @param string $label * @param string $type * * @return bool */ function tribe_set_meta_label( $meta_id, $label = '', $type = 'meta' ) { _deprecated_function( __FUNCTION__, '4.3' ); if ( is_array( $meta_id ) ) { foreach ( $meta_id as $id => $label ) { tribe_set_meta_label( $id, $label, $type ); } } else { global $_tribe_meta_factory; // die silently if the requested meta group is not registered if ( ! Tribe__Events__Meta_Factory::check_exists( $meta_id, $type ) ) { return false; } $_tribe_meta_factory->{$type}[ $meta_id ]['label'] = $label; } } /** * Get the event meta * * @deprecated 4.3 * * @return mixed|void */ function tribe_get_the_event_meta() { _deprecated_function( __FUNCTION__, '4.3' ); $html = ''; foreach ( Tribe__Events__Meta_Factory::get_order() as $meta_groups ) { foreach ( $meta_groups as $meta_group_id ) { $html .= tribe_get_meta_group( $meta_group_id, true ); } } return apply_filters( 'tribe_get_the_event_meta', $html ); } /** * Simple display of meta group tag * * @deprecated 4.3 * * @uses tribe_get_meta_group() * @return echo tribe_get_meta_group( $meta_group_id ) */ function tribe_display_the_event_meta() { _deprecated_function( __FUNCTION__, '4.3' ); echo apply_filters( 'tribe_display_the_event_meta', tribe_get_the_event_meta() ); } /** * Simple display of meta group tag * * @uses tribe_get_meta_group() * @deprecated 4.3 * * @param string $meta_group_id * * @return echo tribe_get_meta_group( $meta_group_id ) */ function tribe_display_meta_group( $meta_group_id ) { _deprecated_function( __FUNCTION__, '4.3' ); echo apply_filters( 'tribe_display_meta_group', tribe_get_meta_group( $meta_group_id ) ); } /** * Simple display of meta tag * * @uses tribe_get_meta() * @deprecated 4.3 * * @param string $meta_id * * @return echo tribe_get_meta( $meta_id ) */ function tribe_display_meta( $meta_id ) { _deprecated_function( __FUNCTION__, '4.3' ); echo apply_filters( 'tribe_display_meta', tribe_get_meta( $meta_id ) ); } /** * Load Legacy Imports * * @deprecated 4.6.18 */ if ( ! function_exists( 'Tribe_Events_Importer_Load' ) ) { function Tribe_Events_Importer_Load() { _deprecated_function( __FUNCTION__, '4.5' ); Tribe__Events__Importer__Plugin::set_plugin_basename( plugin_basename( __FILE__ ) ); if ( is_admin() ) { add_action( 'init', [ 'Tribe__Events__Importer__Plugin', 'initialize_admin' ], 10, 0 ); add_action( 'init', [ 'Tribe__Events__Importer__Options', 'process_general_form_submission' ] ); } } } https://genero.feyalegria.org/post-sitemap.xml 2025-06-15T04:48:10+00:00 https://genero.feyalegria.org/page-sitemap.xml 2025-02-21T08:37:06+00:00 https://genero.feyalegria.org/category-sitemap.xml 2025-06-15T04:48:10+00:00 https://genero.feyalegria.org/post_tag-sitemap.xml 2023-05-19T19:49:08+00:00 https://genero.feyalegria.org/author-sitemap.xml 2025-04-14T16:09:17+00:00