PageSourceSearch

https://senoval.cdn.sports.ru/roberto-contentos/short-posts-ssi/static/WidgetCatfish-ec11924b-D1FHNOZf.js

js sports.ru collected 2026-09-24 15:20:14 UTC 3,053 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ab54acf5-b07b-5dfa-9070-b45aa4cf7d75")}catch(e){}}();
2import{S as I,l as N,a as x,Q as A,c as C,d as v,e as p,n as y}from"./modal.es-CuZSa7Jx.js";import{y as B}from"./index.es-b5b32b1c-CF89UA27.js";import{d as S,r as E,C as w,l as b,b as D,A as L,o as g,a as R,q as W,f as q,i as k,g as j,v as M,u as O,e as P}from"./index-CGqfqx9g.js";const U=function({rootElement:a,iframeElement:s,handleCustomEvent:l,link:c,analyticsDataId:r}){let n;const d=function(){if(!a.value||!r)return;const e=new x(c||"");n=A({analyticsDataId:r,analyticsDataExtraProvider:e})},u=function(e){let i;try{i=JSON.parse(e.data)}catch{i=null}return i},m=function(e){return!!(e!=null&&e.analyticsEventName)&&[C,v,p,y].includes(e?.analyticsEventName)},f=function(e){return!!(e!=null&&e.customEventName)},t=function(e){n&&(e.analyticsEventName===p&&n.sendViewAnalytics(a.value,e.context),e.analyticsEventName===y&&n.sendRealImpressionAnalytics(a.value),e.analyticsEventName===v&&n.sendClickAnalytics(a.value,e.context))},h=function(e){var i;if(e.source!==((i=s.value)==null?void 0:i.contentWindow))return;const o=u(e);o&&(m(o)&&t(o),f(o)&&l&&l(o))},_=function(){n&&n.sendRealImpressionAnalytics(a.value)};return D(()=>{window.addEventListener("message",h)}),P(()=>{window.removeEventListener("message",h)}),{prepareAnalyticsProcessor:d,sendRealImpressionAnalytics:_}},V=["src","width","height"],z=100,H="100%",Q="90px",F=S({__name:"WidgetCatfish",props:{otherData:{type:Object,required:!0},analyticsData:{type:Object,required:!0}},setup(a){const s=a,l=E(!0),c=E(!1),r=w("rootElement"),n=w("iframeElement"),{prepareAnalyticsProcessor:d,sendRealImpressionAnalytics:u}=U({iframeElement:n,rootElement:r,link:s.otherData.link,analyticsDataId:s.analyticsData.id,handleCustomEvent:f});function m(){if(s.otherData.shouldImmediatelyShown==="1"||s.otherData.shouldImmediatelyShown==="true"){c.value=!0,u();return}const t=N(z,()=>{window.scrollY>document.documentElement.clientHeight&&(c.value=!0,u(),window.removeEventListener("scroll",t))});window.addEventListener("scroll",t)}function f(t){t.customEventName==="close"&&(l.value=!1)}return b(r,t=>{t&&d()}),D(()=>{m()}),L(()=>{const t=document.getElementById("desktop-catfish-target-id");!t||!t.parentElement||t.style.maxWidth||(t.style.maxWidth=t.parentElement.offsetWidth+"px")}),(t,h)=>(g(),R(O(B),{to:"#desktop-catfish-target-id"},{default:W(()=>[l.value?(g(),q("div",{key:0,ref_key:"rootElement",ref:r,class:"widget-catfish"},[k("div",{class:j(["widget-catfish__wrapper",{"widget-catfish__wrapper--visible":c.value}])},[k("iframe",{ref_key:"iframeElement",ref:n,class:"widget-catfish__iframe",src:a.otherData.iframeUrl,width:a.otherData.width||H,height:a.otherData.height||Q},null,8,V)],2)],512)):M("",!0)]),_:1}))}}),G=I(F,[["__scopeId","data-v-6b5f5ff1"]]);export{G as default};
3//# debugId=ab54acf5-b07b-5dfa-9070-b45aa4cf7d75

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.