{"id":73393,"date":"2022-02-08T19:35:31","date_gmt":"2022-02-09T00:35:31","guid":{"rendered":"https:\/\/papayaso.co\/entretenimiento\/una-noche-inolvidable\/"},"modified":"2022-02-08T19:35:35","modified_gmt":"2022-02-09T00:35:35","slug":"una-noche-inolvidable","status":"publish","type":"post","link":"https:\/\/papayaso.co\/entretenimiento\/una-noche-inolvidable\/","title":{"rendered":"Una noche inolvidable"},"content":{"rendered":"
\tvar huge_video_playing={};
\n\tvar autoplayMatch={}; <\/p> \n
<\/p> \n
\tvar YTdeferred = jQuery.Deferred();
\n\twindow.onYouTubeIframeAPIReady = function() {
\n\t\t\/\/resolve when youtube callback is called passing YT as a parameter
\n\t\tYTdeferred.resolve(window.YT); <\/p> \n
\t};
\n\tYTdeferred.done(function(YT) { <\/p> \n
\t\tjQuery(‘.huge-it-iframe’).each(function(){ <\/p> \n
\t\t\tvar el_id = jQuery(this).attr(‘data-element-id’);
\n\t\t\tvar volume = HUGEIT_YT_IFRAMES[‘iframe’+el_id][‘volume’]; <\/p> \n
\t\t\twindow[‘onPlayerReady’+el_id] = function(event) {
\n\t\t\t\twindow[‘player_’+el_id][‘setVolume’](volume);
\n\t\t\t}
\n\t\t});\t\t <\/p> \n
\t\tjQuery(‘.huge-it-iframe’).each(function(){ <\/p> \n
\t\t\tvar id = jQuery(this).attr(‘id’);
\n\t\t\tvar el_id = jQuery(this).attr(‘data-element-id’);
\n\t\t\tvar controls = HUGEIT_YT_IFRAMES[‘iframe’+el_id][‘controls’];
\n\t\t\tvar showinfo = HUGEIT_YT_IFRAMES[‘iframe’+el_id][‘showinfo’];
\n\t\t\tvar url = HUGEIT_YT_IFRAMES[‘iframe’+el_id][‘videoId’];
\n\t\t\tcontrols||(controls = 0);
\n\t\t\tshowinfo||(showinfo = 0); <\/p> \n
\t\t\twindow[‘player_’+el_id] = new YT.Player(id, {
\n\t\t\t\theight: ‘375’,
\n\t\t\t\twidth: ‘600’,
\n\t\t\t\tvideoId: url,
\n\t\t\t\tplayerVars: {
\n\t\t\t\t\t‘controls’: controls,\/\/ 0,
\n\t\t\t\t\t‘showinfo’: showinfo,\/\/0,
\n\t\t\t\t\t‘rel’:0
\n\t\t\t\t},
\n\t\t\t\tevents: {
\n\t\t\t\t\t‘onError’: window[‘onPlayerError’+el_id],
\n\t\t\t\t\t‘onReady’: window[‘onPlayerReady’+el_id],
\n\t\t\t\t\t‘onStateChange’: window[‘onPlayerStateChange’+el_id],
\n\t\t\t\t\t‘loop’:1
\n\t\t\t\t}
\n\t\t\t});
\n\t\t})
\n\t}); <\/p> \n
\tjQuery(function(){ <\/p> \n
\t\tjQuery(‘.huge-it-iframe’).each(function(){ <\/p> \n
\t\t\tvar el_id = jQuery(this).attr(‘data-element-id’);
\n\t\t\tvar quality = HUGEIT_YT_IFRAMES[‘iframe’+el_id][‘quality’];\t <\/p> \n
\t\t\twindow[‘onPlayerStateChange’+el_id] = function(event) { <\/p> \n
\t\t\t\tif (event.data == YT.PlayerState.PLAYING) {
\n\t\t\t\t\tHUGEIT_YT_IFRAMES[‘iframe’+el_id][‘state’]=’played’;
\n\t\t\t\t\tevent.target.setPlaybackQuality(quality);
\n\t\t\t\t}
\n\t\t\t}
\n\t\t}); <\/p> \n
\t});
\n\tfunction stopYoutubeVideo(currentVideo,nextVideo) { <\/p> \n
\t\tif(currentVideo) {
\n\t\t\t(HUGEIT_YT_IFRAMES[‘iframe’+currentVideo][‘state’])?currentVideo&&(window[‘player_’+currentVideo][‘pauseVideo’]()):currentVideo&&(window[‘player_’+currentVideo][‘stopVideo’]());
\n\t\t}
\n\t\tnextVideo&&HUGEIT_YT_IFRAMES[‘iframe’+nextVideo][‘autoplay’]&&(window[‘player_’+nextVideo][‘playVideo’]());
\n\t}\t <\/p> \n
\tfunction stopVimeoVideo(currentVideo,nextVideo){
\n\t\tjQuery(currentVideo).vimeo(‘pause’);
\n\t\tjQuery(nextVideo).vimeo(‘play’);
\n\t}
\n\/*** initialize And youtube autopay ***\/ <\/p> \n
\tjQuery( window ).load(function() {\t <\/p> \n
\t\t(function VimeoOptionsReady(){ \/\/calling funtion once
\n\t\t\t\tjQuery(‘.huge-it-iframe-vimeo’).each(function(){
\n\t\t\t\t\tvar el_id = jQuery(this).attr(‘data-element-id’);
\n\t\t\t\t\tjQuery(this).vimeo(‘setColor’,HUGEIT_VIMEOS[‘iframe’+el_id][‘color’]);
\n\t\t\t\t\tjQuery(this).vimeo(‘setVolume’,HUGEIT_VIMEOS[‘iframe’+el_id][‘volume’]);
\n\t\t\t\t})
\n\t\t}()); <\/p> \n
\t\tif(‘off’ == ‘on’) { <\/p> \n
\t\t\tif(jQuery(‘.huge-it-iframe-vimeo.autoplay’).length) { <\/p> \n
\t\t\t\t(function AutoplayVimeo() {
\n\t\t\t\t\tvar setplayVideo = setInterval(hugeitframe, 100);
\n\t\t\t\t\tfunction hugeitframe() {
\n\t\t\t\t\t\tvar vimeo1 = jQuery(‘.huge_it_slider_1044 li’).first().find(‘.autoplay’)
\n\t\t\t\t\t\t\tif(vimeo1.length) {
\n\t\t\t\t\t\t\t\tvimeo1.vimeo(‘play’);
\n\t\t\t\t\t\t\t\tclearInterval(setplayVideo);
\n\t\t\t\t\t\t\t}
\n\t\t\t\t\t};
\n\t\t\t\t}());
\n\t\t\t}; <\/p> \n
\t\t\tif(jQuery(‘.huge-it-iframe.autoplay’).length) { <\/p> \n
\t\t\t\t(function AutoplayYoutube() {
\n\t\t\t\t\tvar setplayVideo = setInterval(hugeitframe, 100);
\n\t\t\t\t\tfunction hugeitframe() {
\n\t\t\t\t\t\tjQuery(‘.huge-it-iframe.autoplay’).each(function(){ <\/p> \n
\t\t\t\t\t\tvar el_id = jQuery(this).attr(‘data-element-id’); <\/p> \n
\t\t\t\t\t\tif(window[‘player_’+el_id]) {
\n\t\t\t\t\t\t\twindow[‘player_’+el_id][‘playVideo’]();
\n\t\t\t\t\t\t\tclearInterval(setplayVideo);
\n\t\t\t\t\t\t}
\n\t\t\t\t\t\t});
\n\t\t\t\t\t}
\n\t\t\t\t}());
\n\t\t\t};\t\t <\/p> \n
\t\t}
\n\t}); <\/p> \n
\/*** initialize***\/ <\/p> \n
<!– –> <\/p> \n
\tjQuery(document).ready(function($) { <\/p> \n
$(‘.thumb_wrapper’).on(‘click’, function(ev) {
\n \tvar hugeid=$(this).data(‘rowid’);
\n \tvar myid=hugeid;
\n \tmyid=parseInt(myid);
\n \teval(‘player_’+myid+’.playVideo()’)
\n ev.preventDefault(); <\/p> \n
});
\n}); <\/p> \n
\tif(typeof sliderID_array ==”undefined”){
\n\t\tvar sliderID_array=[];
\n\t} <\/p> \n
\tvar data_1044 = [];
\n\tvar event_stack_1044 = [];
\n\t\/*if(‘off’ == ‘on’)
\n\t\thuge_video_playing[‘video_is_playing_’+1044]=true;*\/
\n\tdata_1044[“0”]=[];data_1044[“0”][“id”]=”0″;data_1044[“0”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Cristina-Uma\u00f1a-Ana-Mar\u00eda-S\u00e1nchez.jpg”;data_1044[“0”][“description”]=”Cristina Uma\u00f1a, Ana Mar\u00eda S\u00e1nchez”;data_1044[“0”][“alt”]=””;data_1044[“1”]=[];data_1044[“1”][“id”]=”1″;data_1044[“1”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Consuelo-Luzardo-Ana-Marta-de-Pizarro.jpg”;data_1044[“1”][“description”]=”Consuelo Luzardo, Ana Marta de Pizarro”;data_1044[“1”][“alt”]=””;data_1044[“2”]=[];data_1044[“2”][“id”]=”2″;data_1044[“2”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Carolina-N\u00fa\u00f1ez-Karoll-M\u00e1rquez.jpg”;data_1044[“2”][“description”]=”Carolina N\u00fa\u00f1ez, Karoll M\u00e1rquez”;data_1044[“2”][“alt”]=””;data_1044[“3”]=[];data_1044[“3”][“id”]=”3″;data_1044[“3”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Santiago-Cruz-Mar\u00eda-Paz-Mateus.jpg”;data_1044[“3”][“description”]=”Santiago Cruz, Mar\u00eda Paz Mateus”;data_1044[“3”][“alt”]=””;data_1044[“4”]=[];data_1044[“4”][“id”]=”4″;data_1044[“4”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Paula-Estrada-Carolina-Acevedo.jpg”;data_1044[“4”][“description”]=”Paula Estrada, Carolina Acevedo”;data_1044[“4”][“alt”]=””;data_1044[“5”]=[];data_1044[“5”][“id”]=”5″;data_1044[“5”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Marcela-Benjumea-Alvaro-Bayona.jpg”;data_1044[“5”][“description”]=”Marcela Benjumea, Alvaro Bayona”;data_1044[“5”][“alt”]=””;data_1044[“6”]=[];data_1044[“6”][“id”]=”6″;data_1044[“6”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Mabel-Moreno-2.jpg”;data_1044[“6”][“description”]=”Mabel Moreno”;data_1044[“6”][“alt”]=””;data_1044[“7”]=[];data_1044[“7”][“id”]=”7″;data_1044[“7”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Jorge-Cao-Juan-\u00c1ngel.jpg”;data_1044[“7”][“description”]=”Jorge Cao, Juan \u00c1ngel”;data_1044[“7”][“alt”]=””;data_1044[“8”]=[];data_1044[“8”][“id”]=”8″;data_1044[“8”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Jimmy-V\u00e1squez-Jenni-Osorio.jpg”;data_1044[“8”][“description”]=”Jimmy V\u00e1squez, Jenni Osorio”;data_1044[“8”][“alt”]=””;data_1044[“9”]=[];data_1044[“9”][“id”]=”9″;data_1044[“9”][“image_url”]=”https:\/\/papayaso.co\/wp-content\/uploads\/2022\/02\/Javier-Delgado-Carolina-Cuervo.jpg”;data_1044[“9”][“description”]=”Javier Delgado, Carolina Cuervo”;data_1044[“9”][“alt”]=””;\t <\/p> \n
var huge_it_trans_in_progress_1044 = false;
\n var huge_it_transition_duration_1044 = 1000;
\n var huge_interval ={};
\n var id_array_index=sliderID_array.length <\/p> \n
\t var ifhasthumb =”dotstop”;
\n\t sliderID_array[id_array_index] = \/\/ Stop autoplay.
\n window.clearInterval(huge_interval[‘huge_it_playInterval_’+1044]); <\/p> \n
var huge_it_current_key_1044 = ”;
\n\t function huge_it_move_dots_1044() {
\n var image_left = jQuery(“.huge_it_slideshow_dots_active_1044”).position().left;
\n var image_right = jQuery(“.huge_it_slideshow_dots_active_1044”).position().left + jQuery(“.huge_it_slideshow_dots_active_1044″).outerWidth(true); <\/p> \n
}
\n function huge_it_testBrowser_cssTransitions_1044() {
\n return huge_it_testDom_1044(‘Transition’);
\n }
\n function huge_it_testBrowser_cssTransforms3d_1044() {
\n return huge_it_testDom_1044(‘Perspective’);
\n }
\n function huge_it_testDom_1044(prop) {
\n \/\/ Browser vendor CSS prefixes.
\n var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
\n \/\/ Browser vendor DOM prefixes.
\n var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
\n var i = domPrefixes.length;
\n while (i–) {
\n if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
\n return true;
\n }
\n }
\n return false;
\n }
\n\t\tfunction huge_it_cube_1044(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) { <\/p> \n
\/* If browser does not support 3d transforms\/CSS transitions.*\/
\n if (!huge_it_testBrowser_cssTransitions_1044()) {
\n\t\t\tjQuery(“.huge_it_slideshow_dots_1044”).removeClass(“huge_it_slideshow_dots_active_1044”).addClass(“huge_it_slideshow_dots_deactive_1044”);
\n jQuery(“#huge_it_dots_” + huge_it_current_key_1044 + “_1044”).removeClass(“huge_it_slideshow_dots_deactive_1044”).addClass(“huge_it_slideshow_dots_active_1044”);
\n return huge_it_fallback_1044(current_image_class, next_image_class, direction);
\n }
\n if (!huge_it_testBrowser_cssTransforms3d_1044()) {
\n return huge_it_fallback3d_1044(current_image_class, next_image_class, direction);
\n }
\n\t\t\t\/\/alert(current_image_class+’ ‘+next_image_class);
\n\t\t jQuery(current_image_class).css({‘z-index’: ‘none’});
\n jQuery(next_image_class).css({‘z-index’ : 2});
\n huge_it_trans_in_progress_1044 = true;
\n \/* Set active thumbnail.*\/
\n\t\tjQuery(“.huge_it_slideshow_dots_1044”).removeClass(“huge_it_slideshow_dots_active_1044”).addClass(“huge_it_slideshow_dots_deactive_1044”);
\n\t\tjQuery(“#huge_it_dots_” + huge_it_current_key_1044 + “_1044”).removeClass(“huge_it_slideshow_dots_deactive_1044”).addClass(“huge_it_slideshow_dots_active_1044”);
\n jQuery(“.huge_it_slide_bg_1044”).css(‘perspective’, 1000);
\n jQuery(current_image_class).css({
\n transform : ‘translateZ(‘ + tz + ‘px)’,
\n backfaceVisibility : ‘hidden’
\n }); <\/p> \n
\t\t jQuery(“.huge_it_slideshow_image_wrap_1044,.huge_it_slide_bg_1044,.huge_it_slideshow_image_item_1044,.huge_it_slideshow_image_second_item_1044 “).css(‘overflow’, ‘visible’); <\/p> \n
jQuery(next_image_class).css({
\n opacity : 1,
\n filter: ‘Alpha(opacity=100)’,
\n backfaceVisibility : ‘hidden’,
\n transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
\n });
\n jQuery(“.huge_it_slider_1044”).css({
\n transform: ‘translateZ(-‘ + tz + ‘px)’,
\n transformStyle: ‘preserve-3d’
\n });
\n \/* Execution steps.*\/
\n setTimeout(function () {
\n jQuery(“.huge_it_slider_1044”).css({
\n transition: ‘all ‘ + huge_it_transition_duration_1044 + ‘ms ease-in-out’,
\n transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
\n });
\n }, 20);
\n \/* After transition.*\/
\n jQuery(“.huge_it_slider_1044”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
\n function huge_it_after_trans() {
\n \/*if (huge_it_from_focus_1044) {
\n huge_it_from_focus_1044 = false;
\n return;
\n }*\/
\n\t\t jQuery(“.huge_it_slide_bg_1044,.huge_it_slideshow_image_item_1044,.huge_it_slideshow_image_second_item_1044 “).css(‘overflow’, ‘hidden’);
\n\t\t jQuery(“.huge_it_slide_bg_1044”).removeAttr(‘style’);
\n jQuery(current_image_class).removeAttr(‘style’);
\n jQuery(next_image_class).removeAttr(‘style’);
\n jQuery(“.huge_it_slider_1044”).removeAttr(‘style’);
\n\t\t \/\/ alert(current_image_class+’ ‘+next_image_class);
\n jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
\n jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
\n \/\/ huge_it_change_watermark_container_1044();
\n huge_it_trans_in_progress_1044 = false;
\n if (typeof event_stack_1044 !== ‘undefined’ && event_stack_1044.length > 0) {
\n key = event_stack_1044[0].split(“-“);
\n event_stack_1044.shift();
\n huge_it_change_image_1044(key[0], key[1], data_1044, true,false);
\n }
\n }
\n }
\n function huge_it_cubeH_1044(current_image_class, next_image_class, direction) {
\n \/* Set to half of image width.*\/
\n var dimension = jQuery(current_image_class).width() \/ 2;
\n if (direction == ‘right’) {
\n huge_it_cube_1044(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
\n }
\n else if (direction == ‘left’) {
\n huge_it_cube_1044(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
\n }
\n }
\n function huge_it_cubeV_1044(current_image_class, next_image_class, direction) {
\n \/* Set to half of image height.*\/
\n var dimension = jQuery(current_image_class).height() \/ 2;
\n \/* If next slide.*\/
\n if (direction == ‘right’) {
\n huge_it_cube_1044(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
\n }
\n else if (direction == ‘left’) {
\n huge_it_cube_1044(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
\n }
\n }
\n \/* For browsers that does not support transitions.*\/
\n function huge_it_fallback_1044(current_image_class, next_image_class, direction) {
\n huge_it_fade_1044(current_image_class, next_image_class, direction);
\n }
\n \/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*\/
\n function huge_it_fallback3d_1044(current_image_class, next_image_class, direction) {
\n huge_it_sliceV_1044(current_image_class, next_image_class, direction);
\n }
\n function huge_it_none_1044(current_image_class, next_image_class, direction) {
\n jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
\n jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2}); <\/p> \n
\/* Set active thumbnail.*\/
\n jQuery(“.huge_it_slideshow_dots_1044”).removeClass(“huge_it_slideshow_dots_active_1044”).addClass(“huge_it_slideshow_dots_deactive_1044”);
\n jQuery(“#huge_it_dots_” + huge_it_current_key_1044 + “_1044”).removeClass(“huge_it_slideshow_dots_deactive_1044”).addClass(“huge_it_slideshow_dots_active_1044”);
\n }
\n function huge_it_fade_1044(current_image_class, next_image_class, direction) {
\n\t\tif (huge_it_testBrowser_cssTransitions_1044()) { <\/p> \n
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_1044 + ‘ms linear’);
\n\t\t jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_1044 + ‘ms linear’);
\n jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
\n jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
\n }
\n else { <\/p> \n
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_1044);
\n jQuery(next_image_class).animate({
\n ‘opacity’ : 1,
\n ‘z-index’: 2
\n }, {
\n duration: huge_it_transition_duration_1044,
\n complete: function () {return false;}
\n });
\n \/\/ For IE.
\n jQuery(current_image_class).fadeTo(huge_it_transition_duration_1044, 0);
\n jQuery(next_image_class).fadeTo(huge_it_transition_duration_1044, 1);
\n } <\/p> \n
\t\tjQuery(“.huge_it_slideshow_dots_1044”).removeClass(“huge_it_slideshow_dots_active_1044”).addClass(“huge_it_slideshow_dots_deactive_1044”);
\n\t\tjQuery(“#huge_it_dots_” + huge_it_current_key_1044 + “_1044”).removeClass(“huge_it_slideshow_dots_deactive_1044”).addClass(“huge_it_slideshow_dots_active_1044”);
\n }
\n function huge_it_grid_1044(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
\n \/* If browser does not support CSS transitions.*\/
\n if (!huge_it_testBrowser_cssTransitions_1044()) {
\n\t\t\tjQuery(“.huge_it_slideshow_dots_1044”).removeClass(“huge_it_slideshow_dots_active_1044”).addClass(“huge_it_slideshow_dots_deactive_1044”);
\n jQuery(“#huge_it_dots_” + huge_it_current_key_1044 + “_1044”).removeClass(“huge_it_slideshow_dots_deactive_1044”).addClass(“huge_it_slideshow_dots_active_1044”);
\n return huge_it_fallback_1044(current_image_class, next_image_class, direction); <\/p> \n
}
\n huge_it_trans_in_progress_1044 = true;
\n \/* Set active thumbnail.*\/
\n\t\tjQuery(“.huge_it_slideshow_dots_1044”).removeClass(“huge_it_slideshow_dots_active_1044”).addClass(“huge_it_slideshow_dots_deactive_1044”);
\n jQuery(“#huge_it_dots_” + huge_it_current_key_1044 + “_1044”).removeClass(“huge_it_slideshow_dots_deactive_1044”).addClass(“huge_it_slideshow_dots_active_1044”);
\n \/* The time (in ms) added to\/subtracted from the delay total for each new gridlet.*\/
\n var count = (huge_it_transition_duration_1044) \/ (cols + rows);
\n \/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*\/
\n function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {
\n var delay = (c + r) * count;
\n \/* Return a gridlet elem with styles for specific transition.*\/
\n return jQuery(‘ <\/p> \n
function iterator_1044() {
\n var iterator = 1; <\/p> \n
return iterator;
\n } <\/p> \n
function huge_it_change_image_1044(current_key, key, data_1044, from_effect,clicked) { <\/p> \n
if (data_1044[key]) { <\/p> \n
\/*\t\t\tif(huge_video_playing[‘video_is_playing_’+1044] && !clicked){
\n\t\t\t\treturn false;
\n\t\t\t}*\/ <\/p> \n
if (!from_effect) {
\n \/\/ Change image key.
\n jQuery(“#huge_it_current_image_key_1044”).val(key);
\n \/\/ if (current_key == ‘-2’) { \/* Dots.*\/
\n\t\t\t\tcurrent_key = jQuery(“.huge_it_slideshow_dots_active_1044”).attr(“data-image_key”);
\n\t\t\t\/\/ }
\n } <\/p> \n
if (huge_it_trans_in_progress_1044) {
\n\t\t\t\/\/errorlogjQuery(“.huge_it_slideshow_image_wrap_1044″).after(” –IN TRANSACTION–
“);
\n event_stack_1044.push(current_key + ‘-‘ + key);
\n return;
\n } <\/p> \n
var direction = ‘right’;
\n if (huge_it_current_key_1044 > key) {
\n var direction = ‘left’;
\n }
\n else if (huge_it_current_key_1044 == key) {
\n return false;
\n } <\/p> \n
\/\/ Set active thumbnail position. <\/p> \n
huge_it_current_key_1044 = key;
\n \/\/Change image id, title, description.
\n jQuery(“#huge_it_slideshow_image_1044”).attr(‘data-image_id’, data_1044[key][“id”]); <\/p> \n
\t\t jQuery(“.huge_it_slideshow_title_text_1044”).html(data_1044[key][“alt”]);
\n jQuery(“.huge_it_slideshow_description_text_1044”).html(data_1044[key][“description”]); <\/p> \n
\t\t var current_image_class = “#image_id_1044_” + data_1044[current_key][“id”];
\n var next_image_class = “#image_id_1044_” + data_1044[key][“id”]; <\/p> \n
\t\t if(jQuery(current_image_class).find(‘.huge_it_video_frame_1044’).length>0) {
\n\t\t\tvar streffect=”slideH”;
\n\t\t\tif(streffect==”cubeV” || streffect==”cubeH” || streffect==”none” || streffect==”fade”){
\n\t\t\t\thuge_it_slideH_1044(current_image_class, next_image_class, direction);
\n\t\t\t}else{
\n\t\t\t\thuge_it_fade_1044(current_image_class, next_image_class, direction);
\n\t\t\t}
\n\t\t }else{
\n\t\t\t\thuge_it_slideH_1044(current_image_class, next_image_class, direction);
\n\t\t }\t <\/p> \n
\t\tjQuery(‘.huge_it_slideshow_title_text_1044’).removeClass(‘none’);
\n\t\tif(jQuery(‘.huge_it_slideshow_title_text_1044’).html()==””){jQuery(‘.huge_it_slideshow_title_text_1044’).addClass(‘none’);} <\/p> \n
\t\tjQuery(‘.huge_it_slideshow_description_text_1044’).removeClass(‘none’);
\n\t\tif(jQuery(‘.huge_it_slideshow_description_text_1044’).html()==””){jQuery(‘.huge_it_slideshow_description_text_1044’).addClass(‘none’);} <\/p> \n
\t\t jQuery(current_image_class).find(‘.huge_it_slideshow_title_text_1044’).addClass(‘none’);
\n\t\t jQuery(current_image_class).find(‘.huge_it_slideshow_description_text_1044’).addClass(‘none’); <\/p> \n
\t\t \/\/errorlogjQuery(“.huge_it_slideshow_image_wrap_1044”).after(“–cur-key=”+current_key+” –cur-img-class=”+current_image_class+” nxt-img-class=”+next_image_class+”–“);
\n\t\t\t huge_it_move_dots_1044();
\n\t\t\t\t\t\t\t\t\/*** for vimeo and youtube stop pause play etc… ***\/
\n\t\t\t\t\tvar nextVideo = jQuery(‘#video_id_1044_’+key).attr(‘data-element-id’);
\n\t\t\t\t\tvar currentVideo = jQuery(‘#video_id_1044_’+current_key).attr(‘data-element-id’);\/*** add ***\/
\n\t\t\t\t\t(currentVideo||nextVideo)&&stopYoutubeVideo(currentVideo,nextVideo);
\n\t\t\t\t\tif((jQuery(‘#player_1044_’+current_key)).hasClass(‘huge-it-iframe-vimeo’)) {
\n\t\t\t\t\t\tjQuery(‘#player_1044_’+current_key).vimeo(‘pause’);\t <\/p> \n
\t\t\t\t\t}
\n\t\t\t\t\tif((jQuery(‘#player_1044_’+key)).hasClass(‘huge-it-iframe-vimeo’) && (‘off’ == ‘on’)) {
\n\t\t\t\t\t\tjQuery(‘#player_1044_’+key).vimeo(‘play’);
\n\t\t\t\t\t}
\n\t\t\t\t\t\/*** ***\/
\n\t\t\twindow.clearInterval(huge_interval[‘huge_it_playInterval_’+1044]);
\n\t\t\tplay_1044();
\n } <\/p> \n
}
\n\t var staticthumbWidth;
\n jQuery(window).load(function(){
\n \t staticthumbWidth=jQuery(‘#huge_it_thumb_slider>li’).width() <\/p> \n
})
\n function huge_it_popup_resize_1044() { <\/p> \n
\t\tvar staticsliderwidth=600;
\n\t\tvar sliderwidth=600; <\/p> \n
\t\tvar thumbWidth=jQuery(“.huge_it_slideshow_thumbnails_1044”).width(); <\/p> \n
\t\t\/\/alert(thumbHeight)
\n\t\t\/\/alert(thumbWidth\/2)
\n\t\tvar bodyWidth=jQuery(window).width();
\n var parentWidth = jQuery(“.huge_it_slideshow_image_wrap_1044”).parent().width();
\n\t\t\/\/if responsive js late responsive.js @ take body size and not parent div
\n\t\tjQuery(“.huge_it_slideshow_thumbnails_1044”).css({height: 100});
\n\t\tif(sliderwidth>parentWidth){sliderwidth=parentWidth;}
\n\t\tif(sliderwidth>bodyWidth){sliderwidth=bodyWidth;}
\n\t\tvar str=(375\/staticsliderwidth); <\/p> \n
\t\t\tjQuery(“.huge_it_slideshow_thumbnails_1044”).css({width: thumbWidth}); <\/p> \n
\t\t\t\tvar str2=(100\/staticthumbWidth); <\/p> \n
\t\t\tjQuery(“.huge_it_slideshow_thumbnails_1044”).css({height: thumbWidth*str2});
\n\t\t\tjQuery(“.bx-viewport”).css({height: thumbWidth*str2}); <\/p> \n
\t\tjQuery(“.huge_it_slideshow_image_wrap_1044”).css({width: (sliderwidth)});
\n\t\tjQuery(“.huge_it_slideshow_image_wrap_1044”).css({height: ((sliderwidth) * str)}); <\/p> \n
\t\tjQuery(“.huge_it_slideshow_image_container_1044”).css({width: (sliderwidth)});
\n\t\tjQuery(“.huge_it_slideshow_image_container_1044”).css({height: ((sliderwidth) * str)}); <\/p> \n
\t\tif(“top”==”middle”){var titlemargintopminus=jQuery(“.huge_it_slideshow_title_text_1044”).outerHeight()\/2;}
\n\t\tif(“right”==”center”){var titlemarginleftminus=jQuery(“.huge_it_slideshow_title_text_1044”).outerWidth()\/2;}
\n\t\tjQuery(“.huge_it_slideshow_title_text_1044”).css({cssText: “margin-top:-” + titlemargintopminus + “px; margin-left:-“+titlemarginleftminus+”px;”}); <\/p> \n
\t\tif(“bottom”==”middle”){var descriptionmargintopminus=jQuery(“.huge_it_slideshow_description_text_1044”).outerHeight()\/2;}
\n\t\tif(“right”==”center”){var descriptionmarginleftminus=jQuery(“.huge_it_slideshow_description_text_1044”).outerWidth()\/2;}
\n\t\tjQuery(“.huge_it_slideshow_description_text_1044”).css({cssText: “margin-top:-” + descriptionmargintopminus + “px; margin-left:-“+descriptionmarginleftminus+”px;”});
\n\t\t jQuery(“#huge_it_loading_image_1044”).css({display: “none”});
\n jQuery(“.huge_it_slideshow_image_wrap1_1044”).css({display: “block”});
\n\t\t\t\tjQuery(“.huge_it_slideshow_image_wrap_1044”).removeClass(“nocolor”); <\/p> \n
\t\tif(“resize”==”resize”){
\n\t\t\tjQuery(“.huge_it_slideshow_image_1044, .huge_it_slideshow_image_container_1044 img”).css({
\n\t\t\t\tcssText: “width:” + sliderwidth + “px; height:” + ((sliderwidth) * str)\t+”px;”
\n\t\t\t});
\n\t\t}else {
\n\t\t\tjQuery(“.huge_it_slideshow_image_1044,.huge_it_slideshow_image_item2_1044”).css({
\n\t\t\tcssText: “max-width: ” + sliderwidth + “px !important; max-height: ” + (sliderwidth * str) + “px !important;”
\n\t\t });
\n\t\t} <\/p> \n
\t\tjQuery(‘.huge_it_video_frame_1044’).each(function (e) {
\n jQuery(this).width(sliderwidth);
\n jQuery(this).height(sliderwidth * str);
\n });
\n } <\/p> \n
jQuery(window).load(function () {
\n\t\tjQuery(window).resize(function() {
\n\t\t\thuge_it_popup_resize_1044();
\n\t\t}); <\/p> \n
\t\tjQuery(‘#huge_it_slideshow_left_1044’).on(‘click’,function(){
\n\t\t\thuge_it_change_image_1044(parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()) – iterator_1044()) >= 0 ? (parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()) – iterator_1044()) % data_1044.length : data_1044.length – 1, data_1044,false,true);
\n\t\t\treturn false;
\n\t\t}); <\/p> \n
\t\tjQuery(‘#huge_it_slideshow_right_1044’).on(‘click’,function(){
\n\t\t\thuge_it_change_image_1044(parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()) + iterator_1044()) % data_1044.length, data_1044,false,true);
\n\t\t\treturn false;
\n\t\t}); <\/p> \n
\t\thuge_it_popup_resize_1044();
\n \/* Disable right click.*\/
\n jQuery(‘div[id^=”huge_it_container”]’).bind(“contextmenu”, function () {
\n return false;
\n }); <\/p> \n
\t\t\/*HOVER SLIDESHOW*\/
\n\t\tjQuery(“#huge_it_slideshow_image_container_1044, .huge_it_slideshow_image_container_1044, .huge_it_slideshow_dots_container_1044,#huge_it_slideshow_right_1044,#huge_it_slideshow_left_1044”).hover(function(){
\n\t\t\t\/\/errorlogjQuery(“.huge_it_slideshow_image_wrap_1044″).after(” — hover —
“);
\n\t\t\tjQuery(“#huge_it_slideshow_right_1044”).css({‘display’:’inline’});
\n\t\t\tjQuery(“#huge_it_slideshow_left_1044”).css({‘display’:’inline’});
\n\t\t},function(){
\n\t\t\tjQuery(“#huge_it_slideshow_right_1044”).css({‘display’:’none’});
\n\t\t\tjQuery(“#huge_it_slideshow_left_1044″).css({‘display’:’none’});
\n\t\t});
\n\t\tvar pausehover=”on”;
\n\t\tif(pausehover==”on”){
\n\t\t\tjQuery(“#huge_it_slideshow_image_container_1044, .huge_it_slideshow_image_container_1044”).hover(function(){
\n\t\t\t\twindow.clearInterval(huge_interval[‘huge_it_playInterval_’+1044]);
\n\t\t\t},function(){
\n\t\t\t\twindow.clearInterval(huge_interval[‘huge_it_playInterval_’+1044]);
\n\t\t\t\tplay_1044();
\n\t\t\t});
\n\t\t}
\n play_1044();
\n });
\n\t\t\/\/var huge_play={}; <\/p> \n
function play_1044(){
\n \/* Play.*\/
\n\t\t\/\/errorlogjQuery(“.huge_it_slideshow_image_wrap_1044″).after(” — paly —- “);
\n huge_interval[‘huge_it_playInterval_’+1044] = setInterval(function () {
\n\t\t\t\/\/errorlogjQuery(“.huge_it_slideshow_image_wrap_1044″).after(” — time left —- “);
\n var iterator = 1;
\n huge_it_change_image_1044(parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()), (parseInt(jQuery(‘#huge_it_current_image_key_1044’).val()) + iterator) % data_1044.length, data_1044,false,false);
\n }, ‘5000’);
\n } <\/p> \n
jQuery(window).focus(function() {
\n \/*event_stack_1044 = [];*\/
\n var i_1044 = 0;
\n jQuery(“.huge_it_slider_1044”).children(“div”).each(function () {
\n if (jQuery(this).css(‘opacity’) == 1) {
\n jQuery(“#huge_it_current_image_key_1044”).val(i_1044);
\n }
\n i_1044++;
\n });
\n });
\n jQuery(window).blur(function() {
\n \/\/event_stack_1044 = [];
\n window.clearInterval(huge_interval[‘huge_it_playInterval_’+1044]);
\n });
\n jQuery(window).focus(function() {
\n \/\/event_stack_1044 = [];
\n\t\tplay_1044()
\n});\t <\/p> \n
\t.thumb_image{
\n\t\t position: absolute;
\n\t\t width: 100%;
\n\t\t height: 100%;
\n\t\t top: 0;
\n\t\t left:0;
\n\t}
\n\t.entry-content a{
\n\t\tborder-bottom: none !important;
\n\t}
\n\t.play-button-slider{
\n\t\ttop: 0px;
\n left: 0px;
\n width: 100%;
\n height: 100%;
\n\t}
\n\t.youtube-icon { position: absolute; <\/p> \n
background:url(https:\/\/15minutos.co\/mag\/wp-content\/plugins\/slider-image\/images\/play.youtube.png) center center no-repeat;background-size:14%;} <\/p> \n