import{S as r,i as N,s as j,w as z,x as m,y as u,q as x,o as D,B as S,e as c,c as L,a as f,d as l,b as n,N as g,g as I,G as b}from"./vendor-hf-doc-builder.js";import{D as Y}from"./DocNotebookDropdown-hf-doc-builder.js";function y(i){let s,M,e;return{c(){s=c("a"),M=c("img"),this.h()},l(t){s=L(t,"A",{href:!0,target:!0});var a=f(s);M=L(a,"IMG",{alt:!0,class:!0,src:!0}),a.forEach(l),this.h()},h(){n(M,"alt","Ask a Question"),n(M,"class","!m-0"),g(M.src,e="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",e),n(s,"href",i[2]),n(s,"target","_blank")},m(t,a){I(t,s,a),b(s,M)},p(t,a){a&4&&n(s,"href",t[2])},d(t){t&&l(s)}}}function C(i){let s,M;return s=new Y({props:{options:i[0],classNames:i[1],$$slots:{alwaysVisible:[y]},$$scope:{ctx:i}}}),{c(){z(s.$$.fragment)},l(e){m(s.$$.fragment,e)},m(e,t){u(s,e,t),M=!0},p(e,[t]){const a={};t&1&&(a.options=e[0]),t&2&&(a.classNames=e[1]),t&20&&(a.$$scope={dirty:t,ctx:e}),s.$set(a)},i(e){M||(x(s.$$.fragment,e),M=!0)},o(e){D(s.$$.fragment,e),M=!1},d(e){S(s,e)}}}function h(i,s,M){let{chapter:e}=s,{notebooks:t=[]}=s,{classNames:a=""}=s,{askForHelpUrl:w=`https://discuss.huggingface.co/t/chapter-${e}-questions`}=s;return i.$$set=o=>{"chapter"in o&&M(3,e=o.chapter),"notebooks"in o&&M(0,t=o.notebooks),"classNames"in o&&M(1,a=o.classNames),"askForHelpUrl"in o&&M(2,w=o.askForHelpUrl)},[t,a,w,e]}class E extends r{constructor(s){super();N(this,s,h,C,j,{chapter:3,notebooks:0,classNames:1,askForHelpUrl:2})}}export{E as C};
