import{s as Z,a as ee,n as te,o as ie}from"../chunks/scheduler.505acc25.js";import{S as ne,i as se,e as r,s,c as T,h as ae,a as m,d as i,b as a,f as N,g as b,j as z,k as x,l as le,m as n,n as q,t as L,o as M,p as C}from"../chunks/index.fbb49fb4.js";import{C as oe}from"../chunks/CopyLLMTxtMenu.564b44fd.js";import{H as O}from"../chunks/Heading.511e0027.js";import{E as re}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8c19e80e.js";function me(W){let o,E,v,H,u,P,p,k,f,B="Well done on working through the material on <code>smolagents</code>! You’ve already achieved a lot. Now, it’s time to put your knowledge to the test with a quiz. 🧠",I,c,S,h,D="<li>The quiz consists of code questions.</li> <li>You will be given instructions to complete the code snippets.</li> <li>Read the instructions carefully and complete the code snippets accordingly.</li> <li>For each question, you will be given the result and some feedback.</li>",R,d,J="🧘 <strong>This quiz is ungraded and uncertified</strong>. It’s about you understanding the <code>smolagents</code> library and knowing whether you should spend more time on the written material. In the coming units you’ll put this knowledge to the test in use cases and projects.",Y,$,K="Let’s get started!",j,g,A,l,V,F,_,X='You can also access the quiz 👉 <a href="https://huggingface.co/spaces/agents-course/unit2_smolagents_quiz" rel="nofollow">here</a>',Q,w,U,y,G;return u=new oe({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),p=new O({props:{title:"Exam Time!",local:"exam-time",headingTag:"h1"}}),c=new O({props:{title:"Instructions",local:"instructions",headingTag:"h2"}}),g=new O({props:{title:"Quiz 🚀",local:"quiz-",headingTag:"h2"}}),w=new re({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/en/unit2/smolagents/final_quiz.mdx"}}),{c(){o=r("meta"),E=s(),v=r("p"),H=s(),T(u.$$.fragment),P=s(),T(p.$$.fragment),k=s(),f=r("p"),f.innerHTML=B,I=s(),T(c.$$.fragment),S=s(),h=r("ul"),h.innerHTML=D,R=s(),d=r("p"),d.innerHTML=J,Y=s(),$=r("p"),$.textContent=K,j=s(),T(g.$$.fragment),A=s(),l=r("iframe"),F=s(),_=r("p"),_.innerHTML=X,Q=s(),T(w.$$.fragment),U=s(),y=r("p"),this.h()},l(e){const t=ae("svelte-u9bgzb",document.head);o=m(t,"META",{name:!0,content:!0}),t.forEach(i),E=a(e),v=m(e,"P",{}),N(v).forEach(i),H=a(e),b(u.$$.fragment,e),P=a(e),b(p.$$.fragment,e),k=a(e),f=m(e,"P",{"data-svelte-h":!0}),z(f)!=="svelte-1e4a18y"&&(f.innerHTML=B),I=a(e),b(c.$$.fragment,e),S=a(e),h=m(e,"UL",{"data-svelte-h":!0}),z(h)!=="svelte-a8pz04"&&(h.innerHTML=D),R=a(e),d=m(e,"P",{"data-svelte-h":!0}),z(d)!=="svelte-x2rixs"&&(d.innerHTML=J),Y=a(e),$=m(e,"P",{"data-svelte-h":!0}),z($)!=="svelte-15musa5"&&($.textContent=K),j=a(e),b(g.$$.fragment,e),A=a(e),l=m(e,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),N(l).forEach(i),F=a(e),_=m(e,"P",{"data-svelte-h":!0}),z(_)!=="svelte-12hr1ri"&&(_.innerHTML=X),Q=a(e),b(w.$$.fragment,e),U=a(e),y=m(e,"P",{}),N(y).forEach(i),this.h()},h(){x(o,"name","hf:doc:metadata"),x(o,"content",ue),ee(l.src,V="https://agents-course-unit2-smolagents-quiz.hf.space")||x(l,"src",V),x(l,"frameborder","0"),x(l,"width","850"),x(l,"height","450")},m(e,t){le(document.head,o),n(e,E,t),n(e,v,t),n(e,H,t),q(u,e,t),n(e,P,t),q(p,e,t),n(e,k,t),n(e,f,t),n(e,I,t),q(c,e,t),n(e,S,t),n(e,h,t),n(e,R,t),n(e,d,t),n(e,Y,t),n(e,$,t),n(e,j,t),q(g,e,t),n(e,A,t),n(e,l,t),n(e,F,t),n(e,_,t),n(e,Q,t),q(w,e,t),n(e,U,t),n(e,y,t),G=!0},p:te,i(e){G||(L(u.$$.fragment,e),L(p.$$.fragment,e),L(c.$$.fragment,e),L(g.$$.fragment,e),L(w.$$.fragment,e),G=!0)},o(e){M(u.$$.fragment,e),M(p.$$.fragment,e),M(c.$$.fragment,e),M(g.$$.fragment,e),M(w.$$.fragment,e),G=!1},d(e){e&&(i(E),i(v),i(H),i(P),i(k),i(f),i(I),i(S),i(h),i(R),i(d),i(Y),i($),i(j),i(A),i(l),i(F),i(_),i(Q),i(U),i(y)),i(o),C(u,e),C(p,e),C(c,e),C(g,e),C(w,e)}}}const ue='{"title":"Exam Time!","local":"exam-time","sections":[{"title":"Instructions","local":"instructions","sections":[],"depth":2},{"title":"Quiz 🚀","local":"quiz-","sections":[],"depth":2}],"depth":1}';function pe(W){return ie(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ge extends ne{constructor(o){super(),se(this,o,pe,me,Z,{})}}export{ge as component};
