PageSourceSearch

https://luben.tv/_next/static/chunks/310-ada3c83a6f31f305.js

js luben.tv collected 2026-10-02 10:43:55 UTC 9,538 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{542:()=>{},4466:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>f});var n=o(7876),r=o(4232),a=o(541),l=o(6658),s=o(9830),c=o(2737),i=o(2685);o(4310),o(1735);var u=o(7850);o(2505);var d=o(9099),p=o(8827),m=o.n(p);i.default.registerPlugin("ads",u.A);let g=e=>{var t,o;let{videoId:a,type:l="normal",forwardedRef:s,item:u}=e,p=(0,r.useRef)(null),[g,h]=(0,r.useState)(null),[v,f]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),[x,j]=(0,r.useState)(!1),[k,C]=(0,r.useState)(!1),w=(0,d.useRouter)();(0,r.useEffect)(()=>{if(p.current){let e=new IntersectionObserver(e=>{e.forEach(e=>{j(e.isIntersecting)})},{root:null,rootMargin:"0px",threshold:.5});return s&&s.current&&e.observe(s.current),()=>{s&&s.current&&e.unobserve(s.current)}}},[s]),(0,r.useEffect)(()=>{setTimeout(()=>{if(p.current&&a){if(/shorts/.test(a)){var e;a=null!=(e=(0,c.k_)(a))?e:a}let t=[{type:"video/youtube",src:a}];/m3u8/.test(a)&&(t=[{type:"application/x-mpegURL",src:a}]);let o={autoplay:!1,controls:!0,responsive:!0,fluid:!0,poster:"",techCanOverridePoster:!0,rel:0,sources:t,youtube:{rel:0,modestbranding:1},techOrder:["youtube","html5"]};"short"===l&&(o.preload="auto");let n=(0,i.default)(p.current,o);return"short"!==l&&n.ima({debug:!0,adTagUrl:"https://servx.orangeclickmedia.com/api/adserver/vast3/?AV_PUBLISHERID=62ed18128bb9d95dbe10e294&AV_CHANNELID=6683cdd5ce7bc5d8800d5f44&AV_URL=".concat(encodeURIComponent("https://luben.tv"+w.asPath),"&cb=").concat(Date.now())}),n.on("play",()=>{y(!0),_(n)}),n.on("pause",()=>{y(!1)}),n.on("error",function(){g.muted(!0),g.play().catch(()=>{})}),n.on("ended",function(){}),h(n),()=>{n.dispose()}}},500)},[a,l,s]),(0,r.useEffect)(()=>{g&&("short"==l||/m3u8/.test(a)?/m3u8/.test(a)?x?g.autoplay("unmuted"):g.pause():x?g.autoplay(v?"unmuted":"muted"):g.pause():b&&(x?g.autoplay("unmuted"):g.pause()))},[g,x]),(0,r.useEffect)(()=>{k&&("short"==l||/m3u8/.test(a)?/m3u8/.test(a)?x?g.autoplay("unmuted"):g.pause():x?g.autoplay(v?"unmuted":"muted"):g.pause():b&&(x?g.autoplay("unmuted"):g.pause()))},[k,x]),(0,r.useEffect)(()=>{setTimeout(()=>
1{if(k&&p.current&&a){if(/shorts/.test(a)){var e;a=null!=(e=(0,c.k_)(a))?e:a}let t=[{type:"video/youtube",src:a}];/m3u8/.test(a)&&(t=[{type:"application/x-mpegURL",src:a}]);let o={autoplay:!1,controls:!0,responsive:!0,fluid:!0,poster:"",techCanOverridePoster:!0,rel:0,sources:t,youtube:{rel:0,modestbranding:1},techOrder:["youtube","html5"]};"short"===l&&(o.preload="auto");let n=(0,i.default)(p.current,o);"short"!==l&&n.ima({debug:!0,adTagUrl:"https://servx.orangeclickmedia.com/api/adserver/vast3/?AV_PUBLISHERID=62ed18128bb9d95dbe10e294&AV_CHANNELID=6683cdd5ce7bc5d8800d5f44&AV_URL=".concat(encodeURIComponent("https://luben.tv"+w.asPath),"&cb=").concat(Date.now())}),n.on("play",()=>{y(!0),n.muted(!1),_(n)}),n.on("pause",()=>{y(!1)}),n.on("error",function(){g.muted(!0),g.play().catch(()=>{})}),n.on("ended",function(){}),h(n),n.autoplay("muted");let r=new IntersectionObserver(e=>{e.forEach(e=>{j(e.isIntersecting)})},{root:null,rootMargin:"0px",threshold:.5});return s&&s.current&&r.observe(s.current),()=>{n.dispose(),s&&s.current&&r.unobserve(s.current)}}},500)},[k]);let _=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i.default.getAllPlayers().forEach(t=>{t!==e&&t.pause()})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{ref:s,className:"video-player-wrapper",children:(0,n.jsx)("div",{"data-vjs-player":!0,children:"normal"!=l||k?(0,n.jsx)("video",{ref:p,className:"video-js"}):(0,n.jsx)("picture",{onClick:e=>C(!0),children:(0,n.jsx)(m(),{src:u.featured_image_portrait_src,width:"700",height:"400",className:"side-article lazy-load",alt:null!=(o=null==(t=u.title)?void 0:t.rendered)?o:"",sizes:"(max-width: 768px) 55vw, 100vw",loading:"lazy",priority:!1,placeholder:"empty"})})})})})};var h=o(3042),v=o(2848);let f=e=>{var t,o,i,u,d,p,m,f,b,y,x,j,k,C,w,_,A,N,E,I,H,S,L,R;let{element:T}=e,M=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(T.content&&(0,c.gE)(T.content)&&M.current){let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting})},{root:null,rootMargin:"0px",threshold:.5});return e.observe(M.current),()=>{e&&e.disconnect()}}},[T]);let U=(0,n.jsx)(n.Fragment,{});if(!T)return null;if((null==(t=T.resource)?void 0:t.type)=="image"){let e={opacity:"".concat(T.opacity,"%"),width:"".concat(T.width/412*100,"%"),height:"".concat(T.height/611*100,"%"),objectFit:"cover",left:"".concat(T.x/412*100,"%"),top:"".concat(T.y/611*100,"%")};return T.y<0||T.y,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{style:e,className:"story-page-base-img",src:T.resource.src,alt:null!=(i=T.resource.alt)?i:""}),(0,c.xh)(T.overlay)]})}if("shape"==T.type){let e={transform:"translate(-".concat(T.focalX,"%, -").concat(T.focalY,"%)"),opacity:"".concat(T.opacity,"%"),width:"".concat(T.width/412*100,"%"),height:"".concat(T.height/611*100,"%"),left:"".concat(T.x/412*100,"%"),top:"".concat(T.y/611*100,"%")};return T.backgroundColor.type&&"linear"==T.backgroundColor.type?(e.backgroundImage="linear-gradient(-".concat(null!=(_=T.backgroundColor.rotation)?_:"0.5","turn, rgb(").concat(null==(d=T.backgroundColor.stops[0])||null==(u=d.color)?void 0:u.r,",").concat(null==(m=T.backgroundColor.stops[0])||null==(p=m.color)?void 0:p.g,",").concat(null==(b=T.backgroundColor.stops[0])||null==(f=b.color)?void 0:f.b," ) 0%, rgb(").concat(null==(x=T.backgroundColor.stops[1])||null==(y=x.color)?void 0:y.r,",").concat(null==(k=T.backgroundColor.stops[1])||null==(j=k.color)?void 0:j.g,",").concat(null==(w=T.backgroundColor.stops[1])||null==(C=w.color)?void 0:C.b," ) 100%)"),e.willChange="transform"):e.backgroundColor="rgb(".concat(null==(A=T.backgroundColor.color)?void 0:A.r,",").concat(null==(N=T.backgroundColor.color)?void 0:N.g,",").concat(null==(E=T.backgroundColor.color)?void 0:E.b," )"),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:e,className:"story-page-base-shape"}),(0,c.xh)(T.overlay)]})}if((null==(o=T.resource)?void 0:o.type)=="video"){let e={transform:"translate(-".concat(T.focalX,"%, -").concat(T.focalY,"%)")};return(0,n.jsx)("video",{loop:!0,muted:!0,style:e,className:"story-page-base-video",src:T.resource.src})}{if(!T.content)return(0,n.jsx)(n.Fragment,{});let e={fontSize:T.fontSize,fontFamily:'"'.concat(T.font.family,'"'),lineHeight:T.lineHeight,textAlign:T.textAlign,left:T.x-5,right:T.x-5,top:"".concat(T.y/611*100,"%")},t=null;T.backgroundTextMode&&"HIGHLIGHT"==T.backgroundTextMode&&(t={backgroundColor:"rgb(".concat(null==(I=T.backgroundColor.color)?void 0:I.r,",").concat(null==(H=T.backgroundColor.color)?void 0:H.g,",").concat(null==(S=T.backgroundColor.color)?void 0:S.b," )"),WebkitBoxDecorationBreak:"clone",padding:"".concat(null==(L=T.padding)?void 0:L.vertical,"px ").concat(null==(R=T.padding)?void 0:R.horizontal,"px")});let o=(0,c.gE)(T.content);if(/m3u8/.test(T.content)&&(o=T.content),/twitter-tweet/.test(T.content))return(0,n.jsxs)("div",{className:"twitter-element",children:[(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,h.Ay)(T.content,{decodeEntities:!0})}}),(0,n.jsx)(a.A,{})]});if(/tiktok-embed/.test(T.content))return(0,n.jsxs)("div",{className:"twitter-element",children:[(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,h.Ay)(T.content,{decodeEntities:!0})}}),(0,n.jsx)(v.A,{})]});if(/instagram\.com/.test(T.content))return(0,n.jsxs)("div",{className:"twitter-element",children:[(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,h.Ay)(T.content,{decodeEntities:!0})}}),(0,n.jsx)(l.A,{})]});else if(/facebook\.com/.test(T.content))return(0,n.jsx)("div",{className:"twitter-element fb-iframe-element",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,h.Ay)(T.content,{decodeEntities:!0})}})});else if(/easypolls/.test(T.content)||/canva.com/.test(T.content))return(0,n.jsx)(n.Fragment,{});else if(o)return(0,n.jsx)("div",{className:"news-item-image video-responsive video-short-responsive",children:(0,n.jsx)(g,{item:T,videoId:T.content,type:"short",forwardedRef:M})});else return(0,n.jsx)("div",{className:"text-element",style:e,children:(0,n.jsx)("span",{style:t,children:(0,n.jsx)(s.A,{content:T.content.replaceAll("</span>\n<span","</span><br /><span"),inArticleSlot:U},T.id)})})}}},7540:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(7876);o(4232),o(4310),o(1735);let r=e=>{let{adUnitPath:t,adSize:o,divId:r,forwardedRef:a}=e;
1return(0,n.jsx)("div",{id:r,ref:a,style:{width:o[0],height:o[1],margin:"0 auto"}})}},9987:(e,t,o)=>{"use strict";o.d(t,{p:()=>c});var n=o(7876);o(4232),o(58);var r=o(3824);o(346),o(240),o(9572);var a=o(2737),l=o(8230),s=o.n(l);let c=e=>{var t,o;let{articleData:l}=e,{loading:c,setLoading:i}=(0,r.M)();return(0,n.jsxs)("div",{className:"story-header",children:[(0,n.jsxs)("a",{href:"/",children:[(0,n.jsx)("img",{decoding:"async",alt:"luben",src:"https://luben.tv/assets/img/logo.png","data-hero":"",className:"nx-amphtml-logo"}),(0,n.jsx)("img",{decoding:"async",alt:"luben",src:"/images/luben_icon.png","data-hero":"",className:"nx-amphtml-icon"})]}),(0,n.jsx)("a",{className:"story-share","data-url":null==(t=l.data.pathData)?void 0:t.permalink,"data-title":(null==(o=l.data.title)?void 0:o.rendered)||l.data.title,onClick:e=>{var t,o,n;return(0,a.tX)({title:(null==(t=l.data.title)?void 0:t.rendered)||l.data.title,url:null!=(n=null==(o=l.data.pathData)?void 0:o.permalink)?n:""})}}),(0,n.jsx)(s(),{href:"/",onClick:e=>(0,a.Hg)(e,i),children:(0,n.jsx)("img",{decoding:"async",alt:"luben",src:"/images/ic_close.png","data-hero":"",className:"nx-amphtml-close-icon"})})]})}}}]);

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.