PageSourceSearch

https://www.cchacares.com/assets/vuejs/php-carousel.min.js?v=133081055849991593

js cchacares.com collected 2026-09-24 12:43:44 UTC 9,001 bytes, 1 lines download raw bytes

1"use strict";var PhpCarousel=function(n){function u(n,t,i,r,u,f,e,o,s,h){var c,l,v,a;return typeof e!="boolean"&&(s=o,o=e,e=!1),c=typeof i=="function"?i.options:i,n&&n.render&&(c.render=n.render,c.staticRenderFns=n.staticRenderFns,c._compiled=!0,u&&(c.functional=!0)),r&&(c._scopeId=r),f?(l=function(n){n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext;n||typeof __VUE_SSR_CONTEXT__=="undefined"||(n=__VUE_SSR_CONTEXT__);t&&t.call(this,s(n));n&&n._registeredComponents&&n._registeredComponents.add(f)},c._ssrRegister=l):t&&(l=e?function(n){t.call(this,h(n,this.$root.$options.shadowRoot))}:function(n){t.call(this,o(n))}),l&&(c.functional?(v=c.render,c.render=function(n,t){return l.call(t),v(n,t)}):(a=c.beforeCreate,c.beforeCreate=a?[].concat(a,l):[l])),i}function f(){return function(n,t){return p(n,t)}}function p(n,t){var s=y?t.media||"default":n,i=e[s]||(e[s]={ids:new Set,styles:[]}),u;if(!i.ids.has(n))if(i.ids.add(n),u=t.source,t.map&&(u+="\n/*# sourceURL="+t.map.sources[0]+" */",u+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),r===undefined&&(r=document.head||document.getElementsByTagName("head")[0]),r.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(u),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var o=i.ids.size-1,h=document.createTextNode(u),f=i.element.childNodes;f[o]&&i.element.removeChild(f[o]);f.length?i.element.insertBefore(h,f[o]):i.element.appendChild(h)}}function i(n){i.installed||(i.installed=!0,n.component("PhpCarousel",s),n.component("PhpCarouselItem",c))}var v={name:"php-carousel",props:{id:{type:String,required:!0},color:{type:String,"default":"php-blue"}},data:function(){return{baseConfig:{autoplay:!1,infinite:!0,adaptiveHeight:!0},pageCollection:$()}},mounted:function(){this.init(".js-carousel");var n=this.color;$(this.$el).slick("setOption","customPaging",function(t,i){var r=$(t.$slides[i]).data("title");return'<i class="u-dot-line-v1 g-brd-gray-light-v4--before g-brd-gray-light-v4--after g-my-20">\n                            <span class="u-dot-line-v1__inner g-bg-white g-bg-'+n+"--before g-brd-gray-light-v4 g-brd-"+n+'--active g-transition--ease-in g-transition-0_2"><\/span>\n                        <\/i>\n                        <span class="g-hidden-sm-down g-color-black g-font-size-15">'+r+"<\/span>"},!0)},methods:{init:function(n,t){if(this.collection=n&&$(n).length?$(n):$(),$(n).length)return this.config=t&&$.isPlainObject(t)?$.extend({},this.baseConfig,t):this.baseConfig,this.config.itemSelector=n,this.initCarousel(),this.pageCollection},initCarousel:function(){var n=this,i=n.config,t=n.pageCollection;this.collection.each(function(i,r){var u=$(r),c=u.attr("id"),a=u.data("nav-for"),v=u.data("is-thumbs"),f=u.data("arrows-classes"),ut=u.data("arrow-left-classes"),ft=u.data("arrow-right-classes"),y=u.data("pagi-classes"),et=u.data("pagi-helper"),e=u.data("pagi-icons"),ot='<div class="js-prev '+f+" "+ut+'"><\/div>',st='<div class="js-next '+f+" "+ft+'"><\/div>',l=u.data("slides-show"),p=u.data("slides-scroll"),ht=u.data("autoplay"),w=u.data("animation"),b=u.data("easing"),ct=u.data("fade"),k=u.data("speed"),d=u.data("rows"),lt=u.data("center-mode"),g=u.data("center-padding"),at=u.data("pause-hover"),vt=u.data("variable-width"),nt=u.data("initial-slide"),tt=u.data("vertical"),yt=u.data("rtl"),o=u.data("in-effect"),s=u.data("out-effect"),pt=u.data("infinite"),it=u.data("title-pos-inside"),wt=u.data("focus-on-select"),rt=u.data("lazy-load"),bt=u.data("adaptive-height"),h=u.data("numbered-pagination"),kt=JSON.parse(r.getAttribute("data-responsive"));u.find("[data-slide-type]").length&&n.videoSupport(u);u.on("init",function(n,t){$(t.$slides).css("height","auto");v&&l>=$(t.$slides).length&&u.addClass("slick-transform-off")});if(o&&s)u.on("init",function(n,t){$(t.$slides).addClass("single-slide")});if(et)u.on("init",function(){var n=u.find(".js-pagination");n.length&&n.append('<span class="u-dots-helper"><\/span>')});if(v)$("#"+c).on("click",".slick-slide",function(n){n.stopPropagation();var t=$(this).data("slick-index");$("#"+c).slick("slickCurrentSlide")!==t&&$("#"+c).slick("slickGoTo",t)});u.on("init",function(){var n=u.find(".js-pagination");n.length&&$(n[0].children[0]).addClass("slick-current")});u.on("init",function(n,t){var i=$(t.$slides)[0],r=$(i).find("[data-scs-animation-in]");$(r).each(function(){var n=$(this).data("scs-animation-in");$(this).addClass("animated "+n).css("opacity",1)})});if(h)u.on("init",function(n,t){$(h).text("1/"+t.slideCount)});u.slick({autoplay:ht?!0:!1,autoplaySpeed:k?k:3e3,cssEase:w?w:"ease",easing:b?b:"linear",fade:ct?!0:!1,infinite:pt?!0:!1,initialSlide:nt?nt-1:0,slidesToShow:l?l:1,slidesToScroll:p?p:1,centerMode:lt?!0:!1,variableWidth:vt?
1!0:!1,pauseOnHover:at?!0:!1,rows:d?d:1,vertical:tt?!0:!1,verticalSwiping:tt?!0:!1,rtl:yt?!0:!1,centerPadding:g?g:0,focusOnSelect:wt?!0:!1,lazyLoad:rt?rt:!1,asNavFor:a?a:!1,prevArrow:f?ot:!1,nextArrow:f?st:!1,dots:y?!0:!1,dotsClass:"js-pagination "+y,adaptiveHeight:!!bt,customPaging:function(n,t){var i=$(n.$slides[t]).data("title");return i&&e?"<span>"+i+"<\/span>"+e:e?"<span><\/span>"+e:i&&it?"<span>"+i+"<\/span>":i&&!it?'<span><\/span><strong class="u-dot-title">'+i+"<\/strong>":"<span><\/span>"},responsive:kt});u.on("beforeChange",function(n,t,i,r){var e=$(t.$slides)[r],o=$(t.$slides)[i],f=u.find(".js-pagination"),s=$(e).find("[data-scs-animation-in]"),h=$(o).find("[data-scs-animation-in]");($(h).each(function(){var n=$(this).data("scs-animation-in");$(this).removeClass("animated "+n)}),$(s).each(function(){$(this).css("opacity",0)}),f.length)&&(i>r?($(f[0].children).removeClass("slick-active-right"),$(f[0].children[r]).addClass("slick-active-right")):$(f[0].children).removeClass("slick-active-right"),$(f[0].children).removeClass("slick-current"),setTimeout(function(){$(f[0].children[r]).addClass("slick-current")},.25))});if(h)u.on("beforeChange",function(n,t,i,r){var u=(r?r:0)+1;$(h).text(u+"/"+t.slideCount)});u.on("afterChange",function(n,t,i){var r=$(t.$slides)[i],u=$(r).find("[data-scs-animation-in]");$(u).each(function(){var t=$(this).data("scs-animation-in"),i=$(this).data("scs-animation-delay"),n=$(this).data("scs-animation-duration");console.log(n);$(this).css({"animation-delay":i+"ms","animation-duration":n+"ms"});$(this).addClass("animated "+t).css("opacity",1)})});if(o&&s){u.on("afterChange",function(n,t){$(t.$slides).removeClass("animated set-position "+o+" "+s)});u.on("beforeChange",function(n,t,i){$(t.$slides[i]).addClass("animated "+s)});u.on("setPosition",function(n,t){$(t.$slides[t.currentSlide]).addClass("animated set-position "+o)})}t=t.add(u)})},videoSupport:function(n){if(n.length)n.on("beforeChange",function(n,t,i){var u=$(t.$slides[i]).data("slide-type"),f=$(t.$slides[i]).find("iframe").get(0),r;if(u=="vimeo")r={method:"pause",value:"true"};else if(u=="youtube")r={event:"command",func:"pauseVideo"};else return!1;f!=undefined&&f.contentWindow.postMessage(JSON.stringify(r),"*")})}}},y=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()),r,e={},w=v,o=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{directives:[{name:"php-boxshadow",rawName:"v-php-boxshadow",value:"large",expression:"'large'"}],staticClass:"js-carousel g-rounded-5",attrs:{id:n.id,"data-infinite":"true","data-pagi-classes":"js-pagination u-carousel-indicators-v30 g-px-0 g-pt-30 g-pos-abs g-top-0"}},[n._t("default")],2)},l,t,a;o._withStripped=!0;var b=function(n){n&&n("data-v-408b5c91_0",{source:"\n\n/*# sourceMappingURL=php-carousel.vue.map */",map:{version:3,sources:["php-carousel.vue"],names:[],mappings:";;AAEA,2CAA2C",file:"php-carousel.vue"},media:undefined})},k=undefined,s=u({render:o,staticRenderFns:[]},b,w,"data-v-408b5c91",!1,k,!1,f,undefined,undefined),d={name:"php-carousel-item",props:{title:{type:String,required:!0}}},g=d,h=function(){var n=this,i=n.$createElement,t=n._self._c||i;return t("div",{staticClass:"js-slide g-pt-90",attrs:{"data-title":n.title}},[t("div",{staticClass:"row no-gutters"},[t("div",{staticClass:"col-lg-12 g-pa-60"},[t("h5",{staticClass:"g-hidden-md-up"},[n._v(n._s(n.title))]),n._v(" "),n._t("default")],2)])])};h._withStripped=!0;var nt=function(n){n&&n("data-v-44e1cb39_0",{source:"\n\n/*# sourceMappingURL=php-carousel-item.vue.map */",map:{version:3,sources:["php-carousel-item.vue"],names:[],mappings:";;AAEA,gDAAgD",file:"php-carousel-item.vue"},media:undefined})},tt=undefined,c=u({render:h,staticRenderFns:[]},nt,g,"data-v-44e1cb39",!1,tt,!1,f,undefined,undefined);return l={install:i},t=null,typeof window!="undefined"?t=window.Vue:typeof global!="undefined"&&(t=global.Vue),t&&t.use(l),a={components:{componentCarousel:s,componentCarouselItem:c}},n["default"]=a,n.install=i,n}({});

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.