PageSourceSearch

https://www.newrecruit.eu/_nuxt/D4dzUMLN.js

js newrecruit.eu collected 2026-09-25 15:10:40 UTC 3,726 bytes, 1 lines download raw bytes

1import{E as v,_ as I}from"./C7eAj7Qj.js";import{L as S}from"./DVzhwnol.js";import{w as B}from"./BpfpAR20.js";import{M as $}from"./BH-oReH0.js";import{u as F}from"./lonWigI4.js";import{d as L,_ as E,c as p,f as s,t as m,b as n,k as _,E as N,F as h,g as w,a as y,w as T,h as b,v as C,r as k,o as l,e as D}from"./1RwgPIr0.js";import"./wQqQvevR.js";import"./C-EfFzGn.js";import"./DlKZEJ5e.js";import"./Bfh4fLOa.js";import"./ukVEh7Py.js";import"./UjbSibFc.js";import"./DwJLHFPI.js";import"./D7n1uWUr.js";import"./CZUsSuJO.js";import"./O17fl3cx.js";import"./D5hNqee3.js";import"./DetBp37W.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="5139c23c-8f1a-4909-a79e-299a0d8ec12f",t._sentryDebugIdIdentifier="sentry-dbid-5139c23c-8f1a-4909-a79e-299a0d8ec12f")}catch{}})();const M=L({components:{MatchParticipant:$,ExportButton:v},data(){return{searchFilter:"",listImportFilter:void 0}},methods:{async importAll(){let t=0;for(const o of this.tourny.participant_list){let i=!1;for(const a of o.lists)(this.listImportFilter==null||a.listRow.id_book===this.listImportFilter)&&(i=!0);if(i){await o.loadLists();for(const a of o.lists){const r=a.list;if(r!=null&&r.army){const g=B(r.row),u=`[${this.tourny.name}] ${o.getLogin()}'s list`,c=r.army.getBook(),f=r.army.toJson(),d={row:g,army:await c.loadRosterFromJson(f,r.row.booksDate)};d.row.name=u,d.row.metadata.folder=this.tourny.name,await this.$listStore.addList(d),t++}}}}this.$showMessages([{type:0,msg:this.$referenceStore.getString("tournament_lists_imported_success").replace("{total}",`${t}`).replace("{tournyName}",this.tourny.name)}])}},computed:{tourny(){return F().tourny},filteredParticipant(){return this.tourny.getParticipants().filter(t=>t.getName().toLowerCase().includes(this.searchFilter.toLowerCase()))},allBooks(){return this.tourny.getParticipants().map(t=>t.getAllBooks()).flat().filter((t,o,i)=>o===i.findIndex(a=>a.id===t.id)).sort((t,o)=>t.name.localeCompare(o.name))}}}),P={key:0},V={class:"section"},R={class:"boutons"},A={value:void 0},U=["value"],j={key:0,class:"section boutons"},J={class:"section search"},z=["placeholder"],O={class:"section participants"};function Y(t,o,i,a,r,g){const u=k("ExportButton"),c=I,f=S,d=k("MatchParticipant");return t.tourny?(l(),p("div",P,[s("fieldset",V,[s("legend",null,m(t.$referenceStore.getString("tournament_list_import_export")),1),o[5]||(o[5]=n()),s("div",R,[_(s("select",{"onUpdate:modelValue":o[0]||(o[0]=e=>t.listImportFilter=e)},[s("option",A,m(t.$referenceStore.getString("tournament_all_lists")),1),o[2]||(o[2]=n()),(l(!0),p(h,null,w(t.allBooks,e=>(l(),p("option",{value:e.id},m(e.name),9,U))),256))],512),[[N,t.listImportFilter]])]),o[6]||(o[6]=n()),t.tourny.showlists?(l(),p("div",j,[y(u,{tourny:t.tourny,idbook:t.listImportFilter},null,8,["tourny","idbook"]),o[3]||(o[3]=n()),y(c,{class:"sizedButton",tourny:t.tourny,idbook:t.listImportFilter},null,8,["tourny","idbook"]),o[4]||(o[4]=n()),y(f,{class:"bouton",clicked:t.importAll},{text:T(()=>[n(m(t.$referenceStore.getString("tournament_import_to_my_lists")),1)]),_:1},8,["clicked"])])):b("",!0)]),o[7]||(o[7]=n()),s("div",J,[_(s("input",{type:"text",placeholder:`${t.$referenceStore.getString("search")}...`,"onUpdate:modelValue":o[1]||(o[1]=e=>t.searchFilter=e)},null,8,z),[[C,t.searchFilter]])]),o[8]||(o[8]=n()),s("div",O,[(l(!0),p(h,null,w(t.filteredParticipant,e=>(l(),D(d,{part:e,system:t.tourny.system,key:e._id},null,8,["part","system"]))),128))])])):b("",!0)}const dt=E(M,[["render",Y],["__scopeId","data-v-2de096e9"]]);export{dt 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.