PageSourceSearch

https://www.fujifilm-x.com/wp-content/themes/fujifilm/dist/block-e…/view.js?ver=b2768be42d8a2b9460f6

js fujifilm-x.com collected 2026-10-02 02:15:09 UTC 10,572 bytes, 1 lines download raw bytes

1!function(){function e(e,t){return e.querySelector(t)}function t(t){if(t){var i=e(t,".video-player-lite__video-ctn"),a=e(t,".video-player-lite__video-controls");if(i){var n=parseInt(t.getAttribute("data-video-delay"))||300;performance.now(),setTimeout(function(){performance.now();var n=document.createElement("video");n.className="video-player-lite__video",n.setAttribute("playsinline","");var r=function(){n.removeAttribute("poster");var e=t.querySelector(".video-player-lite__video-ctn");e&&(e.style.backgroundColor="#000000");var i=t.querySelector(".video-player-lite__poster");i&&(i.style.zIndex="0")};!function(){var e=t.querySelector(".video-player-lite__poster-img");if(e){var i=function(){var t=e.currentSrc||e.src||"";t&&n.poster!==t&&(n.poster=t)};return e.complete?i():e.addEventListener("load",i,{once:!0}),void window.addEventListener("resize",i,{passive:!0})}var a=t.getAttribute("data-poster-breakpoints");if(a){var r;try{r=JSON.parse(a)}catch(e){return}var o=window.innerWidth,d="";o>=768?r.desktop&&r.desktop.sizes&&(o>=1536&&r.desktop.sizes.xxl?d=r.desktop.sizes.xxl.url:o>=1280&&r.desktop.sizes.xl?d=r.desktop.sizes.xl.url:o>=1024&&r.desktop.sizes.lg?d=r.desktop.sizes.lg.url:r.desktop.sizes.md&&(d=r.desktop.sizes.md.url)):r.mobile&&r.mobile.sizes&&(o>=640&&r.mobile.sizes.md?d=r.mobile.sizes.md.url:o>=480&&r.mobile.sizes.sm?d=r.mobile.sizes.sm.url:r.mobile.sizes.xs&&(d=r.mobile.sizes.xs.url)),d&&(n.poster=d)}}(),n.addEventListener("play",r),n.addEventListener("playing",r);var o=function(){try{t.classList.add("is-video-playing")}catch(e){}};n.addEventListener("play",o),n.addEventListener("playing",o),n.addEventListener("loadeddata",function(){performance.now(),n.paused||r()});var d=t.getAttribute("data-xxl")||"",l=t.getAttribute("data-xl")||"",s=t.getAttribute("data-lg")||"",u=t.getAttribute("data-md")||"",c=t.getAttribute("data-sm")||"",p=t.getAttribute("data-xs")||"";!p&&d&&n.setAttribute("data-xxl-fallback","1"),p&&n.setAttribute("data-xs","1"),i.appendChild(n);var v,m="1"===t.getAttribute("data-autoplay"),y="1"===t.getAttribute("data-muted"),f="1"===t.getAttribute("data-loop"),b="1"===t.getAttribute("data-playsinline"),h=t.getAttribute("data-preload")||"metadata",g="1"===t.getAttribute("data-controls"),E="1"===t.getAttribute("data-ctrl-playpause"),_="1"===t.getAttribute("data-ctrl-progress");if(l){var A=document.createElement("source");A.src=l,A.media="(min-width: 1280px)",n.appendChild(A)}if(s){var L=document.createElement("source");L.src=s,L.media="(min-width: 768px)",n.appendChild(L)}if(u){var x=document.createElement("source");x.src=u,x.media="(min-width: 640px)",n.appendChild(x)}if(c){var w=document.createElement("source");w.src=c,w.media="(min-width: 480px)",n.appendChild(w)}if(d){var k=document.createElement("source");k.src=d,k.media="(min-width: 1536px)",n.appendChild(k)}if(p){var S=document.createElement("source");S.src=p,S.media="(max-width: 639px)",n.appendChild(S)}if(d||l||s||u||c||p){var T=document.createElement("source");T.src=d||l||s||u||c||p,n.appendChild(T),T.src}if(n.preload=h,n.muted=y,n.loop=f,b&&n.setAttribute("playsinline",""),"1"===t.getAttribute("data-eager"))try{n.setAttribute("fetchpriority","high")}catch(e){}if([d,l,s,u,c,p].filter(Boolean).length>1&&(v=!1,n.addEventListener("timeupdate",function(){v||(n.currentTime,n.paused)}),[{query:"(min-width: 1536px)",name:"XXL"},{query:"(min-width: 1280px) and (max-width: 1535px)",name:"XL"},{query:"(min-width: 768px) and (max-width: 1279px)",name:"LG"},{query:"(min-width: 640px) and (max-width: 767px)",name:"MD"},{query:"(min-width: 480px) and (max-width: 639px)",name:"SM"},{query:"(max-width: 479px)",name:"XS"}].forEach(function(e){window.matchMedia(e.query).addEventListener("change",function(t){t.matches&&("Breakpoint changed to: ".concat(e.name),function(){if(!v){v=!0;var e=!n.paused,t=n.currentTime;n.load();var i=function(){n.currentTime=t,e&&n.play().catch(function(){}),n.paused||r(),v=!1,n.removeEventListener("loadeddata",i)};n.addEventListener("loadeddata",i),setTimeout(function(){v&&i()},2e3)}}())})})),d&&!p&&!l&&!s&&!u&&!c){var z=window.matchMedia("(max-width: 639px)"),M=function(e){e.matches&&(n.style.objectPosition="center center",n.style.objectFit="cover")};z.addEventListener("change",M),M(z)}var C="1"===t.getAttribute("data-viewport-autoplay"),q=!1,O=!1;if(C&&new IntersectionObserver(function(e){e.forEach(function(e){q||(e.isIntersecting?setTimeout(function(){n.play().catch(function(e){})},100):n.paused||n.pause())})},{threshold:.3,rootMargin:"50px"}).observe(i),m&&setTimeout(function(){n.play().catch(function(e){})},100),g&&a){var I=!1;if("1"===t.getAttribute("data-controls-always-visible"))a.style.opacity="1",a.style.pointerEvents="auto";else{var X,N=!1,D=function(){a.style.opacity="1",a.style.pointerEvents="auto",N&&clearTimeout(X)},F=function(){N&&(a.style.opacity="0",a.style.pointerEvents="none")},B=function(){N&&(X=setTimeout(F,3e3))};t.addEventListener("mouseenter",D),t.addEventListener("mousemove",function(){D(),B()}),t.addEventListener("mouseleave",F),D();var P=function(){N=!0,B(),n.removeEventListener("play",P),n.removeEventListener("playing",P)};n.addEventListener("play",P),n.addEventListener("playing",P)}if(E){var G=e(a,".video-player-lite__play-pause-btn"),W=e(a,".video-player-lite__play-icon"),j=e(a,".video-player-lite__pause
1-icon");G&&(G.addEventListener("click",function(){n.paused?(O=!1,n.play().catch(function(e){})):(O=!0,n.pause())}),n.addEventListener("play",function(){G.setAttribute("data-playing","true"),W.style.display="none",j.style.display="block"}),n.addEventListener("pause",function(){G.setAttribute("data-playing","false"),W.style.display="block",j.style.display="none",O&&(q=!0),O=!1}),n.paused?(G.setAttribute("data-playing","false"),W.style.display="block",j.style.display="none"):(G.setAttribute("data-playing","true"),W.style.display="none",j.style.display="block"),I=!0)}if(_){var H=e(a,".video-player-lite__progress-input"),R=e(a,".video-player-lite__progress-fill"),U=e(a,".video-player-lite__progress-bar"),J=e(a,".video-player-lite__current-time"),V=e(a,".video-player-lite__total-time");if(H&&R){if(H.addEventListener("input",function(){if(isFinite(n.duration)&&!(n.duration<=0)){var e=parseFloat(this.value),t=e/1e3*n.duration;n.currentTime=t,this.setAttribute("aria-valuenow",String(e));var i=e/1e3*100;R.style.transform="scaleX(".concat(i/100,")")}}),U){var Y=function(e){if(isFinite(n.duration)&&!(n.duration<=0)){var t=U.getBoundingClientRect(),i=Math.max(0,Math.min(1,(e-t.left)/t.width)),a=i*n.duration,r=Math.round(1e3*i);n.currentTime=a,H.value=String(r),H.setAttribute("aria-valuenow",String(r)),R.style.transform="scaleX(".concat(i,")")}};U.addEventListener("click",function(e){return Y(e.clientX)}),U.addEventListener("pointerdown",function(e){return Y(e.clientX)}),U.addEventListener("touchstart",function(e){e.touches&&e.touches[0]&&Y(e.touches[0].clientX)},{passive:!0}),U.addEventListener("touchmove",function(e){e.touches&&e.touches[0]&&Y(e.touches[0].clientX)},{passive:!0})}n.addEventListener("timeupdate",function(){if(isFinite(n.duration)&&!(n.duration<=0)){var e=n.currentTime/n.duration*1e3,t=Math.min(1e3,Math.max(0,Math.round(e)));H.value=String(t),H.setAttribute("aria-valuenow",String(t));var i=e/1e3*100;if(R.style.transform="scaleX(".concat(i/100,")"),J){var a=Math.floor(n.currentTime/60),r=Math.floor(n.currentTime%60);J.textContent="".concat(a.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0"))}}}),n.addEventListener("loadedmetadata",function(){if(V&&isFinite(n.duration)){var e=Math.floor(n.duration/60),t=Math.floor(n.duration%60);V.textContent="".concat(e.toString().padStart(2,"0"),":").concat(t.toString().padStart(2,"0"))}}),I=!0}}if("1"===t.getAttribute("data-ctrl-mute")){var Z=e(a,".video-player-lite__mute-btn"),$=e(a,".video-player-lite__volume-icon"),K=e(a,".video-player-lite__mute-icon");if(Z){Z.addEventListener("click",function(){var e=!n.muted;n.muted=e,Z.setAttribute("data-muted",e?"true":"false"),e?($&&($.style.display="none"),K&&(K.style.display="block")):($&&($.style.display="block"),K&&(K.style.display="none"))});var Q=n.muted;Z.setAttribute("data-muted",Q?"true":"false"),Q?($&&($.style.display="none"),K&&(K.style.display="block")):($&&($.style.display="block"),K&&(K.style.display="none")),I=!0}}if("1"===t.getAttribute("data-ctrl-volume")){var ee=e(a,".video-player-lite__volume-slider-ctn"),te=e(a,".video-player-lite__volume-fill"),ie=e(a,".video-player-lite__volume-slider");if(ie&&te&&ee){var ae=function(){var e=Math.min(100,Math.max(0,parseInt(ie.value||"0",10))),t=e/100;n.volume=t,t>0&&n.muted&&(n.muted=!1),te.style.width="".concat(e,"%"),ie.setAttribute("aria-valuenow",String(e))};ie.addEventListener("input",ae),ie.value=String(Math.round(100*(n.muted?0:n.volume||1))),ae(),I=!0}}var ne=function(){try{var t=null,i=n.audioTracks&&"number"==typeof n.audioTracks.length?n.audioTracks.length:null;null!==i&&(t=i>0),null===t&&void 0!==n.mozHasAudio&&(t=!!n.mozHasAudio),null===t&&"number"==typeof n.webkitAudioDecodedByteCount&&!n.paused&&n.currentTime>0&&(t=n.webkitAudioDecodedByteCount>0);var r=!1===t,o=e(a,".video-player-lite__mute-btn"),d=e(a,".video-player-lite__volume-slider");r?(o&&o.setAttribute("disabled","disabled"),d&&d.setAttribute("disabled","disabled"),a.classList.add("is-audio-disabled")):!0===t&&(o&&o.removeAttribute("disabled"),d&&d.removeAttribute("disabled"),a.classList.remove("is-audio-disabled"))}catch(e){}};n.addEventListener("loadedmetadata",ne),n.addEventListener("playing",function(){return setTimeout(ne,500)}),n.addEventListener("timeupdate",function(){ne()},{once:!0}),I||(a.style.display="none")}else a&&(a.style.display="none");var re=t.querySelector(".video-player-lite__scroll-btn");if(re){var oe=re.getAttribute("data-scroll-target");oe&&re.addEventListener("click",function(e){e.preventDefault();var i=null;if("string"==typeof oe&&/^\.[A-Za-z0-9_-]+$/.test(oe))i=document.querySelector(oe);
1else{var a=Array.from(document.querySelectorAll(oe)),n=a.filter(function(e){return!t.contains(e)}),r=function(e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)===Node.DOCUMENT_POSITION_FOLLOWING};1===n.length?i=n[0]:n.length>1?i=n.find(r)||n[0]:a.length>0&&(i=a.find(r)||a[0])}if(i)try{i.scrollIntoView({behavior:"smooth",block:"start"})}catch(e){var o=i.getBoundingClientRect();window.scrollTo({top:window.pageYOffset+o.top,behavior:"smooth"})}re.blur()})}},n)}}}document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".video-player-lite");e.length,e.forEach(t)})}();

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.