import{s as z,n as A,o as R}from"../chunks/scheduler.505acc25.js";import{S as U,i as j,e as x,s as l,c as w,h as k,a as E,d as n,b as f,f as H,g as y,j as q,k as S,l as D,m as s,n as M,t as P,o as T,p as v}from"../chunks/index.fbb49fb4.js";import{C as G}from"../chunks/CopyLLMTxtMenu.564b44fd.js";import{H as O}from"../chunks/Heading.511e0027.js";import{E as Y}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8c19e80e.js";function B(C){let a,u,p,$,o,h,i,d,r,L='You can access Unit 1 on hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">here</a>',g,m,_,c,b;return o=new G({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),i=new O({props:{title:"Table of Contents",local:"table-of-contents",headingTag:"h1"}}),m=new Y({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/en/unit1/README.md"}}),{c(){a=x("meta"),u=l(),p=x("p"),$=l(),w(o.$$.fragment),h=l(),w(i.$$.fragment),d=l(),r=x("p"),r.innerHTML=L,g=l(),w(m.$$.fragment),_=l(),c=x("p"),this.h()},l(t){const e=k("svelte-u9bgzb",document.head);a=E(e,"META",{name:!0,content:!0}),e.forEach(n),u=f(t),p=E(t,"P",{}),H(p).forEach(n),$=f(t),y(o.$$.fragment,t),h=f(t),y(i.$$.fragment,t),d=f(t),r=E(t,"P",{"data-svelte-h":!0}),q(r)!=="svelte-1z00g9t"&&(r.innerHTML=L),g=f(t),y(m.$$.fragment,t),_=f(t),c=E(t,"P",{}),H(c).forEach(n),this.h()},h(){S(a,"name","hf:doc:metadata"),S(a,"content",F)},m(t,e){D(document.head,a),s(t,u,e),s(t,p,e),s(t,$,e),M(o,t,e),s(t,h,e),M(i,t,e),s(t,d,e),s(t,r,e),s(t,g,e),M(m,t,e),s(t,_,e),s(t,c,e),b=!0},p:A,i(t){b||(P(o.$$.fragment,t),P(i.$$.fragment,t),P(m.$$.fragment,t),b=!0)},o(t){T(o.$$.fragment,t),T(i.$$.fragment,t),T(m.$$.fragment,t),b=!1},d(t){t&&(n(u),n(p),n($),n(h),n(d),n(r),n(g),n(_),n(c)),n(a),v(o,t),v(i,t),v(m,t)}}}const F='{"title":"Table of Contents","local":"table-of-contents","sections":[],"depth":1}';function I(C){return R(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class W extends U{constructor(a){super(),j(this,a,I,B,z,{})}}export{W as component};
