1import{c as a,h as k,t as N,b as s,w as m,d as t,u as C,i as y,j as F,F as h,e as g,N as b,o as u,Z as w}from"./app-Dgj2QQ2l.js";import{_ as D}from"./AuthenticatedLayout-B1VwJuzi.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ApplicationLogo-I1lf0InU.js";/* empty css */import"./Dropdown-DQNOlvOU.js";import"./ResponsiveNavLink-DJ138h2i.js";const I={key:0,class:"documents"},R={name:"DocumentItemComponent"},E=Object.assign(R,{props:{docs:Object,collectionName:String},setup(n){const d=g({}),o=g({}),x=()=>{b.post(route("dashboard.upload-document"),d,{preserveScroll:!0,preserveState:!1,onSuccess:()=>{}})};function f(e,c){var i=null;if(e instanceof Array)for(var r=0;r<e.length&&(i=f(e[r],c),!i);r++);else for(var v in e)if(v=="collection_name"&&e[v]==c)return e;if(i){let S=i.collection_name;o[S]=i}return i}return(e,c)=>f(n.docs,n.collectionName)?(u(),a("li",I,[k(N(o[n.collectionName].name)+" ",1),s(C(y),{href:e.route("dashboard.delete-event-doc",o[n.collectionName].file_name),method:"post","preserve-scroll":""},{default:m(()=>[...c[1]||(c[1]=[t("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},[t("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 7h16m-10 4v6m4-6v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3"})],-1)])]),_:1},8,["href"])])):(u(),a(h,{key:1},[t("input",{type:"file",onChange:c[0]||(c[0]=i=>d[n.collectionName]=i.target.files[0])},null,32),d[n.collectionName]?(u(),a("button",{key:0,type:"button",class:"save",onClick:x},"Upload")):F("",!0)],64))}}),l=p(E,[["__scopeId","data-v-b0912a80"]]),T={class:"container mx-auto"},V={class:"doc-section"},B={class:"doc-section"},$={class:"doc-section"},A={class:"doc-section"},M={class:"doc-section"},P={class:"doc-section"},W={class:"doc-section"},j={class:"doc-section"},U={class:"doc-section"},G={class:"doc-section"},H={class:"doc-section"},O={name:"Documents"},Z=Object.assign(O,{props:{docs:Object},setup(n){return(d,o)=>(u(),a(h,null,[s(C(w),{title:"Event"}),s(D,null,{header:m(()=>[...o[0]||(o[0]=[t("h1",{class:"font-semibold text-xl text-gray-800 leading-tight"},"Documentation",-1)])]),default:m(()=>[t("div",T,[t("div",null,[o[4]||(o[4]=t("h2",null,"Constitution & Governing documents",-1)),t("div",V,[o[1]||(o[1]=t("h4",null,"Constitution",-1)),s(l,{docs:n.docs,"collection-name":"constitution"},null,8,["docs"])]),t("div",B,[o[2]||(o[2]=t("h4",null,"Code of Ethics",-1)),s(l,{docs:n.docs,"collection-name":"codeEthics"},null,8,["docs"])]),t("div",$,[o[3]||(o[3]=t("h4",null,"Strategic plan",-1)),s(l,{docs:n.docs,"collection-name":"strategicPlan"},null,8,["docs"])])]),t("div",null,[o[9]||(o[9]=t("h2",null,"Rules",-1)),t("div",A,[o[5]||(o[5]=t("h4",null,"Tournament Rules Casting",-1)),s(l,{docs:n.docs,"collection-name":"rulesCasting"},null,8,["docs"])]),t("div",M,[o[6]||(o[6]=t("h4",null,"Tournament Rules Fly Casting",-1)),s(l,{docs:n.docs,"collection-name":"rulesFlycasting"},null,8,["docs"])]),t("div",P,[o[7]||(o[7]=t("h4",null,"Rules for hosting ICSF World Championships",-1)),s(l,{docs:n.docs,"collection-name":"rulesICSFHosting"},null,8,["docs"])]),t("div",W,[o[8]||(o[8]=t("h4",null,"ICSF World Cup Rules",-1)),s(l,{docs:n.docs,"collection-name":"rulesWorldCup"},null,8,["docs"])])]),t("div",null,[o[14]||(o[14]=t("h2",null,"Others",-1)),t("div",j,[o[10]||(o[10]=t("h4",null,"Anti-doping Rules",-1)),s(l,{docs:n.docs,"collection-name":"antiDoping"},null,8,["docs"])]),t("div",U,[o[11]||(o[11]=t("h4",null,"Application TUE Form",-1)),s(l,{docs:n.docs,"collection-name":"applicationTueForm"},null,8,["docs"])]),t("div",G,[o[12]||(o[12]=t("h4",null,"Strategic Plan",-1)),s(l,{docs:n.docs,"collection-name":"strategicPlan"},null,8,["docs"])]),t("div",H,[o[13]||(o[13]=t("h4",null,"Financial Statement",-1)),s(l,{docs:n.docs,"collection-name":"financialStatement"},null,8,["docs"])])])])]),_:1})],64))}}),Y=p(Z,[["__scopeId","data-v-ad89f86c"]]);export{Y 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.