PageSourceSearch

https://misterzimi.com/cdn/shop/t/693/assets/section.hero-slider.min.js?v=133107944947852772961790134741

js misterzimi.com collected 2026-09-25 18:17:45 UTC 5,732 bytes, 1 lines download raw bytes

1(()=>{"use strict";var x={523:(t,s,e)=>{var a=e(8111),r=e(7588),n=e(8335),l=e(7462),h=e(2522),f=e.n(h),y=e(5551);const S=v=>{v.forEach(_=>{const p=_.querySelectorAll("button, a, input, select, textarea");_.ariaHidden==="true"?p.forEach(b=>{b.tabIndex=-1}):p.forEach(b=>{b.tabIndex=0})})},u={sliderContainer:"[data-slider-container]",slide:"[data-slide]",prevButton:"[data-prev-btn]",nextButton:"[data-next-btn]",videoWithControls:"[data-video-with-controls]",playButton:"[data-video-play]",volumeButton:"[data-video-volume]",videoSlide:"[data-video-slide]",videoWrapper:"[data-background-video]",video:"[data-video]"},d={singleSlide:"single-slide",selectedSlide:"is-selected",videoPlaying:"video-playing",playActive:"video__play-control--play",pauseActive:"video__play-control--pause",muteActive:"video__volume-control--mute",unmuteActive:"video__volume-control--unmute",isVisible:"is-visible"},j="hero-slider",z=typeof(window.Shopify?.theme?.sections?.registered||{})[j]>"u"&&(0,l.kz)(j,{onLoad(){const v=this.container,_=v.dataset.sectionSettings||"{}";this.settings=JSON.parse(_);const p=v.querySelector(u.sliderContainer);if(!p)return;const b=this.settings,L=p.querySelectorAll(u.slide),M=p.querySelectorAll(u.videoSlide),k=v.querySelector(u.prevButton),A=v.querySelector(u.nextButton),O=window.matchMedia(`(min-width: ${window.theme.breakpoints.md}px)`);let C=O.matches?"desktop":"mobile";const w=m=>{const o=L[m]?.querySelector(u.videoWrapper);if(!o)return;o.querySelectorAll("video").forEach(async c=>{if((!c.dataset.mediaType||c.dataset.mediaType===C)&&c.autoplay){await c.play();return}c.pause()})};if(O.addEventListener("change",()=>{if(C=O.matches?"desktop":"mobile",p.classList.contains(d.singleSlide)){w(0);return}this.flickity&&w(this.flickity.selectedIndex)}),v.querySelectorAll(u.videoWithControls)?.forEach(m=>{const o=m.querySelector("video");if(!o)return;const g=m.querySelector(u.playButton),c=m.querySelector(u.volumeButton),I=()=>{g?.classList.add(d.playActive),g?.classList.remove(d.pauseActive)},T=()=>{g?.classList.remove(d.playActive),g?.classList.add(d.pauseActive)},q=()=>{c?.classList.add(d.muteActive),c?.classList.remove(d.unmuteActive)},W=()=>{c?.classList.remove(d.muteActive),c?.classList.add(d.unmuteActive)};g?.addEventListener("click",()=>{if(o.paused||o.ended){o.play();return}o.pause()}),c?.addEventListener("click",()=>{o.muted=!o.muted}),o?.addEventListener("play",T),o?.addEventListener("pause",I),o?.addEventListener("ended",I),o?.addEventListener("volumechange",()=>{if(o.muted){q();return}W()})}),p.classList.contains(d.singleSlide)){v.querySelector(u.slide)?.classList.add(d.selectedSlide),w(0);return}this.flickity=new(f())(p,{prevNextButtons:!1,autoPlay:this.settings.autoplay,pageDots:this.settings.include_pager_dots,adaptiveHeight:!0,watchCSS:!0,wrapAround:this.settings.infinite,on:{ready(){p.classList.add(d.isVisible),S(L),w(0),k?.addEventListener("click",()=>this.previous(b.infinite,!1)),A?.addEventListener("click",()=>this.next(b.infinite,!1)),b.infinite||k?.setAttribute("disabled","")},change(m){S(L),w(m),b.infinite||(k?.removeAttribute("disabled"),A?.removeAttribute("disabled"),this.slides[this.selectedIndex-1]?this.slides[this.selectedIndex+1]||A?.setAttribute("disabled",""):k?.setAttribute("disabled","")),M.forEach(o=>{if(o===this.selectedElement)return;o.querySelectorAll("video")?.forEach(c=>c.pause())})}}}),k?.addEventListener("click",()=>this.flickity.previous()),A?.addEventListener("click",()=>this.flickity.next())},onBlockSelect(v){if(!Shopify.designMode||!this.flickity)return;this.settings.autoplay&&this.flickity&&this.flickity.pausePlayer();const _=Array.from(v.target.parentElement.children).indexOf(v.target);this.flickity.select(_)},onDeselect(){Shopify.designMode&&this.settings.autoplay&&this.flickity.unpausePlayer()}})}},E={};function i(t){var s=E[t];if(s!==void 0)return s.exports;var e=E[t]={exports:{}};return x[t].call(e.exports,e,e.exports,i),e.exports}i.m=x,(()=>{var t=[];i.O=(s,e,a,r)=>{if(e){r=r||0;for(var n=t.length;n>0&&t[n-1][2]>r;n--)t[n]=t[n-1];t[n]=[e,a,r];return}for(var l=1/0,n=0;n<t.length;n++){for(var[e,a,r]=t[n],h=!0,f=0;f<e.length;f++)(r&!1||l>=r)&&Object.keys(i.O).every(B=>i.O[B](e[f]))?e.splice(f--,1):(h=!1,r<l&&(l=r));if(h){t.splice(n--,1);var y=a();y!==void 0&&(s=y)}}return s}})(),i.n=t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return i.d(s,{a:s}),s},(()=>{var t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s;i.t=function(e,a){if(a&1&&(e=this(e)),a&8||typeof e=="object"&&e&&(a&4&&e.__esMo
1dule||a&16&&typeof e.then=="function"))return e;var r=Object.create(null);i.r(r);var n={};s=s||[null,t({}),t([]),t(t)];for(var l=a&2&&e;typeof l=="object"&&!~s.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(h=>n[h]=()=>e[h]);return n.default=()=>e,i.d(r,n),r}})(),i.d=(t,s)=>{for(var e in s)i.o(s,e)&&!i.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:s[e]})},i.e=()=>Promise.resolve(),i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(t,s)=>Object.prototype.hasOwnProperty.call(t,s),i.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.j=656,(()=>{var t={656:0};i.O.j=a=>t[a]===0;var s=(a,r)=>{var[n,l,h]=r,f,y,S=0;if(n.some(d=>t[d]!==0)){for(f in l)i.o(l,f)&&(i.m[f]=l[f]);if(h)var u=h(i)}for(a&&a(r);S<n.length;S++)y=n[S],i.o(t,y)&&t[y]&&t[y][0](),t[y]=0;return i.O(u)},e=globalThis.webpackChunkmister_zimi=globalThis.webpackChunkmister_zimi||[];e.forEach(s.bind(null,0)),e.push=s.bind(null,e.push.bind(e))})();var P=i.O(void 0,[176],()=>i(523));P=i.O(P)})();

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.