1import{u as O,aq as W,am as K,d as Q,c as l,T as Z,m as ee,g as n,i,a4 as te,S as ne,an as ie,F as N,a as Y,s as w,r as P,n as f,J as se,z as g,p as q,ao as re,t as a}from"./index-CTlj5TNg.js";import{C as ae}from"./ContestSectionLayout-Bz7BIdEJ.js";import{C as oe}from"./ContestSubmissionDisplay-BYz1nRX9.js";import{t as le}from"./tl_Page_EditContest_ViewContest-CxyJ7JX_.js";import{t as ue}from"./tl_General_AreYouSure-5df2qbmQ.js";import"./NavBoxLayout-DsuE7Tl1.js";function ce(s,e){switch(s){default:return"Review "+e;case"zh-tw":return"å¯©æ ¸ "+e;case"fr-fr":return"Examiner "+e;case"it-it":return"Rivedi "+e;case"ja-jp":return e+" ã確èª";case"es-es":return"Revisar "+e}}function de(s,e){switch(s){default:return"You have chosen to let users vote on submissions. The top 3 videos will be chosen according to votes on "+e+". You can view the current candidates below.";case"zh-tw":return"æ¨å·²é¸æè®ä½¿ç¨è
æç¥¨é¸åºä½åãå 3 åå½±çå°æ¼ "+e+" æ ¹ææç¥¨çµæç¢çãæ¨å¯å¨ä¸æ¹æª¢è¦ç®åçåé¸ä½åã";case"fr-fr":return"Vous avez choisi de laisser les utilisateurs voter pour les soumissions. Les 3 meilleures vidéos seront sélectionnées selon les votes le "+e+". Vous pouvez voir les candidats actuels ci-dessous.";case"it-it":return"Hai scelto di far votare gli utenti per le candidature. I primi 3 video saranno scelti in base ai voti il "+e+". Puoi vedere i candidati attuali qui sotto.";case"ja-jp":return"ã¦ã¼ã¶ã¼ã«ããæç¥¨ã§åªåä½åãæ±ºããè¨å®ã«ãã¦ãã¾ããããã3ã®åç»ã¯ "+e+" æç¹ã®æç¥¨çµæã«åºã¥ãã¦é¸åºããã¾ããç¾å¨ã®åè£ã以ä¸ã§ç¢ºèªã§ãã¾ãã";case"es-es":return"Has elegido permitir que los usuarios voten por las participaciones. Los 3 mejores videos se elegirán según los votos el "+e+". Puedes ver los candidatos actuales a continuación."}}function me(s,e){switch(s){default:return"You have chosen to select winning submissions manually for this contest. You must select at least a #1, and optionally a #2 and #3, before "+e+". You can change your selection any time before "+e+".";case"zh-tw":return"æ¨å·²é¸ææåé¸åºæ¤æ¯è³½çåªåä½åãæ¨å¿
é å¨ "+e+" ä¹åè³å°é¸åºç¬¬ 1 åï¼ä¸¦å¯é¸ææ§å°é¸åºç¬¬ 2 åè第 3 åãå¨ "+e+" ä¹åé½å¯ä»¥æ´æ¹æ¨ç鏿ã";case"fr-fr":return"Vous avez choisi de sélectionner manuellement les soumissions gagnantes pour ce concours. Vous devez choisir au moins un #1, et éventuellement un #2 et un #3 avant le "+e+". Vous pouvez modifier votre sélection à tout moment avant le "+e+".";case"it-it":return"Hai scelto di selezionare manualmente i vincitori per questo concorso. Devi selezionare almeno un #1 e, facoltativamente, un #2 e un #3, prima del "+e+". Puoi modificare la selezione in qualsiasi momento prima del "+e+".";case"ja-jp":return"ãã®ã³ã³ãã¹ãã§ã¯åªåä½åãæåã§é¸æããè¨å®ã«ãã¦ãã¾ãã"+e+" ã¾ã§ã«å°ãªãã¨ã第1ä½ããå¯è½ã§ããã°ç¬¬2ä½ã¨ç¬¬3ä½ã鏿ãã¦ãã ããã"+e+" ã¾ã§ã¯ãã¤ã§ã鏿ã夿´ã§ãã¾ãã";case"es-es":return"Has elegido seleccionar manualmente las participaciones ganadoras para este concurso. Debes seleccionar al menos un #1 y opcionalmente un #2 y #3 antes del "+e+". Puedes cambiar tu selección en cualquier momento antes del "+e+"."}}function A(s){switch(s){default:return"End Contest";case"zh-tw":return"çµææ¯è³½";case"fr-fr":return"Terminer le concours";case"it-it":return"Termina concorso";case"ja-jp":return"ã³ã³ãã¹ããçµäº";case"es-es":return"Finalizar concurso"}}function pe(s){switch(s){default:return"You can choose to end the contest now. If you end it now, the winners will be picked immediately, and the contest will no longer be open.";case"zh-tw":return"æ¨å¯ä»¥é¸æç«å³çµææ¯è³½ã妿æ¨ç¾å¨çµæï¼æ¯è³½å°ç«å³é¸åºåªåè
ï¼æ¯è³½ä¹å°ééã";case"fr-fr":return"Vous pouvez choisir de terminer le concours maintenant. Si vous le faites, les gagnants seront choisis immédiatement et le concours sera clôturé.";case"it-it":return"Puoi scegliere di terminare il concorso ora. Se lo fai, i vincitori verranno scelti immediatamente e il concorso non sarà più aperto.";case"ja-jp":return"ä»ããã³ã³ãã¹ããçµäºãããã¨ãã§ãã¾ããçµäºããã¨ãããã«åªåè
ãé¸ã°ããã³ã³ãã¹ãã¯ç· ãåããã¾ãã";case"es-es":return"Puedes elegir finalizar el concurso ahora. Si lo haces, los ganadores se seleccionarán de inmediato y el concurso dejará de estar abierto."}}var H=a("<h1>"),y=a("<p>"),ve=a('<form action=""method=post><input type=hidden name=action value=update-placements><table style=width:25rem><tbody></tbody></table><br><input type=submit>'),I=a("<br>"),_e=a('<form action=""method=post><input type=hidden name=action value=end><input type=submit>'),he=a("<table><tbody>"),fe=a("<tr><td><h1>#<!$><!/></h1></td><td>"),$e=a("<tr><td><label><h2>#<!$><!/></h2></label></td><td><input type=text>");const Se=s=>{const e=O(W),r=e.appCtx.resolvedLang(),u=e.payload,k=u.periodType,T=e.appCtx.tz.formatDatetime(K(u.periodEndsTs),e.appCtx.tzName,r),E=e.appCtx.origin,F=E+"/watch?v=XXX",j=ce(r,u.title),$=Q();let x;return $.creator?x=`/contest/${$.creator}/${$.slug}`:x=`/contest/${$.slug}`,l(ae,{section:void 0,get children(){return[l(Z,{get children(){return[j," - ",ee]}}),(()=>{var t=n(H);return i(t,j),t})(),(()=>{var t=n(y);return i(t,l(te,{uri:x,get children(){return le(r)}})),t})(),l(ne,{get when(){return k===ie.SELECTION},get fallback(){return[(()=>{var t=n(y);return i(t,()=>de(r,T)),t})(),(()=>{var t=n(he),c=t.firstChild;return i(c,l(N,{get each(){return u.winnerCandidates},children:(o,d)=>(()=>{var b=n(fe),m=b.firstChild,S=m.firstChild,z=S.firstChild,p=z.nextSibling,[v,_]=Y(p.nextSibling),C=m.nextSibling;return i(S,()=>d()+1,v,_),i(C,l(oe,{get contestUid(){return u.uid},submission:o,isVoted:!1,enableVoting:!1,isVoting:!1,canWithdraw:!1})),b})()})),t})()]},get children(){return[(()=>{var t=n(y);return i(t,()=>me(r,T)),t})(),(()=>{var t=n(ve),c=t.firstChild,o=c.nextSibling,d=o.firstChild,b=o.nextSibling,m=b.nextSibling;return i(d,l(N,{each:new Array(3),children:(S,z)=>{const p=z(),v=`place-${p+1}`,_=u.winnerCandidates[p];let C="";return _!=null&&_.video!=null&&(C=E+"/watch?v="+_.video.uid),(()=>{var V=n($e),R=V.firstChild,L=R.firstChild,D=L.firstChild,X=D.firstChild,B=X.nextSibling,[G,M]=Y(B.nextSibling),U=R.nextSibling,h=U.firstChild;return w(L,"for",v),i(D,p+1,G,M),w(h,"id",v),w(h,"name",v),w(h,"placeholder",F),P(h,"value",C),f(J=>se(h,{[g.w100]:!0,[g.basicInput]:!0},J)),V})()}})),f(()=>q(m,g.basicButton)),f(()=>P(m,"value",re(r))),t})()]}}),n(I),n(I),(()=>{var t=n(H);return i(t,()=>A(r)),t})(),(()=>{var t=n(y);return i(t,()=>pe(r)),t})(),(()=>{var t=n(_e),c=t.firstChild,o=c.nextSibling;return t.addEventListener("submit",d=>{confirm(ue(r))||d.preventDefault()}),f(()=>q(o,g.basicButton)),f(()=>
1P(o,"value",A(r))),t})()]}})};export{Se 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.