import{s as l,f as N}from"./scheduler.49e4e380.js";import{S as j,i as m,r as z,u,v as x,d as f,t as D,w as S,g as c,h as L,j as g,f as r,k as n,a as I,y as Y}from"./index.fb15006d.js";import{D as b}from"./DocNotebookDropdown.dd62dcd3.js";function y(i){let s,M,t;return{c(){s=c("a"),M=c("img"),this.h()},l(e){s=L(e,"A",{href:!0,target:!0});var a=g(s);M=L(a,"IMG",{alt:!0,class:!0,src:!0}),a.forEach(r),this.h()},h(){n(M,"alt","Ask a Question"),n(M,"class","!m-0"),N(M.src,t="https://img.shields.io/badge/Ask%20a%20question-ffcb4c.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTEgMTA0IDEwNiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMyMzFmMjA7fS5jbHMtMntmaWxsOiNmZmY5YWU7fS5jbHMtM3tmaWxsOiMwMGFlZWY7fS5jbHMtNHtmaWxsOiMwMGE5NGY7fS5jbHMtNXtmaWxsOiNmMTVkMjI7fS5jbHMtNntmaWxsOiNlMzFiMjM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5EaXNjb3Vyc2VfbG9nbzwvdGl0bGU+PGcgaWQ9IkxheWVyXzIiPjxnIGlkPSJMYXllcl8zIj48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik01MS44NywwQzIzLjcxLDAsMCwyMi44MywwLDUxYzAsLjkxLDAsNTIuODEsMCw1Mi44MWw1MS44Ni0uMDVjMjguMTYsMCw1MS0yMy43MSw1MS01MS44N1M4MCwwLDUxLjg3LDBaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTIuMzcsMTkuNzRBMzEuNjIsMzEuNjIsMCwwLDAsMjQuNTgsNjYuNDFsLTUuNzIsMTguNEwzOS40LDgwLjE3YTMxLjYxLDMxLjYxLDAsMSwwLDEzLTYwLjQzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTc3LjQ1LDMyLjEyYTMxLjYsMzEuNiwwLDAsMS0zOC4wNSw0OEwxOC44Niw4NC44MmwyMC45MS0yLjQ3QTMxLjYsMzEuNiwwLDAsMCw3Ny40NSwzMi4xMloiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Ik03MS42MywyNi4yOUEzMS42LDMxLjYsMCwwLDEsMzguOCw3OEwxOC44Niw4NC44MiwzOS40LDgwLjE3QTMxLjYsMzEuNiwwLDAsMCw3MS42MywyNi4yOVoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Ik0yNi40Nyw2Ny4xMWEzMS42MSwzMS42MSwwLDAsMSw1MS0zNUEzMS42MSwzMS42MSwwLDAsMCwyNC41OCw2Ni40MWwtNS43MiwxOC40WiIvPjxwYXRoIGNsYXNzPSJjbHMtNiIgZD0iTTI0LjU4LDY2LjQxQTMxLjYxLDMxLjYxLDAsMCwxLDcxLjYzLDI2LjI5YTMxLjYxLDMxLjYxLDAsMCwwLTQ5LDM5LjYzbC0zLjc2LDE4LjlaIi8+PC9nPjwvZz48L3N2Zz4=")||n(M,"src",t),n(s,"href",i[2]),n(s,"target","_blank")},m(e,a){I(e,s,a),Y(s,M)},p(e,a){a&4&&n(s,"href",e[2])},d(e){e&&r(s)}}}function C(i){let s,M;return s=new b({props:{options:i[0],classNames:i[1],$$slots:{alwaysVisible:[y]},$$scope:{ctx:i}}}),{c(){z(s.$$.fragment)},l(t){u(s.$$.fragment,t)},m(t,e){x(s,t,e),M=!0},p(t,[e]){const a={};e&1&&(a.options=t[0]),e&2&&(a.classNames=t[1]),e&20&&(a.$$scope={dirty:e,ctx:t}),s.$set(a)},i(t){M||(f(s.$$.fragment,t),M=!0)},o(t){D(s.$$.fragment,t),M=!1},d(t){S(s,t)}}}function h(i,s,M){let{chapter:t}=s,{notebooks:e=[]}=s,{classNames:a=""}=s,{askForHelpUrl:w=`https://discuss.huggingface.co/t/chapter-${t}-questions`}=s;return i.$$set=o=>{"chapter"in o&&M(3,t=o.chapter),"notebooks"in o&&M(0,e=o.notebooks),"classNames"in o&&M(1,a=o.classNames),"askForHelpUrl"in o&&M(2,w=o.askForHelpUrl)},[e,a,w,t]}class G extends j{constructor(s){super(),m(this,s,h,C,l,{chapter:3,notebooks:0,classNames:1,askForHelpUrl:2})}}export{G as C};
