1"use strict";(globalThis.webpackChunkhkscan=globalThis.webpackChunkhkscan||[]).push([[219],{395(e,t,l){l.r(t),l.d(t,{default:()=>k});var s=l(3751),o=l(641),r=l(33);const a={key:0,class:"short-block-title"},c={class:"text-center"},i={class:"row"},n={class:"media__video media__video__short short-container"},u=["src"],d=["src"];l(4423);const h={props:{shorts:{type:Array,default:()=>[]},columnSize:{type:Number,default:4},blockTitle:{type:String,default:""}},data(){return{shortsList:this.shorts}},computed:{colClass(){return`col-md-${this.columnSize}`}},methods:{playVideo(e,t){const l=e.currentTarget.closest(".short-container");if(!l)return;const s=l.querySelector("iframe"),o=l.querySelector("video");if(s){if(!t.Url.includes("autoplay=1")){const e=t.Url.includes("?")?"&":"?";t.Url=t.Url+e+"autoplay=1"}}else o&&o.play();t.Playing=!0}}},p=(0,l(6262).A)(h,[["render",function(e,t,l,s,h,p){return(0,o.uX)(),(0,o.CE)("div",null,[l.blockTitle?((0,o.uX)(),(0,o.CE)("div",a,[(0,o.Lk)("h2",c,(0,r.v_)(l.blockTitle),1)])):(0,o.Q3)("",!0),(0,o.Lk)("div",i,[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(h.shortsList,(e,t)=>((0,o.uX)(),(0,o.CE)("div",{key:t,class:(0,r.C4)(["media media__center",p.colClass])},[(0,o.Lk)("div",n,[e.IsYoutube?((0,o.uX)(),(0,o.CE)("iframe",{key:0,src:e.Url,allow:"autoplay; fullscreen",allowfullscreen:""},null,8,u)):((0,o.uX)(),(0,o.CE)("video",{key:1,src:e.Url,preload:"metadata",playsinline:"",controls:""}," Your browser does not support the video tag. ",8,d))])],2))),128))])])}]]),k=function(e){const{shorts:t,columnSize:l,blockTitle:o}=e.dataset,r=JSON.parse(t);r.forEach(e=>{void 0===e.Playing&&(e.Playing=!1)});const a={shorts:t?r:[],columnSize:l?parseInt(l):4,blockTitle:o||""};(0,s.Ef)(p,a).mount(e)}}}]);
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.