PageSourceSearch

https://sjk.fi/wp-content/plugins/dg-product-carousel/scripts/frontend-bundle.min.js?ver=2.0.1

js sjk.fi collected 2026-10-02 12:57:11 UTC 7,688 bytes, 1 lines download raw bytes

1!function(e){var t={};function o(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o(o.s=38)}({1:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={extend:function(e,t){var o,n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},process_margin_padding:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.extend({props:{},key:"",additionalCss:"",selector:"",type:""},e),o=t.props,n=t.key,a=t.additionalCss,r=t.selector,c=t.type,i=o[n],s=o[n+"_tablet"],l=o[n+"_phone"];if(i&&""!==i){var p=i.split("|");a.push([{selector:r,declaration:"".concat(c,"-top: ").concat(p[0],"!important;\n                ").concat(c,"-right: ").concat(p[1],"!important;\n                ").concat(c,"-bottom: ").concat(p[2],"!important;\n                ").concat(c,"-left: ").concat(p[3],"!important;")}])}if(s&&""!==s){var d=s.split("|");a.push([{selector:r,declaration:"".concat(c,"-top: ").concat(d[0],"!important;\n                ").concat(c,"-right: ").concat(d[1],"!important;\n                ").concat(c,"-bottom: ").concat(d[2],"!important;\n                ").concat(c,"-left: ").concat(d[3],"!important;"),device:"tablet"}])}if(l&&""!==l){var u=l.split("|");a.push([{selector:r,declaration:"".concat(c,"-top: ").concat(u[0],"!important;\n                ").concat(c,"-right: ").concat(u[1],"!important;\n                ").concat(c,"-bottom: ").concat(u[2],"!important;\n                ").concat(c,"-left: ").concat(u[3],"!important;"),device:"phone"}])}if(o[n+"__hover_enabled"]&&o.hover_enabled&&1==o.hover_enabled&&o[n+"__hover"]){var _=o[n+"__hover"].split("|");a.push([{selector:r,declaration:"".concat(c,"-top: ").concat(_[0],"!important;\n                        ").concat(c,"-right: ").concat(_[1],"!important;\n                        ").concat(c,"-bottom: ").concat(_[2],"!important;\n                        ").concat(c,"-left: ").concat(_[3],"!important;")}])}},apply_single_value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",unit:"%",default_value:"",decrease:!1,addition:!0},e),o=t.props,n=t.key,a=t.additionalCss,r=t.selector,c=t.type,i=t.unit,s=t.default_value,l=t.decrease,p=t.addition,d=!o[n]&&s?s:parseInt(o[n]),u=!1===l?d:100-d,_=!1===l?parseInt(o[n+"_tablet"]):100-parseInt(o[n+"_tablet"]),f=!1===l?parseInt(o[n+"_phone"]):100-parseInt(o[n+"_phone"]),b=!1===p?"-":"";_=b+_+i,f=b+f+i,(u=b+u+i)&&""!==u&&a.push([{selector:r,declaration:"".concat(c,": ").concat(u,";")}]),_&&""!==_&&a.push([{selector:r,declaration:"".concat(c,": ").concat(_,";"),device:"tablet"}]),f&&""!==f&&a.push([{selector:r,declaration:"".concat(c,": ").concat(f,";"),device:"phone"}])},process_color:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",important:!1},e),o=t.props,n=t.key,a=t.additionalCss,r=t.selector,c=t.type,i=t.important,s=o[n],l=o[n+"__hover"],p=!0===i?"!important":"";""!==s&&a.push([{selector:r,declaration:"".concat(c,": ").concat(s+p,";")}]),o[n+"__hover_enabled"]&&o.hover_enabled&&1==o.hover_enabled&&o[n+"__hover"]&&a.push([{selector:r,declaration:"".concat(c,": ").concat(l+p,";")}])},process_header_level:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=o?'class="'.concat(o,'"'):"";return{__html:"<".concat(t," ").concat(n,">").concat(e,"</").concat(t,">")}},background_image_options:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={};return["bg_enable_image","bg_image","bg_position","bg_repeat","bg_size","bg_blend"].map(function(n){o[n]=!0===t?e+"_"+n+"__hover":e+"_"+n}),o},background_position_values:function(e){return e?e.replace("_"," "):e},process_bg_props:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return"background-image: url(".concat(e[t.bg_image],") ").concat(o,";\n            background-size: ").concat(e[t.bg_size]," ").concat(o,";\n            background-position: ").concat(this.background_position_values(e[t.bg_position])," ").concat(o,";\n            background-repeat: ").concat(e[t.bg_repeat]," ").concat(o,";\n            background-blend-mode: ").concat(e[t.bg_blend]," ").concat(o,";")},fix_background_image:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.extend({props:{},key:"",additionalCss:"",selector:"",important:!1},e),o=t.props,n=t.key,a=t.additionalCss,r=t.selector,c=t.important,i=this.background_image_options(n),s=this.background_image_options(n,!0),l=!0===c?"!important":"";"on"===o[i.bg_enable_image]&&a.push([{selector:r,declaration:this.process_bg_props(o,i,l)}]),o.hover_enabled&&1==o.hover_enabled&&a.push([{selector:r,declaration:this.process_bg_props(o,s,l)}]),console.log(o)},custom_background_css:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.extend({props:{},key:"",additionalCss:"",selector:"",important:!1},e),o=t.props,n=t.key,a=t.additionalCss,r=t.selector,c=!0===t.important?"!important":"",i=o[n+"_bgcolor"];a.push([{selector:r,declaration:"background-color: ".concat(i," ").concat(c)}]),o.hover_enabled&&1==o.hover_enabled&&a.push([{selector:r,declaration:"background-color: ".concat(i," ").concat(c)}])}};t.default=n},2:function(e,t){},38:function(e,t,o){o(2),o(1),e.exports=o(39)},39:function(e,t){jQuery(function(e){e(".dgpc_product_carousel").each(function(t,o){var n=o.querySelector(".dgpc-container");if(n){var a=o.querySelector(".swiper-container");if(a){var r=n.dataset||{},c=function(e,t){var o=r[e];return void 0===o||null===o||""===o?t:o},i="on"==c("arrow","off")&&{nextEl:".sbn"+c("order",""),prevEl:".sbp"+c("order","")},s="on"==c("dots","off")&&{el:".sp"+c("order",""),clickable:!0},l=Number(String(c("spacebetween","0")).replace(/[^0-9.]/g,""))||0,p={rotate:Number(parseInt(c("coverflow","50"),10))||50,stretch:0,depth:100,modifier:1,slideShadows:"off"!==c("shadow","off")};e(this).find(".products").addClass("dg-products"),e(this).find(".products").removeClass("products");var d=Number(c("slidesperview","4"))||4,u=Number(c("tablet","3"))||3,_=Number(c("mobile","1"))||1,f="on"==c("multislide","off"),b=new Swiper(a,{slidesPerView:d,slidesPerGroup:f?d:1,spaceBetween:l>0?l:0,speed:Number(c("transition","500"))||500,loop:"on"==c("loop","off"),centeredSlides:"on"==c("center","off"),autoplay:"on"==c("autoplay","off")&&{delay:Number(c("autospeed","3000"))||3e3,disableOnInteraction:!1},slideClass:"product",wrapperClass:"dg-products",navigation:i,pagination:s,effect:c("effect","slide"),coverflowEffect:"coverflow"==c("effect","slide")?p:null,setWrapperSize:!0,observer:!0,observeParents:!0,observeSlideChildren:!0,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,touchMoveStopPropagation:!0,threshold:15,breakpoints:{981:{slidesPerView:d,slidesPerGroup:f?d:1},768:{slidesPerView:u,slidesPerGroup:f?u:1},1:{slidesPerView:_,slidesPerGroup:f?_:1}}});"on"==c("hoverpause","off")&&"on"==c("autoplay","off")&&(a.addEventListener("mouseover",function(){b&&b.autoplay&&b.autoplay.stop()}),a.addEventListener("mouseout",function(){b&&b.autoplay&&b.autoplay.start()}))}}})})}});

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.