import{s as z,n as R,o as U}from"../chunks/scheduler.4048030c.js";import{S as A,i as j,e as x,s as m,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.b7616466.js";import{C as G,H as O,E as Y}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.3f85e4dc.js";function B(C){let a,u,c,$,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,l,_,p,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"}}),l=new Y({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/ru-RU/unit1/README.md"}}),{c(){a=x("meta"),u=m(),c=x("p"),$=m(),w(o.$$.fragment),h=m(),w(i.$$.fragment),d=m(),r=x("p"),r.innerHTML=L,g=m(),w(l.$$.fragment),_=m(),p=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),c=E(t,"P",{}),H(c).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(l.$$.fragment,t),_=f(t),p=E(t,"P",{}),H(p).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,c,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(l,t,e),s(t,_,e),s(t,p,e),b=!0},p:R,i(t){b||(P(o.$$.fragment,t),P(i.$$.fragment,t),P(l.$$.fragment,t),b=!0)},o(t){T(o.$$.fragment,t),T(i.$$.fragment,t),T(l.$$.fragment,t),b=!1},d(t){t&&(n(u),n(c),n($),n(h),n(d),n(r),n(g),n(_),n(p)),n(a),v(o,t),v(i,t),v(l,t)}}}const F='{"title":"Table of Contents","local":"table-of-contents","sections":[],"depth":1}';function I(C){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Q extends A{constructor(a){super(),j(this,a,I,B,z,{})}}export{Q as component};
