1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[41263],{12917:(e,t,l)=>{l.d(t,{BE:()=>f,Uz:()=>c,_s:()=>o,gk:()=>x,zj:()=>m});var n=l(95155),i=l(19749),s=l(12115),r=l(27007),a=l(33305);let o=e=>{let t,l,s,a=(0,i.c)(6);a[0]!==e?({shouldScaleBackground:l,...t}=e,a[0]=e,a[1]=t,a[2]=l):(t=a[1],l=a[2]);let o=void 0===l||l;return a[3]!==t||a[4]!==o?(s=(0,n.jsx)(r._s.Root,{shouldScaleBackground:o,...t}),a[3]=t,a[4]=o,a[5]=s):s=a[5],s};o.displayName="Drawer";let c=r._s.Trigger,u=r._s.Portal;r._s.Close;let d=s.forwardRef((e,t)=>{let l,s,o,c,u=(0,i.c)(9);return u[0]!==e?({className:l,...s}=e,u[0]=e,u[1]=l,u[2]=s):(l=u[1],s=u[2]),u[3]!==l?(o=(0,a.cn)("fixed inset-0 z-50 bg-black/80",l),u[3]=l,u[4]=o):o=u[4],u[5]!==s||u[6]!==t||u[7]!==o?(c=(0,n.jsx)(r._s.Overlay,{ref:t,className:o,...s}),u[5]=s,u[6]=t,u[7]=o,u[8]=c):c=u[8],c});d.displayName=r._s.Overlay.displayName;let m=s.forwardRef((e,t)=>{let l,s,o,c,m,f,x,h,b,p=(0,i.c)(18);return p[0]!==e?({className:s,children:l,overlayProps:o,...c}=e,p[0]=e,p[1]=l,p[2]=s,p[3]=o,p[4]=c):(l=p[1],s=p[2],o=p[3],c=p[4]),p[5]!==o?(m=(0,n.jsx)(d,{...o}),p[5]=o,p[6]=m):m=p[6],p[7]!==s?(f=(0,a.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",s),p[7]=s,p[8]=f):f=p[8],p[9]===Symbol.for("react.memo_cache_sentinel")?(x=(0,n.jsx)("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),p[9]=x):x=p[9],p[10]!==l||p[11]!==c||p[12]!==t||p[13]!==f?(h=(0,n.jsxs)(r._s.Content,{ref:t,className:f,...c,children:[x,l]}),p[10]=l,p[11]=c,p[12]=t,p[13]=f,p[14]=h):h=p[14],p[15]!==m||p[16]!==h?(b=(0,n.jsxs)(u,{children:[m,h]}),p[15]=m,p[16]=h,p[17]=b):b=p[17],b});m.displayName="DrawerContent";let f=e=>{let t,l,s,r,o=(0,i.c)(8);return o[0]!==e?({className:t,...l}=e,o[0]=e,o[1]=t,o[2]=l):(t=o[1],l=o[2]),o[3]!==t?(s=(0,a.cn)("grid gap-1.5 p-4 text-center sm:text-left",t),o[3]=t,o[4]=s):s=o[4],o[5]!==l||o[6]!==s?(r=(0,n.jsx)("div",{className:s,...l}),o[5]=l,o[6]=s,o[7]=r):r=o[7],r};f.displayName="DrawerHeader";let x=s.forwardRef((e,t)=>{let l,s,o,c,u=(0,i.c)(9);return u[0]!==e?({className:l,...s}=e,u[0]=e,u[1]=l,u[2]=s):(l=u[1],s=u[2]),u[3]!==l?(o=(0,a.cn)("text-lg font-semibold leading-none tracking-tight",l),u[3]=l,u[4]=o):o=u[4],u[5]!==s||u[6]!==t||u[7]!==o?(c=(0,n.jsx)(r._s.Title,{ref:t,className:o,...s}),u[5]=s,u[6]=t,u[7]=o,u[8]=c):c=u[8],c});x.displayName=r._s.Title.displayName,s.forwardRef((e,t)=>{let l,s,o,c,u=(0,i.c)(9);return u[0]!==e?({className:l,...s}=e,u[0]=e,u[1]=l,u[2]=s):(l=u[1],s=u[2]),u[3]!==l?(o=(0,a.cn)("text-sm text-muted-foreground",l),u[3]=l,u[4]=o):o=u[4],u[5]!==s||u[6]!==t||u[7]!==o?(c=(0,n.jsx)(r._s.Description,{ref:t,className:o,...s}),u[5]=s,u[6]=t,u[7]=o,u[8]=c):c=u[8],c}).displayName=r._s.Description.displayName},15927:(e,t,l)=>{l.d(t,{A:()=>n});let n=(0,l(15431).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},41263:(e,t,l)=>{l.r(t),l.d(t,{default:()=>k});var n=l(95155),i=l(19749),s=l(12115),r=l(58079),a=l(69294),o=l(15927),c=l(99345),u=l(96334),d=l(67183),m=l(96439),f=l(88422);l(33520);var x=l(62651),h=l(12917),b=l(70727),p=l(95353),v=l(900);function g(e,t){return e&&"object"==typeof e&&(e[t]||e.en)||""}function w(e){let t=Number(null==e?void 0:e.duration_seconds);return(Number.isFinite(t)&&t>0?t:5)*1e3}function _(e){return(null==e?void 0:e.banner_type)==="video"&&!!(null==e?void 0:e.banner_url)&&0===Number(null==e?void 0:e.duration_seconds)}function y(e){let t,l,r,a,o,c,u,d,m,f,x=(0,i.c)(34),{announcement:h,locale:b,isMobile:p,isActive:v,shouldLoopVideo:w,onVideoEnded:y}=e;x[0]!==h.tag_i18n||x[1]!==b?(t=g(h.tag_i18n,b),x[0]=h.tag_i18n,x[1]=b,x[2]=t):t=x[2];let N=t;x[3]!==h.title_i18n||x[4]!==b?(l=g(h.title_i18n,b),x[3]=h.title_i18n,x[4]=b,x[5]=l):l=x[5];let k=l;x[6]!==h.description_i18n||x[7]!==b?(r=g(h.description_i18n,b),x[6]=h.description_i18n,x[7]=b,x[8]=r):r=x[8];let C=r,E="video"===h.banner_type,S=h.tag_bg_color||"#FFE343",F=(0,s.useRef)(null);x[9]!==v||x[10]!==E?(a=()=>{v&&E&&F.current&&(F.current.currentTime=0,F.current.play().catch(j))},o=[v,E],x[9]=v,x[10]=E,x[11]=a,x[12]=o):(a=x[11],o=x[12]),(0,s.useEffect)(a,o);let z=`flex min-h-0 w-full min-w-0 flex-col ${p?"gap-4":"gap-6"}`;return x[13]!==h||x[14]!==p||x[15]!==E||x[16]!==y||x[17]!==w||x[18]!==N||x[19]!==S?(c=h.banner_url?(0,n.jsxs)("div",{className:`relative aspect-video w-full overflow-hidden bg-[linear-gradient(180deg,#464B49_0%,#272D30_100%)] ${p?"rounded-lg":"rounded-xl"}`,children:[E?(0,n.jsx)("video",{ref:F,className:"absolute inset-0 h-full w-full max-w-full object-cover",src:h.banner_url,poster:h.banner_cover_url||void 0,width:"720",height:"405",autoPlay:!0,muted:!0,loop:w||!_(h),onEnded:y,playsInl
1ine:!0,preload:"metadata"}):(0,n.jsx)("img",{className:"absolute inset-0 h-full w-full max-w-full object-cover",src:h.banner_url,alt:""}),N?(0,n.jsx)("span",{className:`absolute top-2 left-2 inline-flex max-w-[calc(100%-16px)] items-center rounded-sm font-extrabold text-[#111111] italic ${p?"min-h-[22px] px-1 text-[11px] leading-[14px]":"min-h-6 px-1.5 text-base leading-6"}`,style:{backgroundColor:S},children:(0,n.jsx)("span",{className:"min-w-0 break-words",children:N})}):null]}):null,x[13]=h,x[14]=p,x[15]=E,x[16]=y,x[17]=w,x[18]=N,x[19]=S,x[20]=c):c=x[20],x[21]!==p||x[22]!==k?(u=k?(0,n.jsx)("h2",{className:p?"line-clamp-2 overflow-hidden text-lg leading-[26px] font-bold [overflow-wrap:anywhere] text-[#8EFF43]":"line-clamp-2 overflow-hidden text-2xl leading-8 font-semibold [overflow-wrap:anywhere] text-[#8EFF43] sm:text-[32px] sm:leading-10",children:k}):null,x[21]=p,x[22]=k,x[23]=u):u=x[23],x[24]!==C||x[25]!==p?(d=C?(0,n.jsx)("p",{className:`line-clamp-3 w-full min-w-0 overflow-hidden [overflow-wrap:anywhere] whitespace-pre-line text-white ${p?"text-xs leading-5":"text-sm leading-[22px]"}`,children:C}):null,x[24]=C,x[25]=p,x[26]=d):d=x[26],x[27]!==u||x[28]!==d?(m=(0,n.jsxs)("div",{className:"flex flex-col gap-2 text-center",children:[u,d]}),x[27]=u,x[28]=d,x[29]=m):m=x[29],x[30]!==m||x[31]!==z||x[32]!==c?(f=(0,n.jsxs)("article",{className:z,children:[c,m]}),x[30]=m,x[31]=z,x[32]=c,x[33]=f):f=x[33],f}function j(){}function N(e){let t,l,u,x,h,b,p,v,j,N,k,C,E,S,F,z,A,D=(0,i.c)(53),{announcements:R,locale:$,onClose:O,isMobile:P}=e,T=(0,c.c)("data"),B=(0,s.useRef)(null),I=(0,s.useRef)(!1),L=(0,d.rd)(),[M,V]=(0,s.useState)(0),q=R[M]||R[0],W=1===R.length&&(null==q?void 0:q.banner_type)==="video"&&!!(null==q?void 0:q.banner_url),G=null==q?void 0:q.button_text_i18n;D[0]!==$||D[1]!==G?(t=g(G,$),D[0]=$,D[1]=G,D[2]=t):t=D[2];let H=t,U=!!H;D[3]===Symbol.for("react.memo_cache_sentinel")?(l=(e,t)=>{if((null==e?void 0:e.autoplay)&&!I.current){if(_(t))return void e.autoplay.stop();e.params.autoplay.delay=w(t),e.autoplay.start()}},D[3]=l):l=D[3];let Y=l;D[4]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{var e,t;I.current=!0,null==(t=B.current)||null==(e=t.autoplay)||e.stop()},D[4]=u):u=D[4];let J=u;D[5]!==(null==q?void 0:q.button_link)||D[6]!==O||D[7]!==L?(x=()=>{var e;let t=null==q||null==(e=q.button_link)?void 0:e.trim();O(),t&&(t.startsWith("/")&&!t.startsWith("//")?L.push(t):window.location.assign(t))},D[5]=null==q?void 0:q.button_link,D[6]=O,D[7]=L,D[8]=x):x=D[8];let K=x,Q=`relative w-full min-w-0 font-[Poppins,Open_Sans,sans-serif] ${P?"px-4 pt-9 pb-6":"p-5 sm:p-6"}`;D[9]!==P||D[10]!==O?(h=P?null:(0,n.jsx)("button",{type:"button","aria-label":"Close announcement",onClick:O,className:"absolute top-1 right-1 z-10 inline-flex size-6 items-center justify-center rounded-md text-white/70 transition hover:bg-white/10 hover:text-white focus-visible:ring-2 focus-visible:ring-[#8EFF43] focus-visible:outline-none",children:(0,n.jsx)(r.A,{className:"size-4"})}),D[9]=P,D[10]=O,D[11]=h):h=D[11],D[12]===Symbol.for("react.memo_cache_sentinel")?(b=[m.Ij],D[12]=b):b=D[12];let X=R.length>1;return D[13]!==q?(p=w(q),D[13]=q,D[14]=p):p=D[14],D[15]!==p?(v={delay:p,disableOnInteraction:!1},D[15]=p,D[16]=v):v=D[16],D[17]!==R[0]?(j=e=>{B.current=e,Y(e,R[0])},D[17]=R[0],D[18]=j):j=D[18],D[19]!==R?(N=e=>{let t=e.realIndex;V(t),Y(e,R[t])},D[19]=R,D[20]=N):N=D[20],D[21]===Symbol.for("react.memo_cache_sentinel")?(k=e=>{0!==e.touches.diff&&J()},D[21]=k):k=D[21],D[22]!==M||D[23]!==R||D[24]!==P||D[25]!==$||D[26]!==W?(C=R.map(e=>{var t;return(0,n.jsx)(f.qr,{className:"min-w-0",children:(0,n.jsx)(y,{announcement:e,locale:$,isMobile:P,isActive:(null==(t=R[M])?void 0:t.id)===e.id,shouldLoopVideo:W,onVideoEnded:()=>{var t,l;R.length>1&&(null==(t=R[M])?void 0:t.id)===e.id&&(null==(l=B.current)||l.slideNext())}})},e.id)}),D[22]=M,D[23]=R,D[24]=P,D[25]=$,D[26]=W,D[27]=C):C=D[27],D[28]!==v||D[29]!==j||D[30]!==N||D[31]!==C||D[32]!==X?(E=(0,n.jsx)(f.RC,{className:"w-full min-w-0",modules:b,loop:X,slidesPerView:1,spaceBetween:16,autoplay:v,onSwiper:j,onSlideChange:N,onTouchEnd:k,
1children:C}),D[28]=v,D[29]=j,D[30]=N,D[31]=C,D[32]=X,D[33]=E):E=D[33],D[34]!==M||D[35]!==R?(S=R.length>1?(0,n.jsxs)("div",{className:"mt-9 flex items-center justify-between","aria-label":"Announcement slides",children:[(0,n.jsx)("button",{type:"button","aria-label":"Previous announcement",onClick:()=>{var e;J(),null==(e=B.current)||e.slidePrev()},className:"inline-flex size-6 items-center justify-center rounded-full bg-white/10 text-white/40 backdrop-blur-[4px] transition-colors hover:text-white focus-visible:ring-2 focus-visible:ring-[#8EFF43] focus-visible:outline-none",children:(0,n.jsx)(a.A,{className:"size-4"})}),(0,n.jsx)("div",{className:"flex items-center justify-center gap-2",children:R.map((e,t)=>(0,n.jsx)("button",{type:"button","aria-label":`Show announcement ${t+1}`,"aria-current":t===M?"true":void 0,onClick:()=>{var e;J(),null==(e=B.current)||e.slideToLoop(t)},className:`h-1 rounded-full transition ${t===M?"w-6 bg-white":"w-3 bg-white/40 hover:bg-white/70"}`},e.id))}),(0,n.jsx)("button",{type:"button","aria-label":"Next announcement",onClick:()=>{var e;J(),null==(e=B.current)||e.slideNext()},className:"inline-flex size-6 items-center justify-center rounded-full bg-white/10 text-white/40 backdrop-blur-[4px] transition-colors hover:text-white focus-visible:ring-2 focus-visible:ring-[#8EFF43] focus-visible:outline-none",children:(0,n.jsx)(o.A,{className:"size-4"})})]}):null,D[34]=M,D[35]=R,D[36]=S):S=D[36],D[37]!==H||D[38]!==K||D[39]!==U||D[40]!==P?(F=U?(0,n.jsx)("div",{className:`${P?"mt-9":"mt-2"} flex justify-center`,children:(0,n.jsxs)("button",{type:"button",onClick:K,className:"flex h-12 w-full max-w-90 items-center justify-center gap-2 rounded-full bg-[#8EFF43] px-3 text-base leading-6 font-semibold text-[#111111] transition hover:bg-[#9DFD57] focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-[#212121] focus-visible:outline-none",children:[(0,n.jsx)("span",{className:"truncate",children:H}),(0,n.jsx)(o.A,{className:"size-4 shrink-0"})]})}):null,D[37]=H,D[38]=K,D[39]=U,D[40]=P,D[41]=F):F=D[41],D[42]!==P||D[43]!==O||D[44]!==T?(z=P?(0,n.jsx)("button",{type:"button",onClick:O,className:"mt-3 flex h-12 w-full items-center justify-center rounded-full border border-[#383838] px-3 text-base leading-6 font-semibold text-[#676767] transition hover:bg-white/5 hover:text-white focus-visible:ring-2 focus-visible:ring-[#8EFF43] focus-visible:outline-none",children:T("t536")}):null,D[42]=P,D[43]=O,D[44]=T,D[45]=z):z=D[45],D[46]!==E||D[47]!==S||D[48]!==F||D[49]!==z||D[50]!==Q||D[51]!==h?(A=(0,n.jsxs)("div",{className:Q,children:[h,E,S,F,z]}),D[46]=E,D[47]=S,D[48]=F,D[49]=z,D[50]=Q,D[51]=h,D[52]=A):A=D[52],A}function k(){let e,t,l,r,a,o,c,d=(0,i.c)(21),{userInfo:m}=(0,b.e)(),f=(0,u.Ym)(),v=function(){let e,t,l=(0,i.c)(2),[n,r]=(0,s.useState)(!1);return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=window.matchMedia("(max-width: 767px)"),t=()=>r(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},t=[],l[0]=e,l[1]=t):(e=l[0],t=l[1]),(0,s.useEffect)(e,t),n}();d[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],d[0]=e):e=d[0];let[g,w]=(0,s.useState)(e),[_,y]=(0,s.useState)(!1),j=!!(null==m?void 0:m.id),k=null==m?void 0:m.id;d[1]!==k?(t=[k],d[1]=k,d[2]=t):t=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(l=e=>{(null==e?void 0:e.status)===200&&Array.isArray(e.data)&&e.data.length&&(w(e.data),y(!0))},d[3]=l):l=d[3],d[4]!==j||d[5]!==t?(r={ready:j,refreshDeps:t,showError:!1,onSuccess:l},d[4]=j,d[5]=t,d[6]=r):r=d[6],(0,p.A)(C,r),d[7]!==g||d[8]!==v||d[9]!==f?(a=g.length?(0,n.jsx)(N,{announcements:g,locale:f,onClose:()=>y(!1),isMobile:v}):null,d[7]=g,d[8]=v,d[9]=f,d[10]=a):a=d[10];let E=a;if(!E)return null;if(v){let e,t;return d[11]!==E?(e=(0,n.jsx)(h.zj,{className:"border-[#383838] bg-[#212121] text-white [&>div:first-child]:my-2 [&>div:first-child]:h-1 [&>div:first-child]:w-9 [&>div:first-child]:bg-[#676767]",children:E}),d[11]=E,d[12]=e):e=d[12],d[13]!==_||d[14]!==e?(t=(0,n.jsx)(h._s,{open:_,onOpenChange:y,children:e}),d[13]=_,d[14]=e,d[15]=t):t=d[15],t}return d[16]!==E?(o=(0,n.jsx)(x.Cf,{className:"w-[768px] max-w-[calc(100vw-32px)] min-w-0 rounded-2xl border-[#383838] bg-[#202020CC] p-0 text-white shadow-[0_12px_24px_rgba(0,0,0,0.4)] backdrop-blur-[18px]",overlayClassName:"bg-black/70",children:E}),d[16]=E,d[17]=o):o=d[17],d[18]!==_||d[19]!==o?(c=(0,n.jsx)(x.lG,{open:_,onOpenChange:y,children:o}),d[18]=_,d[19]=o,d[20]=c):c=d[20],c}function C(){return(0,v.bE)("/api/announcements/popup",{})}},69294:(e,t,l)=>{l.d(t,{A:()=>n});let n=(0,l(15431).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])}}]);
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.