PageSourceSearch

https://statics.3cat.cat/js/modul-destacatsgrafics.sx3.min.js?v=7.2609.5

js 3cat.cat collected 2026-09-24 09:02:27 UTC 3,800 bytes, 1 lines download raw bytes

1!function(e){"use strict";e.add({name:"dg_sx3",className:"M-dG-sx3",pageSize:5,initialize:function(){this.BaseModul.prototype.initialize.apply(this,arguments),"dgProgramesTemporadesStandalone"===this.$el[0].id&&$(document).on("SelectorTemporadaChanged",_.bind(function(e,s){this.refrescaTemporada(s)},this)),this.recalculaAlcadesModul()},events:{refresca:"refrescaSwiper"},refrescaSwiper:function(){this.swiper.update()},refrescaTemporada:function(e){var s="https://www.3cat.cat/Ccma/standalone/tv3_sx3_item_video_temporades/destacatsgrafics/dgTemporades"+e.regles_temporada+"/"+e.id_temporada+"/"+e.id_programa+"/";this.refrescaStandalone(s,_.bind(function(){this.recalculaAlcadesModul(),window.dispatchEvent(new Event("resize")),$(document).trigger("RefrescaModul","spm-punt-reproduccio")},this))},recalculaAlcadesModul:function(){this.pageSize=this.$el.data().pageSize;var e,s,i=this,t=4,r=parseInt(this.$el.attr("data-phoneoverride"),10);this.$el.width()<1340&&(t=3),e={5000:{slidesPerGroup:4,slidesPerView:4},767:{slidesPerGroup:2,slidesPerView:2.5,spaceBetween:12},480:{slidesPerGroup:1,slidesPerView:1.5,spaceBetween:12}},r>0&&r<3&&(e[480].slidesPerView=r<2?r+.2:r+.4),this.$el.hasClass("C-rodoFiguratiu")?e={5000:{slidesPerGroup:4,slidesPerView:4},767:{slidesPerGroup:3,slidesPerView:3.2,spaceBetween:12},568:{slidesPerGroup:2,slidesPerView:2.3,spaceBetween:12}}:this.$el.hasClass("C-fotoQuadrat")?e={5000:{slidesPerGroup:6,slidesPerView:6},1920:{slidesPerGroup:5,slidesPerView:5},1024:{slidesPerGroup:4,slidesPerView:4},767:{slidesPerGroup:3,slidesPerView:3,spaceBetween:12},568:{slidesPerGroup:2,slidesPerView:2.3,spaceBetween:12}}:this.$el.hasClass("C-appSuper3")?e={1023:{slidesPerView:3.7,spaceBetween:28},1920:{slidesPerView:2.7,spaceBetween:28}}:this.$el.hasClass("C-fotoGran")&&(e={5000:{slidesPerGroup:this.$el.hasClass("C-4items")?4:6,slidesPerView:this.$el.hasClass("C-4items")?4:6},1024:{slidesPerGroup:this.$el.hasClass("C-4items")?4:5,slidesPerView:this.$el.hasClass("C-4items")?4:5},767:{slidesPerGroup:3,slidesPerView:3.5,spaceBetween:12},480:{slidesPerGroup:2,slidesPerView:2.5,spaceBetween:12}}),window.Moduls&&window.Moduls.login&&window.Moduls.login.isLogged()&&void 0!==window.ResumeMedia&&this.$el.find("[data-idint]").each(function(){var e=$
1(this).data("idint"),s=$(this).data("durada"),i=this;e&&s&&window.ResumeMedia.getItem({id:e,tipology:"DTY_VIDEO_MM"}).then(function(e){if(e&&"0"!==e.tc){var[t,r,a]=s.split(":"),o=60*+t*60+60*+r+ +a,d=e.tc/o*100;$(i).find(".thumb-pict-container").append('<div class="delayedbar"><div class="delayedprogress" style="width: '+d+'%"></div></div>')}})}),$(window).on("resize orientationchange load",function(){clearTimeout(s),s=setTimeout(function(){i.swiper.update()},200)}),this.swiper=new Swiper(this.$el.find(".swiper-container"),{nextButton:this.$el.find(".swiper-button-next"),prevButton:this.$el.find(".swiper-button-prev"),direction:"horizontal",slidesPerView:"auto",slidesPerGroup:t,spaceBetween:16,breakpoints:e,loop:!1,loopFillGroupWithBlank:!1,resistanceRatio:.75,preloadImages:!1,watchSlidesVisibility:!0,watchSlidesProgress:!0,mousewheelControl:!1,freeMode:!0,freeModeMinimumVelocity:.2,freeModeMomentumVelocityRatio:1.5,freeModeMomentumRatio:1.5,pagination:{el:this.$el.find(".swiper-pagination"),clickable:!0},navigation:{nextEl:this.$el.find(".swiper-button-next"),prevEl:this.$el.find(".swiper-button-prev")},watchOverflow:!0,buttonDisabledClass:"esta-desactivat",simulateTouch:!1}),this.swiper.on("progress",function(e,s){var t,r=$(i.swiper.wrapper[0]).parent();try{t=e}catch(e){console.error(t)}0===s?(r.addClass("swiper-top"),r.toggleClass("swiper-both",r.height()>=$(i.swiper.wrapper[0]).height())):r.removeClass("swiper-top"),1===s?r.addClass("swiper-bottom"):r.removeClass("swiper-bottom")})}})}(ModulJitpub);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.