import{s as $t,f as tt,n as vt,o as ht}from"../chunks/scheduler.889ebb13.js";import{S as xt,i as Ct,g as u,s as l,r as J,A as bt,h as a,f as i,c as s,j as et,u as K,x as p,k as r,y as Pt,a as n,v as V,d as W,t as Y,w as Z}from"../chunks/index.ca18042b.js";import{H as it,E as wt}from"../chunks/EditOnGithub.b0b59db6.js";function zt(nt){let f,q,H,E,o,L,c,lt,y,g,st="恭喜你完成第一单元的学习！让我们测试一下你对目前所学关键概念的理解。",j,_,ut="通过测验后，请继续下一部分领取你的证书。",k,$,at="祝你好运！",I,v,Q,h,mt="这是一个交互式测验。测验托管在 Hugging Face Hub 的空间中。你将通过一系列选择题来测试你对本单元所学关键概念的理解。完成测验后，你将能够看到你的分数和正确答案的详细分析。",S,x,rt="重要提示：<strong>通过测验后不要忘记点击提交 (Submit)，否则你的考试分数将不会被保存！</strong>",U,m,ft,A,C,pt='你也可以在这里访问测验 👉 <a href="https://huggingface.co/spaces/agents-course/unit_1_quiz" rel="nofollow">点击这里</a>',G,b,N,P,ot="恭喜通过测验！<strong>您现在可以获取专属结业证书 🎓</strong>",O,w,ct="成功完成本单元测评后，系统将为您生成单元结业认证证书。该证书可下载分享，作为课程进度的官方成就证明。",D,z,gt,F,d,_t="获得证书后，您可将其添加至LinkedIn个人档案 🧑‍💼 或分享到X、Bluesky等社交平台。<strong>如果标注@huggingface，我们将非常荣幸并为您送上祝贺</strong>！🤗",R,M,B,T,X;return o=new it({props:{title:"第一单元测验 (Unit 1 Quiz)",local:"第一单元测验-unit-1-quiz",headingTag:"h1"}}),v=new it({props:{title:"测验 (Quiz)",local:"测验-quiz",headingTag:"h2"}}),b=new it({props:{title:"学习认证",local:"学习认证",headingTag:"h2"}}),M=new wt({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/unit1/final-quiz.mdx"}}),{c(){f=u("meta"),q=l(),H=u("p"),E=l(),J(o.$$.fragment),L=l(),c=u("img"),y=l(),g=u("p"),g.textContent=st,j=l(),_=u("p"),_.textContent=ut,k=l(),$=u("p"),$.textContent=at,I=l(),J(v.$$.fragment),Q=l(),h=u("p"),h.textContent=mt,S=l(),x=u("p"),x.innerHTML=rt,U=l(),m=u("iframe"),A=l(),C=u("p"),C.innerHTML=pt,G=l(),J(b.$$.fragment),N=l(),P=u("p"),P.innerHTML=ot,O=l(),w=u("p"),w.textContent=ct,D=l(),z=u("img"),F=l(),d=u("p"),d.innerHTML=_t,R=l(),J(M.$$.fragment),B=l(),T=u("p"),this.h()},l(t){const e=bt("svelte-u9bgzb",document.head);f=a(e,"META",{name:!0,content:!0}),e.forEach(i),q=s(t),H=a(t,"P",{}),et(H).forEach(i),E=s(t),K(o.$$.fragment,t),L=s(t),c=a(t,"IMG",{src:!0,alt:!0}),y=s(t),g=a(t,"P",{"data-svelte-h":!0}),p(g)!=="svelte-1v4n8ee"&&(g.textContent=st),j=s(t),_=a(t,"P",{"data-svelte-h":!0}),p(_)!=="svelte-ylcm8v"&&(_.textContent=ut),k=s(t),$=a(t,"P",{"data-svelte-h":!0}),p($)!=="svelte-6n44or"&&($.textContent=at),I=s(t),K(v.$$.fragment,t),Q=s(t),h=a(t,"P",{"data-svelte-h":!0}),p(h)!=="svelte-1n7u6et"&&(h.textContent=mt),S=s(t),x=a(t,"P",{"data-svelte-h":!0}),p(x)!=="svelte-131buvx"&&(x.innerHTML=rt),U=s(t),m=a(t,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),et(m).forEach(i),A=s(t),C=a(t,"P",{"data-svelte-h":!0}),p(C)!=="svelte-1la0zfh"&&(C.innerHTML=pt),G=s(t),K(b.$$.fragment,t),N=s(t),P=a(t,"P",{"data-svelte-h":!0}),p(P)!=="svelte-sihsqs"&&(P.innerHTML=ot),O=s(t),w=a(t,"P",{"data-svelte-h":!0}),p(w)!=="svelte-jhlnv7"&&(w.textContent=ct),D=s(t),z=a(t,"IMG",{src:!0,alt:!0}),F=s(t),d=a(t,"P",{"data-svelte-h":!0}),p(d)!=="svelte-kv7muj"&&(d.innerHTML=_t),R=s(t),K(M.$$.fragment,t),B=s(t),T=a(t,"P",{}),et(T).forEach(i),this.h()},h(){r(f,"name","hf:doc:metadata"),r(f,"content",dt),tt(c.src,lt="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/unit1/whiteboard-unit1sub4DONE.jpg")||r(c,"src",lt),r(c,"alt","Unit 1 planning"),tt(m.src,ft="https://agents-course-unit-1-quiz.hf.space")||r(m,"src",ft),r(m,"frameborder","0"),r(m,"width","850"),r(m,"height","450"),tt(z.src,gt="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/unit1/whiteboard-unit1sub5DONE.jpg")||r(z,"src",gt),r(z,"alt","第一单元规划示意图")},m(t,e){Pt(document.head,f),n(t,q,e),n(t,H,e),n(t,E,e),V(o,t,e),n(t,L,e),n(t,c,e),n(t,y,e),n(t,g,e),n(t,j,e),n(t,_,e),n(t,k,e),n(t,$,e),n(t,I,e),V(v,t,e),n(t,Q,e),n(t,h,e),n(t,S,e),n(t,x,e),n(t,U,e),n(t,m,e),n(t,A,e),n(t,C,e),n(t,G,e),V(b,t,e),n(t,N,e),n(t,P,e),n(t,O,e),n(t,w,e),n(t,D,e),n(t,z,e),n(t,F,e),n(t,d,e),n(t,R,e),V(M,t,e),n(t,B,e),n(t,T,e),X=!0},p:vt,i(t){X||(W(o.$$.fragment,t),W(v.$$.fragment,t),W(b.$$.fragment,t),W(M.$$.fragment,t),X=!0)},o(t){Y(o.$$.fragment,t),Y(v.$$.fragment,t),Y(b.$$.fragment,t),Y(M.$$.fragment,t),X=!1},d(t){t&&(i(q),i(H),i(E),i(L),i(c),i(y),i(g),i(j),i(_),i(k),i($),i(I),i(Q),i(h),i(S),i(x),i(U),i(m),i(A),i(C),i(G),i(N),i(P),i(O),i(w),i(D),i(z),i(F),i(d),i(R),i(B),i(T)),i(f),Z(o,t),Z(v,t),Z(b,t),Z(M,t)}}}const dt='{"title":"第一单元测验 (Unit 1 Quiz)","local":"第一单元测验-unit-1-quiz","sections":[{"title":"测验 (Quiz)","local":"测验-quiz","sections":[],"depth":2},{"title":"学习认证","local":"学习认证","sections":[],"depth":2}],"depth":1}';function Mt(nt){return ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Et extends xt{constructor(f){super(),Ct(this,f,Mt,zt,$t,{})}}export{Et as component};
