(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(2312)}])},6187:function(e,t,i){"use strict";var a=i(5893),n=i(7239),s=i(6089);i(7294),t.Z=e=>{let{source:t}=e;return(0,a.jsx)(n.M,{bg:"white",px:{base:"20px",lg:"64px"},py:{base:"20px",lg:"40px"},children:(0,a.jsx)(s.E,{src:t,w:"full",objectFit:"contain"})})}},3211:function(e,t,i){"use strict";var a=i(5893),n=i(3717),s=i(7747),o=i(1293),l=i(6089),r=i(5242);i(7294);var p=i(4332),c=i(1163),x=i(4093);t.Z=()=>{let e=(0,c.useRouter)(),t=p.t.find(e=>e.isFeatured);return t?(0,a.jsxs)(n.k,{direction:"column",gap:"24px",align:"center",py:"32px",px:{base:"32px",lg:"64px"},color:"white",bg:x.T,bgSize:"cover",bgRepeat:"no-repeat",bgPosition:"center",children:[(0,a.jsxs)(s.xu,{children:[(0,a.jsx)(o.x,{textAlign:"center",fontWeight:"bold",fontSize:{base:"16px",lg:"32px"},children:"PERTANDINGAN BERIKUTNYA"}),(0,a.jsxs)(o.x,{textAlign:"center",fontSize:{base:"16px",lg:"32px"},textTransform:"uppercase",children:[t.eventDate,", ",t.eventTime]})]}),(0,a.jsxs)(n.k,{w:"full",direction:{base:"column",sm:"row"},children:[(0,a.jsxs)(n.k,{flex:"1",align:"center",justify:"center",gap:"20px",children:[(0,a.jsx)(l.E,{src:t.homeLogo,h:{base:"80px",lg:"180px"},w:{base:"80px",lg:"180px"},objectFit:"contain"}),(0,a.jsx)(o.x,{fontSize:{base:"14px",lg:"28px"},textAlign:"center",fontWeight:"bold",children:t.homeTeam})]}),(0,a.jsx)(n.k,{flex:"1",align:"center",gap:"20px",children:(0,a.jsx)(o.x,{fontSize:{base:"20px",lg:"52px"},w:"full",textAlign:"center",children:t.score})}),(0,a.jsxs)(n.k,{flex:"1",align:"center",justify:"center",gap:"20px",children:[(0,a.jsx)(o.x,{fontSize:{base:"14px",lg:"28px"},textAlign:"center",fontWeight:"bold",children:t.awayTeam}),(0,a.jsx)(l.E,{src:t.awayLogo,h:{base:"80px",lg:"180px"},w:{base:"80px",lg:"180px"},objectFit:"contain"})]})]}),t.ticketingStatus===p.O.TICKET_OPEN&&(0,a.jsx)(r.z,{fontSize:"24px",px:"120px",py:"24px",borderRadius:"0px",colorScheme:"whiteAlpha",bg:"white",color:"#282828",onClick:()=>e.push(t.link),children:"BELI TIKET"})]}):(0,a.jsx)(a.Fragment,{})}},3846:function(e,t,i){"use strict";i.d(t,{E:function(){return A}});var a=i(5893),n=i(273),s=i(7747),o=i(6089),l=i(3717),r=i(8371),p=i(1293),c=i(5242);i(7294);var x=i(9583),g=i(2207),d=i(4093);let u={[g.lX.FOTO]:x.Dmm,[g.lX.VIDEO]:x.gmG},m={[g.lX.FOTO]:"LIHAT SELENGKAPNYA",[g.lX.VIDEO]:"TONTON SELENGKAPNYA"},A={WHITE:"WHITE",BIG:"BIG"};t.Z=e=>{var t,i;let{image:g,type:h,title:b,createdAt:E,link:j,variant:f}=e;return(0,a.jsxs)(s.xu,{children:[(0,a.jsxs)(s.xu,{position:"relative",as:"a",href:j,target:"blank",children:[(0,a.jsx)(o.E,{src:g,w:"full",h:f===A.BIG?{base:"243px",lg:"565px"}:"243px",objectFit:"cover"}),(0,a.jsxs)(l.k,{direction:"column",w:"full",h:"full",gap:"4px",position:"absolute",bottom:"0px",px:"12px",py:"12px",align:"flex-start",justify:"flex-end",bg:"linear-gradient(to bottom, #0000, #0005)",children:[(0,a.jsxs)(r.Vp,{bg:d.r,color:"white",borderRadius:"0px",w:"auto",children:[(0,a.jsx)(r.AD,{boxSize:"12px",as:null!==(t=u[h])&&void 0!==t?t:x.kpq}),(0,a.jsx)(r.Sn,{fontWeight:"600",children:null!=h?h:"BERITA"})]}),(0,a.jsx)(p.x,{noOfLines:2,fontWeight:"700",color:"white",fontSize:f===A.BIG?{base:"20px",lg:"36px"}:"18px",fontFamily:f===A.BIG?"'Bai Jamjuree'":"Poppins",children:b}),(0,a.jsx)(p.x,{display:f===A.BIG?"block":"none",color:"white",fontSize:"16px",children:E})]})]}),(0,a.jsxs)(l.k,{justify:"space-between",mt:"4px",display:f===A.BIG?"none":"flex",children:[(0,a.jsx)(p.x,{color:f===A.WHITE?"white":"#8B8B8C",fontSize:"16px",children:E}),(0,a.jsx)(c.z,{rightIcon:(0,a.jsx)(n.m,{}),colorScheme:"whiteAlpha",variant:"ghost",color:f===A.WHITE?"white":d.r,p:"0px",h:"auto",as:"a",href:j,fontSize:"16px",children:null!==(i=m[h])&&void 0!==i?i:"BACA SELENGKAPNYA"})]})]})}},3259:function(e,t,i){"use strict";var a=i(5893),n=i(7747),s=i(3717);i(7294);var o=i(2261),l=i(6465),r=i(9583),p=i(3846);let c={0:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}};t.Z=e=>{let{newsList:t,breakpoints:i=c}=e;return(0,a.jsxs)(o.tq,{autoHeight:!0,modules:[l.W_,l.tl,l.pt,l.rj],pagination:{clickable:!0,el:".pagination",bulletClass:"swiper-pagination-bullet custom-swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active custom-swiper-pagination-bullet-active"},navigation:{enabled:!0,prevEl:".prev-button",nextEl:".next-button"},spaceBetween:"16px",breakpoints:i,autoplay:{delay:5e3,disableOnInteraction:!1},children:[t.map(e=>(0,a.jsx)(o.o5,{children:(0,a.jsx)(p.Z,{...e})},e.title)),(0,a.jsx)(n.xu,{w:"full",mt:"16px",children:(0,a.jsxs)(s.k,{w:"fit-content",gap:"8px",mx:"auto",align:"center",children:[(0,a.jsx)(r.x_l,{className:"prev-button",color:"black"}),(0,a.jsx)(n.xu,{className:"pagination",ml:"8px"}),(0,a.jsx)(r.Z1Y,{className:"next-button",color:"black"})]})})]})}},411:function(e,t,i){"use strict";i.d(t,{Z:function(){return g}});var a=i(5893);i(7294);var n=i(6465),s=i(2261),o=i(7747),l=i(6089),r=i(3717),p=i(2757),c=e=>{let{image:t,number:i,name:n,position:s}=e;return(0,a.jsxs)(o.xu,{position:"relative",children:[(0,a.jsx)(l.E,{src:t,w:"full",h:"380px",objectFit:"cover"}),(0,a.jsxs)(r.k,{position:"absolute",w:"full",h:"full",top:"0px",left:"0px",justify:"space-between",direction:"column",px:"16px",py:"12px",color:"white",bg:"linear-gradient(to bottom, #0000, #0005)",children:[(0,a.jsx)(p.X,{fontSize:"48px",fontWeight:"700",children:i}),(0,a.jsxs)(o.xu,{children:[(0,a.jsx)(p.X,{textAlign:"center",textTransform:"uppercase",fontWeight:"700",noOfLines:1,fontSize:"24px",letterSpacing:"wider",children:n}),(0,a.jsx)(p.X,{textAlign:"center",textTransform:"uppercase",fontWeight:"500",noOfLines:1,fontSize:"20px",letterSpacing:"wider",children:s})]})]})]})},x=i(9583),g=e=>{let{players:t}=e;return(0,a.jsxs)(s.tq,{autoHeight:!0,modules:[n.W_,n.tl,n.pt],pagination:{clickable:!0,el:".pagination",bulletClass:"swiper-pagination-bullet custom-swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active custom-swiper-pagination-bullet-active"},navigation:{enabled:!0,prevEl:".prev-button",nextEl:".next-button"},spaceBetween:"40px",breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:4}},autoplay:{delay:5e3,disableOnInteraction:!1},children:[t.map(e=>(0,a.jsx)(s.o5,{children:(0,a.jsx)(c,{...e})},e.name)),(0,a.jsx)(o.xu,{w:"full",mt:"16px",children:(0,a.jsxs)(r.k,{w:"fit-content",gap:"8px",mx:"auto",align:"center",children:[(0,a.jsx)(x.x_l,{className:"prev-button",color:"black"}),(0,a.jsx)(o.xu,{className:"pagination",ml:"8px"}),(0,a.jsx)(x.Z1Y,{className:"next-button",color:"black"})]})})]})}},4332:function(e,t,i){"use strict";i.d(t,{O:function(){return a},t:function(){return n}});let a={TICKET_OPEN:"TICKET_OPEN",TICKET_AVAILABLE_SOON:"TICKET_AVAILABLE_SOON",TICKET_ALREADY_CLOSED:"TICKET_ALREADY_CLOSED"},n=[{homeLogo:"https://nos.wjv-1.neo.id/aremaxcess-bucket/1arema.png",homeTeam:"Arema FC",awayLogo:"https://nos.wjv-1.neo.id/moflip-bucket/liga-satu/persija-jakarta.png",awayTeam:"Persija Jakarta",eventDate:"26 Oktober 2024",eventTime:"19:00 WIB",location:"Stadion Soepriyadi Blitar",score:"- vs -",ticketingStatus:a.TICKET_OPEN,link:"https://vesta.halofans.id/event/v2/arema-persija-gw9",isFeatured:!0}]},8510:function(e,t,i){"use strict";i.d(t,{SC:function(){return s},ve:function(){return n}});let a=[{title:"Ingin Jajal Rumput Stadion Soepriadi Lebih Awal",image:"https://malangposcomedia.id/mpm/uploads/2024/10/Snapinsta.app_462455152_18463914940004913_2322856518902107568_n_1080-jpg.webp",createdAt:"10/10/24",link:"https://malangposcomedia.id/ingin-jajal-rumput-stadion-soepriadi-lebih-awal/",isFeatured:!0},{title:"Arema FC Women, Pastikan Ikut Kajati Kalteng Cup II",image:"https://malangposcomedia.id/mpm/uploads/2024/10/IMG_20240507_141707-Copy-jpg.webp",createdAt:"09/10/24",link:"https://malangposcomedia.id/arema-fc-women-pastikan-ikut-kajati-kalteng-cup-ii/",isFeatured:!0},{title:"Matangkan Taktikal dan Strategi",image:"https://malangposcomedia.id/mpm/uploads/2024/10/Snapinsta.app_461850144_18462573499004913_6325406784637899310_n_1080-Copy-jpg.webp",createdAt:"08/10/24",link:"https://malangposcomedia.id/matangkan-taktikal-dan-strategi/",isFeatured:!0}],n=a.filter(e=>e.isFeatured),s=a.filter(e=>!e.isFeatured)},3540:function(e,t,i){"use strict";i.d(t,{I:function(){return n},U:function(){return a}});let a={GOALKEEPERS:"GOALKEEPERS",DEFENDERS:"DEFENDERS",MIDFIELDERS:"MIDFIELDERS",FORWARDS:"FORWARDS"},n=[{name:"ALDHILA RAY REDONDO",image:"https://nos.wjv-1.neo.id/moflip-bucket/malut/players/ALDHILA.png",position:"KIPER",category:a.GOALKEEPERS,number:96},{name:"RIFKI TOFANI",image:"https://placehold.co/326x380",position:"KIPER",category:a.GOALKEEPERS,number:31},{name:"M. FAHRI",image:"https://placehold.co/326x380",position:"KIPER",category:a.GOALKEEPERS,number:71},{name:"M. RIDWAN",image:"https://nos.wjv-1.neo.id/moflip-bucket/malut/players/M%20RIDWAN.png",position:"KIPER",category:a.GOALKEEPERS,number:1},{name:"DIEGO MARTINEZ",image:"https://nos.wjv-1.neo.id/moflip-bucket/malut/players/451403710_17901000870009036_3537254284583912281_n.jpg",position:"PENYERANG",category:a.FORWARDS,number:9},{name:"YANDI SOFYAN",image:"https://nos.wjv-1.neo.id/moflip-bucket/malut/players/YANDI.png",position:"PENYERANG",category:a.FORWARDS,number:99},{name:"AARON YEKTI",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/YEKTI.jpg",position:"PENYERANG",category:a.FORWARDS,number:24},{name:"HARI NUR YULIANTO",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/HNY.jpg",position:"PENYERANG",category:a.FORWARDS,number:22},{name:"RIFAL LASTORI",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/RIFAL.jpg",position:"SAYAP KANAN",category:a.FORWARDS,number:11},{name:"RAFLY SELANG",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/RAFLY.jpg",position:"SAYAP KANAN",category:a.FORWARDS,number:20},{name:"FRETS BUTUAN",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/FRETZ.jpg",position:"SAYAP KANAN",category:a.FORWARDS,number:21},{name:"ILHAM UDIN ARMAIYN",image:"https://placehold.co/326x380",position:"SAYAP KIRI",category:a.FORWARDS,number:10},{name:"YAKOB SAYURI",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/YAKOB.jpg",position:"SAYAP KIRI",category:a.FORWARDS,number:12},{name:"ADRIANO CASTANHEIRA",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/ANDRIANO.jpg",position:"SAYAP KANAN/KIRI",category:a.FORWARDS,number:7},{name:"ACHMAD BAASITH",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/BAASITH.jpg",position:"GELANDANG",category:a.MIDFIELDERS,number:6},{name:"ICHLASUL QADRI",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/QADRI.jpg",position:"GELANDANG",category:a.MIDFIELDERS,number:8},{name:"ALWI SLAMAT",image:"https://nos.wjv-1.neo.id/moflip-bucket/malut/players/ALWI.png",position:"GELANDANG",category:a.MIDFIELDERS,number:88},{name:"MUHAMMAD DAREL",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/DAREL.jpg",position:"GELANDANG",category:a.MIDFIELDERS,number:33},{name:"JORGE CORREA",image:"https://placehold.co/326x380",position:"GELANDANG/SAYAP KIRI",category:a.MIDFIELDERS,number:32},{name:"TATSURO NAGAMATSU",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/TATSURO.jpg",position:"GELANDANG SERANG",category:a.MIDFIELDERS,number:13},{name:"PRAMOEDYA PUTRA SUHARDI",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/PRAM.jpg",position:"GELANDANG SERANG",category:a.MIDFIELDERS,number:19},{name:"RIKI TOGUBU",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/RIKI.jpg",position:"GELANDANG BERTAHAN",category:a.MIDFIELDERS,number:14},{name:"FINKY PASAMBA",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/FINKY.jpg",position:"GELANDANG BERTAHAN",category:a.MIDFIELDERS,number:15},{name:"WBEYMAR ANGULO",image:"https://placehold.co/326x380",position:"GELANDANG BERTAHAN",category:a.MIDFIELDERS,number:16},{name:"MANAHATI LESTUSEN",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/MANAHATI.png",position:"GELANDANG BERTAHAN",category:a.MIDFIELDERS,number:69},{name:"MUHAMMAD RIO SAPUTRA",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/RIO%20S.jpg",position:"BEK TENGAH",category:a.DEFENDERS,number:4},{name:"WAHYU PRASETYO",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/PRAS.jpg",position:"BEK TENGAH",category:a.DEFENDERS,number:18},{name:"SAFRUDIN TAHAR",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/TAHAR.jpg",position:"BEK TENGAH",category:a.DEFENDERS,number:27},{name:"CASSIO SCHEID",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/CASSIO.jpg",position:"BEK TENGAH",category:a.DEFENDERS,number:41},{name:"IRSAN RAHMAN LESTALUHU",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/IRSAN.jpg",position:"BEK KIRI/BEK TENGAH",category:a.DEFENDERS,number:25},{name:"SADDAM HI TENANG",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/SADDAM.jpg",position:"BEK KIRI",category:a.DEFENDERS,number:5},{name:"YANCE SAYURI",image:"https://nos.wjv-1.neo.id/moflip-bucket/malut/players/YANCE.png",position:"BEK KIRI",category:a.DEFENDERS,number:23},{name:"ADITYA PUTRA DEWA",image:"https://placehold.co/326x380",position:"BEK KIRI",category:a.DEFENDERS,number:28},{name:"FIRMAN RAMADHAN",image:"https://placehold.co/326x380",position:"BEK KIRI",category:a.DEFENDERS,number:37},{name:"BAGUS NIRWANTON",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/BAGUS.jpg",position:"BEK KANAN",category:a.DEFENDERS,number:3},{name:"FREDYAN WAHYU",image:"https://nos.wjv-1.neo.id/ligafanid-bucket/malut-axcess/player/FREDIAN.jpg",position:"BEK KANAN",category:a.DEFENDERS,number:46}]},2312:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return ei},default:function(){return ea}});var a=i(5893),n=i(9008),s=i.n(n),o=i(7294),l=i(1955),r=i(6154),p=i(3454);let c=r.Z.create({baseURL:"https://ligafanid.moflip.com"}),x=r.Z.create({baseURL:p.env.NEXT_PUBLIC_GARUDA_URL});r.Z.create({baseURL:"https://api.goapi.id/v1/regional",headers:{"X-API-KEY":"CKHsgoRcKSYnwpbf216OjBZt6Hc8js"}}),r.Z.create({baseURL:"/v1",headers:{"strapi-endpoint":"https://ligafanid.moflip.com"}}),r.Z.create({baseURL:"/payment",headers:{"strapi-endpoint":"https://ligafanid.moflip.com"}});let g=async()=>{var e;let t=l.Z.get("token"),i=await c.get("/api/user/profile",{headers:{Authorization:"Bearer ".concat(t)}});return null===(e=i.data)||void 0===e?void 0:e.data},d=()=>{let e=l.Z.get("token");return!!e},u=async()=>{var e,t;let i=await c.get("/api/homepage-matches/1");return null!==(t=null===(e=i.data)||void 0===e?void 0:e.data)&&void 0!==t?t:[]};var m=i(7239),A=i(8783),h=i(2757),b=i(7747),E=i(3717),j=i(6089),f=i(4093);let S=[{name:"Greenfields",image:"https://nos.wjv-1.neo.id/moflip-bucket/assets/.tmpdqjiIG_456398.png",width:"300px",height:"100px",width_mobile:"100px"},{name:"Terrazone",image:"https://nos.wjv-1.neo.id/moflip-bucket/assets/.tmpBOlQgD_318470.png",width:"300px",height:"100px",width_mobile:"100px"},{name:"Pertamina",image:"https://nos.wjv-1.neo.id/moflip-bucket/assets/.tmp0f1a02_334314.png",width:"300px",height:"100px",width_mobile:"100px"},{name:"Anargya",image:"https://nos.wjv-1.neo.id/moflip-bucket/assets/.tmp1ch3PG_824705.png",width:"300px",height:"100px",width_mobile:"100px"},{name:"Accola",image:"https://nos.wjv-1.neo.id/moflip-bucket/assets/.tmp3tnyFi_865692.png",width:"300px",height:"100px",width_mobile:"100px"}];var w=()=>(0,a.jsx)(m.M,{bg:"#F2F4F7",w:"full",py:"48px",px:{base:"32px",lg:"64px"},children:(0,a.jsxs)(A.g,{gap:"24px",children:[(0,a.jsx)(h.X,{color:f.T,fontSize:"24px",fontWeight:700,children:"SPONSORED BY"}),(0,a.jsx)(b.xu,{maxW:"1080px",children:(0,a.jsx)(E.k,{flexWrap:"wrap",gap:"24px",justify:"center",w:"full",alignItems:"center",children:S.map(e=>(0,a.jsx)(j.E,{src:e.image,w:{base:e.width_mobile,lg:e.width},h:{base:"58px",lg:e.height},objectFit:"contain"},e.name))})})]})}),R=i(1163),N=i(2207);i(3540),i(411);var T=i(273),I=i(4292),D=i(5242),F=i(8510),y=i(3259),k=()=>(0,a.jsxs)(A.g,{px:{base:"32px",lg:"64px"},py:"48px",align:"stretch",bg:"#FBFAFA",spacing:"20px",children:[(0,a.jsxs)(I.U,{align:"center",justify:"space-between",children:[(0,a.jsx)(h.X,{color:"#000000",fontSize:{base:"28px",lg:"32px"},children:"BERITA"}),(0,a.jsx)(D.z,{fontSize:{base:"12px",lg:"18px"},p:"0px",h:"auto",rightIcon:(0,a.jsx)(T.m,{}),colorScheme:"whiteAlpha",variant:"ghost",color:"#000000",as:"a",href:"/news",children:"LIHAT SELENGKAPNYA"})]}),(0,a.jsx)(b.xu,{w:"full",children:(0,a.jsx)(y.Z,{newsList:F.ve})})]}),v=i(2261),L=i(6465),G=i(9289),P=i(2177),K=i(1293),O=i(4332);let M=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;try{var t;let i=await x.get("/api/fixtures/club/".concat(e)),a=null==i?void 0:null===(t=i.data)||void 0===t?void 0:t.data,n=a.sort((e,t)=>new Date(e.date)-new Date(t.date));return n}catch(e){throw console.error("Error fetching fixtures by club:",e),e}},_=async()=>{};var B=()=>{let e=(0,R.useRouter)(),[t,i]=(0,o.useState)([]),[n,s]=(0,o.useState)(!0),[l,r]=(0,o.useState)(null);(0,o.useEffect)(()=>{let e=async()=>{try{let e=await M();i(e)}catch(e){r(e)}finally{s(!1)}};e()},[]);let p=e=>new Date(e)<new Date;return(0,a.jsxs)(E.k,{id:"fixtures",direction:"column",py:"40px",flex:"1",children:[(0,a.jsx)(h.X,{color:"white",bg:f.T,px:"20px",py:"12px",fontSize:{base:"20px",lg:"32px"},textAlign:{base:"center",lg:"left"},children:"JADWAL PERTANDINGAN"}),(0,a.jsx)(P.M,{columns:{base:1},children:t.map((t,i)=>(0,a.jsxs)(E.k,{children:[(0,a.jsxs)(E.k,{direction:"column",gap:"12px",flex:"1",px:"14px",py:{base:"12px",lg:"32px"},borderRight:"1px solid #E1E1E1",borderBottom:"1px solid #E1E1E1",children:[(0,a.jsxs)(E.k,{justify:"space-between",align:{base:"flex-start",lg:"center"},direction:{base:"column",lg:"row"},children:[(0,a.jsxs)(K.x,{fontSize:{base:"10px",lg:"12px"},children:[t.date," | ",t.time]}),(0,a.jsx)(K.x,{fontSize:{base:"8px",lg:"12px"},children:"BRI Liga 1"})]}),(0,a.jsxs)(E.k,{justify:"space-between",align:"center",children:[(0,a.jsx)(K.x,{color:"#000000",fontWeight:"bold",fontSize:{base:"14px",lg:"18px"},flex:"1",display:{base:"none",md:"block"},children:t.home_team_name}),(0,a.jsxs)(E.k,{flex:"1",gap:"12px",align:"center",justify:"center",children:[(0,a.jsx)(j.E,{src:"https://nos.wjv-1.neo.id/moflip-bucket/liga-satu/".concat(t.home_team_name.toLowerCase().replace(/\s+/g,"-"),".png"),h:"32px",w:"32px",objectFit:"contain"}),(0,a.jsx)(K.x,{fontSize:{base:"14px",lg:"20px"},children:p(t.date)?"".concat(t.home_team_score," - ").concat(t.away_team_score):"- vs -"}),(0,a.jsx)(j.E,{src:"https://nos.wjv-1.neo.id/moflip-bucket/liga-satu/".concat(t.away_team_name.toLowerCase().replace(/\s+/g,"-"),".png"),h:"32px",w:"32px",objectFit:"contain"})]}),(0,a.jsx)(K.x,{color:"#000000",fontWeight:"bold",fontSize:{base:"14px",lg:"18px"},flex:"1",textAlign:"right",display:{base:"none",md:"block"},children:t.away_team_name})]})]}),(0,a.jsx)(m.M,{px:{base:"7px",lg:"14px"},py:{base:"12px",lg:"32px"},borderBottom:"1px solid #E1E1E1",children:(0,a.jsx)(D.z,{borderRadius:"0px",colorScheme:"whiteAlpha",color:"white",bg:t.ticketingStatus===O.O.TICKET_OPEN?f.r:"gray",isDisabled:t.ticketingStatus!==O.O.TICKET_OPEN,pointerEvents:t.ticketingStatus!==O.O.TICKET_OPEN&&"none",onClick:()=>t.ticketingStatus===O.O.TICKET_OPEN&&e.push(t.link),children:"BELI TIKET"})})]},i))})]})},W=i(1557),C=i(991),Y=i(9840),H=i(510),z=i(4693),U=i(5115),Z=i(4698),X=()=>{let[e,t]=(0,o.useState)(null),[i,n]=(0,o.useState)(!0),[s,l]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let e=async()=>{try{let e=await _();t(e)}catch(e){l(e.message)}finally{n(!1)}};e()},[]),(0,a.jsxs)(E.k,{id:"standings",direction:"column",py:"40px",children:[(0,a.jsx)(h.X,{color:"white",bg:f.T,px:"20px",py:"12px",fontSize:{base:"20px",lg:"32px"},textAlign:{base:"center",lg:"left"},children:"KLASEMEN"}),(0,a.jsx)(W.x,{children:(0,a.jsxs)(C.i,{variant:"unstyled",children:[(0,a.jsx)(Y.h,{children:(0,a.jsxs)(H.Tr,{bg:"#F2F4F7",borderTopRadius:"24px",children:[(0,a.jsx)(z.Th,{children:"RANK"}),(0,a.jsx)(z.Th,{children:"TEAM"}),(0,a.jsx)(z.Th,{isNumeric:!0,children:"G"}),(0,a.jsx)(z.Th,{isNumeric:!0,children:"W"}),(0,a.jsx)(z.Th,{isNumeric:!0,children:"D"}),(0,a.jsx)(z.Th,{isNumeric:!0,children:"L"}),(0,a.jsx)(z.Th,{isNumeric:!0,children:"PTS"})]})}),(0,a.jsx)(U.p,{children:[{RANK:1,TEAM:"Persebaya",MP:7,W:5,D:2,L:0,GF:7,GA:2,GD:5,PTS:17},{RANK:2,TEAM:"Borneo",MP:6,W:4,D:2,L:0,GF:10,GA:3,GD:7,PTS:14},{RANK:3,TEAM:"Bali United",MP:7,W:4,D:1,L:2,GF:12,GA:6,GD:6,PTS:14},{RANK:4,TEAM:"Persib",MP:7,W:3,D:4,L:0,GF:13,GA:7,GD:6,PTS:13},{RANK:5,TEAM:"PSM",MP:6,W:3,D:2,L:1,GF:8,GA:5,GD:3,PTS:11},{RANK:6,TEAM:"Persik",MP:7,W:3,D:2,L:2,GF:7,GA:6,GD:1,PTS:11},{RANK:7,TEAM:"Persita",MP:6,W:3,D:1,L:2,GF:3,GA:2,GD:1,PTS:10},{RANK:8,TEAM:"PSBS Biak",MP:7,W:3,D:0,L:4,GF:8,GA:10,GD:-2,PTS:9},{RANK:9,TEAM:"Arema FC",MP:7,W:2,D:3,L:2,GF:5,GA:7,GD:-2,PTS:9},{RANK:10,TEAM:"Malut United",MP:7,W:2,D:3,L:2,GF:5,GA:7,GD:-2,PTS:9},{RANK:11,TEAM:"Dewa United",MP:7,W:1,D:5,L:1,GF:8,GA:9,GD:-1,PTS:8},{RANK:12,TEAM:"Persija Jakarta",MP:6,W:2,D:2,L:2,GF:6,GA:6,GD:0,PTS:8},{RANK:13,TEAM:"Barito Putera",MP:7,W:2,D:3,L:2,GF:9,GA:12,GD:-3,PTS:8},{RANK:14,TEAM:"PSIS Semarang",MP:7,W:2,D:1,L:4,GF:5,GA:7,GD:-2,PTS:7},{RANK:15,TEAM:"Persis",MP:7,W:1,D:1,L:5,GF:9,GA:12,GD:-3,PTS:4},{RANK:16,TEAM:"Semen Padang",MP:7,W:1,D:1,L:5,GF:4,GA:10,GD:-6,PTS:4},{RANK:17,TEAM:"Madura United",MP:7,W:0,D:3,L:4,GF:7,GA:14,GD:-7,PTS:3},{RANK:18,TEAM:"PSS Sleman",MP:7,W:1,D:2,L:4,GF:4,GA:7,GD:-3,PTS:2}].map(e=>(0,a.jsxs)(H.Tr,{bg:e.TEAM.toLowerCase().includes("arema")&&"",color:e.TEAM.toLowerCase().includes("arema")?"#000000":"#8B8B8C",fontWeight:e.TEAM.toLowerCase().includes("arema")&&"bold",children:[(0,a.jsx)(Z.Td,{borderLeft:"1px solid #E4E4E4",children:e.RANK}),(0,a.jsx)(Z.Td,{children:e.TEAM}),(0,a.jsx)(Z.Td,{isNumeric:!0,children:e.MP}),(0,a.jsx)(Z.Td,{isNumeric:!0,children:e.W}),(0,a.jsx)(Z.Td,{isNumeric:!0,children:e.D}),(0,a.jsx)(Z.Td,{isNumeric:!0,children:e.L}),(0,a.jsx)(Z.Td,{borderRight:"1px solid #E4E4E4",isNumeric:!0,children:e.PTS})]},e.TEAM))})]})})]})},V=i(3211),J=i(6187),q=i(6893),Q=e=>{let t=null==e?void 0:e.fixture;return t?(0,a.jsxs)(E.k,{bg:"rgba(0,0,0,0.9)",rounded:"2xl",direction:{base:"column",lg:"row"},boxShadow:"-4px -4px 24px 0px rgba(0,0,0,0.5)",p:{base:"16px",sm:"32px"},gap:{base:"16px",sm:"24px"},children:[(0,a.jsxs)(E.k,{flex:"1",alignItems:"center",gap:{base:"12px",sm:"16px"},children:[(0,a.jsxs)(E.k,{flex:"1",textAlign:"center",direction:"column",gap:"8px",children:[(0,a.jsx)(j.E,{src:t.homeLogo,alt:t.homeTeam,w:{base:"50px",sm:"90px"},h:{base:"50px",sm:"90px"},mx:"auto",objectFit:"contain",mb:"8px"}),(0,a.jsx)(K.x,{textAlign:"center",textTransform:"uppercase",w:"100px",mx:"auto",fontWeight:"700",fontSize:{base:"14px",sm:"16px"},mt:"4px",children:t.homeTeam})]}),(0,a.jsxs)(E.k,{flex:"none",textAlign:"center",direction:"column",children:[t.score&&(0,a.jsx)(K.x,{fontWeight:"700",fontSize:{base:"18px",sm:"26px"},children:t.score}),!t.score&&(0,a.jsx)(K.x,{fontWeight:"700",fontSize:"36px",mt:"12px",children:"VS"})]}),(0,a.jsxs)(E.k,{flex:"1",textAlign:"center",direction:"column",gap:"8px",children:[(0,a.jsx)(j.E,{src:t.awayLogo,alt:t.awayTeam,w:{base:"50px",sm:"90px"},h:{base:"50px",sm:"90px"},mx:"auto",objectFit:"contain",mb:"8px"}),(0,a.jsx)(K.x,{textAlign:"center",textTransform:"uppercase",w:"100px",mx:"auto",fontWeight:"700",fontSize:{base:"14px",sm:"16px"},mt:"4px",children:t.awayTeam})]})]}),(0,a.jsxs)(E.k,{flex:"1",direction:"column",gap:"16px",justify:"center",mx:8,children:[(0,a.jsxs)(E.k,{align:"center",gap:"8px",children:[(0,a.jsx)(q.vlc,{}),(0,a.jsxs)(K.x,{fontSize:{base:"14px",sm:"16px"},children:[t.eventDate,", ",t.eventTime]})]}),(0,a.jsxs)(E.k,{align:"center",gap:"8px",children:[(0,a.jsx)(q.MIl,{}),(0,a.jsx)(K.x,{fontSize:{base:"14px",sm:"16px"},children:t.location})]}),t.ticketingStatus===O.O.TICKET_OPEN&&(0,a.jsx)("a",{href:t.link,children:(0,a.jsx)(D.z,{bg:f.T,w:"full",letterSpacing:"8px",color:"#FFFFFF",py:"8px",mt:"8px",children:"BELI TIKET"})}),t.ticketingStatus===O.O.TICKET_AVAILABLE_SOON&&(0,a.jsx)(D.z,{bg:"#187BFF",w:"full",letterSpacing:"8px",color:"#FFFFFF",isDisabled:!0,py:"8px",mt:"8px",children:"SEGERA HADIR"}),t.ticketingStatus===O.O.TICKET_ALREADY_CLOSED&&(0,a.jsx)(D.z,{bg:"#187BFF",w:"full",letterSpacing:"8px",color:"#FFFFFF",isDisabled:!0,py:"8px",mt:"8px",children:"TELAH BERAKHIR"})]})]}):(0,a.jsx)(a.Fragment,{})},$=e=>{let{title:t,subtitle:i,imagePreview:n,imagePreviewSm:s}=e,o=O.t.filter(e=>e.isFeatured);return(0,a.jsx)(b.xu,{bgImage:{base:s,sm:n},bgSize:"cover",bgPos:"center",bgColor:"#000000",h:"720px",w:"100vw",color:"#FFFFFF",position:"relative",children:(0,a.jsxs)(E.k,{h:{base:"100vh",lg:"full"},px:{base:"32px",lg:"64px"},pb:"80px",direction:"column",align:{base:"stretch",lg:"flex-start"},justify:"center",bg:"#0005",children:[(0,a.jsx)(h.X,{fontSize:{base:"4xl",sm:"5xl",md:"6xl"},mx:{base:"24px",lg:"0px"},textAlign:{base:"center",lg:"left"},noOfLines:{base:6,lg:3},maxW:"720px",textShadow:"4px 4px #000000",children:t}),(0,a.jsx)(K.x,{mb:"24px",mx:{base:"24px",lg:"0px"},textAlign:{base:"center",lg:"left"},fontSize:{base:"12px",lg:"14px"},children:i}),(0,a.jsx)(b.xu,{position:{base:"static",md:"static"},bottom:"12px",children:(0,a.jsx)(E.k,{direction:{base:"column",lg:"row"},justify:"space-between",gap:"24px",wrap:"wrap",align:"center",children:o.map((e,t)=>(0,a.jsx)(Q,{fixture:e},t))})})]})})},ee=i(9583),et=()=>(0,a.jsx)(b.xu,{children:(0,a.jsxs)(v.tq,{modules:[L.xW,L.tl,L.pt,L.W_],autoHeight:!0,pagination:{clickable:!0,el:".pagination",bulletClass:"swiper-pagination-bullet custom-swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active custom-swiper-pagination-bullet-active-2"},navigation:{enabled:!0,prevEl:".prev-button",nextEl:".next-button"},slidesPerView:1,autoplay:{delay:5e3,disableOnInteraction:!1},effect:"fade",children:[(0,a.jsx)(v.o5,{style:{maxHeight:"720px"},children:(0,a.jsx)($,{title:(0,a.jsxs)(a.Fragment,{children:["AremAxcess",(0,a.jsx)("br",{}),"OFFICIAL WEBSITE"]}),subtitle:"",imagePreview:N.ul.desktop,imagePreviewSm:N.ul.mobile})}),(0,a.jsx)(b.xu,{position:"absolute",bottom:"12px",zIndex:"9999",w:"full",children:(0,a.jsxs)(E.k,{w:"fit-content",gap:"8px",mx:"auto",align:"center",children:[(0,a.jsx)(ee.x_l,{className:"prev-button",color:"white"}),(0,a.jsx)(b.xu,{className:"pagination",ml:"8px"}),(0,a.jsx)(ee.Z1Y,{className:"next-button",color:"white"})]})})]})}),ei=!0;function ea(){let[e,t]=(0,o.useState)(null),[i,n]=(0,o.useState)(null),[l,r]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=async()=>{try{let e=await g();t(e)}catch(e){console.error("Error fetching profile info:",e)}},i=async()=>{try{r(!0);let e=await u();n(null==e?void 0:e.attributes),r(!1)}catch(e){console.error("Error fetching match info:",e)}};d()&&e(),i()},[]),(0,a.jsxs)("div",{children:[(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:"Arema FC Official Website"}),(0,a.jsx)("meta",{name:"description",content:""}),(0,a.jsx)("link",{rel:"icon",href:"https://nos.wjv-1.neo.id/aremaxcess-bucket/1arema.png"})]}),(0,a.jsxs)("div",{className:"bg-white",children:[(0,a.jsx)("div",{id:"hero",children:(0,a.jsx)(et,{})}),(0,a.jsx)("div",{id:"banner",children:(0,a.jsx)(J.Z,{source:N.Lt})}),(0,a.jsx)("div",{id:"featured-match",children:(0,a.jsx)(V.Z,{})}),(0,a.jsx)(b.xu,{bgColor:"#FBFAFA",children:(0,a.jsxs)(E.k,{px:{base:"32px",lg:"64px"},gap:"24px",direction:{base:"column",xl:"row"},children:[(0,a.jsx)(B,{}),(0,a.jsx)(X,{})]})}),(0,a.jsx)(G.i,{h:"10px",backgroundColor:"#F2F4F7",opacity:"1",borderBottom:"none"}),(0,a.jsx)(G.i,{h:"10px",backgroundColor:"#F2F4F7",opacity:"1",borderBottom:"none"}),(0,a.jsx)("div",{id:"news",children:(0,a.jsx)(k,{})}),(0,a.jsx)(G.i,{h:"10px",backgroundColor:"#F2F4F7",opacity:"1",borderBottom:"none"}),(0,a.jsx)("div",{id:"sponsor",children:(0,a.jsx)(w,{})})]})]})}}},function(e){e.O(0,[445,699,864,774,888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);