PageSourceSearch

https://bnrnews.bg/_next/static/chunks/2575.3068c0e4dc794203.js

js bnrnews.bg collected 2026-09-24 18:24:01 UTC 13,993 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2575],{79104:function(e,t,s){s.d(t,{a:function(){return n}});var a=s(67294),l=s(73546),r=s(85893);function n(e){let{children:t,defer:s=!1,fallback:n=null}=e,[i,c]=a.useState(!1);return(0,l.Z)(()=>{s||c(!0)},[s]),a.useEffect(()=>{s&&c(!0)},[s]),(0,r.jsx)(a.Fragment,{children:i?t:n})}},13174:function(e,t,s){var a=s(85893);s(67294),t.Z=e=>{let{width:t="w-full",height:s="h-3",rounded:l="rounded-xl",bg:r="bg-white/20",animate:n="animate-pulse",className:i=""}=e;return(0,a.jsx)("div",{className:"".concat(i," ").concat(t," ").concat(s," ").concat(l," ").concat(r," ").concat(n," ")})}},32575:function(e,t,s){s.r(t),s.d(t,{default:function(){return C}});var a=s(85893),l=s(67294),r=s(72448),n=e=>{let{className:t="size-6",fill:s="currentColor"}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:s,className:t,children:[(0,a.jsx)("path",{d:"M10.5 3.75a.75.75 0 0 0-1.264-.546L5.203 7H2.667a.75.75 0 0 0-.7.48A6.985 6.985 0 0 0 1.5 10c0 .887.165 1.737.468 2.52.111.29.39.48.7.48h2.535l4.033 3.796a.75.75 0 0 0 1.264-.546V3.75ZM16.45 5.05a.75.75 0 0 0-1.06 1.061 5.5 5.5 0 0 1 0 7.778.75.75 0 0 0 1.06 1.06 7 7 0 0 0 0-9.899Z"}),(0,a.jsx)("path",{d:"M14.329 7.172a.75.75 0 0 0-1.061 1.06 2.5 2.5 0 0 1 0 3.536.75.75 0 0 0 1.06 1.06 4 4 0 0 0 0-5.656Z"})]})},i=s(79104),c=s(61571),o=s(45007),d=s(48060),u=e=>{let{className:t="size-24"}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 110 110",className:t,children:[(0,a.jsx)("rect",{width:"110",height:"110",fill:"#fff"}),(0,a.jsx)("rect",{width:"110",height:"110",fill:"#898989"}),(0,a.jsx)("circle",{cx:"55",cy:"55",r:"50",fill:"#fff"}),(0,a.jsxs)("g",{transform:"translate(16 46)",children:[(0,a.jsx)("path",{d:"M651.158,91.493a1.712,1.712,0,0,1,3.424,0V102.32a2.363,2.363,0,0,0,.717,1.689,2.451,2.451,0,0,0,1.72.7h14.365a2.449,2.449,0,0,0,1.72-.7,2.348,2.348,0,0,0,0-3.379,2.451,2.451,0,0,0-1.72-.7h-13.98a1.682,1.682,0,1,1,0-3.363h13.98a5.9,5.9,0,0,1,4.141,1.69,5.668,5.668,0,0,1,0,8.135,5.9,5.9,0,0,1-4.141,1.69H657.019a5.9,5.9,0,0,1-4.141-1.69,5.691,5.691,0,0,1-1.72-4.067Zm52.3,14.9a1.712,1.712,0,0,1-3.424,0V102.32a2.364,2.364,0,0,0-.717-1.689,2.45,2.45,0,0,0-1.72-.7H681.828v6.47a1.712,1.712,0,0,1-3.424,0V98.245a1.7,1.7,0,0,1,1.712-1.682h17.478a5.9,5.9,0,0,1,4.141,1.69,5.69,5.69,0,0,1,1.721,4.067Zm21.095-9.833a1.682,1.682,0,1,1,0,3.363H710.506a2.452,2.452,0,0,0-1.72.7,2.366,2.366,0,0,0-.717,1.689V106.4a1.712,1.712,0,0,1-3.424,0V102.32a5.69,5.69,0,0,1,1.72-4.067,5.9,5.9,0,0,1,4.141-1.69Z",transform:"translate(-651.158 -89.812)",fill:"#183867"}),(0,a.jsx)("path",{d:"M676.637,93.269a1.682,1.682,0,1,1,0-3.363h22.854a1.682,1.682,0,1,1,0,3.363Zm44.143,0a1.682,1.682,0,1,1,0-3.363h24.883a7.054,7.054,0,0,1,4.945,1.722,6.478,6.478,0,0,1,2.008,4.768,1.69,1.69,0,0,1-1.7,1.682,1.654,1.654,0,0,1-1.711-1.669,3.324,3.324,0,0,0-.925-2.324,3.749,3.749,0,0,0-2.619-.816Z",transform:"translate(-670.471 -89.888)",fill:"#183867"})]})]})},x=e=>{let{className:t="size-4",fill:s="currentColor"}=e;return(0,a.jsx)("svg",{fill:s,className:t,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M199.90234,65.02637a99.18465,99.18465,0,0,0-71.1455-29.02344A100.00065,100.00065,0,0,0,28,136v56a20.02229,20.02229,0,0,0,20,20H64a20.02229,20.02229,0,0,0,20-20V152a20.02229,20.02229,0,0,0-20-20H36.085a92.00456,92.00456,0,0,1,92.67188-87.99707A92.00377,92.00377,0,0,1,221.37109,132h-27.915a20.02229,20.02229,0,0,0-20,20v40a20.02229,20.02229,0,0,0,20,20h16a20.02228,20.02228,0,0,0,20-20V136A99.31322,99.31322,0,0,0,199.90234,65.02637ZM64,140a12.01312,12.01312,0,0,1,12,12v40a12.01343,12.01343,0,0,1-12,12H48a12.01343,12.01343,0,0,1-12-12V140Zm157.45605,52a12.01343,12.01343,0,0,1-12,12h-16a12.01344,12.01344,0,0,1-12-12V152a12.01312,12.01312,0,0,1,12-12h28Z"})})},h=s(56969),f=s(26540),m=e=>{let{title:t,programName:s}=e,l=(0,o.v9)(f.Ft);return(0,a.jsxs)("div",{className:"flex items-center space-x-4  mr-2 xl:mr-0",children:[l.imageId?(0,a.jsx)("img",{className:"size-24  w-28  object-cover hidden 2xl:flex",
1src:(0,h.ZP)(l.imageId||""),alt:"stickyImg"}):(0,a.jsx)(u,{className:"size-24  w-auto object-cover hidden 2xl:flex"}),(0,a.jsxs)("div",{className:"max-w-lg",children:[(0,a.jsx)("p",{className:"text-base  2xl:text-xl   text-white font-serif-bold  line-clamp-3",children:t}),s&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(x,{fill:"white",className:"opacity-30 size-5"}),(0,a.jsx)("p",{className:"text-xs xl:text-sm text-white font-sans-semibold opacity-30 ",children:s})]})]})]})},g=e=>{let{min:t=0,max:s=400,value:r=0,setValue:n=()=>{},sliderClasses:i=" h-2 w-full bg-gray-300 ",sliderTrackClasses:c="bg-accentFirst",thumbClasses:o="size-4 rounded-full bg-base-600 hover:bg-black",setSeeking:d}=e,u=(0,l.useRef)(null),x=(0,l.useRef)(!1),h=e=>{if(!u.current)return;let a=u.current.getBoundingClientRect(),l=e-a.left;n(Math.round(t+(l=Math.max(0,Math.min(l,a.width)))/a.width*(s-t)))},f=()=>{d&&d(!1),x.current=!1},m=(r-t)/(s-t)*100,g=m>100?100:m;return(0,a.jsxs)("div",{ref:u,className:"".concat(i," relative  cursor-pointer  "),onClick:e=>{h(e.clientX)},onMouseMove:e=>{x.current&&h(e.clientX)},onMouseUp:f,onMouseLeave:f,onMouseDown:()=>{d&&d(!0),x.current=!0},children:[(0,a.jsx)("div",{className:"absolute h-full  ".concat(c),style:{width:"".concat(g,"%")}}),(0,a.jsx)("div",{className:"absolute transform cursor-pointer top-1/2 ".concat(o),style:{left:"".concat(g,"%"),transform:"translate(-50%, -50%)"}})]})},v=e=>{let{className:t="size-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:t,children:(0,a.jsx)("path",{d:"M10.047 3.062a.75.75 0 0 1 .453.688v12.5a.75.75 0 0 1-1.264.546L5.203 13H2.667a.75.75 0 0 1-.7-.48A6.985 6.985 0 0 1 1.5 10c0-.887.165-1.737.468-2.52a.75.75 0 0 1 .7-.48h2.535l4.033-3.796a.75.75 0 0 1 .811-.142ZM13.78 7.22a.75.75 0 1 0-1.06 1.06L14.44 10l-1.72 1.72a.75.75 0 0 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L16.56 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L15.5 8.94l-1.72-1.72Z"})})},b=e=>{let{className:t="",fill:s="currentColor"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"size-8 ".concat(t),viewBox:"0 0 32 32",fill:s,children:(0,a.jsx)("g",{transform:"translate(3.999 3.213)",children:(0,a.jsx)("path",{d:"M4829.075,2627.344v-9.851l-15.875,9.7a2.815,2.815,0,0,1-4.288-2.39v-20.621a2.809,2.809,0,0,1,1.441-2.448v-.023a2.841,2.841,0,0,1,2.847.058l15.875,9.7v-9.827a1.5,1.5,0,0,1,3,0v25.7a1.5,1.5,0,0,1-3,0Z",transform:"translate(-4808.911 -2601.359)"})})})},w=s(73194),p=s(13174),j=e=>{let{showControllers:t=!1,play:s=!1}=e,l=(0,o.I0)(),{isLoadingAudio:n}=(0,r.x)();return(0,a.jsxs)("div",{className:"rounded-full bg-none md:bg-base-400 md:bg-opacity-20  \n      mr-0  md:mr-6 lg:mr-0 flex items-center justify-evenly \n      ".concat(t?"w-24 md:w-56 h-[74px]":"size-[72px] justify-center"),children:[t&&(0,a.jsx)("button",{className:"size-5 flex items-center disabled:opacity-30",onClick:()=>l((0,c.SQ)()),disabled:n,children:(0,a.jsx)(b,{fill:"white",className:"rotate-180"})}),n?(0,a.jsx)(p.Z,{animate:"animate-spin",width:t?"":"w-96",className:"mt-3 border-4 border-accentFirst size-14 mb-3 border-t-transparent",bg:"bg-base-500",height:t?"":"h-full",rounded:"rounded-full"}):(0,a.jsx)(w.Z,{play:s,bgClassName:"bg-accentFirst rounded-full flex items-center justify-center hover:shadow-md duration-300 \n            ".concat(t?"size-12 self-center":"size-12 mb-3 self-end"),iconClassName:"text-white size-6",handlePlayPause:()=>l((0,c.Xh)())}),t&&(0,a.jsx)("button",{className:"size-5 flex items-center disabled:opacity-30",onClick:()=>l((0,c.IV)()),disabled:n,children:(0,a.jsx)(b,{fill:"white"})})]})},y=s(22004),N=s.n(y),k=s(89152),M=e=>{var t,n;let{play:d,speed:u,playerRef:x,handleProgress:h,handleDuration:f}=e,m=(0,o.I0)(),g=(0,o.v9)(k.B),{volume:v,audio:b}=(0,r.x)(),w=(0,l.useRef)(null),p=(0,l.useRef)(d),j=(null===(t=b.url)||void 0===t?void 0:t.endsWith(".m3u8"))||(null===(n=b.url)||void 0===n?void 0:n.includes("chunklist"));return(0,l.useEffect)(()=>{p.current=d},[d]),(0,l.useEffect)(()=>{if(!j||!w.current)return;if("undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){w.current.src=b.url;return}let e=null,t=!1;return(async()=>{try{let{default:a}=await s.e(9412).then(s.bind(s,93041));if(t||!w.current)return;if(!a.isSupported()){w.current.src=b.url,p.current&&w.current.play().catch(()=>{});return}let l=new a({lowLatencyMode:!1,liveSyncDuration:30,liveMaxLatencyDuration:45,startPosition:-30,maxBufferLength:90,backBufferLength:30});e=l,l.loadSource(b.url),l.attachMedia(w.current),p.current&&w.current.play().catch(()=>{}),l.on(a.Events.ERROR,(e,t)=>
1{if(t.fatal)switch(t.type){case a.ErrorTypes.NETWORK_ERROR:console.warn("HLS network error, retrying..."),l.startLoad();break;case a.ErrorTypes.MEDIA_ERROR:console.warn("HLS media error, recovering..."),l.recoverMediaError();break;default:console.error("HLS fatal error, destroying:",t),l.destroy()}})}catch(e){console.error("Failed to load hls.js:",e)}})(),()=>{t=!0,null==e||e.destroy()}},[b.url,j]),(0,l.useEffect)(()=>{j&&w.current&&(d?w.current.play().catch(()=>{}):w.current.pause())},[d,j,b.url]),(0,l.useEffect)(()=>{j&&w.current&&(w.current.volume=v/100)},[v,j]),(0,a.jsxs)(i.a,{children:[j&&!g&&(0,a.jsx)("audio",{ref:w,controls:!0,onEnded:()=>m((0,c._v)(!1)),style:{position:"absolute",width:1,height:1,opacity:0}}),!j&&(0,a.jsx)(N(),{ref:x,url:b.url,playbackRate:u,playing:!g&&d,volume:v/100,controls:!0,onDuration:f,onSeek:e=>console.log("onSeek",e),style:{display:"none"},onProgress:h,onEnded:()=>m((0,c._v)(!1)),config:{file:{forceAudio:!0}}},b.url+b.title)]})},C=()=>{let{play:e,speed:t,progress:s,duration:l,seeking:u,audio:x,setSeeking:h,handleSeekChange:f,showStickyPlayer:b,playerRef:w,volume:y,isLoadingAudio:N,handleProgress:k,handleDuration:C}=(0,r.x)(),S=(0,o.I0)(),z=(0,o.v9)(c.Ft),Z=null==z?void 0:z.isStream;return(0,a.jsxs)(i.a,{children:[(0,a.jsx)(M,{playerRef:w,play:e,speed:t,handleProgress:k,handleDuration:C}),b&&(0,a.jsxs)("div",{className:"fixed bottom-0 left-0 w-full bg-navBar shadow-lg  drop-shadow-md z-50 bg-opacity-90 backdrop-blur-sm",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center gap-2 pr-12 md:pr-4 3xl:gap-0 min-h-24",children:[(0,a.jsx)(m,{title:(null==x?void 0:x.title)||"",programName:null==x?void 0:x.programName}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"border-r border-base-400 h-12 mr-6 opacity-30 hidden 3xl:flex"}),(0,a.jsx)(j,{play:e,showControllers:z.isEpisode}),(0,a.jsx)("div",{className:"border-r border-base-400 h-12 ml-6 opacity-30  hidden 3xl:flex"})]}),N?(0,a.jsx)("div",{className:"w-full justify-center hidden lg:flex xl:w-7/12",children:(0,a.jsx)(p.Z,{width:"w-full max-w-96"})}):!Z&&(0,a.jsx)("div",{className:"hidden lg:flex items-baseline justify-center space-x-4",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"max-w-10 w-10 mr-2",children:(null==s?void 0:s.playedSeconds)?(0,a.jsx)("span",{className:"w-10 size-4 text-white font-serif text-center",children:(0,d.m)(Math.floor(null==s?void 0:s.playedSeconds))}):(0,a.jsx)("span",{className:"w-10 size-4 text-white font-serif text-center",children:"00:00"})}),(0,a.jsx)(g,{value:(null==s?void 0:s.playedSeconds)||0,setValue:Z?void 0:e=>{f(e)},max:Math.floor(l||0),seeking:u,setSeeking:h,sliderClasses:"".concat(Z?"bg-accentFirst":""," border-b rounded-xl w-96 h-2"),sliderTrackClasses:"bg-accentFirst w-full rounded-xl",thumbClasses:"hidden"}),(0,a.jsx)("span",{className:"w-10 size-4 text-white font-serif text-center",children:(0,d.m)(l&&Math.floor(l))})]})}),!Z&&c.LS&&(0,a.jsx)("div",{className:"",children:(0,a.jsx)("select",{id:"speed-selector",value:t,onChange:e=>S((0,c.LS)(Number(e.target.value))),className:"w-12 lg:w-14 h-6 block p-1 leading-2 text-xs lg:text-sm font-sans-bold border-none bg-white-200 focus:outline-none focus:border-none focus:ring-0 pr-2 absolute lg:static  top-16 right-0 rounded-l-full lg:rounded-lg text-navBar lg:text-black",children:[.7,1,1.2,1.5].map(e=>(0,a.jsx)("option",{value:e,className:"text-sm text-navBar lg:text-black",children:"".concat(e,"x")},e))})}),(0,a.jsxs)("div",{className:"flex mr-2",children:[(0,a.jsx)("div",{className:"border-l border-base-400 h-12 mx-10  hidden 3xl:flex"}),(0,a.jsxs)("div",{className:"absolute right-1 top-9 bg-white md:static md:bg-transparent flex items-center rounded-full ml-4 xl:ml-0 space-x-2 ",children:[(0,a.jsx)("button",{onClick:()=>{S((0,c.jA)(y>0?0:100))},children:0===y?(0,a.jsx)(v,{className:"size-6 text-accentFirst"}):(0,a.jsx)(n,{className:"fill-menu md:fill-white size-6"})}),(0,a.jsx)(g,{value:y,setValue:e=>S((0,c.jA)(e)),min:0,max:100,sliderClasses:"w-16 md:w-24 xl:w-28 h-2 border-b roun
1ded-xl hidden md:block",sliderTrackClasses:"bg-accentFirst rounded-xl",thumbClasses:"hidden"})]})]})]}),!Z&&(0,a.jsx)("div",{className:"flex items-baseline lg:hidden justify-center w-full bg-white/10",children:(0,a.jsx)(g,{value:(null==s?void 0:s.playedSeconds)||0,setValue:Z?void 0:e=>{f(e)},max:Math.floor(l||0),seeking:u,setSeeking:h,sliderClasses:"\n                 ".concat(Z?"bg-accentFirst":"","\n                 border-b\n               w-full h-2.5 rounded-xl"),sliderTrackClasses:"bg-accentFirst rounded-xl",thumbClasses:"hidden"})}),(0,a.jsx)("button",{onClick:()=>S((0,c.by)()),className:"flex text-navBar bg-white drop-shadow-md justify-center items-center  w-6 h-6 shrink-0  rounded-full font-sans-bold absolute top-2 right-1",children:(0,a.jsx)("span",{children:"X"})})]})]})}},48060:function(e,t,s){s.d(t,{m:function(){return a}});let a=e=>{if(!e)return"00:00";let t=Math.floor(e/3600),s=String(Math.floor(e%3600/60)).padStart(2,"0"),a=String(e%60).padStart(2,"0");if(t>0){let e=String(t).padStart(2,"0");return"".concat(e,":").concat(s,":").concat(a)}return"".concat(s,":").concat(a)}}}]);

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.