PageSourceSearch

https://optimi.gg/_nuxt/Da31S0Wl.js

js optimi.gg collected 2026-10-06 21:36:26 UTC 9,241 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CDpI9K_J.js","./CfZATXwp.js","./entry.Bg30DBwn.css","./GoogleMaps.O1AozZ2N.css"])))=>i.map(i=>d[i]);
2import{c as o,o as t,a as n,h as $,R as M,aV as q,u as s,bk as X,n as H,K as F,e as P,k as W,p as G,y as Y,r as T,w as z,F as B,b as E,f,g as x,d as A,t as v,aY as Z,M as J,bp as Q,a0 as ee}from"./CfZATXwp.js";import{_ as te}from"./KHfUoLtR.js";import{_ as V}from"./Dl5p_yRE.js";import{u as ne}from"./BLpcFXzA.js";import{a as k}from"./CZh2963P.js";import{_ as oe}from"./CtA8xtQA.js";import{_ as le}from"./BZV2PUok.js";import{g as ae}from"./DbMvLqlF.js";import"./DNfWazOu.js";const se={class:"w-[40px] h-[40px] rounded-full relative overflow-hidden z-[10] flex justify-center items-center"},re={__name:"TournamentBubble",props:{color:{type:String,default:"#C89B3C"},bubbleClass:{type:String,default:"opacity-25"},icon:{type:String,required:!0}},setup(d){const u=d;return(e,g)=>(t(),o("div",se,[n("div",{class:"w-full h-full absolute top-0 left-0 rounded-full opacity-5 z-[-1] flex items-center justify-center",style:M({"background-color":u.color})},null,4),(t(),$(q(("resolveComponent"in e?e.resolveComponent:s(X))("TournamentIcon"+u.icon)),{color:u.color},null,8,["color"])),n("div",{class:H(["w-[17px] h-[17px] absolute bottom-[5px] right-[5px] rounded-full blur-[8px]",u.bubbleClass]),style:M({"background-color":u.color})},null,6)]))}},ie={class:"w-full relative rounded-[12px] overflow-hidden"},ue={class:"flex items-center"},ce={class:"flex flex-col gap-[16px]"},de={class:"flex w-full items-center"},me={key:0,class:"flex-1 h-[2px] w-[280px] relative"},pe={class:"w-full flex flex-col gap-[4px] text-nowrap"},_e={class:"font-bold flex items-center gap-[8px]"},fe={class:"text-[12px] text-yellow-500"},xe={class:"font-[300] text-sub"},ve={__name:"TournamentProgress",props:{phase:{type:String,required:!0,validator:d=>["not-started","enrollment","check-in","seeding","active","completed","cancelled"].includes(d)}},setup(d){const u=P("tournament"),{remainingTime:e,startCountdown:g}=ne(),i=d,w=a=>{switch(a){case"enrollment":return u.value.tournamentRegistrationEndDate;case"check-in":return u.value.tournamentCheckInEndDate;case"active":return u.value.tournamentEndDate;default:return null}},y=W(()=>[{title:"Kayıt",icon:"Book",...k(i.phase,"enrollment"),countdown:i.phase==="enrollment"?e.value:null},{title:"Check-in",icon:"Hourglass",...k(i.phase,"check-in"),countdown:i.phase==="check-in"?e.value:null},{title:"Eşleştirme",icon:"Seeding",...k(i.phase,"seeding"),countdown:i.phase==="seeding"?e.value:null},{title:"Turnuva",icon:"Battle",...k(i.phase,"active"),countdown:i.phase==="active"?e.value:null},{title:"Sonuç",icon:"Flag",...k(i.phase,"completed")}]);G(()=>{const a=w(i.phase);a&&g(a)}),Y(()=>i.phase,a=>{const r=w(a);r&&g(r)});const C=a=>{const r={"not-started":"#C89B3C",started:"#32ADE6",finished:"#34C759",cancelled:"#FF3B30"};return r[a]||r["not-started"]},p=T();let h={left:0,x:0};const S=function(a){h={left:p.value.scrollLeft,x:a.clientX},p.value.style.userSelect="none",document.addEventListener("mousemove",b),document.addEventListener("mouseup",_),document.addEventListener("mouseleave",_)},b=function(a){const r=a.clientX-h.x;p.value.scrollLeft=h.left-r},_=function(){p.value.style.removeProperty("user-select"),document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",_),document.removeEventListener("mouseleave",_)};return(a,r)=>{const D=re,L=te,R=V;return t(),$(R,{class:"p-0"},{default:z(()=>[n("div",ie,[r[0]||(r[0]=n("div",{class:"h-full w-[20px] absolute left-0 top-0 rounded-tl-[12px] rounded-bl-[12px] z-[100]",style:{background:"linear-gradient(90deg, #101012 0%, rgba(0, 0, 0, 0) 100%)"}},null,-1)),r[1]||(r[1]=n("div",{class:"h-full w-[20px] absolute right-0 top-0 rounded-tl-[12px] rounded-bl-[12px] z-[100]",style:{background:"linear-gradient(270deg, #101012 0%, rgba(0, 0, 0, 0) 100%)"}},null,-1)),n("div",{onMousedown:S,ref_key:"container",ref:p,class:"w-full overflow-x-scroll flex py-[24px] px-[20px] items-center bg-[#8989890D] rounded-[12px] relative"},[n("div",ue,[(t(!0),o(B,null,E(y.value,(l,I)=>(t(),o("div",ce,[n("div",de,[f(D,{icon:l.status==="finished"?"Tick":l.icon,color:C(l.status),"bubble-class":l.status==="finished"?"opacity-100":"opacity-25"},null,8,["icon","color","bubble-class"]),I!==y.value.length-1?(t(),o("div",me,[n("div",{class:H(["w-full h-full bg-stroke",{finished:l.status==="finished"}])},null,2)])):x("",!0)]),n("div",pe,[n("div",_e,[A(v(l.title)+" ",1),l.countdown&&l.status==="started"?(t(),$(L,{key:0,state:5,class:"px-[8px] py-[2px]"},{default:z(()=>[n("span",fe,v(l.countdown),1)]),_:2},1024)):x("",!0)]),n("div",xe,v(l.text),1)])]))),256))])],544)])]),_:1})}}},he=F(ve,[["__scopeId","data-v-34b1f23f"]]),ge=Q(()=>ee(()=>import("./CDpI9K_J.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(d=>d.default||d)),we={class:"w-full flex flex-col items-center gap-[16px] lg:px-default"},ye={class:"w-full flex flex-col gap-[16px] max-w-[1300px]"},be={class:"w-full flex flex-wrap gap-[16px] md:gap-[28px]"},ke={class:"flex-1 w-full min-w-[220px]"},Te={class:"w-full flex flex-col items-center gap-[40px] pb-[48px] text-sub mt-[24px] max-w-[900px]"},Ce={key:0,class:"w-full flex flex-col gap-[16px]"},Se=["innerHTML"],De={class:"w-full flex flex-col"},Le={class:"h5 font-[500] pb-[12px] text-white"},Be={class:"w-full"},Ee={key:0,class:"w-full flex justify-between py-[8px]"},$e={key:0,class:"font-bold text-white"},ze={key:1,class:"flex items-center flex-nowrap gap-[4px]"},Ie={key:2,class:"font-bold text-white"},Re={key:1,class:"w-full flex flex-col gap-[16px]"},Me=["innerHTML"],He={key:2,class:"w-full font-bold"}
2,Fe=["href"],Pe={key:0,class:"w-full"},Ge={__name:"index",setup(d){var w,y,C,p,h,S,b,_,a,r,D,L;const u=T(!1);G(()=>{setTimeout(()=>{u.value=!0},1500)});const e=P("tournament"),g=ae(e.value.game),i=T([{icon:"akar-icons:calendar",title:"Check-in Süreci",text:(w=e.value)!=null&&w.tournamentCheckInStartDate?new Date(e.value.tournamentCheckInStartDate).toLocaleDateString("tr-TR",{weekday:"long",month:"long",day:"numeric"}):"Cuma, Aralık 17",time:(y=e.value)!=null&&y.tournamentCheckInStartDate&&((C=e.value)!=null&&C.tournamentCheckInEndDate)?`${new Date(e.value.tournamentCheckInStartDate).toLocaleTimeString("tr-TR",{hour:"2-digit",minute:"2-digit"})} - ${new Date(e.value.tournamentCheckInEndDate).toLocaleTimeString("tr-TR",{hour:"2-digit",minute:"2-digit"})} `:"21:00-22:15 GMT"},{icon:"mdi:bracket",title:"Format",text:(p=e.value)==null?void 0:p.seedingType},{icon:"ant-design:team-outlined",title:"Takım Büyüklüğü",text:(h=e.value)==null?void 0:h.tournamentTeamSize}]);return T([{title:"Sunucu",value:((S=e.value)==null?void 0:S.region)||"EUW"},{title:"Başlangıç Tarihi",value:(b=e.value)!=null&&b.tournamentStartDate?new Date(e.value.tournamentStartDate).toLocaleString("tr-TR",{day:"numeric",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",timeZoneName:"short"}):"27 Mayıs 2024 15.00 UTC+3"},{title:"Oyun Tipi",value:((_=e.value)==null?void 0:_.tournamentGamemode)||"Hepsi Rastgele"}]),T([{title:"Oyun",value:(a=e.value)==null?void 0:a.game},{title:"Sunucu",value:(r=e.value)==null?void 0:r.region},{title:"Oyun Modu",value:(D=e.value)==null?void 0:D.tournamentGamemode},{title:"Takım Büyüklüğü",value:(L=e.value)==null?void 0:L.tournamentTeamSize}]),(R,l)=>{const I=he,K=oe,N=V,O=le,j=ge,U=J;return t(),o("div",we,[n("div",ye,[f(I,{phase:s(e).phase},null,8,["phase"]),n("div",be,[(t(!0),o(B,null,E(i.value,c=>(t(),o("div",ke,[f(N,{class:"p-0"},{default:z(()=>[f(K,{icon:c.icon,title:c.title,text:c.text,time:c.time},null,8,["icon","title","text","time"])]),_:2},1024)]))),256))])]),n("div",Te,[s(e).tournamentDescription?(t(),o("div",Ce,[l[0]||(l[0]=n("h2",{class:"h5 font-[500] pb-[12px] text-white"},"Açıklamalar",-1)),n("div",{innerHTML:s(e).tournamentDescription,class:"descriptions"},null,8,Se)])):x("",!0),(t(!0),o(B,null,E(s(g).filter(c=>c.show===void 0||c.show),c=>(t(),o("div",De,[n("h2",Le,v(c.title),1),(t(!0),o(B,null,E(c.inputs.filter(m=>m.show===void 0||m.show),m=>(t(),o("div",Be,[s(e)[m.field]?(t(),o("div",Ee,[n("div",null,v(m.title),1),m.type=="date"?(t(),o("div",$e,v(new Date(s(e)[m.field]).toLocaleString("tr-TR",{day:"numeric",month:"long",year:"numeric",hour:"numeric",minute:"numeric"})),1)):m.type=="prize"?(t(),o("div",ze,[f(O,{"prize-pool":s(e).prizePool},null,8,["prize-pool"])])):(t(),o("div",Ie,v(s(e)[m.field]),1))])):x("",!0)]))),256))]))),256)),s(e).tournamentRules?(t(),o("div",Re,[l[1]||(l[1]=n("h2",{class:"h5 font-[500] pb-[12px] text-white"},"Kurallar",-1)),n("div",{class:"w-full",innerHTML:s(e).tournamentRules},null,8,Me)])):x("",!0),s(e).tournamentRuleset?(t(),o("div",He,[l[2]||(l[2]=A(" Kural Setine ulaşmak için ",-1)),n("a",{href:s(e).tournamentRuleset,target:"_blank",class:"hover:text-[#E4D8BB] text-[#A38440] transition-colors duration-200 ease-out"},"tıklayınız",8,Fe)])):x("",!0)]),s(e).tournamentSection==="HKT"&&s(e).locationString&&u.value?(t(),o("div",Pe,[(t(),$(Z,{to:"#map"},[f(U,null,{default:z(()=>[f(j,{location:s(e).locationString},null,8,["location"])]),_:1})]))])):x("",!0)])}}},We=F(Ge,[["__scopeId","data-v-1e897ebf"]]);export{We as default};

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.