PageSourceSearch

https://www.valberg.com/app/themes/theme_customer/public/scripts/customer.f5635a4b2b335172.js

js valberg.com collected 2026-10-02 10:36:31 UTC 9,584 bytes, 2 lines download raw bytes

1(()=>{"use strict";var e={
vendor: 663 bytes, line 1
1"./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/libraries/swiper-11/index.js":function(e,t,r){r.d(t,{Z:()=>n});class n{constructor(){throw Error("Use `await Swiper.create()` instead of `new Swiper()`")}static async create(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let{default:o}=await r.e("scripts/hc_swiper_v11").then(r.bind(r,"./node_modules/.pnpm/[email protected]/node_modules/swiper/swiper-bundle.mjs"));return await r.e("styles/hc_swiper_v11").then(r.bind(r,"./node_modules/.pnpm/[email protected]/node_modules/swiper/swiper-bundle.css")),new o(...t)}}}
1,jquery:function(e){e.exports=window.jQuery},"@wordpress/api-fetch":function(e){e.exports=window.wp.apiFetch},"@wordpress/i18n":function(e){e.exports=window.wp.i18n}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=function(e){return Promise.all(Object.keys(r.f).reduce(function(t,n){return r.f[n](e,t),t},[]))},r.k=function(e){return"chunks/"+e+".c9e8845977bccb8d.css"},r.u=function(e){return"chunks/"+e+"."+({"scripts/hc_lazyload":"9cfaa68e5700c10b","scripts/hc_swiper_v11":"0ee195c4db04bb6e","scripts/home.service":"f22fbbbba475badb","scripts/instagram-wall.action":"e1b224d736a0a19f","scripts/layout.service":"fc0e869e6951b2cf","styles/hc_swiper_v11":"85e19c1fbd2eaab5","vendors-node_modules_pnpm_easepick_bundle_1_2_1_node_modules_easepick_bundle_dist_index_esm_j-24ee4f":"93818bb093c994fc"})[e]+".js"},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e={},t="theme_customer:";r.l=function(n,o,s,a){if(e[n]){e[n].push(o);return}if(void 0!==s)for(var i,l,c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+s){i=u;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",t+s),i.src=n),e[n]=[o];var p=function(t,r){i.onerror=i.onload=null,clearTimeout(m);var o=e[n];if(delete e[n],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(r)}),t)return t(r)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}})(),r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.rv=function(){return"1.2.2"},(()=>{r.g.importScripts&&(e=r.g.location+"");var e,t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{var e={},t="theme_customer",n=(t,r)=>{e[r]=0},o="data-webpack-loading",s=function(e,n,s,a,i){var l,c,d="chunk-"+e;if(!a){for(var u=document.getElementsByTagName("link"),p=0;p<u.length;p++){var m=u[p],h=m.getAttribute("href")||m.href;if(h&&!h.startsWith(r.p)&&(h=r.p+(h.startsWith("/")?h.slice(1):h)),"stylesheet"==m.rel&&(h&&h.startsWith(n)||m.getAttribute("data-webpack")==t+":"+d)){l=m;break}}if(!s)return l}l||(c=!0,l=document.createElement("link"),r.nc&&l.setAttribute("nonce",r.nc),l.setAttribute("data-webpack",t+":"+d),i&&l.setAttribute("fetchpriority",i),l.setAttribute(o,1),l.rel="stylesheet",l.href=n);var b=function(e,t){if(l.onerror=l.onload=null,l.removeAttribute(o),clearTimeout(f),t&&"load"!=t.type&&l.parentNode.removeChild(l),s(t),e)return e(t)};if(l.getAttribute(o)){var f=setTimeout(b.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=b.bind(null,l.onerror),l.onload=b.bind(null,l.onload)}else b(void 0,{type:"load",target:l});return a?document.head.insertBefore(l,a):c&&document.head.appendChild(l),l};r.f.css=function(t,o,a){var i=r.o(e,t)?e[t]:void 0;if(0!==i){if(i)o.push(i[2]);else if("styles/hc_swiper_v11"==t){var l=new Promise(function(r,n){i=e[t]=[r,n]});o.push(i[2]=l);var c=r.p+r.k(t),d=Error();s(t,c,function(o){if(r.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){if("load"!==o.type){var s=o&&o.type,a=o&&o.target&&o.target.src;d.message="Loading css chunk "+t+" failed.\n("+s+": "+a+")",d.name="ChunkLoadError",d.type=s,d.request=a,i[1](d)}else n(r.m,t),i[0]()}},void 0,a)}else e[t]=0}}})(),(()=>{var e={"scripts/customer":0};r.f.j=function(t,n){var o=r.o(e,t)?e[t]:void 0;if(0!==o){if(o)n.push(o[2]);else{var s=new Promise(function(r,n){o=e[t]=[r,n]});n.push(o[2]=s);var a=r.p+r.u(t),i=Error();r.l(a,function(n){if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var s=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+s+": "+a+")",i.name="ChunkLoadError",i.type=s,i.request=a,o[1](i)}},"chunk-"+t,t)}}};var t=function(t,n){var o,s,a=n[0],i=n[1],l=n[2],c=0;if(a.some(function(t){return 0!==e[t]})){for(o in i)r.o(i,o)&&(r.m[o]=i[o]);l&&l(r)}for(t&&t(n);c<a.length;c++)s=a[c],r.o(e,s)&&e[s]&&e[s][0](),e[s]=0},n=self.webpackChunktheme_customer=self.webpackChunktheme_customer||[];
1n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.ruid="[email protected]",(()=>{var e=r("./node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@iris.interactive/handcook/public/scripts/libraries/swiper-11/index.js"),t=r("jquery");class n{constructor(){n.init()}static async init(){let r="[data-banner-video]",n="[data-banner-slider]";if(t(r).length>0&&window.matchMedia("(min-width: 1001px)").matches){let e=document.createElement("video"),n=document.createElement("source");n.type=t(r).data("banner-video-type"),n.src=t(r).data("banner-video-src"),e.muted=!0,e.loop=!0,e.appendChild(n),t(r).append(e),e.play()}else t(n).length>0&&(t(`${n}> *`).wrapAll('<div class="swiper-wrapper"></div>').addClass("swiper-slide"),await e.Z.create(n,{slidesPerView:"auto",autoplay:{delay:4e3},pagination:{el:"#swiper-banner-pagination",type:"bullets",clickable:!0},effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:"#swiper-banner-next",prevEl:"#swiper-banner-prev"},mousewheel:{forceToAxis:!0},grabCursor:!0,loop:!0}))}}var o=r("jquery");class s{constructor(){s.sticky(),s.burger(),s.langsSwitcher()}static sticky(){let e=0;o(window).on("load scroll",function(){let t=o('[data-id="wpiris-navbar"]'),r=o('[data-id="hide-to-scroll"]'),n=o(this).scrollTop(),a=!1;n>=e&&n>t.outerHeight()?o("body").addClass("header-is-hidden"):o("body").removeClass("header-is-hidden"),o("body.has-banner").length>0&&(a=!0),e=n,n>100?(t.removeClass("navbar--ontop"),r.removeClass("sidebar--ontop"),t.addClass("navbar--onscroll"),r.addClass("sidebar--onscroll"),!0===a&&s.changeLogoColor("classic")):(t.removeClass("navbar--onscroll"),r.removeClass("sidebar--onscroll"),t.addClass("navbar--ontop"),r.addClass("sidebar--ontop"),!0===a&&s.changeLogoColor("banner"))})}static changeLogoColor(e){let t,r;let n=o('[data-id="wpiris-logo"]');t=IRISCollectionCustomer.imageLogoBanner,r=IRISCollectionCustomer.imageLogo,"banner"===e?n.attr("src",t):"classic"===e&&n.attr("src",r)}static burger(){let e=o("body"),t='[data-trigger="wpiris-menu-submenu"]',r='[data-id="eco-bar"]';o('[data-trigger="wpiris-menu-toggle"]').on("click",()=>{e.toggleClass("menu-open"),o(r).hasClass("eco-bar--hidden")||o(r).addClass("eco-bar--hidden"),e.hasClass("menu-open")||(e.removeClass("is-submenu-open"),o(t).removeClass("submenu-open")),o("body.menu-open").length>0&&window.matchMedia("(max-width: 650px)").matches?s.changeLogoColor("banner"):o(".navbar--ontop").length>0&&o("body.has-banner").length>0?s.changeLogoColor("banner"):s.changeLogoColor("classic")}),o('[data-trigger="wpiris-menu-more"]').on("click",function(){o(this).next(t).toggleClass("submenu-open"),e.addClass("is-submenu-open")}),o('[data-trigger="wpiris-menu-prev"]').on("click",r=>{r.preventDefault(),o(t).removeClass("submenu-open"),e.removeClass("is-submenu-open")})}static langsSwitcher(){let e=o(".lang__current"),t=o(".lang__list");o(e).on("click",()=>{o('[data-id="list-lang"]').toggleClass("lang__list--open")}),o(t).on("click",()=>{o(t).toggleClass("lang__list--open"),setTimeout(()=>{let e=o("html").attr("lang");o(".current__lang").html(e.substr(0,2))},"1000")}),setTimeout(()=>{let e=o("html").attr("lang");o(".current__lang").html(e.substr(0,2))},"1000")}}var a=r("jquery");document.addEventListener("DOMContentLoaded",()=>{new n,new s,IRISCollectionCustomer.isFrontPage&&Promise.all([r.e("vendors-node_modules_pnpm_easepick_bundle_1_2_1_node_modules_easepick_bundle_dist_index_esm_j-24ee4f"),r.e("scripts/home.service")]).then(r.bind(r,"./resources/assets/scripts/services/home.service.js")).then(e=>{let{default:t}=e;new t}),a(".fullscreen").length>0&&r.e("scripts/layout.service").then(r.bind(r,"./resources/assets/scripts/services/layout.service.js")).then(e=>{let{default:t}=e;new t})})})()})();
2//# sourceMappingURL=customer.f5635a4b2b335172.js.map

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.