PageSourceSearch

https://www.pixartprinting.nl/js/fullScreenBh24.279c7fa6af45c114f273.js

js pixartprinting.nl collected 2026-10-08 23:30:49 UTC 7,264 bytes, 1 lines download raw bytes

1export const __webpack_esm_id__=3044;export const __webpack_esm_ids__=[3044];export const __webpack_esm_modules__={36040(s,e,i){i.d(e,{default:()=>z}),i.r(e);var o=i(41425);const t={key:0,autoplay:"",loop:"",muted:"",playsinline:"",class:"video-background"},a=["src"],n=["src"],r=["src"],c=["src"],l={class:"video-overlay"},d={class:"container desktop d-none d-md-flex"},u={class:"top"},h={class:"logo"},g={href:"/"},p=["src"],k={class:"label"},m={class:"sound-icon"},v=["src"],b={class:"bottom glass-effect"},f={class:"left-block"},L={class:"black-hour-logo-block"},y={class:"background-shape absolute-center"},_=["src"],w={class:"black-hour-logo absolute-center"},B=["src"],S=["innerHTML"],C={class:"cta-container"},M=["href"],$={class:"featuring d-md-none"},I={class:"container mobile"},x={class:"featuring-main glass-effect"},A={class:"black-hour-logo-block"},R={class:"background-shape"},V=["src"],F={class:"black-hour-logo absolute-center"},H=["src"],P={class:"logo"},O={href:"/"},q=["src"],E=["innerHTML"],T={class:"bottom"},X=["href"],K={class:"sound-icon"},j=["src"];i(74423);var N=i(82124),Q=i(65014),W=i(73682);const Y={name:"FullScreenBh",extends:Q.A,props:{forceRandomVideo:{type:String,required:!1},isBlackSaturday:{type:Boolean,required:!1}},computed:{...(0,N.L8)("screen",["screenIs"]),componentKey(){return this.isBlackSaturday?"black-saturday":"black-hour"},componentClass(){return this.componentKey},soundIconOn(){return this.screenIs("mobile")?`${this.assetsBase}icons/audio-on.svg`:`${this.assetsBase}icons/audio-on-white.svg`},soundIconOff(){return this.screenIs("mobile")?`${this.assetsBase}icons/audio-off.svg`:`${this.assetsBase}icons/audio-off-white.svg`},textContent(){return this.content?.[this.componentKey]??""},weekCode(){return this.isBlackSaturday?"week-bs":"week-bh"},randomStep(){return this.forceRandomVideo&&(0,W.A)(this.forceRandomVideo)?this.forceRandomVideo:this.getRandomInt(1,4)},videoAssetName(){return this.isBlackSaturday?`${this.assetsBase}videos/${this.weekCode}_video`:`${this.assetsBase}videos/${this.weekCode}_video-${this.randomStep}`},audioSrc(){return`${this.assetsBase}audio/week-bh_audio.mp3`},campaignLogo(){const s=this.isBlackSaturday?"BS_v":"BH_v";return`${this.assetsBase}logos/${s}.svg`},landingLogo(){return"black-hour"===this.componentKey?"/images/logo/pixart_white.svg":this.screenIs("mobile")?"/images/logo/pixart.png":"/images/logo/pixart_white.svg"}},methods:{getRandomInt(s,e){const i=Math.ceil(s),o=Math.floor(e);return Math.floor(Math.random()*(o-i+1))+i},getVideoSource(s,e){return!1===["mobile","desktop"].includes(e)?"":"mobile"===e?`${this.videoAssetName}_m.${s}`:`${this.videoAssetName}_d.${s}`}}};const z=(0,i(66262).A)(Y,[["render",function(s,e,i,N,Q,W){return(0,o.uX)(),(0,o.CE)("section",{class:(0,o.C4)(["full-screen-video",W.componentClass])},[s.screenIs("mobile")?((0,o.uX)(),(0,o.CE)("video",t,[(0,o.Lk)("source",{src:W.getVideoSource("webm","mobile"),type:"video/webm"},null,8,a),(0,o.Lk)("source",{src:W.getVideoSource("mp4","mobile"),type:"video/mp4"},null,8,n),e[2]||(e[2]=(0,o.eW)(" Your browser does not support the video tag. ",-1))])):((0,o.uX)(),(0,o.CE)("video",{autoplay:"",loop:"",muted:"",playsinline:"",class:"video-background",key:s.videoAssetIndex},[(0,o.Lk)("source",{src:W.getVideoSource("webm","desktop"),type:"video/webm"},null,8,r),(0,o.Lk)("source",{src:W.getVideoSource("mp4","desktop"),type:"video/mp4"},null,8,c),e[3]||(e[3]=(0,o.eW)(" Your browser does not support the video tag. ",-1))])),(0,o.Lk)("div",l,[(0,o.Lk)("div",d,[(0,o.Lk)("div",u,[(0,o.Lk)("div",h,[(0,o.Lk)("a",g,[(0,o.Lk)("img",{alt:"logo",class:"img-fluid",src:W.landingLogo,width:"1000",height:"155"},null,8,p)])]),s.isCampaignRunning?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"sound-control",onClick:e[0]||(e[0]=(...e)=>s.toggleMusic&&s.toggleMusic(...e))},[(0,o.Lk)("div",k,(0,o.v_)(s.soundIconLabel),1),(0,o.Lk)("div",m,[(0,o.Lk)("img",{class:"img-fluid",src:s.soundIconSrc,alt:""},null,8,v)])])):(0,o.Q3)("",!0)]),(0,o.Lk)("div",b,[(0,o.Lk)("div",f,[(0,o.Lk)("div",L,[(0,o.Lk)("div",y,[(0,o.Lk)("img",{class:"img-fluid",src:`${s.assetsBase}icons/BF24_white.svg`,alt:""},null,8,_)]),(0,o.Lk)("div",w,[(0,o.Lk)("img",{class:"img-fluid",src:W.campaignLogo,alt:""},null,8,B)])]),(0,o.Lk)("div",{class:"payoff",innerHTML:s.payoff},null,8,S)]),(0,o.Lk)("div",C,[(0,o.Lk)("a",{class:"cta button",href:s.ctaHref},(0,o.v_)(s.cta),9,M)])])])]),(0,o.Lk)("div",$,[(0,o.Lk)("div",I,[(0,o.Lk)("div",x,[(0,o.Lk)("div",A,[(0,o.Lk)("div",R,[(0,o.Lk)("img",{class:"img-fluid",src:`${s.assetsBase}icons/BF24_white.svg`,alt:""},null,8,V)]),(0,o.Lk)("div",F,[(0,o.Lk)("img",{class:"img-fluid",src:W.campaignLogo,alt:""},null,8,H)])]),(0,o.Lk)("div",P,[(0,o.Lk)("a",O,[(0,o.Lk)("img",{alt:"logo",class:"img-fluid",src:W.landingLogo,width:"1000",height:"155"},null,8,q)])]),(0,o.Lk)("div",{class:"payoff",innerHTML:s.payoff},null,8,E),(0,o.Lk)("div",T,[(0,o.Lk)("div",null,[(0,o.Lk)("a",{class:"cta button",href:s.ctaHref},(0,o.v_)(s.cta),9,X)]),s.isCampaignRunning?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"sound-control",onClick:e[1]||(e[1]=(...e)=>s.toggleMusic&&s.toggleMusic(...e))},[(0,o.Lk)("div",K,[(0,o.Lk)("img",{class:"img-fluid",src:s.soundIconSrc,alt:""},null,8,j)])])):(0,o.Q3)("",!0)])])])])],2)}],["__scopeId","data-v-6f19b963"]])},65014(s,e,i){i.d(e,{A:()=>t});var o=i(82124);const t={name:"FullScreen",props:{json:{type:Object,required:!0},assetsBase:{type:String,required:!0},step:{type:String,required:!0},isCampaignRunning:{type:Boolean,required:!1}},data:()=>({videoAssetIndex:1,audio:null,isMusicPlaying:!1}),computed:{...(0,o.L8)("screen",["screenIs"]),soundIconOn(){return`${this.assetsBase}icons/audio-on.svg`},soundIconOff(){return`${this.assetsBase}icons/audio-off.svg`},isBlackFriday(){return"4"===this.step||"5"===this.step},isCyberMonday(){return"6"===this.step},isFinalPhase(){return this.isBlackFriday||this.isCyberMonday},weekCode(){return"coming"===this.step?"week-1":this.isBlackFriday?"week-bf":this.isCyberMonday?"week-cm"
1:`week-${this.step}`},soundIconSrc(){return this.isMusicPlaying?this.soundIconOff:this.soundIconOn},intro(){return this.json?.intro??{}},content(){return this.intro?.["full-screen"]??{}},textContent(){return this.content?.[this.step]},soundLabels(){return this.intro?.["sound-labels"]??{}},enableSoundLabel(){return this.soundLabels?.enable??""},disableSoundLabel(){return this.soundLabels?.disable??""},soundIconLabel(){return this.isMusicPlaying?this.disableSoundLabel:this.enableSoundLabel},payoff(){return this.textContent?.payoff??""},cta(){return this.textContent?.cta??""},audioSrc(){return`${this.assetsBase}audio/${this.weekCode}_audio.mp3`},ctaHref(){return this.isCampaignRunning?"#gallery-anchor":"/"}},methods:{toggleMusic(){this.audio&&(this.isMusicPlaying?this.pause():this.play())},play(){if(!this.audio)return;const s=this.audio.play();void 0!==s&&s.then(()=>{this.isMusicPlaying=!0}).catch(()=>{this.isMusicPlaying=!1})},pause(){this.audio&&(this.audio.pause(),this.isMusicPlaying=!1)},stop(){this.audio.pause(),this.audio.currentTime=0}},unmounted(){this.audio&&this.stop()},created(){this.isCampaignRunning&&(this.audio=new Audio(this.audioSrc),this.audio.loop=!0)}}},73682(s,e,i){i.d(e,{A:()=>o});const o=s=>"string"==typeof s}};

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.