1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5633],{65633:(e,r,t)=>{t.r(r),t.d(r,{default:()=>f});var s=t(37876),n=t(14232),o=t(24599),l=t(68638),a=t(81233),i=t(48230),d=t.n(i),u=t(68143),c=t(53587),h=t(13395),x=t(36508),k=t(19438),m=t(88062);let j=n.forwardRef(function({title:e,titleId:r,...t},s){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))});var p=t(47263);let f=({isError:e,handleSeekMouseUp:r,handleSeekMouseDown:t,handleSeekChange:i,handleVolumeChange:f,handleSetPlaybackRate:w,handleSetMuted:C,handleClickBackwards10Sec:b,handleClickForwards15Sec:g,isLoading:v})=>{let{duration:L,loaded:N,muted:y,playbackRate:M,played:W,playing:V,setPlaying:z,volume:H,postData:B,setPostData:$,playedSeconds:A}=(0,a.o)(),[T,I]=(0,n.useState)(!1),{title:E,categories:F,featuredImage:S,ncPostMetaData:_,uri:D,databaseId:Z,ncmazAudioUrl:q}=(0,p.$)(B||{}),P=D?.split("?")[0].split("#")[0].replace(/\/+$/,"").split("/").filter(Boolean).pop(),O=e=>{let r=Math.floor(e/60),t=`${e-60*r}`;return 10>Number(t)&&(t="0"+t),r+":"+t},Y=()=>{z(!V)},U=()=>(0,s.jsx)("button",{type:"button",className:"flex h-14 w-14 flex-shrink-0 cursor-pointer items-center justify-center rounded-full bg-neutral-100/70 text-neutral-700 transition-colors hover:bg-neutral-200/70 sm:h-16 sm:w-16 dark:bg-neutral-700/40 dark:text-neutral-200 dark:hover:bg-neutral-700/80",onClick:Y,disabled:v,"aria-label":v?"Yuklanmoqda":V?"Pauza":"Ijro etish",children:v?(0,s.jsx)(h.A,{className:"h-10 w-10","aria-hidden":!0}):V?(0,s.jsx)(x.A,{className:"h-10 w-10","aria-hidden":!0}):(0,s.jsx)(k.A,{className:"ms-0.5 h-10 w-10 rtl:rotate-180","aria-hidden":!0})}),R=()=>(0,s.jsxs)("button",{className:"flex h-12 w-12 items-center justify-center rounded-full transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-700/80",onClick:g,"aria-label":"15 soniya oldinga",children:[(0,s.jsxs)("svg",{className:"hidden h-6 w-6 rtl:block",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M15.96 10.8301H12.9L12.14 13.1201H14.43C15.27 13.1201 15.96 13.8001 15.96 14.6501C15.96 15.4901 15.28 16.1801 14.43 16.1801H12.14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.54004 16.17V10.8301L8.04004 12.5001",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.02 4.46997L12 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.90997 7.79999C3.79997 9.27999 3.10999 11.11 3.10999 13.11C3.10999 18.02 7.09 22 12 22C16.91 22 20.89 18.02 20.89 13.11C20.89 8.19999 16.91 4.21997 12 4.21997C11.32 4.21997 10.66 4.31002 10.02 4.46002",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsxs)("svg",{className:"block h-6 w-6 rtl:hidden",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{d:"M15.9601 10.8301H12.9001L12.1401 13.1201H14.4301C15.2701 13.1201 15.9601 13.8001 15.9601 14.6501C15.9601 15.4901 15.2801 16.1801 14.4301 16.1801H12.1401",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.54004 16.17V10.8301L8.04004 12.5001",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M13.98 4.46997L12 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M19.0899 7.79999C20.1999 9.27999 20.8899 11.11 20.8899 13.11C20.8899 18.02 16.9099 22 11.9999 22C7.08988 22 3.10986 18.02 3.10986 13.11C3.10986 8.19999 7.08988 4.21997 11.9999 4.21997C12.6799 4.21997 13.3399 4.31002 13.9799 4.46002",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})]}),G=()=>(0,s.jsxs)("button",{className:"flex h-12 w-12 items-center justify-center rounded-full transition-colors hover:bg-neutral-100 dar
1k:hover:bg-neutral-700/80",onClick:()=>b(),"aria-label":"10 soniya orqaga",children:[(0,s.jsxs)("svg",{className:"hidden h-6 w-6 rtl:block",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M13.98 4.46997L12 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M19.0899 7.79999C20.1999 9.27999 20.8899 11.11 20.8899 13.11C20.8899 18.02 16.9099 22 11.9999 22C7.08988 22 3.10986 18.02 3.10986 13.11C3.10986 8.19999 7.08988 4.21997 11.9999 4.21997C12.6799 4.21997 13.3399 4.31002 13.9799 4.46002",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.54004 15.92V10.5801L8.04004 12.2501",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M14 10.5801C15.1 10.5801 16 11.4801 16 12.5801V13.9301C16 15.0301 15.1 15.9301 14 15.9301C12.9 15.9301 12 15.0301 12 13.9301V12.5801C12 11.4701 12.9 10.5801 14 10.5801Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsxs)("svg",{className:"block h-6 w-6 rtl:hidden",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{d:"M9.54004 15.92V10.5801L8.04004 12.2501",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.02 4.46997L12 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.91 7.79999C3.8 9.27999 3.10999 11.11 3.10999 13.11C3.10999 18.02 7.09 22 12 22C16.91 22 20.89 18.02 20.89 13.11C20.89 8.19999 16.91 4.21997 12 4.21997C11.32 4.21997 10.66 4.31002 10.02 4.46002",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M14 10.5801C15.1 10.5801 16 11.4801 16 12.5801V13.9301C16 15.0301 15.1 15.9301 14 15.9301C12.9 15.9301 12 15.0301 12 13.9301V12.5801C12 11.4701 12.9 10.5801 14 10.5801Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})]}),J=()=>(0,s.jsx)("div",{className:"flex w-12 items-center justify-center",children:(0,s.jsx)("button",{className:"rounded-lg px-2 text-[11px] font-semibold leading-6 ring-1 ring-inset ring-neutral-500 transition-all duration-500",onClick:()=>1===M?w(1.5):1.5===M?w(2):2===M?w(1):void 0,"aria-label":`Ijro tezligi: ${M}x`,children:`${1.5===M?1.5:M+".0"}x`})});return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(l.e,{as:"div",className:"- nc-google-shadow relative z-0 flex w-full flex-col bg-white px-2 sm:px-3 dark:bg-neutral-800",show:!!Z&&!!q,enter:"transition-transform duration-150",enterFrom:"translate-y-full",enterTo:"translate-y-0",leave:"transition-transform duration-150",leaveFrom:"translate-y-0",leaveTo:"translate-y-full",children:[(0,s.jsx)("button",{className:"absolute -top-3 right-0 z-20 flex h-6 w-[26px] items-center justify-center lg:hidden",onClick:()=>I(!T),"aria-label":T?"Pleyer kontentini yopish":"Pleyer kontentini ochish",children:(0,s.jsx)("div",{className:"- nc-google-shadow flex h-6 w-6 items-center justify-center rounded-full bg-white dark:bg-neutral-800",children:(0,s.jsx)(j,{className:`h-4 w-4 ${T?"rotate-180":""}`,"aria-hidden":!0})})}),(0,s.jsxs)("div",{className:"absolute inset-x-0 bottom-full w-full",children:[(0,s.jsx)("input",{className:"slider absolute inset-0 z-10 h-full w-full cursor-pointer opacity-0",type:"range",min:0,max:.999999,step:"any",value:W,onMouseDown:t,onTouchStart:t,onChange:i,onMouseUp:r,onTouchEnd:r}),(0,s.jsx)("div",{className:"absolute start-0 top-1/2 h-0.5 min-w-0 -translate-y-1/2 transform rounded-full bg-primary-500/30 transition-all will-change-contents",style:{width:100*N+"%"}}),(0,s.jsx)("div",{className:"absolute start-0 top-1/2 z-0 h-0.5 min-w-0 -translate-y-1/2 transform rounded-full bg-primary-500",style:{width:`calc(${100*W+"%"} - 12px)`},children:(0,s.jsx)("span",{className:"absolute -end-3 top-1/2 h-3 w-3 -translate-y-1/2 transform rounded-full bg-primary-500"})})]}),(0,s.jsxs)("div",{className:"flex h-16 w-full justify-between sm:h-20",children:[(0,s.jsxs)("div",{className:"mr-2 flex flex-grow items-center overflow-hidden lg:flex-shrink-0 lg:basis-52",children:[(0,s.jsxs)(d(),{href:D||"",className:"relative flex h-14 items-center space-x-2 overflow-hidden ps-12 sm:h-16 sm:space-x-3 rtl:space-x-reverse",children:[(0,s.jsx)("div",{className:"absolute start-0 z-0 h-10 w-10 flex-shrink-0 overflow-hidden rounded-full shadow sm:h-12 sm:w-12",children:(0,s.jsx)(o.A,{alt:E||"post image",f
1ill:!0,sizes:"3rem",containerClassName:`absolute inset-0 transition-transform nc-animation-spin rounded-full z-0 overflow-hidden ${V?"playing":""}`,src:S?.sourceUrl||"",className:"h-full w-full rounded-full object-cover"})}),(0,s.jsxs)("div",{className:"flex-grow overflow-hidden",children:[(0,s.jsx)("h3",{className:"text-sm font-medium sm:text-base",children:(0,s.jsx)("span",{className:"line-clamp-1",dangerouslySetInnerHTML:{__html:E||""}})}),(0,s.jsx)("span",{className:"block text-xs text-neutral-500 dark:text-neutral-400",children:F?.nodes?.[0].name||""})]})]}),(0,s.jsxs)("div",{className:"hidden flex-shrink-0 space-x-2.5 px-6 xl:flex rtl:space-x-reverse",children:[(0,s.jsx)(u.A,{likeCount:_?.likesCount||0,postDatabseId:Z||0,postSlug:P}),(0,s.jsx)(c.A,{postDatabseId:Z,postSlug:P})]})]}),(0,s.jsx)("div",{className:"hidden flex-grow items-center justify-center px-5 lg:flex",children:e?(0,s.jsx)("span",{className:"flex ps-2 text-xs text-red-500 lg:text-sm",children:"This track not found or not supported."}):(0,s.jsxs)("div",{className:"flex max-w-xs flex-grow items-center justify-evenly text-neutral-500 xl:max-w-md dark:text-neutral-300",children:[(0,s.jsx)("div",{className:"w-12"}),G(),U(),R(),J()]})}),(0,s.jsxs)("div",{className:"ms-2 flex flex-shrink-0 items-center justify-end lg:flex-grow lg:basis-52",children:[(0,s.jsxs)("div",{className:"hidden items-center justify-end text-neutral-500 lg:flex dark:text-neutral-300",children:[(0,s.jsxs)("button",{onClick:()=>{if(!H){C(!1),f(.8);return}C(!y)},"aria-label":y||!H?"Ovozni yoqish":"Ovozni o'chirish",children:[!!H&&!y&&H>=.5&&(0,s.jsxs)("svg",{className:"h-5 w-5 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{d:"M2 10V14C2 16 3 17 5 17H6.43C6.8 17 7.17 17.11 7.49 17.3L10.41 19.13C12.93 20.71 15 19.56 15 16.59V7.41003C15 4.43003 12.93 3.29003 10.41 4.87003L7.49 6.70003C7.17 6.89003 6.8 7.00003 6.43 7.00003H5C3 7.00003 2 8.00003 2 10Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M18 8C19.78 10.37 19.78 13.63 18 16",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M19.83 5.5C22.72 9.35 22.72 14.65 19.83 18.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),!!H&&!y&&H<.5&&(0,s.jsxs)("svg",{className:"h-5 w-5 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{d:"M3.32996 10V14C3.32996 16 4.32996 17 6.32996 17H7.75996C8.12996 17 8.49996 17.11 8.81996 17.3L11.74 19.13C14.26 20.71 16.33 19.56 16.33 16.59V7.41003C16.33 4.43003 14.26 3.29003 11.74 4.87003L8.81996 6.70003C8.49996 6.89003 8.12996 7.00003 7.75996 7.00003H6.32996C4.32996 7.00003 3.32996 8.00003 3.32996 10Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M19.33 8C21.11 10.37 21.11 13.63 19.33 16",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(!H||y)&&(0,s.jsxs)("svg",{className:"h-5 w-5 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("path",{d:"M15 8.37003V7.41003C15 4.43003 12.93 3.29003 10.41 4.87003L7.49 6.70003C7.17 6.89003 6.8 7.00003 6.43 7.00003H5C3 7.00003 2 8.00003 2 10V14C2 16 3 17 5 17H7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.41 19.13C12.93 20.71 15 19.56 15 16.59V12.95",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M18.81 9.41992C19.71 11.5699 19.44 14.0799 18 15.9999",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M21.15 7.80005C22.62 11.29 22.18 15.37 19.83 18.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M22 2L2 22",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})]}),(0,s.jsxs)("div",{className:"relative ms-3.5 w-24 flex-shrink-0",children:[(0,s.jsx)("input",{className:"slider absolute inset-0 z-10 h-1 w-full cursor-pointer opacity-0",type:"range",min:0,max:.999999,step:"any",value:H,onChange:e=>{f(parseFloat(e.currentTarget.value)),C(!1)}}),(0,s.jsx)("div",{className:"absolute start-0 top-1/2 h-0.5 w-full min-w-0 -translate-y-1/2 roun
1ded-full bg-neutral-300 dark:bg-neutral-500"}),(0,s.jsx)("div",{className:`absolute start-0 top-1/2 h-0.5 min-w-0 -translate-y-1/2 rounded-full ${!H||y?"bg-neutral-400":"bg-primary-500"}`,style:{width:100*H+"%"},children:(0,s.jsx)("span",{className:`absolute -end-1 top-1/2 h-2.5 w-2.5 -translate-y-1/2 rounded-full ${!H||y?"bg-neutral-400":"bg-primary-500"}`})})]})]}),(0,s.jsxs)("div",{className:"me-3 ms-5 hidden flex-shrink-0 items-center justify-center text-xs tracking-widest lg:flex",children:[(0,s.jsx)("div",{className:"min-w-[40px] flex-shrink-0 truncate text-end",children:O(Math.floor(A))}),"/",(0,s.jsx)("div",{className:"min-w-[40px] flex-shrink-0 truncate",children:O(Math.floor(L))})]}),(0,s.jsx)("button",{type:"button",className:"flex h-10 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full text-neutral-700 hover:bg-neutral-100 lg:hidden dark:text-neutral-200 dark:hover:bg-black/10",onClick:Y,disabled:v,"aria-label":v?"Yuklanmoqda":V?"Pauza":"Ijro etish",children:v?(0,s.jsx)(h.A,{className:"h-6 w-6 md:h-8 md:w-8"}):V?(0,s.jsxs)("svg",{className:"h-6 w-6 md:h-8 md:w-8",fill:"currentColor",viewBox:"0 0 24 24",children:[(0,s.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M15.25 6.75V17.25"}),(0,s.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M8.75 6.75V17.25"})]}):(0,s.jsx)("svg",{className:"h-6 w-6 md:h-8 md:w-8",fill:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M18.25 12L5.75 5.75V18.25L18.25 12Z"})})}),(0,s.jsx)("button",{className:"focus:shadow-outline flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full hover:bg-neutral-100 focus:outline-none md:h-12 md:w-12 dark:hover:bg-neutral-700/80",onClick:()=>{z(!1),$(void 0)},"aria-label":"Yopish",children:(0,s.jsx)(m.A,{className:"h-6 w-6","aria-hidden":!0})})]})]}),(0,s.jsx)(l.e,{className:"z-0 flex h-16 justify-center border-t border-neutral-300 transition-all lg:hidden dark:border-neutral-700",enter:"duration-150",enterFrom:"-mb-16",enterTo:"mb-0",leave:"duration-150",leaveFrom:"mb-0",leaveTo:"-mb-16",as:"div",show:T,children:(0,s.jsxs)("div",{className:"flex max-w-xs flex-grow items-center justify-evenly text-neutral-500 sm:max-w-sm md:max-w-md dark:text-neutral-300",children:[(0,s.jsx)("div",{className:"flex w-12 justify-center",children:Z&&(0,s.jsx)(c.A,{postDatabseId:Z,postSlug:P})}),G(),U(),R(),J()]})})]})})}}}]);
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.