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