1import{_ as S}from"./B5CyT92M.js";import{_ as V}from"./B_7sGSgb.js";import{i as R,z,A as j,y as L,r as T,o as a,c,n as t,q as e,v as l,B as m,x as o,F as G,C as W,D as Y,E as v,s as H,G as J}from"./CqQKiVAi.js";import{_ as K}from"./BW0UnREJ.js";import{u as M}from"./Pu2qGE4p.js";import{_ as O}from"./D2h6ThK_.js";import{_ as P}from"./Do5G6Hrz.js";import{_ as Q}from"./uWfELguD.js";import{_ as U}from"./D-X9J1_o.js";import"./CFOpZeI0.js";import"./5gXNyPeq.js";import"./D0ttQmUd.js";import"./Cq8m7SSf.js";import"./wXLT4Q5t.js";import"./B0ril9-V.js";import"./BntP3svY.js";import"./DEHcJd2G.js";import"./6sNjn5j3.js";import"./CuBYvqKr.js";const X={class:"h-screen overflow-auto bg-gradient-to-b from-white to-blue-50"},Z={class:"mx-auto mt-10 flex w-full max-w-screen-xl items-center justify-between px-3"},tt={class:"mr-1 text-sm font-light"},et={key:1,class:"text-sm"},ot={class:"hidden"},nt={class:"mx-auto w-full max-w-screen-xl px-3 pb-8"},st={class:"prose mt-0 min-h-[300px] max-w-none text-black"},at=t("h2",null,"Access this dataset",-1),rt=t("h4",null,"Request Submitted",-1),it=t("p",null," If your request requires DAC approval, you will receive an email from the DAC stating one of three options: approved, more clarification needed, or denied. ",-1),ct=t("p",null," Your download will then be created. Due to the size of the dataset and necessary processing, this may take some time. When your dataset is ready, you will receive an email containing a link to a page with instructions on how to access it. ",-1),Bt=R({__name:"submitted",async setup(lt){let r,p;const b=z(),{datasetid:D}=b.params,{data:n,error:d}=([r,p]=j(()=>M(D)),r=await r,p(),r);if(d.value)throw console.error(d.value),L.error({title:"Something went wrong",message:"Failed to fetch dataset"}),new Error("Failed to fetch dataset");const k=_=>{const i=_.split(",");return i.length>1?`${i[1]} ${i[0]}`:_},A=T(8);return(_,i)=>{var u;const C=S,I=O,N=P,B=Q,q=V,F=U,$=J,E=K;return a(),c("main",X,[t("div",Z,[e(I,{vertical:""},{default:l(()=>{var f,h,x;return[t("h1",null,m((f=o(n))==null?void 0:f.title),1),(a(!0),c(G,null,W((h=o(n))==null?void 0:h.metadata.datasetDescription.creator,(s,w)=>{var g,y;return a(),c("div",{key:w,class:"flex flex-row flex-wrap items-center align-middle text-black"},[t("span",tt,m(k(s.creatorName)),1),s!=null&&s.nameIdentifier?(a(),Y(C,{key:0,class:"pt-1",type:s.nameIdentifier[0]},null,8,["type"])):v("",!0),(g=o(n))!=null&&g.metadata.datasetDescription.creator&&w!=((y=o(n))==null?void 0:y.metadata.datasetDescription.creator.length)-1?(a(),c("span",et," , ")):v("",!0)])}),128)),t("p",ot,m((x=o(n))==null?void 0:x.description),1)]}),_:1}),e(N,{src:"https://raw.githubusercontent.com/AI-READI/AI-READI-logo/main/logo/png/option2.png",alt:(u=o(n))==null?void 0:u.title,class:"size-32 h-32 w-32 rounded-lg","object-fit":"contain"},null,8,["alt"])]),e(B),t("div",nt,[t("div",st,[at,e(q,{"current-step":o(A)},null,8,["current-step"]),e(E,null,{default:l(()=>[t("div",null,[rt,it,ct,t("p",null,[e($,{to:"/requests"},{default:l(()=>[e(F,{strong:"",secondary:"",type:"info"},{default:l(()=>[H(" View your requests and status. ")]),_:1})]),_:1})])])]),_:1})])])])}}});export{Bt 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.