import{s as N,f as U,n as j,o as z}from"../chunks/scheduler.37c15a92.js";import{S as O,i as R,g as h,s as u,r as M,A as V,h as p,f as n,c,j as H,u as k,x as q,k as T,y as B,a,v as S,d as A,t as G,w as I}from"../chunks/index.7cb9c9b8.js";import{H as D,E as F}from"../chunks/index.e79b7fff.js";function J(y){let i,g,f,_,s,v,l,E,$,o,C="The tutorial environment features a robot that needs to:",w,r,L="<li>Pull a lever to raise the stairs leading to the second room,</li> <li>Navigate to the key 🔑 and collect it while avoiding falling down into traps, water, or outside the map,</li> <li>Navigate back to the treasure chest in the first room, and open it. Victory! 🏆</li>",b,m,x,d,P;return s=new D({props:{title:"The environment",local:"the-environment",headingTag:"h1"}}),m=new F({props:{source:"https://github.com/huggingface/deep-rl-class/blob/main/units/en/unitbonus5/the-environment.mdx"}}),{c(){i=h("meta"),g=u(),f=h("p"),_=u(),M(s.$$.fragment),v=u(),l=h("img"),$=u(),o=h("p"),o.textContent=C,w=u(),r=h("ul"),r.innerHTML=L,b=u(),M(m.$$.fragment),x=u(),d=h("p"),this.h()},l(t){const e=V("svelte-u9bgzb",document.head);i=p(e,"META",{name:!0,content:!0}),e.forEach(n),g=c(t),f=p(t,"P",{}),H(f).forEach(n),_=c(t),k(s.$$.fragment,t),v=c(t),l=p(t,"IMG",{src:!0,alt:!0}),$=c(t),o=p(t,"P",{"data-svelte-h":!0}),q(o)!=="svelte-19rihh9"&&(o.textContent=C),w=c(t),r=p(t,"UL",{"data-svelte-h":!0}),q(r)!=="svelte-1t0qw8t"&&(r.innerHTML=L),b=c(t),k(m.$$.fragment,t),x=c(t),d=p(t,"P",{}),H(d).forEach(n),this.h()},h(){T(i,"name","hf:doc:metadata"),T(i,"content",K),U(l.src,E="https://huggingface.co/datasets/huggingface-deep-rl-course/course-images/resolve/main/en/unit13/il_tutorial_env.png")||T(l,"src",E),T(l,"alt","IL tutorial environment")},m(t,e){B(document.head,i),a(t,g,e),a(t,f,e),a(t,_,e),S(s,t,e),a(t,v,e),a(t,l,e),a(t,$,e),a(t,o,e),a(t,w,e),a(t,r,e),a(t,b,e),S(m,t,e),a(t,x,e),a(t,d,e),P=!0},p:j,i(t){P||(A(s.$$.fragment,t),A(m.$$.fragment,t),P=!0)},o(t){G(s.$$.fragment,t),G(m.$$.fragment,t),P=!1},d(t){t&&(n(g),n(f),n(_),n(v),n(l),n($),n(o),n(w),n(r),n(b),n(x),n(d)),n(i),I(s,t),I(m,t)}}}const K='{"title":"The environment","local":"the-environment","sections":[],"depth":1}';function Q(y){return z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends O{constructor(i){super(),R(this,i,Q,J,N,{})}}export{Z as component};
