(function(c){c('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=c(this.hash);e=e.length?e:c("[name="+this.hash.slice(1)+"]");if(e.length){c("html, body").animate({scrollTop:(e.offset().top-70)},1000,"easeInOutExpo");return false}}});c(".js-scroll-trigger").click(function(){c(".navbar-collapse").collapse("hide")});c("body").scrollspy({target:"#mainNav",offset:100});c(".prev-stall").click(function(){let curr=c(this).parent().parent().parent();let number=curr.attr("data-number");curr.addClass("d-none");c("#"+curr.attr("data-stallion")+"-card").removeClass("activated");let prev=curr.siblings(".detail-"+(number-1));prev.removeClass("d-none");c("#"+prev.attr("data-stallion")+"-card").addClass("activated");c("html,body").animate({scrollTop:c(this).offset().top},"slow")});c(".next-stall").click(function(){let curr=c(this).parent().parent().parent();let number=curr.attr("data-number");curr.addClass("d-none");c("#"+curr.attr("data-stallion")+"-card").removeClass("activated");let next=curr.siblings(".detail-"+(parseInt(number)+1));next.removeClass("d-none");c("#"+next.attr("data-stallion")+"-card").addClass("activated");c("html,body").animate({scrollTop:c(this).offset().top},"slow")});var b=function(){let mainNav=c("#mainNav");if(mainNav.offset().top>1){mainNav.addClass("navbar-shrink");c("#black-logo").addClass("display-none");c("#white-logo").removeClass("display-none")}else{mainNav.removeClass("navbar-shrink");c("#black-logo").removeClass("display-none");c("#white-logo").addClass("display-none")}};b();c(window).scroll(b);function d(){c(".about-extra-content").removeClass("d-none");c("#about-see-more").addClass("d-none");c("#about-see-normal .rotating-image-container").addClass("seeing-more");let change=c("#change-height");change.addClass("padding-medium");let half=c("#to-half");half.removeClass("h-100");half.addClass("h-50");c(".hide").addClass("d-none");c("#change-dimension-more").addClass("video-wrapper");c("#image-container-see-more").addClass("see-more")}function a(){c(".about-extra-content").addClass("d-none");c("#about-see-more").removeClass("d-none");c(".hide").removeClass("d-none");c("#about-see-normal .image-container").removeClass("seeing-more");c("#change-dimension-more").removeClass("video-wrapper");let change=c("#change-height");change.removeClass("padding-medium");let half=c("#to-half");half.removeClass("h-50");half.addClass("h-100");c("#image-container-see-more").removeClass("see-more")}c("#about-see-more").click(d);c("#about-see-less").click(a);let cards=c(".stallion-card");cards.each(function(){let style=document.createElement("style");style.type="text/css";let stall=c(this).attr("data-stallion");let detail=c("#"+stall+"-detail");let total;if(stall==="soberano"){total=54}else{if(stall==="idolo"){total=39}else{if(stall==="cesar"){total=28}else{total=43}}}style.innerHTML="@media (max-width: 992px) {#"+detail.attr("id")+".show {height:"+total+"rem;border-bottom: 2px solid #5b0002;margin-top:0.8rem; -webkit-transition: height 2s, margin-top 2s; -moz-transition: height 2s, margin-top 2s; -ms-transition: height 2s, margin-top 2s; -o-transition: height 2s, margin-top 2s; transition: height 2s, margin-top 2s;}}";document.getElementsByTagName("head")[0].appendChild(style)});cards.click(function(){let stall=c(this).attr("data-stallion");let detail=c("#"+stall+"-detail");if(window.innerWidth<992){c(".stallion-detail").not(detail[0]).removeClass("show");detail.toggleClass("show")}else{if(detail.hasClass("d-none")){c(".stallion-detail").addClass("d-none");detail.removeClass("d-none");c(".stallion-card").removeClass("activated");c(this).addClass("activated")}}});c(".detail-info").hover(function(){c(this).parent().find(".award-detail").addClass("view")},function(){c(this).parent().find(".award-detail").removeClass("view")});c(".animated-title").addClass("animate");setTimeout(function(){c(".fade-in").addClass("animate")},2400)})(jQuery);