PageSourceSearch

https://www.metropolitanpubcompany.com/dist/gk-jss-app/js/VideoBase.c6e44c95.js

js metropolitanpubcompany.com collected 2026-09-26 08:28:38 UTC 2,196 bytes, 2 lines download raw bytes

1"use strict";(globalThis["webpackChunkgk_jss_app"]=globalThis["webpackChunkgk_jss_app"]||[]).push([[2123],{41217:(e,l,s)=>{s.r(l),s.d(l,{default:()=>m});var a=s(20641),o=s(90033),i=s(50953),d=s(53751),r=s(94626),t=s(50258),u=s(34317),v=s(30843);const n={class:"container"},p={class:"row"},c={class:"col-lg-8 offset-lg-2"},k={class:"video-base__wrapper"},b=["src"],f={key:1,class:"video-base__poster"},_=["aria-label"],g={key:0,class:"video-base__description"},y=(0,a.pM)({__name:"VideoBase",props:{fields:{default:()=>({})},rendering:{},params:{default:()=>({})}},setup(e){const{t:l}=(0,t.s9)(),s=(0,v.B)(),y=(0,a.EW)((()=>["ChefBrewer"===s.brandName&&"bottom-green-border top-green-border","Belhaven"===s.brandName&&"blh-in-grid"])),h=(0,a.rk)("videoBox"),m=(0,i.KR)(!0),C=(0,i.KR)(!0),E=()=>{h.value&&(h.value.play(),w())},w=()=>{C.value=!1,h.value&&(h.value.controls=!h.value.controls),m.value=!m.value};return(s,t)=>((0,a.uX)(),(0,a.CE)("section",{class:(0,o.C4)(["video-base",y.value])},[(0,a.Lk)("div",n,[(0,a.Lk)("div",p,[(0,a.Lk)("div",c,[(0,a.Lk)("div",k,[e.fields.video?.value?.href?((0,a.uX)(),(0,a.CE)("video",{key:0,ref_key:"videoBox",ref:h,class:"video-base__root"},[(0,a.Lk)("source",{src:e.fields.video.value.href,type:"video/mp4"},null,8,b),t[0]||(t[0]=(0,a.eW)(" Your browser does not support the video tag. ",-1))],512)):(0,a.Q3)("",!0),C.value?((0,a.uX)(),(0,a.CE)("div",f,[e.fields.videoPoster?.value?.src?((0,a.uX)(),(0,a.Wv)(u.A,{key:0,class:"video-base__img","desktop-url":e.fields.videoPoster.value.src,"desktop-alt":e.fields.videoPoster.value.alt,"custom-params":{desktop:1024,tablet:1024,mobile:715},"lazy-loading":"lazy"},null,8,["desktop-url","desktop-alt"])):(0,a.Q3)("",!0),m.value?((0,a.uX)(),(0,a.CE)("button",{key:1,class:"video-base__play","aria-label":(0,i.R1)(l)("play-video"),onClick:(0,d.D$)(E,["prevent"])},[...t[1]||(t[1]=[(0,a.Lk)("i",{class:"icon icon-Play","aria-hidden":"true"},null,-1)])],8,_)):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0)]),e.fields.description?.value?((0,a.uX)(),(0,a.CE)("p",g,[(0,a.bF)((0,i.R1)(r.E),{field:e.fields.description},null,8,["field"])])):(0,a.Q3)("",!0)])])])],2))}}),h=y,m=h}}]);
2//# sourceMappingURL=VideoBase.c6e44c95.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.