import{s as Oo,n as Do,o as Ko}from"../chunks/scheduler.eb244325.js";import{S as ei,i as ti,e as a,s as n,c as h,h as ni,a as r,d as o,b as l,f as H,g as f,j as u,k as Jl,l as i,m as s,n as m,t as c,o as g,p as w}from"../chunks/index.3fe63ad3.js";import{C as li}from"../chunks/CopyLLMTxtMenu.08242e11.js";import{C as v}from"../chunks/CodeBlock.91baa5b4.js";import{H as k,E as oi}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.234c3f85.js";function ii(jl){let C,Pt,_t,It,P,Jt,I,jt,J,Zl=`Everyone is welcome to contribute, and we value everybody’s contribution. Code
is thus not the only way to help the community. Answering questions, helping
others, reaching out and improving the documentations are immensely valuable to
the community.`,Zt,j,Ul=`It also helps us if you spread the word: reference the library from blog posts
on the awesome projects it made possible, shout out on Twitter when it has
helped you, or simply ⭐️ the repo to say “thank you”.`,Ut,Z,Yl=`Whichever way you choose to contribute, please be mindful to respect our
<a href="https://github.com/huggingface/lerobot/blob/main/CODE_OF_CONDUCT.md" rel="nofollow">code of conduct</a>.`,Yt,U,Wt,Y,Wl="Some of the ways you can contribute to 🤗 LeRobot:",Gt,W,Gl="<li>Fixing outstanding issues with the existing code.</li> <li>Implementing new models, datasets or simulation environments.</li> <li>Contributing to the examples or to the documentation.</li> <li>Submitting issues related to bugs or desired new features.</li>",Rt,G,Rl='Following the guides below, feel free to open issues and PRs and to coordinate your efforts with the community on our <a href="https://discord.gg/VjFz58wn3R" rel="nofollow">Discord Channel</a>. For specific inquiries, reach out to <a href="mailto:remi.cadene@huggingface.co">Remi Cadene</a>.',St,R,Sl='If you are not sure how to contribute or want to know the next features we working on, look on this project page: <a href="https://github.com/orgs/huggingface/projects/46" rel="nofollow">LeRobot TODO</a>',zt,S,qt,z,zl=`Do your best to follow these guidelines when submitting an issue or a feature
request. It will make it easier for us to come back to you quickly and with good
feedback.`,Bt,q,Ft,B,ql=`The 🤗 LeRobot library is robust and reliable thanks to the users who notify us of
the problems they encounter. So thank you for reporting an issue.`,Xt,F,Bl=`First, we would really appreciate it if you could <strong>make sure the bug was not
already reported</strong> (use the search bar on Github under Issues).`,Vt,X,Fl="Did not find it? :( So we can act quickly on it, please follow these steps:",Et,V,Xl=`<li>Include your <strong>OS type and version</strong>, the versions of <strong>Python</strong> and <strong>PyTorch</strong>.</li> <li>A short, self-contained, code snippet that allows us to reproduce the bug in
less than 30s.</li> <li>The full traceback if an exception is raised.</li> <li>Attach any other additional information, like screenshots, you think may help.</li>`,Nt,E,At,N,Vl="A good feature request addresses the following points:",Qt,A,El="<li>Motivation first:</li>",Ot,Q,Nl=`<li>Is it related to a problem/frustration with the library? If so, please explain
why. Providing a code snippet that demonstrates the problem is best.</li> <li>Is it related to something you would need for a project? We’d love to hear
about it!</li> <li>Is it something you worked on and think could benefit the community?
Awesome! Tell us what problem it solved for you.</li>`,Dt,_,Al="<li>Write a <em>paragraph</em> describing the feature.</li> <li>Provide a <strong>code snippet</strong> that demonstrates its future use.</li> <li>In case this is related to a paper, please attach a link.</li> <li>Attach any additional information (drawings, screenshots, etc.) you think may help.</li>",Kt,O,Ql=`If your issue is well written we’re already 80% of the way there by the time you
post it.`,en,D,tn,K,Ol=`Look at our implementations for <a href="./src/lerobot/datasets/">datasets</a>, <a href="./src/lerobot/policies/">policies</a>,
environments (<a href="https://github.com/huggingface/gym-aloha" rel="nofollow">aloha</a>,
<a href="https://github.com/huggingface/gym-pusht" rel="nofollow">pusht</a>)
and follow the same api design.`,nn,ee,Dl="When implementing a new dataset loadable with LeRobotDataset follow these steps:",ln,te,Kl="<li>Update <code>available_datasets_per_env</code> in <code>lerobot/__init__.py</code></li>",on,ne,eo="When implementing a new environment (e.g. <code>gym_aloha</code>), follow these steps:",sn,le,to="<li>Update <code>available_tasks_per_env</code> and <code>available_datasets_per_env</code> in <code>lerobot/__init__.py</code></li>",an,oe,no="When implementing a new policy class (e.g. <code>DiffusionPolicy</code>) follow these steps:",rn,ie,lo="<li>Update <code>available_policies</code> and <code>available_policies_per_env</code>, in <code>lerobot/__init__.py</code></li> <li>Set the required <code>name</code> class attribute.</li> <li>Update variables in <code>tests/test_available.py</code> by importing your new Policy class</li>",un,se,pn,ae,oo=`Before writing code, we strongly advise you to search through the existing PRs or
issues to make sure that nobody is already working on the same thing. If you are
unsure, it is always a good idea to open an issue to get some feedback.`,dn,re,io=`You will need basic <code>git</code> proficiency to be able to contribute to
🤗 LeRobot. <code>git</code> is not the easiest tool to use but it has the greatest
manual. Type <code>git --help</code> in a shell and enjoy. If you prefer books, <a href="https://git-scm.com/book/en/v2" rel="nofollow">Pro
Git</a> is a very good reference.`,hn,ue,so="Follow these steps to start contributing:",fn,b,Ve,ao=`<p>Fork the <a href="https://github.com/huggingface/lerobot" rel="nofollow">repository</a> by
clicking on the ‘Fork’ button on the repository’s page. This creates a copy of the code
under your GitHub user account.</p>`,Jn,pe,Ee,ro=`Clone your fork to your local disk, and add the base repository as a remote. The following command
assumes you have your public SSH key uploaded to GitHub. See the following guide for more
<a href="https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository" rel="nofollow">information</a>.`,jn,de,Zn,x,Ne,uo="Create a new branch to hold your development changes, and do this for every new PR you work on.",Un,Ae,po='Start by synchronizing your <code>main</code> branch with the <code>upstream/main</code> branch (more details in the <a href="https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork" rel="nofollow">GitHub Docs</a>):',Yn,he,Wn,Qe,ho="Once your <code>main</code> branch is synchronized, create a new branch from it:",Gn,fe,Rn,Oe,fo="🚨 <strong>Do not</strong> work on the <code>main</code> branch.",Sn,p,De,mo=`for development, we advise to use a tool like <code>poetry</code> or <code>uv</code> instead of just <code>pip</code> to easily track our dependencies.
Follow the instructions to <a href="https://python-poetry.org/docs/#installation" rel="nofollow">install poetry</a> (use a version &gt;=2.1.0) or to <a href="https://docs.astral.sh/uv/getting-started/installation/#installation-methods" rel="nofollow">install uv</a> if you don’t have one of them already.`,zn,Ke,co="Set up a development environment with conda:",qn,me,Bn,et,go="If you’re using <code>uv</code>, it can manage python versions so you can instead do:",Fn,ce,Xn,tt,wo="To develop on 🤗 LeRobot, you will at least need to install the <code>dev</code> and <code>test</code> extras dependencies along with the core library:",Vn,nt,yo="using <code>poetry</code>",En,ge,Nn,lt,$o="using <code>uv</code>",An,we,Qn,ot,vo="You can also install the project with all its dependencies (including environments):",On,it,bo="using <code>poetry</code>",Dn,ye,Kn,st,To="using <code>uv</code>",el,$e,tl,at,xo="<p><strong>Note:</strong> If you don’t install simulation environments with <code>--all-extras</code>, the tests that require them will be skipped when running the pytest suite locally. However, they <em>will</em> be tested in the CI. In general, we advise you to install everything and test locally before pushing.</p>",nl,rt,Mo="Whichever command you chose to install the project (e.g. <code>poetry sync --all-extras</code>), you should run it again when pulling code with an updated version of <code>pyproject.toml</code> and <code>poetry.lock</code> in order to synchronize your virtual environment with the new dependencies.",ll,ut,Co="The equivalent of <code>pip install some-package</code>, would just be:",ol,pt,Lo="using <code>poetry</code>",il,ve,sl,dt,ko="using <code>uv</code>",al,be,rl,ht,_o=`When making changes to the poetry sections of the <code>pyproject.toml</code>, you should run the following command to lock dependencies.
using <code>poetry</code>`,ul,Te,pl,ft,Ho="using <code>uv</code>",dl,xe,hl,L,mt,Po="Develop the features on your branch.",fl,ct,Io=`As you work on the features, you should make sure that the test suite
passes. You should run the tests impacted by your changes like this (see
below an explanation regarding the environment variable):`,ml,Me,cl,y,gt,Jo="Follow our style.",gl,wt,jo=`<code>lerobot</code> relies on <code>ruff</code> to format its source code
consistently. Set up <a href="https://pre-commit.com/" rel="nofollow"><code>pre-commit</code></a> to run these checks
automatically as Git commit hooks.`,wl,yt,Zo="Install <code>pre-commit</code> hooks:",yl,Ce,$l,$t,Uo="You can run these hooks whenever you need on staged files with:",vl,Le,bl,vt,Yo=`Once you’re happy with your changes, add changed files using <code>git add</code> and
make a commit with <code>git commit</code> to record your changes locally:`,Tl,ke,xl,bt,Wo="Note, if you already committed some changes that have a wrong formatting, you can use:",Ml,_e,Cl,Tt,Go='Please write <a href="https://chris.beams.io/posts/git-commit/" rel="nofollow">good commit messages</a>.',Ll,xt,Ro=`It is a good idea to sync your copy of the code with the original
repository regularly. This way you can quickly account for changes:`,kl,He,_l,Mt,So="Push the changes to your account using:",Hl,Pe,Pl,Ct,zo=`<p>Once you are satisfied (<strong>and the checklist below is happy too</strong>), go to the
webpage of your fork on GitHub. Click on ‘Pull request’ to send your changes
to the project maintainers for review.</p>`,Il,Lt,qo=`<p>It’s ok if maintainers ask you for changes. It happens to core contributors
too! So everyone can see the changes in the Pull request, work in your local
branch and push the changes to your fork. They will automatically appear in
the pull request.</p>`,mn,Ie,cn,Je,Bo=`<li>The title of your pull request should be a summary of its contribution;</li> <li>If your pull request addresses an issue, please mention the issue number in
the pull request description to make sure they are linked (and people
consulting the issue know you are working on it);</li> <li>To indicate a work in progress please prefix the title with <code>[WIP]</code>, or preferably mark
the PR as a draft PR. These are useful to avoid duplicated work, and to differentiate
it from PRs ready to be merged;</li> <li>Make sure existing tests pass;</li>`,gn,je,wn,Ze,Fo='An extensive test suite is included to test the library behavior and several examples. Library tests can be found in the <a href="https://github.com/huggingface/lerobot/tree/main/tests" rel="nofollow">tests folder</a>.',yn,Ue,Xo='Install <a href="https://git-lfs.com/" rel="nofollow">git lfs</a> to retrieve test artifacts (if you don’t have it already).',$n,Ye,Vo="On Mac:",vn,We,bn,Ge,Eo="On Ubuntu:",Tn,Re,xn,Se,No='Pull artifacts if they’re not in <a href="tests/artifacts">tests/artifacts</a>',Mn,ze,Cn,qe,Ao=`We use <code>pytest</code> in order to run the tests. From the root of the
repository, here’s how to run tests with <code>pytest</code> for the library:`,Ln,Be,kn,Fe,Qo=`You can specify a smaller set of tests in order to test only the feature
you’re working on.`,_n,Xe,Hn,Ht,Pn;return P=new li({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),I=new k({props:{title:"How to contribute to 🤗 LeRobot?",local:"how-to-contribute-to--lerobot",headingTag:"h1"}}),U=new k({props:{title:"You can contribute in so many ways!",local:"you-can-contribute-in-so-many-ways",headingTag:"h2"}}),S=new k({props:{title:"Submitting a new issue or feature request",local:"submitting-a-new-issue-or-feature-request",headingTag:"h2"}}),q=new k({props:{title:"Did you find a bug?",local:"did-you-find-a-bug",headingTag:"h3"}}),E=new k({props:{title:"Do you want a new feature?",local:"do-you-want-a-new-feature",headingTag:"h3"}}),D=new k({props:{title:"Adding new policies, datasets or environments",local:"adding-new-policies-datasets-or-environments",headingTag:"h2"}}),se=new k({props:{title:"Submitting a pull request (PR)",local:"submitting-a-pull-request-pr",headingTag:"h2"}}),de=new v({props:{code:"Z2l0JTIwY2xvbmUlMjBnaXQlNDBnaXRodWIuY29tJTNBJTNDeW91ciUyMEdpdGh1YiUyMGhhbmRsZSUzRSUyRmxlcm9ib3QuZ2l0JTBBY2QlMjBsZXJvYm90JTBBZ2l0JTIwcmVtb3RlJTIwYWRkJTIwdXBzdHJlYW0lMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZodWdnaW5nZmFjZSUyRmxlcm9ib3QuZ2l0",highlighted:`git <span class="hljs-built_in">clone</span> git@github.com:&lt;your Github handle&gt;/lerobot.git
<span class="hljs-built_in">cd</span> lerobot
git remote add upstream https://github.com/huggingface/lerobot.git`,wrap:!1}}),he=new v({props:{code:"Z2l0JTIwY2hlY2tvdXQlMjBtYWluJTBBZ2l0JTIwZmV0Y2glMjB1cHN0cmVhbSUwQWdpdCUyMHJlYmFzZSUyMHVwc3RyZWFtJTJGbWFpbg==",highlighted:`git checkout main
git fetch upstream
git rebase upstream/main`,wrap:!1}}),fe=new v({props:{code:"Z2l0JTIwY2hlY2tvdXQlMjAtYiUyMGEtZGVzY3JpcHRpdmUtbmFtZS1mb3ItbXktY2hhbmdlcw==",highlighted:"git checkout -b a-descriptive-name-for-my-changes",wrap:!1}}),me=new v({props:{code:"Y29uZGElMjBjcmVhdGUlMjAteSUyMC1uJTIwbGVyb2JvdC1kZXYlMjBweXRob24lM0QzLjEwJTIwJTI2JTI2JTIwY29uZGElMjBhY3RpdmF0ZSUyMGxlcm9ib3QtZGV2",highlighted:"conda create -y -n lerobot-dev python=3.10 &amp;&amp; conda activate lerobot-dev",wrap:!1}}),ce=new v({props:{code:"dXYlMjB2ZW52JTIwLS1weXRob24lMjAzLjEwJTIwJTI2JTI2JTIwc291cmNlJTIwLnZlbnYlMkZiaW4lMkZhY3RpdmF0ZQ==",highlighted:'uv venv --python 3.10 &amp;&amp; <span class="hljs-built_in">source</span> .venv/bin/activate',wrap:!1}}),ge=new v({props:{code:"cG9ldHJ5JTIwc3luYyUyMC0tZXh0cmFzJTIwJTIyZGV2JTIwdGVzdCUyMg==",highlighted:'poetry <span class="hljs-built_in">sync</span> --extras <span class="hljs-string">&quot;dev test&quot;</span>',wrap:!1}}),we=new v({props:{code:"dXYlMjBzeW5jJTIwLS1leHRyYSUyMGRldiUyMC0tZXh0cmElMjB0ZXN0",highlighted:'uv <span class="hljs-built_in">sync</span> --extra dev --extra <span class="hljs-built_in">test</span>',wrap:!1}}),ye=new v({props:{code:"cG9ldHJ5JTIwc3luYyUyMC0tYWxsLWV4dHJhcw==",highlighted:'poetry <span class="hljs-built_in">sync</span> --all-extras',wrap:!1}}),$e=new v({props:{code:"dXYlMjBzeW5jJTIwLS1hbGwtZXh0cmFz",highlighted:'uv <span class="hljs-built_in">sync</span> --all-extras',wrap:!1}}),ve=new v({props:{code:"cG9ldHJ5JTIwYWRkJTIwc29tZS1wYWNrYWdl",highlighted:"poetry add some-package",wrap:!1}}),be=new v({props:{code:"dXYlMjBhZGQlMjBzb21lLXBhY2thZ2U=",highlighted:"uv add some-package",wrap:!1}}),Te=new v({props:{code:"cG9ldHJ5JTIwbG9jaw==",highlighted:"poetry lock",wrap:!1}}),xe=new v({props:{code:"dXYlMjBsb2Nr",highlighted:"uv lock",wrap:!1}}),Me=new v({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkYlM0NURVNUX1RPX1JVTiUzRS5weQ==",highlighted:"pytest tests/&lt;TEST_TO_RUN&gt;.py",wrap:!1}}),Ce=new v({props:{code:"cHJlLWNvbW1pdCUyMGluc3RhbGw=",highlighted:"pre-commit install",wrap:!1}}),Le=new v({props:{code:"cHJlLWNvbW1pdA==",highlighted:"pre-commit",wrap:!1}}),ke=new v({props:{code:"Z2l0JTIwYWRkJTIwbW9kaWZpZWRfZmlsZS5weSUwQWdpdCUyMGNvbW1pdA==",highlighted:`git add modified_file.py
git commit`,wrap:!1}}),_e=new v({props:{code:"cHJlLWNvbW1pdCUyMHJ1biUyMC0tYWxsLWZpbGVz",highlighted:"pre-commit run --all-files",wrap:!1}}),He=new v({props:{code:"Z2l0JTIwZmV0Y2glMjB1cHN0cmVhbSUwQWdpdCUyMHJlYmFzZSUyMHVwc3RyZWFtJTJGbWFpbg==",highlighted:`git fetch upstream
git rebase upstream/main`,wrap:!1}}),Pe=new v({props:{code:"Z2l0JTIwcHVzaCUyMC11JTIwb3JpZ2luJTIwYS1kZXNjcmlwdGl2ZS1uYW1lLWZvci1teS1jaGFuZ2Vz",highlighted:"git push -u origin a-descriptive-name-for-my-changes",wrap:!1}}),Ie=new k({props:{title:"Checklist",local:"checklist",headingTag:"h3"}}),je=new k({props:{title:"Tests",local:"tests",headingTag:"h3"}}),We=new v({props:{code:"YnJldyUyMGluc3RhbGwlMjBnaXQtbGZzJTBBZ2l0JTIwbGZzJTIwaW5zdGFsbA==",highlighted:`brew install git-lfs
git lfs install`,wrap:!1}}),Re=new v({props:{code:"c3VkbyUyMGFwdC1nZXQlMjBpbnN0YWxsJTIwZ2l0LWxmcyUwQWdpdCUyMGxmcyUyMGluc3RhbGw=",highlighted:`sudo apt-get install git-lfs
git lfs install`,wrap:!1}}),ze=new v({props:{code:"Z2l0JTIwbGZzJTIwcHVsbA==",highlighted:"git lfs pull",wrap:!1}}),Be=new v({props:{code:"cHl0aG9uJTIwLW0lMjBweXRlc3QlMjAtc3YlMjAuJTJGdGVzdHM=",highlighted:"python -m pytest -sv ./tests",wrap:!1}}),Xe=new oi({props:{source:"https://github.com/huggingface/lerobot/blob/main/docs/source/contributing.md"}}),{c(){C=a("meta"),Pt=n(),_t=a("p"),It=n(),h(P.$$.fragment),Jt=n(),h(I.$$.fragment),jt=n(),J=a("p"),J.textContent=Zl,Zt=n(),j=a("p"),j.textContent=Ul,Ut=n(),Z=a("p"),Z.innerHTML=Yl,Yt=n(),h(U.$$.fragment),Wt=n(),Y=a("p"),Y.textContent=Wl,Gt=n(),W=a("ul"),W.innerHTML=Gl,Rt=n(),G=a("p"),G.innerHTML=Rl,St=n(),R=a("p"),R.innerHTML=Sl,zt=n(),h(S.$$.fragment),qt=n(),z=a("p"),z.textContent=zl,Bt=n(),h(q.$$.fragment),Ft=n(),B=a("p"),B.textContent=ql,Xt=n(),F=a("p"),F.innerHTML=Bl,Vt=n(),X=a("p"),X.textContent=Fl,Et=n(),V=a("ul"),V.innerHTML=Xl,Nt=n(),h(E.$$.fragment),At=n(),N=a("p"),N.textContent=Vl,Qt=n(),A=a("ol"),A.innerHTML=El,Ot=n(),Q=a("ul"),Q.innerHTML=Nl,Dt=n(),_=a("ol"),_.innerHTML=Al,Kt=n(),O=a("p"),O.textContent=Ql,en=n(),h(D.$$.fragment),tn=n(),K=a("p"),K.innerHTML=Ol,nn=n(),ee=a("p"),ee.textContent=Dl,ln=n(),te=a("ul"),te.innerHTML=Kl,on=n(),ne=a("p"),ne.innerHTML=eo,sn=n(),le=a("ul"),le.innerHTML=to,an=n(),oe=a("p"),oe.innerHTML=no,rn=n(),ie=a("ul"),ie.innerHTML=lo,un=n(),h(se.$$.fragment),pn=n(),ae=a("p"),ae.textContent=oo,dn=n(),re=a("p"),re.innerHTML=io,hn=n(),ue=a("p"),ue.textContent=so,fn=n(),b=a("ol"),Ve=a("li"),Ve.innerHTML=ao,Jn=n(),pe=a("li"),Ee=a("p"),Ee.innerHTML=ro,jn=n(),h(de.$$.fragment),Zn=n(),x=a("li"),Ne=a("p"),Ne.textContent=uo,Un=n(),Ae=a("p"),Ae.innerHTML=po,Yn=n(),h(he.$$.fragment),Wn=n(),Qe=a("p"),Qe.innerHTML=ho,Gn=n(),h(fe.$$.fragment),Rn=n(),Oe=a("p"),Oe.innerHTML=fo,Sn=n(),p=a("li"),De=a("p"),De.innerHTML=mo,zn=n(),Ke=a("p"),Ke.textContent=co,qn=n(),h(me.$$.fragment),Bn=n(),et=a("p"),et.innerHTML=go,Fn=n(),h(ce.$$.fragment),Xn=n(),tt=a("p"),tt.innerHTML=wo,Vn=n(),nt=a("p"),nt.innerHTML=yo,En=n(),h(ge.$$.fragment),Nn=n(),lt=a("p"),lt.innerHTML=$o,An=n(),h(we.$$.fragment),Qn=n(),ot=a("p"),ot.textContent=vo,On=n(),it=a("p"),it.innerHTML=bo,Dn=n(),h(ye.$$.fragment),Kn=n(),st=a("p"),st.innerHTML=To,el=n(),h($e.$$.fragment),tl=n(),at=a("blockquote"),at.innerHTML=xo,nl=n(),rt=a("p"),rt.innerHTML=Mo,ll=n(),ut=a("p"),ut.innerHTML=Co,ol=n(),pt=a("p"),pt.innerHTML=Lo,il=n(),h(ve.$$.fragment),sl=n(),dt=a("p"),dt.innerHTML=ko,al=n(),h(be.$$.fragment),rl=n(),ht=a("p"),ht.innerHTML=_o,ul=n(),h(Te.$$.fragment),pl=n(),ft=a("p"),ft.innerHTML=Ho,dl=n(),h(xe.$$.fragment),hl=n(),L=a("li"),mt=a("p"),mt.textContent=Po,fl=n(),ct=a("p"),ct.textContent=Io,ml=n(),h(Me.$$.fragment),cl=n(),y=a("li"),gt=a("p"),gt.textContent=Jo,gl=n(),wt=a("p"),wt.innerHTML=jo,wl=n(),yt=a("p"),yt.innerHTML=Zo,yl=n(),h(Ce.$$.fragment),$l=n(),$t=a("p"),$t.textContent=Uo,vl=n(),h(Le.$$.fragment),bl=n(),vt=a("p"),vt.innerHTML=Yo,Tl=n(),h(ke.$$.fragment),xl=n(),bt=a("p"),bt.textContent=Wo,Ml=n(),h(_e.$$.fragment),Cl=n(),Tt=a("p"),Tt.innerHTML=Go,Ll=n(),xt=a("p"),xt.textContent=Ro,kl=n(),h(He.$$.fragment),_l=n(),Mt=a("p"),Mt.textContent=So,Hl=n(),h(Pe.$$.fragment),Pl=n(),Ct=a("li"),Ct.innerHTML=zo,Il=n(),Lt=a("li"),Lt.innerHTML=qo,mn=n(),h(Ie.$$.fragment),cn=n(),Je=a("ol"),Je.innerHTML=Bo,gn=n(),h(je.$$.fragment),wn=n(),Ze=a("p"),Ze.innerHTML=Fo,yn=n(),Ue=a("p"),Ue.innerHTML=Xo,$n=n(),Ye=a("p"),Ye.textContent=Vo,vn=n(),h(We.$$.fragment),bn=n(),Ge=a("p"),Ge.textContent=Eo,Tn=n(),h(Re.$$.fragment),xn=n(),Se=a("p"),Se.innerHTML=No,Mn=n(),h(ze.$$.fragment),Cn=n(),qe=a("p"),qe.innerHTML=Ao,Ln=n(),h(Be.$$.fragment),kn=n(),Fe=a("p"),Fe.textContent=Qo,_n=n(),h(Xe.$$.fragment),Hn=n(),Ht=a("p"),this.h()},l(e){const t=ni("svelte-u9bgzb",document.head);C=r(t,"META",{name:!0,content:!0}),t.forEach(o),Pt=l(e),_t=r(e,"P",{}),H(_t).forEach(o),It=l(e),f(P.$$.fragment,e),Jt=l(e),f(I.$$.fragment,e),jt=l(e),J=r(e,"P",{"data-svelte-h":!0}),u(J)!=="svelte-czvgrm"&&(J.textContent=Zl),Zt=l(e),j=r(e,"P",{"data-svelte-h":!0}),u(j)!=="svelte-1mb6b8s"&&(j.textContent=Ul),Ut=l(e),Z=r(e,"P",{"data-svelte-h":!0}),u(Z)!=="svelte-8iqfgm"&&(Z.innerHTML=Yl),Yt=l(e),f(U.$$.fragment,e),Wt=l(e),Y=r(e,"P",{"data-svelte-h":!0}),u(Y)!=="svelte-4uu5k5"&&(Y.textContent=Wl),Gt=l(e),W=r(e,"UL",{"data-svelte-h":!0}),u(W)!=="svelte-g719r"&&(W.innerHTML=Gl),Rt=l(e),G=r(e,"P",{"data-svelte-h":!0}),u(G)!=="svelte-dwkxai"&&(G.innerHTML=Rl),St=l(e),R=r(e,"P",{"data-svelte-h":!0}),u(R)!=="svelte-1udjayo"&&(R.innerHTML=Sl),zt=l(e),f(S.$$.fragment,e),qt=l(e),z=r(e,"P",{"data-svelte-h":!0}),u(z)!=="svelte-m99ycu"&&(z.textContent=zl),Bt=l(e),f(q.$$.fragment,e),Ft=l(e),B=r(e,"P",{"data-svelte-h":!0}),u(B)!=="svelte-173lta1"&&(B.textContent=ql),Xt=l(e),F=r(e,"P",{"data-svelte-h":!0}),u(F)!=="svelte-ieu8uk"&&(F.innerHTML=Bl),Vt=l(e),X=r(e,"P",{"data-svelte-h":!0}),u(X)!=="svelte-1pqq1ys"&&(X.textContent=Fl),Et=l(e),V=r(e,"UL",{"data-svelte-h":!0}),u(V)!=="svelte-opcugu"&&(V.innerHTML=Xl),Nt=l(e),f(E.$$.fragment,e),At=l(e),N=r(e,"P",{"data-svelte-h":!0}),u(N)!=="svelte-1fi5xcw"&&(N.textContent=Vl),Qt=l(e),A=r(e,"OL",{"data-svelte-h":!0}),u(A)!=="svelte-1meaa0h"&&(A.innerHTML=El),Ot=l(e),Q=r(e,"UL",{"data-svelte-h":!0}),u(Q)!=="svelte-1m6et35"&&(Q.innerHTML=Nl),Dt=l(e),_=r(e,"OL",{start:!0,"data-svelte-h":!0}),u(_)!=="svelte-iordf4"&&(_.innerHTML=Al),Kt=l(e),O=r(e,"P",{"data-svelte-h":!0}),u(O)!=="svelte-w29yyv"&&(O.textContent=Ql),en=l(e),f(D.$$.fragment,e),tn=l(e),K=r(e,"P",{"data-svelte-h":!0}),u(K)!=="svelte-8im17i"&&(K.innerHTML=Ol),nn=l(e),ee=r(e,"P",{"data-svelte-h":!0}),u(ee)!=="svelte-13ggzwk"&&(ee.textContent=Dl),ln=l(e),te=r(e,"UL",{"data-svelte-h":!0}),u(te)!=="svelte-q4s2a5"&&(te.innerHTML=Kl),on=l(e),ne=r(e,"P",{"data-svelte-h":!0}),u(ne)!=="svelte-x8y9kp"&&(ne.innerHTML=eo),sn=l(e),le=r(e,"UL",{"data-svelte-h":!0}),u(le)!=="svelte-145cd9h"&&(le.innerHTML=to),an=l(e),oe=r(e,"P",{"data-svelte-h":!0}),u(oe)!=="svelte-16tdo44"&&(oe.innerHTML=no),rn=l(e),ie=r(e,"UL",{"data-svelte-h":!0}),u(ie)!=="svelte-eo7ogu"&&(ie.innerHTML=lo),un=l(e),f(se.$$.fragment,e),pn=l(e),ae=r(e,"P",{"data-svelte-h":!0}),u(ae)!=="svelte-18wldn4"&&(ae.textContent=oo),dn=l(e),re=r(e,"P",{"data-svelte-h":!0}),u(re)!=="svelte-15137g3"&&(re.innerHTML=io),hn=l(e),ue=r(e,"P",{"data-svelte-h":!0}),u(ue)!=="svelte-1fc52k8"&&(ue.textContent=so),fn=l(e),b=r(e,"OL",{});var T=H(b);Ve=r(T,"LI",{"data-svelte-h":!0}),u(Ve)!=="svelte-1u331fo"&&(Ve.innerHTML=ao),Jn=l(T),pe=r(T,"LI",{});var In=H(pe);Ee=r(In,"P",{"data-svelte-h":!0}),u(Ee)!=="svelte-63m140"&&(Ee.innerHTML=ro),jn=l(In),f(de.$$.fragment,In),In.forEach(o),Zn=l(T),x=r(T,"LI",{});var M=H(x);Ne=r(M,"P",{"data-svelte-h":!0}),u(Ne)!=="svelte-1vi7r8j"&&(Ne.textContent=uo),Un=l(M),Ae=r(M,"P",{"data-svelte-h":!0}),u(Ae)!=="svelte-1n5v523"&&(Ae.innerHTML=po),Yn=l(M),f(he.$$.fragment,M),Wn=l(M),Qe=r(M,"P",{"data-svelte-h":!0}),u(Qe)!=="svelte-khpurs"&&(Qe.innerHTML=ho),Gn=l(M),f(fe.$$.fragment,M),Rn=l(M),Oe=r(M,"P",{"data-svelte-h":!0}),u(Oe)!=="svelte-z3lhj"&&(Oe.innerHTML=fo),M.forEach(o),Sn=l(T),p=r(T,"LI",{});var d=H(p);De=r(d,"P",{"data-svelte-h":!0}),u(De)!=="svelte-1sbob1k"&&(De.innerHTML=mo),zn=l(d),Ke=r(d,"P",{"data-svelte-h":!0}),u(Ke)!=="svelte-19widi7"&&(Ke.textContent=co),qn=l(d),f(me.$$.fragment,d),Bn=l(d),et=r(d,"P",{"data-svelte-h":!0}),u(et)!=="svelte-1kgontd"&&(et.innerHTML=go),Fn=l(d),f(ce.$$.fragment,d),Xn=l(d),tt=r(d,"P",{"data-svelte-h":!0}),u(tt)!=="svelte-1f02iox"&&(tt.innerHTML=wo),Vn=l(d),nt=r(d,"P",{"data-svelte-h":!0}),u(nt)!=="svelte-1vkini2"&&(nt.innerHTML=yo),En=l(d),f(ge.$$.fragment,d),Nn=l(d),lt=r(d,"P",{"data-svelte-h":!0}),u(lt)!=="svelte-zr5kbw"&&(lt.innerHTML=$o),An=l(d),f(we.$$.fragment,d),Qn=l(d),ot=r(d,"P",{"data-svelte-h":!0}),u(ot)!=="svelte-3xy79t"&&(ot.textContent=vo),On=l(d),it=r(d,"P",{"data-svelte-h":!0}),u(it)!=="svelte-1vkini2"&&(it.innerHTML=bo),Dn=l(d),f(ye.$$.fragment,d),Kn=l(d),st=r(d,"P",{"data-svelte-h":!0}),u(st)!=="svelte-zr5kbw"&&(st.innerHTML=To),el=l(d),f($e.$$.fragment,d),tl=l(d),at=r(d,"BLOCKQUOTE",{"data-svelte-h":!0}),u(at)!=="svelte-fs0ing"&&(at.innerHTML=xo),nl=l(d),rt=r(d,"P",{"data-svelte-h":!0}),u(rt)!=="svelte-1pxejxz"&&(rt.innerHTML=Mo),ll=l(d),ut=r(d,"P",{"data-svelte-h":!0}),u(ut)!=="svelte-1tzwyk6"&&(ut.innerHTML=Co),ol=l(d),pt=r(d,"P",{"data-svelte-h":!0}),u(pt)!=="svelte-1vkini2"&&(pt.innerHTML=Lo),il=l(d),f(ve.$$.fragment,d),sl=l(d),dt=r(d,"P",{"data-svelte-h":!0}),u(dt)!=="svelte-zr5kbw"&&(dt.innerHTML=ko),al=l(d),f(be.$$.fragment,d),rl=l(d),ht=r(d,"P",{"data-svelte-h":!0}),u(ht)!=="svelte-136kzu1"&&(ht.innerHTML=_o),ul=l(d),f(Te.$$.fragment,d),pl=l(d),ft=r(d,"P",{"data-svelte-h":!0}),u(ft)!=="svelte-zr5kbw"&&(ft.innerHTML=Ho),dl=l(d),f(xe.$$.fragment,d),d.forEach(o),hl=l(T),L=r(T,"LI",{});var kt=H(L);mt=r(kt,"P",{"data-svelte-h":!0}),u(mt)!=="svelte-1fwjgul"&&(mt.textContent=Po),fl=l(kt),ct=r(kt,"P",{"data-svelte-h":!0}),u(ct)!=="svelte-114fe7n"&&(ct.textContent=Io),ml=l(kt),f(Me.$$.fragment,kt),kt.forEach(o),cl=l(T),y=r(T,"LI",{});var $=H(y);gt=r($,"P",{"data-svelte-h":!0}),u(gt)!=="svelte-1y5541s"&&(gt.textContent=Jo),gl=l($),wt=r($,"P",{"data-svelte-h":!0}),u(wt)!=="svelte-1utu5x6"&&(wt.innerHTML=jo),wl=l($),yt=r($,"P",{"data-svelte-h":!0}),u(yt)!=="svelte-1r6xan3"&&(yt.innerHTML=Zo),yl=l($),f(Ce.$$.fragment,$),$l=l($),$t=r($,"P",{"data-svelte-h":!0}),u($t)!=="svelte-hotn0i"&&($t.textContent=Uo),vl=l($),f(Le.$$.fragment,$),bl=l($),vt=r($,"P",{"data-svelte-h":!0}),u(vt)!=="svelte-1h0d1ob"&&(vt.innerHTML=Yo),Tl=l($),f(ke.$$.fragment,$),xl=l($),bt=r($,"P",{"data-svelte-h":!0}),u(bt)!=="svelte-4smxtx"&&(bt.textContent=Wo),Ml=l($),f(_e.$$.fragment,$),Cl=l($),Tt=r($,"P",{"data-svelte-h":!0}),u(Tt)!=="svelte-1uiod1k"&&(Tt.innerHTML=Go),Ll=l($),xt=r($,"P",{"data-svelte-h":!0}),u(xt)!=="svelte-b5s72j"&&(xt.textContent=Ro),kl=l($),f(He.$$.fragment,$),_l=l($),Mt=r($,"P",{"data-svelte-h":!0}),u(Mt)!=="svelte-1adm7yl"&&(Mt.textContent=So),Hl=l($),f(Pe.$$.fragment,$),$.forEach(o),Pl=l(T),Ct=r(T,"LI",{"data-svelte-h":!0}),u(Ct)!=="svelte-1jh67n"&&(Ct.innerHTML=zo),Il=l(T),Lt=r(T,"LI",{"data-svelte-h":!0}),u(Lt)!=="svelte-13b83ne"&&(Lt.innerHTML=qo),T.forEach(o),mn=l(e),f(Ie.$$.fragment,e),cn=l(e),Je=r(e,"OL",{"data-svelte-h":!0}),u(Je)!=="svelte-1p1by3q"&&(Je.innerHTML=Bo),gn=l(e),f(je.$$.fragment,e),wn=l(e),Ze=r(e,"P",{"data-svelte-h":!0}),u(Ze)!=="svelte-1sh9oat"&&(Ze.innerHTML=Fo),yn=l(e),Ue=r(e,"P",{"data-svelte-h":!0}),u(Ue)!=="svelte-1ugynxa"&&(Ue.innerHTML=Xo),$n=l(e),Ye=r(e,"P",{"data-svelte-h":!0}),u(Ye)!=="svelte-3tfe9g"&&(Ye.textContent=Vo),vn=l(e),f(We.$$.fragment,e),bn=l(e),Ge=r(e,"P",{"data-svelte-h":!0}),u(Ge)!=="svelte-1f2259a"&&(Ge.textContent=Eo),Tn=l(e),f(Re.$$.fragment,e),xn=l(e),Se=r(e,"P",{"data-svelte-h":!0}),u(Se)!=="svelte-1xre7gq"&&(Se.innerHTML=No),Mn=l(e),f(ze.$$.fragment,e),Cn=l(e),qe=r(e,"P",{"data-svelte-h":!0}),u(qe)!=="svelte-5srnyh"&&(qe.innerHTML=Ao),Ln=l(e),f(Be.$$.fragment,e),kn=l(e),Fe=r(e,"P",{"data-svelte-h":!0}),u(Fe)!=="svelte-12n8jzj"&&(Fe.textContent=Qo),_n=l(e),f(Xe.$$.fragment,e),Hn=l(e),Ht=r(e,"P",{}),H(Ht).forEach(o),this.h()},h(){Jl(C,"name","hf:doc:metadata"),Jl(C,"content",si),Jl(_,"start","2")},m(e,t){i(document.head,C),s(e,Pt,t),s(e,_t,t),s(e,It,t),m(P,e,t),s(e,Jt,t),m(I,e,t),s(e,jt,t),s(e,J,t),s(e,Zt,t),s(e,j,t),s(e,Ut,t),s(e,Z,t),s(e,Yt,t),m(U,e,t),s(e,Wt,t),s(e,Y,t),s(e,Gt,t),s(e,W,t),s(e,Rt,t),s(e,G,t),s(e,St,t),s(e,R,t),s(e,zt,t),m(S,e,t),s(e,qt,t),s(e,z,t),s(e,Bt,t),m(q,e,t),s(e,Ft,t),s(e,B,t),s(e,Xt,t),s(e,F,t),s(e,Vt,t),s(e,X,t),s(e,Et,t),s(e,V,t),s(e,Nt,t),m(E,e,t),s(e,At,t),s(e,N,t),s(e,Qt,t),s(e,A,t),s(e,Ot,t),s(e,Q,t),s(e,Dt,t),s(e,_,t),s(e,Kt,t),s(e,O,t),s(e,en,t),m(D,e,t),s(e,tn,t),s(e,K,t),s(e,nn,t),s(e,ee,t),s(e,ln,t),s(e,te,t),s(e,on,t),s(e,ne,t),s(e,sn,t),s(e,le,t),s(e,an,t),s(e,oe,t),s(e,rn,t),s(e,ie,t),s(e,un,t),m(se,e,t),s(e,pn,t),s(e,ae,t),s(e,dn,t),s(e,re,t),s(e,hn,t),s(e,ue,t),s(e,fn,t),s(e,b,t),i(b,Ve),i(b,Jn),i(b,pe),i(pe,Ee),i(pe,jn),m(de,pe,null),i(b,Zn),i(b,x),i(x,Ne),i(x,Un),i(x,Ae),i(x,Yn),m(he,x,null),i(x,Wn),i(x,Qe),i(x,Gn),m(fe,x,null),i(x,Rn),i(x,Oe),i(b,Sn),i(b,p),i(p,De),i(p,zn),i(p,Ke),i(p,qn),m(me,p,null),i(p,Bn),i(p,et),i(p,Fn),m(ce,p,null),i(p,Xn),i(p,tt),i(p,Vn),i(p,nt),i(p,En),m(ge,p,null),i(p,Nn),i(p,lt),i(p,An),m(we,p,null),i(p,Qn),i(p,ot),i(p,On),i(p,it),i(p,Dn),m(ye,p,null),i(p,Kn),i(p,st),i(p,el),m($e,p,null),i(p,tl),i(p,at),i(p,nl),i(p,rt),i(p,ll),i(p,ut),i(p,ol),i(p,pt),i(p,il),m(ve,p,null),i(p,sl),i(p,dt),i(p,al),m(be,p,null),i(p,rl),i(p,ht),i(p,ul),m(Te,p,null),i(p,pl),i(p,ft),i(p,dl),m(xe,p,null),i(b,hl),i(b,L),i(L,mt),i(L,fl),i(L,ct),i(L,ml),m(Me,L,null),i(b,cl),i(b,y),i(y,gt),i(y,gl),i(y,wt),i(y,wl),i(y,yt),i(y,yl),m(Ce,y,null),i(y,$l),i(y,$t),i(y,vl),m(Le,y,null),i(y,bl),i(y,vt),i(y,Tl),m(ke,y,null),i(y,xl),i(y,bt),i(y,Ml),m(_e,y,null),i(y,Cl),i(y,Tt),i(y,Ll),i(y,xt),i(y,kl),m(He,y,null),i(y,_l),i(y,Mt),i(y,Hl),m(Pe,y,null),i(b,Pl),i(b,Ct),i(b,Il),i(b,Lt),s(e,mn,t),m(Ie,e,t),s(e,cn,t),s(e,Je,t),s(e,gn,t),m(je,e,t),s(e,wn,t),s(e,Ze,t),s(e,yn,t),s(e,Ue,t),s(e,$n,t),s(e,Ye,t),s(e,vn,t),m(We,e,t),s(e,bn,t),s(e,Ge,t),s(e,Tn,t),m(Re,e,t),s(e,xn,t),s(e,Se,t),s(e,Mn,t),m(ze,e,t),s(e,Cn,t),s(e,qe,t),s(e,Ln,t),m(Be,e,t),s(e,kn,t),s(e,Fe,t),s(e,_n,t),m(Xe,e,t),s(e,Hn,t),s(e,Ht,t),Pn=!0},p:Do,i(e){Pn||(c(P.$$.fragment,e),c(I.$$.fragment,e),c(U.$$.fragment,e),c(S.$$.fragment,e),c(q.$$.fragment,e),c(E.$$.fragment,e),c(D.$$.fragment,e),c(se.$$.fragment,e),c(de.$$.fragment,e),c(he.$$.fragment,e),c(fe.$$.fragment,e),c(me.$$.fragment,e),c(ce.$$.fragment,e),c(ge.$$.fragment,e),c(we.$$.fragment,e),c(ye.$$.fragment,e),c($e.$$.fragment,e),c(ve.$$.fragment,e),c(be.$$.fragment,e),c(Te.$$.fragment,e),c(xe.$$.fragment,e),c(Me.$$.fragment,e),c(Ce.$$.fragment,e),c(Le.$$.fragment,e),c(ke.$$.fragment,e),c(_e.$$.fragment,e),c(He.$$.fragment,e),c(Pe.$$.fragment,e),c(Ie.$$.fragment,e),c(je.$$.fragment,e),c(We.$$.fragment,e),c(Re.$$.fragment,e),c(ze.$$.fragment,e),c(Be.$$.fragment,e),c(Xe.$$.fragment,e),Pn=!0)},o(e){g(P.$$.fragment,e),g(I.$$.fragment,e),g(U.$$.fragment,e),g(S.$$.fragment,e),g(q.$$.fragment,e),g(E.$$.fragment,e),g(D.$$.fragment,e),g(se.$$.fragment,e),g(de.$$.fragment,e),g(he.$$.fragment,e),g(fe.$$.fragment,e),g(me.$$.fragment,e),g(ce.$$.fragment,e),g(ge.$$.fragment,e),g(we.$$.fragment,e),g(ye.$$.fragment,e),g($e.$$.fragment,e),g(ve.$$.fragment,e),g(be.$$.fragment,e),g(Te.$$.fragment,e),g(xe.$$.fragment,e),g(Me.$$.fragment,e),g(Ce.$$.fragment,e),g(Le.$$.fragment,e),g(ke.$$.fragment,e),g(_e.$$.fragment,e),g(He.$$.fragment,e),g(Pe.$$.fragment,e),g(Ie.$$.fragment,e),g(je.$$.fragment,e),g(We.$$.fragment,e),g(Re.$$.fragment,e),g(ze.$$.fragment,e),g(Be.$$.fragment,e),g(Xe.$$.fragment,e),Pn=!1},d(e){e&&(o(Pt),o(_t),o(It),o(Jt),o(jt),o(J),o(Zt),o(j),o(Ut),o(Z),o(Yt),o(Wt),o(Y),o(Gt),o(W),o(Rt),o(G),o(St),o(R),o(zt),o(qt),o(z),o(Bt),o(Ft),o(B),o(Xt),o(F),o(Vt),o(X),o(Et),o(V),o(Nt),o(At),o(N),o(Qt),o(A),o(Ot),o(Q),o(Dt),o(_),o(Kt),o(O),o(en),o(tn),o(K),o(nn),o(ee),o(ln),o(te),o(on),o(ne),o(sn),o(le),o(an),o(oe),o(rn),o(ie),o(un),o(pn),o(ae),o(dn),o(re),o(hn),o(ue),o(fn),o(b),o(mn),o(cn),o(Je),o(gn),o(wn),o(Ze),o(yn),o(Ue),o($n),o(Ye),o(vn),o(bn),o(Ge),o(Tn),o(xn),o(Se),o(Mn),o(Cn),o(qe),o(Ln),o(kn),o(Fe),o(_n),o(Hn),o(Ht)),o(C),w(P,e),w(I,e),w(U,e),w(S,e),w(q,e),w(E,e),w(D,e),w(se,e),w(de),w(he),w(fe),w(me),w(ce),w(ge),w(we),w(ye),w($e),w(ve),w(be),w(Te),w(xe),w(Me),w(Ce),w(Le),w(ke),w(_e),w(He),w(Pe),w(Ie,e),w(je,e),w(We,e),w(Re,e),w(ze,e),w(Be,e),w(Xe,e)}}}const si='{"title":"How to contribute to 🤗 LeRobot?","local":"how-to-contribute-to--lerobot","sections":[{"title":"You can contribute in so many ways!","local":"you-can-contribute-in-so-many-ways","sections":[],"depth":2},{"title":"Submitting a new issue or feature request","local":"submitting-a-new-issue-or-feature-request","sections":[{"title":"Did you find a bug?","local":"did-you-find-a-bug","sections":[],"depth":3},{"title":"Do you want a new feature?","local":"do-you-want-a-new-feature","sections":[],"depth":3}],"depth":2},{"title":"Adding new policies, datasets or environments","local":"adding-new-policies-datasets-or-environments","sections":[],"depth":2},{"title":"Submitting a pull request (PR)","local":"submitting-a-pull-request-pr","sections":[{"title":"Checklist","local":"checklist","sections":[],"depth":3},{"title":"Tests","local":"tests","sections":[],"depth":3}],"depth":2}],"depth":1}';function ai(jl){return Ko(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class fi extends ei{constructor(C){super(),ti(this,C,ai,ii,Oo,{})}}export{fi as component};
