PageSourceSearch

https://bigvu.tv/blog/_next/static/chunks/212f061396ba40d8.js

js bigvu.tv collected 2026-10-01 10:25:30 UTC 9,149 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33722,e=>{"use strict";var t=e.i(43476),l=e.i(57688),a=e.i(81657),s=e.i(48148);e.i(3810);var r=e.i(848);function i(){let e=(0,s.useTranslations)(),i=(0,r.sanitizeHtmlContent)(e.raw("heroTitle"));return(0,t.jsxs)("section",{className:"relative mb-10 hidden h-[210px] w-full overflow-hidden rounded-3xl md:block xl:h-[192px]",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(l.default,{src:a.HERO_ASSETS.background,alt:"Background",fill:!0,className:"object-cover object-left rtl:-scale-x-100"})}),(0,t.jsxs)("div",{className:"absolute inset-0 flex",children:[(0,t.jsxs)("div",{className:"flex w-[410px] shrink-0 flex-col gap-4 p-8 xl:w-[740px] xl:flex-row xl:items-center xl:gap-6 xl:px-10 xl:py-0",children:[(0,t.jsx)("h1",{className:"w-max shrink-0 pb-[0.12em] text-[42px] leading-[0.9] font-bold tracking-[-0.02em] text-nowrap mix-blend-plus-lighter xl:mask-[linear-gradient(95deg,#000_11.54%,transparent_100%)] xl:text-[60px] xl:[-webkit-mask-image:linear-gradient(95deg,#000_11.54%,transparent_100%)] rtl:xl:mask-[linear-gradient(265deg,#000_11.54%,transparent_100%)] rtl:xl:[-webkit-mask-image:linear-gradient(265deg,#000_11.54%,transparent_100%)] [&>br]:hidden xl:[&>br]:block",style:{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), #FFF",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},dangerouslySetInnerHTML:{__html:i}}),(0,t.jsx)("p",{className:"max-w-[350px] text-[16px] leading-[1.4] font-normal text-white xl:max-w-none xl:text-[16px]",children:e("heroDescription")})]}),(0,t.jsxs)("div",{className:"relative min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute top-4/7 start-0 hidden h-[200px] w-[460px] -translate-y-1/2 mix-blend-plus-lighter xl:block",children:(0,t.jsx)(l.default,{src:a.BACKGROUNDS.bigvuWatermark,alt:"",fill:!0,className:"object-contain object-left opacity-40 rtl:object-right"})}),(0,t.jsx)("div",{className:"absolute top-[10px] end-[140px] z-9 aspect-square w-[155px] xl:-top-[25px] xl:end-[190p
1x] xl:w-[175px]",children:(0,t.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-lg",children:(0,t.jsx)(l.default,{src:a.HERO_ASSETS.avatar1,alt:"",fill:!0,className:"object-contain"})})}),(0,t.jsx)("div",{className:"absolute top-[44px] end-[70px] z-30 rotate-6 rtl:-rotate-6 xl:top-[20px] xl:end-[130px]",children:(0,t.jsx)("div",{className:"flex items-center justify-center rounded-full border border-white bg-white px-2.5 py-2 shadow-lg",children:(0,t.jsx)("span",{className:"text-[13px] leading-none font-medium tracking-[-0.02em] whitespace-nowrap text-black xl:text-sm",children:e("badgeVideoEmails")})})}),(0,t.jsx)("div",{className:"absolute top-[48px] end-[28px] z-10 aspect-square w-[155px] xl:top-[25px] xl:end-[70px] xl:w-[175px]",children:(0,t.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-lg",children:(0,t.jsx)(l.default,{src:a.HERO_ASSETS.avatar2,alt:"",fill:!0,className:"object-contain"})})}),(0,t.jsx)("div",{className:"absolute top-[140px] end-[220px] z-30 -rotate-[8deg] rtl:rotate-[8deg] xl:top-[120px] xl:end-[290px]",children:(0,t.jsx)("div",{className:"flex items-center justify-center rounded-full border border-white bg-white px-2.5 py-2 shadow-lg",children:(0,t.jsx)("span",{className:"text-[13px] leading-none font-medium tracking-[-0.02em] whitespace-nowrap text-black xl:text-sm",children:e("badgeScripts")})})}),(0,t.jsx)("div",{className:"absolute end-[30px] bottom-2 z-30 rotate-[7deg] rtl:-rotate-[7deg] xl:end-[25px] xl:bottom-[30px]",children:(0,t.jsx)("div",{className:"flex items-center justify-center rounded-full border border-white bg-white px-2.5 py-2 shadow-lg",children:(0,t.jsx)("span",{className:"text-[13px] leading-none font-medium tracking-[-0.02em] whitespace-nowrap text-black xl:text-sm",children:e("badgeAiVideos")})})})]})]})]})}e.s(["default",()=>i])},79291,e=>{"use strict";var t=e.i(43476),l=e.i(71645);e.i(3810);var a=e.i(23854);e.i(6928);var s=e.i(88466),r=e.i(38839),i=e.i(61745);function n({topics:e,selectedTopic:l,onSelectTopic:a}){let s=(0,i.useLocale)();return(0,t.jsx)("div",{className:"scrollbar-hide order-2 -mx-4 overflow-x-auto 1xl:order-1 1xl:mx-0 1xl:flex-1 1xl:overflow-visible md:-mx-6",children:(0,t.jsx)("div",{className:"flex gap-[10px] px-4 1xl:flex-wrap 1xl:px-0 md:px-6",children:e.map(e=>(0,t.jsx)("button",{onClick:()=>a(e.slug),className:`rounded-full px-[16px] py-[10px] text-[14px] leading-[1.4] font-semibold tracking-[-0.14px] whitespace-nowrap transition-all duration-200 ${l===e.slug?"bg-navy-800 text-white":"bg-blue-50 text-navy-800 hover:bg-blue-100"} `,children:(0,r.getTopicLabel)(e,s)},e.id))})})}e.i(94039);var o=e.i(81657),c=e.i(48148);function d({searchTerm:e,onSearchChange:a}){let s=(0,c.useTranslations)(),r=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=()=>{r.current&&document.activeElement===r.current&&r.current.blur()};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsxs)("div",{className:"relative w-full md:w-[300px]",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3",children:(0,t.jsx)("img",{src:o.ICONS.ui.search,alt:"",className:"h-4 w-4 opacity-40"})}),(0,t.jsx)("input",{ref:r,type:"text",id:"article-search","aria-label":"Search articles",className:"block w-full rounded-full border border-gray-200 py-2 pe-3 ps-9 text-base placeholder-gray-400 transition-all focus:border-blue-500 focus:ring-1 focus:ring-blue-500 focus:outline-none",placeholder:s("searchPlaceholder"),value:e,onChange:e=>a(e.target.value)})]})}e.i(24856),e.i(99115);var x=e.i(46068);e.i(54943),e.i(48024),e.i(99572),e.i(97211),e.i(72693),e.i(45598);var x=x,p=e.i(61787),u=e.i(38378);let m={recent:"sortRecent",author:"sortAuthor",readTime:"sortReadTime"};function h({sortBy:e,onSortChange:a}){let s=(0,c.useTranslations)(),[r,i]=(0,l.useState)(!1),n=(0,l.useRef)(null),o=s(m[e]);return(0,x.useClickOutside)(n,()=>i(!1)),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",ref:n,children:[(0,t.jsx)("span",{className:"text-[16px] font-medium text-gray-500",children:s("sortLabel")}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>i(!r),className:"flex cursor-pointer items-center gap-1.5 text-[16px] font-medium whitespace-nowrap text-navy-800 transition-colors hover:text-navy-600 focus:outline-none",children:[(0,t.jsx)("span",{children:o}
1),(0,t.jsx)(u.DropdownArrowIcon,{className:`h-2.5 w-2.5 opacity-60 transition-transform duration-200 ${r?"rotate-180":""}`})]}),r&&(0,t.jsx)("div",{className:"absolute top-full end-0 z-50 mt-2 min-w-[120px] overflow-hidden rounded-lg border border-gray-100 bg-white shadow-lg",children:p.SORT_OPTIONS.map(l=>(0,t.jsx)("button",{onClick:()=>{a(l.value),i(!1)},className:`w-full px-4 py-2 text-start text-[18px] whitespace-nowrap transition-colors md:text-[22px] ${e===l.value?"bg-blue-50 font-semibold text-navy-800":"text-gray-600 hover:bg-gray-50 hover:text-navy-800"} `,children:s(m[l.value])},l.value))})]})]})}function g({topics:e,selectedTopic:l,onSelectTopic:a,searchTerm:s,onSearchChange:r,sortBy:i,onSortChange:o}){return(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)(d,{searchTerm:s,onSearchChange:r}),(0,t.jsx)(h,{sortBy:i,onSortChange:o})]}),(0,t.jsx)(n,{topics:e,selectedTopic:l,onSelectTopic:a})]})})}var b=e.i(67120);e.i(95043);var f=e.i(89099),f=f;function v({posts:e,hasMore:l,onLoadMore:a}){let s=(0,c.useTranslations)();return(0,t.jsxs)("div",{className:"space-y-10",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 1xl:grid-cols-4",children:e.map(e=>(0,t.jsx)(b.default,{post:e},e.id))}),l&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(f.default,{variant:"outline",onClick:a,children:s("loadMore")})})]})}function w({posts:e,topics:r}){let[i,n]=(0,l.useState)("all"),[o,c]=(0,l.useState)(""),[d,x]=(0,l.useState)("recent"),p=(0,l.useMemo)(()=>{let t=[...e];if("all"!==i&&(t=t.filter(e=>e.topic.slug===i)),o.trim()){let e=o.toLowerCase().trim();t=t.filter(t=>t.title.toLowerCase().includes(e))}switch(d){case"recent":t.sort((e,t)=>new Date(t.date).getTime()-new Date(e.date).getTime());break;case"author":t.sort((e,t)=>e.author.name.localeCompare(t.author.name));break;case"readTime":t.sort((e,t)=>(0,a.parseReadTime)(e.readTime)-(0,a.parseReadTime)(t.readTime))}return t},[e,i,o,d]),{visibleItems:u,hasMore:m,loadMore:h}=(0,s.useLoadMore)(p);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"mb-8 sm:mb-10",children:(0,t.jsx)(g,{topics:r,selectedTopic:i,onSelectTopic:n,searchTerm:o,onSearchChange:c,sortBy:d,onSortChange:x})}),(0,t.jsx)("section",{className:"mb-16 lg:mb-20",children:(0,t.jsx)(v,{posts:u,hasMore:m,onLoadMore:h})})]})}e.s(["default",()=>w],79291)}]);

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.