PageSourceSearch

https://assets.sweet.tv/_nuxt/DriImMzQ.js

js sweet.tv collected 2026-09-24 17:14:06 UTC 3,757 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`9.1.38`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`474ab123-285a-4e76-90b3-14aba09bced1`,e._sentryDebugIdIdentifier=`sentry-dbid-474ab123-285a-4e76-90b3-14aba09bced1`)}catch{}})();import{Ar as e,Dc as t,Ho as n,Is as r,Nr as i,Or as a,Pr as o,wr as s}from"#entry";import{t as c}from"./BkMEnLaz.js";var l=()=>Date.now()*1e3,u=e=>{let t=e?.trim();return!t||t.toLowerCase()===`auto`?`Auto`:t},d=n(`analyticsTvPlayer`,()=>{let n=c(),d=t(i.START),f=t(null),p=t(null),m=t(`Auto`),h=t(`default`),g=t(null),_=t(o.Landscape),v=t(a.TV),y=t(null),b=r({get:()=>n.epgId,set:e=>{n.epgId=e}}),x=r({get:()=>n.channelId,set:e=>{n.channelId=e}}),S=r({get:()=>n.streamId,set:e=>{n.streamId=e}}),C={event:d,itemId:f,epgId:b,channelId:x,duration:p,quality:m,audioLanguage:h,categoryId:g,orientation:_,streamId:S,screen:v,position:y};function w(e,t){C[e].value=t}let T=e=>(w(`event`,e),d.value),E=(e,t=!1,n=!1)=>(w(`orientation`,o.Landscape),_.value),D=t=>{w(`event`,i.START),w(`itemId`,n.isLiveTvStream===!1?e.DVR:e.LIVE),w(`quality`,u(t.quality)),w(`screen`,t.screen),E(t.orientation,t.isFullscreen,t.isDesktop)},O=r(()=>({event:d.value,item:f.value,channel_id:x.value,epg_id:b.value,position:y.value,duration:p.value,quality_tag:m.value,category_id:g.value,orientation:_.value,audio_language:h.value,stream_id:S.value,event_timestamp:l(),screen:v.value}));async function k(){await s(O.value)}return{event:d,itemId:f,epgId:b,channelId:x,duration:p,quality:m,audioLanguage:h,categoryId:g,orientation:_,streamId:S,screen:v,position:y,update:w,checkAndSetEvent:T,checkAndSetOrientation:E,syncPlaybackStartContext:D,sendTvPlayerEvent:k}}),f=(e,t)=>e.index??t,p=(e,t)=>e.find((e,n)=>f(e,n)===t)??null,m=n(`playerTracks`,()=>{let e=t([]),n=t(0),i=t([]),a=t(null),o=t(!0),s=t([]),c=t(null),l=t(!0),u=r(()=>e.value.length>0),d=r(()=>e.value.map((e,t)=>({index:t,id:e.id,lang:e.lang,name:e.name}))),m=r(()=>i.value.length>1),h=r(()=>i.value.map((e,t)=>({index:t,id:e.id,label:e.label||`${t}`,value:e.value}))),g=r(()=>s.value.flatMap((e,t)=>e.forced?[]:[{index:f(e,t),id:e.id,lang:e.lang,name:e.name,forced:e.forced,mode:e.mode}])),_=r(()=>g.value.length>0);function v(t){e.value=t,n.value!==null&&n.value>=t.length&&(n.value=null),e.value.length===0&&(n.value=null)}function y(t){t>=0&&t<e.value.length&&(n.value=t)}function b(){e.value=[],n.value=null}function x(e){i.value=e,a.value!==null&&a.value>=e.length&&(a.value=null,o.value=!0)}function S(e){if(e===null){o.value=!0,a.value=null;return}e>=0&&e<i.value.length&&(o.value=!1,a.value=e)}function C(){i.value=[],a.value=null,o.value=!0}function w(e){s.value=e;let t=c.value===null?null:p(e,c.value);c.value!==null&&(!t||t.forced)&&(c.value=null,l.value=!0),s.value.length===0&&(c.value=null,l.value=!0)}function T(e){if(e===null){l.value=!0,c.value=null;return}let t=p(s.value,e);t&&!t.forced&&(l.value=!1,c.value=e)}function E(){let e=s.value.findIndex(e=>e.default===!0&&e.forced!==!0),t=s.value.findIndex(e=>e.forced!==!0),n=e>=0?e:t,r=s.value[n];r&&T(f(r,n))}function D(){s.value=[],c.value=null,l.value=!0}function O(){b(),C(),D()}return{audioTracks:e,currentAudioTrack:n,hasMultipleAudio:u,availableAudioTracks:d,setAudioTracksData:v,setAudioTrack:y,clearAudioTracksData:b,qualityLevels:i,currentQualityLevel:a,autoQuality:o,hasMultipleQualities:m,availableQualities:h,setQualityData:x,setQuality:S,clearQualityData:C,subtitles:s,currentSubtitle:c,subtitlesDisabled:l,hasMultipleSubtitles:_,availableSubtitles:g,setSubtitlesData:w,setSubtitle:T,setDefaultSubtitle:E,clearSubtitlesData:D,clearAll:O}});export{d as n,m as t};

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.