1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="088511bc-d55f-45f1-aad2-02ae22319a03",e._sentryDebugIdIdentifier="sentry-dbid-088511bc-d55f-45f1-aad2-02ae22319a03")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1686],{59323:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/contest",function(){return t(58218)}])},86457:function(e,s,t){"use strict";t.d(s,{Z:function(){return i}});let i=(0,t(31134).Z)("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},58218:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return m}});var i=t(85893),a=t(25675),n=t.n(a),l=t(86457),r=t(1781),d=t(89176);let c=[{id:1,title:"Q1 Super Affiliate Challenge",image:"https://placehold.co/600x400",startDate:"2025-01-01",endDate:"2025-03-31",prize:"Rp 100.000.000",participants:156,status:"active",requirements:{minSales:50,minRevenue:"Rp 25.000.000"},description:"Compete with top affiliates across Indonesia to win amazing prizes and recognition."},{id:2,title:"New Affiliate Boost Program",image:"https://placehold.co/600x400",startDate:"2025-02-01",endDate:"2025-02-28",prize:"Rp 50.000.000",participants:89,status:"upcoming",requirements:{minSales:20,minRevenue:"Rp 10.000.000"},description:"Special contest for new affiliates joining our platform in 2025."},{id:3,title:"Digital Product Champions",image:"https://placehold.co/600x400",startDate:"2024-12-01",endDate:"2024-12-31",prize:"Rp 75.000.000",participants:234,status:"completed",requirements:{minSales:35,minRevenue:"Rp 15.000.000"},description:"Focus on promoting digital products and courses to win exclusive prizes."}],o=e=>{let{status:s}=e;return(0,i.jsx)("span",{className:"px-3 py-1 rounded-full text-sm capitalize ".concat({active:"border border-green-500",upcoming:"border border-blue-500",completed:"border border-gray-500"}[s]),children:s})},p=e=>{let{contest:s}=e,{title:t,image:a,startDate:c,endDate:p,prize:m,participants:h,status:u,requirements:f,description:x}=s;return(0,i.jsxs)("div",{className:"rounded-lg border shadow-sm overflow-hidden",children:[(0,i.jsx)("div",{className:"relative h-48 w-full",children:(0,i.jsx)(n(),{src:"https://placehold.co/400x400",alt:t,fill:!0,className:"object-cover"})}),(0,i.jsxs)("div",{className:"p-4",children:[(0,i.jsxs)("div",{className:"flex justify-between items-start mb-4",children:[(0,i.jsx)("h3",{className:"text-xl font-semibold",children:t}),(0,i.jsx)(o,{status:u})]}),(0,i.jsx)("p",{className:"mb-4",children:x}),(0,i.jsxs)("div",{className:"space-y-3",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(l.Z,{className:"h-5 w-5"}),(0,i.jsxs)("span",{children:[new Date(c).toLocaleDateString()," - ",new Date(p).toLocaleDateString()]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(r.Z,{className:"h-5 w-5"}),(0,i.jsxs)("span",{children:["Prize Pool: ",m]})]}),(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(d.Z,{className:"h-5 w-5"}),(0,i.jsxs)("span",{children:[h," Participants"]})]})]}),(0,i.jsxs)("div",{className:"mt-4 pt-4 border-t",children:[(0,i.jsx)("h4",{className:"font-semibold mb-2",children:"Requirements:"}),(0,i.jsxs)("ul",{className:"list-disc list-inside space-y-1",children:[(0,i.jsxs)("li",{children:["Minimum Sales: ",f.minSales]}),(0,i.jsxs)("li",{children:["Minimum Revenue: ",f.minRevenue]})]})]})]})]})};function m(){return(0,i.jsxs)("div",{className:"container mx-auto px-4 py-8",children:[(0,i.jsx)("h1",{className:"text-3xl font-bold mb-8",children:"Affiliate Contests"}),(0,i.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(e=>(0,i.jsx)(p,{contest:e},e.id))})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=59323)}),_N_E=e.O()}]);
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.