1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[37927],{37126(e,r,n){var t=n(755471),u=n.n(t),i=n(933578),c=n(96595),d=n(29297),a=n(230763),o=n(853514),f=[90],s=[50,90],v=[25,50,75,90],l=function(e,r){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],t=(0,i.useRef)((0,c.A)()),l=(0,i.useRef)(!1),m=(0,i.useRef)(new Set),_=(0,i.useRef)(new Set),w=(0,o.Q)().pageViewId,p=(0,a.Od)(),g=p.masqueradingEntity,h=p.currentCommunity,k=p.currentCommunityMember,y=p.isLoading,E=null==h?void 0:h.id,S=null==k?void 0:k.id,b=!!(g||y||!r||!n);(0,i.useEffect)(function(){r&&(l.current=!1,t.current=(0,c.A)(),m.current=new Set,_.current=new Set)},[r]);var C=(0,i.useCallback)(function(){if(!b&&e.current&&!l.current){var n=e.current,u={community_id:E,community_member_id:S,video_url:n.currentSrc,video_duration:Math.round(n.duration),video_view_id:t.current,page_view_id:null!=w?w:"unknown",signed_id:r};d.l.trackVideoView(u),l.current=!0}},[E,S,b,e,r,w]),L=(0,i.useCallback)(function(n,u){if(!b&&e.current){var i=e.current,c={community_id:E,community_member_id:S,video_url:i.currentSrc,video_duration:Math.round(i.duration),video_view_id:t.current,page_view_id:null!=w?w:"unknown",signed_id:r,progress_percent:n,progress_seconds:u};d.l.trackVideoSegmentView(c)}},[E,S,b,e,r,w]);(0,i.useEffect)(function(){if(e.current&&r){var n=e.current,t=u()(function(){if(!l.current){var e=n.duration,r=n.currentTime;(e<=30&&r>0||e>30&&r>=30)&&C()}},250);return n.addEventListener("timeupdate",t),function(){t.cancel(),n.removeEventListener("timeupdate",t)}}},[C,e,r,w]),(0,i.useEffect)(function(){if(e.current&&r){var n=e.current,t=u()(function(){if(n.duration){var e,r=(e=n.duration)<=15?f:e<=30?s:v,t=n.currentTime/n.duration*100,u=r.find(function(e){return t<e});u&&_.current.add(u);var i=r.find(function(e,n){var u=r[n+1]||100;return t>=e&&t<u});i&&!m.current.has(i)&&_.current.has(i)&&(m.current.add(i),L(i,Math.round(n.currentTime)))}},250);return n.addEventListener("timeupdate",t),function(){t.cancel(),n.removeEventListener("timeupdate",t)}}},[L,e,r])};n.d(r,{R:()=>l})},922384(e,r,n){var t=function(e){if(!e)return"";var r=e.replace(/data:\S+,/,"");try{for(var n=atob(r),t=new Uint8Array(n.length),u=0;u<n.length;u++)t[u]=n.charCodeAt(u);return new TextDecoder("utf-8").decode(t)}catch(e){return console.error("Failed to decode base64 data:",e),""}};n.d(r,{o:()=>t})}}]); 2//# sourceMappingURL=/packs/js/TranscriptsPlayerPlyr-7de1ca55b6fe412d.chunk.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.