PageSourceSearch

https://staticcont.cardekho.com/pwa/js/bundle/JwVideoPlayerLazy.8a5da31faed454a48315.mjs

js cardekho.com collected 2026-10-02 03:38:47 UTC 2,744 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcardekho=self.webpackChunkcardekho||[]).push([[286],{65480(e,a,t){t.r(a);var r=t(67632),l=t(62374),d=t(96540),s=t(25154),o=t(76400);const p=(0,o.A)(e=>{const{playerId:a}=e;return s.A.isEmptyObject(a)?null:(e=>{const{playerId:a,videoId:s,jwContainerId:o,playerWidth:p,playerHeight:n,screenImage:c,adclass:i,setBgImage:u,preloadJs:y,activeSlide:m,customParam:f,tagUrl:g}=e,w=p,j=n,[h,v]=(0,d.useState)(!1),[E,C]=(0,d.useState)(!1),[I,b]=(0,d.useState)(null),[S,k]=(0,d.useState)(!1),[P,A]=(0,d.useState)(null),[$,z]=(0,l.A)(),[_,x]=(0,d.useState)(!0);(0,d.useEffect)(()=>{y&&z&&N()},[z,y]),(0,d.useEffect)(()=>(z&&!y&&N(),()=>{try{"function"==typeof jwplayer&&"function"==typeof jwplayer().remove&&jwplayer().remove()}catch(e){}}),[z]),(0,d.useEffect)(()=>{!m&&S&&y&&B(),m&&S&&y&&L()},[m,S,y]);const N=()=>{t.e(3912).then(t.bind(t,3912)),getScript(`https://cdn.jwplayer.com/libraries/${a}.js`,()=>{try{R(o)}catch(e){}})},B=()=>{jwplayer(o).pauseAd(!0)},L=()=>{jwplayer(o).pauseAd(!1)},R=e=>{s&&b(`https://cdn.jwplayer.com/videos/${s}.mp4`);let t={};t.file=I,t.image=c,t.mediaid=s,t.width=w,t.height=j,g&&(t.advertising={client:"googima",outstream:!0,endstate:"close",schedule:[{offset:"pre",tag:g,type:"linear",custParams:{model:f.model,price:f.price,car_segment:f.car_segment,fuel_type:f.fuel_type,brand:f.brand}}]}),jwplayer(e).setup(t),g&&H("adPause","adError","adComplete"),a&&!u&&H("adComplete","adLoaded","adError"),u&&s&&H("adPlay","adResize","adComplete","bufferChange"),u&&!s&&H("adPlay","adResize","adComplete")},H=(...e)=>{for(let a of e)"adPlay"===a&&jwplayer(o).on(a,e=>{k(!0),x(!1)}),"adPause"===a&&jwplayer(o).on(a,e=>{C(!0)}),"adComplete"===a&&jwplayer(o).on(a,e=>{v(!0),A(e.tag)}),"adResize"===a&&jwplayer(o).resize(w,j),"bufferChange"===a&&jwplayer(o).on(a,()=>{v(!1)}),"pause"===a&&jwplayer(o).on(a,()=>{C(!0)}),"adLoaded"===a&&jwplayer(o).on(a,()=>{x(!1)}),"adError"===a&&jwplayer(o).on(a,e=>{x(!1),v(!0)})},J=(e,a)=>{e.stopPropagation(),document.getElementById(a).classList.remove("jw-flag-outstream-close"),v(!1),C(!1),jwplayer(a).playAd(P)};return d.createElement("div",{className:`jwvideo-player  ${i} ${u?"":"clsFix adText"}`,ref:$},u&&(W=o,d.createElement("div",{className:"defaultimage",style:{backgroundImage:u?`url('${c}')`:"#000",zIndex:h||E?"1":"-1",height:"100%",opacity:u?"1":".5"},onClick:e=>J(e,W),onKeyDown:e=>{(0,r.S)(e)&&J(e,W)},tabIndex:0},d.createElement("i",{className:`${h?"replay":""} ${E?"icon-cd-play_icon":""}`}))),!u&&d.createElement("p",{className:_?"":"hide"},"Ad"),d.createElement("div",{id:o}));var W})(e)},{jwContainerId:"jwp-outstream-unit",playerWidth:"100%",playerHeight:"auto",adclass:"",setBgImage:!1,preloadJs:!1,activeSlide:!1});t.d(a,["default",0,p])}}]);

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.