| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/peyco.es/wp-content/plugins/widgetkit-1/widgets/twitter/ |
Upload File : |
/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
jQuery(function($){var relativeTime=function(time_value){var parsed_date=new Date(Date.parse(time_value.replace(/(\d+)-(\d+)-(\d+)T(.+)([-\+]\d+):(\d+)/g,"$1/$2/$3 $4 UTC$5$6")));var relative_to=arguments.length>1?arguments[1]:new Date;var delta=parseInt((relative_to.getTime()-parsed_date)/1e3);if(delta<60){return $widgetkit.trans.get("LESS_THAN_A_MINUTE_AGO")}else if(delta<120){return $widgetkit.trans.get("ABOUT_A_MINUTE_AGO")}else if(delta<45*60){return $widgetkit.trans.get("X_MINUTES_AGO",parseInt(delta/60).toString())}else if(delta<90*60){return $widgetkit.trans.get("ABOUT_AN_HOUR_AGO")}else if(delta<24*60*60){return $widgetkit.trans.get("X_HOURS_AGO",parseInt(delta/3600).toString())}else if(delta<48*60*60){return $widgetkit.trans.get("ONE_DAY_AGO")}else{return $widgetkit.trans.get("X_DAYS_AGO",parseInt(delta/86400).toString())}};$(".wk-twitter time").each(function(){$(this).html(relativeTime($(this).attr("datetime")))});var bubbles=$(".wk-twitter-bubbles");if(bubbles.length){var matchBubblesHeight=function(){bubbles.each(function(){var maxheight=0;$(this).find("p.content").each(function(){var h=$(this).height();if(h>maxheight)maxheight=h}).css("min-height",maxheight)})};matchBubblesHeight();$(window).bind("load",matchBubblesHeight)}});