import{S as G,i as T,s as Y,F as R,e as I,c as B,a as y,d as k,b as u,g as D,H as F,I as U,J as W,q as m,o as b,N as j,L as S,G as q,Q,U as me,v as he,V as X,O as Z,P as x,f as Ee,w as L,x as z,y as M,B as A,k as K,m as P,n as J,p as V,W as ge,l as O,t as be,h as we,j as ke,X as De,K as ve}from"./vendor-hf-doc-builder.js";function Ie(s){let e,n;const l=s[3].default,t=R(l,s,s[2],null);return{c(){e=I("div"),t&&t.c(),this.h()},l(a){e=B(a,"DIV",{class:!0});var o=y(e);t&&t.l(o),o.forEach(k),this.h()},h(){u(e,"class","course-tip "+(s[0]==="orange"?"course-tip-orange":"")+" bg-gradient-to-br dark:bg-gradient-to-r before:border-"+s[0]+"-500 dark:before:border-"+s[0]+"-800 from-"+s[0]+"-50 dark:from-gray-900 to-white dark:to-gray-950 border border-"+s[0]+"-50 text-"+s[0]+"-700 dark:text-gray-400")},m(a,o){D(a,e,o),t&&t.m(e,null),n=!0},p(a,[o]){t&&t.p&&(!n||o&4)&&F(t,l,a,a[2],n?W(l,a[2],o,null):U(a[2]),null)},i(a){n||(m(t,a),n=!0)},o(a){b(t,a),n=!1},d(a){a&&k(e),t&&t.d(a)}}}function Be(s,e,n){let{$$slots:l={},$$scope:t}=e,{warning:a=!1}=e;const o=a?"orange":"green";return s.$$set=i=>{"warning"in i&&n(1,a=i.warning),"$$scope"in i&&n(2,t=i.$$scope)},[o,a,t,l]}class _t extends G{constructor(e){super();T(this,e,Be,Ie,Y,{warning:1})}}function ye(s){let e,n;return{c(){e=I("iframe"),this.h()},l(l){e=B(l,"IFRAME",{class:!0,src:!0,title:!0,frameborder:!0,allow:!0}),y(e).forEach(k),this.h()},h(){u(e,"class","w-full xl:w-4/6 h-80"),j(e.src,n="https://www.youtube-nocookie.com/embed/"+s[0])||u(e,"src",n),u(e,"title","YouTube video player"),u(e,"frameborder","0"),u(e,"allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),e.allowFullscreen=!0},m(l,t){D(l,e,t)},p(l,[t]){t&1&&!j(e.src,n="https://www.youtube-nocookie.com/embed/"+l[0])&&u(e,"src",n)},i:S,o:S,d(l){l&&k(e)}}}function Se(s,e,n){let{id:l}=e;return s.$$set=t=>{"id"in t&&n(0,l=t.id)},[l]}class mt extends G{constructor(e){super();T(this,e,Se,ye,Y,{id:0})}}function Le(s){let e,n,l,t,a,o;const i=s[7].default,r=R(i,s,s[6],null);return{c(){e=I("div"),n=I("ul"),r&&r.c(),this.h()},l(f){e=B(f,"DIV",{class:!0});var w=y(e);n=B(w,"UL",{class:!0});var E=y(n);r&&r.l(E),E.forEach(k),w.forEach(k),this.h()},h(){u(n,"class","min-w-full w-auto"),u(e,"class",l="absolute top-full mt-1 min-w-full w-auto bg-white rounded-xl overflow-hidden shadow-lg z-10 border border-gray-100 "+(s[2]==="right"?"right-0":"left-0")+" "+s[0])},m(f,w){D(f,e,w),q(e,n),r&&r.m(n,null),s[8](e),t=!0,a||(o=Q(e,"click",function(){me(s[1])&&s[1].apply(this,arguments)}),a=!0)},p(f,[w]){s=f,r&&r.p&&(!t||w&64)&&F(r,i,s,s[6],t?W(i,s[6],w,null):U(s[6]),null),(!t||w&5&&l!==(l="absolute top-full mt-1 min-w-full w-auto bg-white rounded-xl overflow-hidden shadow-lg z-10 border border-gray-100 "+(s[2]==="right"?"right-0":"left-0")+" "+s[0]))&&u(e,"class",l)},i(f){t||(m(r,f),t=!0)},o(f){b(r,f),t=!1},d(f){f&&k(e),r&&r.d(f),s[8](null),a=!1,o()}}}function Me(s,e,n){let{$$slots:l={},$$scope:t}=e,{classNames:a=""}=e,{dropdownElement:o=void 0}=e,{forceAlignement:i=void 0}=e,{onClose:r}=e,f=i!=null?i:"left",w;he(()=>{var g,d;if(document.addEventListener("click",E),!i){const c=document.documentElement.clientWidth,_=(w==null?void 0:w.getBoundingClientRect())||{},h=(g=_.left)!=null?g:0,v=(d=_.width)!=null?d:0;n(2,f=h+v>c?"right":"left")}return()=>{document.removeEventListener("click",E)}});function E(g){const d=g.target;d!==o&&!(o==null?void 0:o.contains(d))&&r()}function C(g){X[g?"unshift":"push"](()=>{w=g,n(3,w)})}return s.$$set=g=>{"classNames"in g&&n(0,a=g.classNames),"dropdownElement"in g&&n(4,o=g.dropdownElement),"forceAlignement"in g&&n(5,i=g.forceAlignement),"onClose"in g&&n(1,r=g.onClose),"$$scope"in g&&n(6,t=g.$$scope)},[a,r,f,w,o,i,t,l,C]}class Ae extends G{constructor(e){super();T(this,e,Me,Le,Y,{classNames:0,dropdownElement:4,forceAlignement:5,onClose:1})}}function Je(s){let e,n;return{c(){e=Z("svg"),n=Z("path"),this.h()},l(l){e=x(l,"svg",{class:!0,xmlns:!0,"xmlns:xlink":!0,"aria-hidden":!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0,style:!0});var t=y(e);n=x(t,"path",{d:!0,fill:!0}),y(n).forEach(k),t.forEach(k),this.h()},h(){u(n,"d","M7 10l5 5l5-5z"),u(n,"fill","currentColor"),u(e,"class",s[0]),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),u(e,"aria-hidden","true"),u(e,"focusable","false"),u(e,"role","img"),u(e,"width","1em"),u(e,"height","1em"),u(e,"preserveAspectRatio","xMidYMid meet"),u(e,"viewBox","0 0 24 24"),Ee(e,"transform","rotate(360deg)")},m(l,t){D(l,e,t),q(e,n)},p(l,[t]){t&1&&u(e,"class",l[0])},i:S,o:S,d(l){l&&k(e)}}}function Ve(s,e,n){let{classNames:l=""}=e;return s.$$set=t=>{"classNames"in t&&n(0,l=t.classNames)},[l]}class Oe extends G{constructor(e){super();T(this,e,Ve,Je,Y,{classNames:0})}}const Re=s=>({}),$=s=>({}),Fe=s=>({}),ee=s=>({});function Ue(s){let e,n,l,t,a,o=s[2]&&te(s),i=s[10]&&le();return{c(){o&&o.c(),e=K(),n=be(s[4]),l=K(),i&&i.c(),t=O()},l(r){o&&o.l(r),e=P(r),n=we(r,s[4]),l=P(r),i&&i.l(r),t=O()},m(r,f){o&&o.m(r,f),D(r,e,f),D(r,n,f),D(r,l,f),i&&i.m(r,f),D(r,t,f),a=!0},p(r,f){r[2]?o?(o.p(r,f),f&4&&m(o,1)):(o=te(r),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(J(),b(o,1,1,()=>{o=null}),V()),(!a||f&16)&&ke(n,r[4]),r[10]?i?f&1024&&m(i,1):(i=le(),i.c(),m(i,1),i.m(t.parentNode,t)):i&&(J(),b(i,1,1,()=>{i=null}),V())},i(r){a||(m(o),m(i),a=!0)},o(r){b(o),b(i),a=!1},d(r){o&&o.d(r),r&&k(e),r&&k(n),r&&k(l),i&&i.d(r),r&&k(t)}}}function We(s){let e;const n=s[14].button,l=R(n,s,s[18],ee);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,a){l&&l.m(t,a),e=!0},p(t,a){l&&l.p&&(!e||a&262144)&&F(l,n,t,t[18],e?W(n,t[18],a,Fe):U(t[18]),ee)},i(t){e||(m(l,t),e=!0)},o(t){b(l,t),e=!1},d(t){l&&l.d(t)}}}function te(s){let e,n,l;var t=s[2];function a(o){return{props:{classNames:"mr-1.5 "+o[3]}}}return t&&(e=new t(a(s))),{c(){e&&L(e.$$.fragment),n=O()},l(o){e&&z(e.$$.fragment,o),n=O()},m(o,i){e&&M(e,o,i),D(o,n,i),l=!0},p(o,i){const r={};if(i&8&&(r.classNames="mr-1.5 "+o[3]),t!==(t=o[2])){if(e){J();const f=e;b(f.$$.fragment,1,0,()=>{A(f,1)}),V()}t?(e=new t(a(o)),L(e.$$.fragment),m(e.$$.fragment,1),M(e,n.parentNode,n)):e=null}else t&&e.$set(r)},i(o){l||(e&&m(e.$$.fragment,o),l=!0)},o(o){e&&b(e.$$.fragment,o),l=!1},d(o){o&&k(n),e&&A(e,o)}}}function le(s){let e,n;return e=new Oe({props:{classNames:"-mr-1 text-gray-500"}}),{c(){L(e.$$.fragment)},l(l){z(e.$$.fragment,l)},m(l,t){M(e,l,t),n=!0},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){A(e,l)}}}function ne(s){let e,n;return e=new Ae({props:{classNames:s[6]+" "+(s[9]?"v2-dropdown-menu hidden":""),dropdownElement:s[11],forceAlignement:s[5],onClose:s[16],$$slots:{default:[qe]},$$scope:{ctx:s}}}),{c(){L(e.$$.fragment)},l(l){z(e.$$.fragment,l)},m(l,t){M(e,l,t),n=!0},p(l,t){const a={};t&576&&(a.classNames=l[6]+" "+(l[9]?"v2-dropdown-menu hidden":"")),t&2048&&(a.dropdownElement=l[11]),t&32&&(a.forceAlignement=l[5]),t&4096&&(a.onClose=l[16]),t&262144&&(a.$$scope={dirty:t,ctx:l}),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){A(e,l)}}}function qe(s){let e;const n=s[14].menu,l=R(n,s,s[18],$);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,a){l&&l.m(t,a),e=!0},p(t,a){l&&l.p&&(!e||a&262144)&&F(l,n,t,t[18],e?W(n,t[18],a,Re):U(t[18]),$)},i(t){e||(m(l,t),e=!0)},o(t){b(l,t),e=!1},d(t){l&&l.d(t)}}}function ze(s){let e,n,l,t,a,o,i,r,f,w,E;const C=[We,Ue],g=[];function d(_,h){return _[13].button?0:1}l=d(s),t=g[l]=C[l](s);let c=(s[12]||s[9])&&ne(s);return{c(){e=I("div"),n=I("button"),t.c(),o=K(),c&&c.c(),this.h()},l(_){e=B(_,"DIV",{class:!0,"selected-value":!0});var h=y(e);n=B(h,"BUTTON",{class:!0,type:!0});var v=y(n);t.l(v),v.forEach(k),o=P(h),c&&c.l(h),h.forEach(k),this.h()},h(){u(n,"class",a=""+s[1]+" "+(s[7]?"":"cursor-pointer w-full btn text-sm")+" "+(s[9]?"v2-dropdown-button":"")),u(n,"type","button"),u(e,"class",i="relative "+s[0]+" "+(s[9]?"v2-dropdown":"")),u(e,"selected-value",r=s[8]||void 0)},m(_,h){D(_,e,h),q(e,n),g[l].m(n,null),q(e,o),c&&c.m(e,null),s[17](e),f=!0,w||(E=Q(n,"click",s[15]),w=!0)},p(_,[h]){let v=l;l=d(_),l===v?g[l].p(_,h):(J(),b(g[v],1,1,()=>{g[v]=null}),V(),t=g[l],t?t.p(_,h):(t=g[l]=C[l](_),t.c()),m(t,1),t.m(n,null)),(!f||h&642&&a!==(a=""+_[1]+" "+(_[7]?"":"cursor-pointer w-full btn text-sm")+" "+(_[9]?"v2-dropdown-button":"")))&&u(n,"class",a),_[12]||_[9]?c?(c.p(_,h),h&4608&&m(c,1)):(c=ne(_),c.c(),m(c,1),c.m(e,null)):c&&(J(),b(c,1,1,()=>{c=null}),V()),(!f||h&513&&i!==(i="relative "+_[0]+" "+(_[9]?"v2-dropdown":"")))&&u(e,"class",i),(!f||h&256&&r!==(r=_[8]||void 0))&&u(e,"selected-value",r)},i(_){f||(m(t),m(c),f=!0)},o(_){b(t),b(c),f=!1},d(_){_&&k(e),g[l].d(),c&&c.d(),s[17](null),w=!1,E()}}}function Ge(s,e,n){let{$$slots:l={},$$scope:t}=e;const a=ge(l);let{classNames:o=""}=e,{btnClassNames:i=""}=e,{btnIcon:r=void 0}=e,{btnIconClassNames:f=""}=e,{btnLabel:w=""}=e,{forceMenuAlignement:E=void 0}=e,{menuClassNames:C=""}=e,{noBtnClass:g=void 0}=e,{selectedValue:d=void 0}=e,{useDeprecatedJS:c=!0}=e,{withBtnCaret:_=!1}=e,h,v=!1;const N=()=>n(12,v=!v),H=()=>n(12,v=!1);function Ce(p){X[p?"unshift":"push"](()=>{h=p,n(11,h)})}return s.$$set=p=>{"classNames"in p&&n(0,o=p.classNames),"btnClassNames"in p&&n(1,i=p.btnClassNames),"btnIcon"in p&&n(2,r=p.btnIcon),"btnIconClassNames"in p&&n(3,f=p.btnIconClassNames),"btnLabel"in p&&n(4,w=p.btnLabel),"forceMenuAlignement"in p&&n(5,E=p.forceMenuAlignement),"menuClassNames"in p&&n(6,C=p.menuClassNames),"noBtnClass"in p&&n(7,g=p.noBtnClass),"selectedValue"in p&&n(8,d=p.selectedValue),"useDeprecatedJS"in p&&n(9,c=p.useDeprecatedJS),"withBtnCaret"in p&&n(10,_=p.withBtnCaret),"$$scope"in p&&n(18,t=p.$$scope)},[o,i,r,f,w,E,C,g,d,c,_,h,v,a,l,N,H,Ce,t]}class Ne extends G{constructor(e){super();T(this,e,Ge,ze,Y,{classNames:0,btnClassNames:1,btnIcon:2,btnIconClassNames:3,btnLabel:4,forceMenuAlignement:5,menuClassNames:6,noBtnClass:7,selectedValue:8,useDeprecatedJS:9,withBtnCaret:10})}}function Te(s){let e,n,l,t=s[5]&&se(s);return{c(){t&&t.c(),e=K(),n=be(s[7])},l(a){t&&t.l(a),e=P(a),n=we(a,s[7])},m(a,o){t&&t.m(a,o),D(a,e,o),D(a,n,o),l=!0},p(a,o){a[5]?t?(t.p(a,o),o&32&&m(t,1)):(t=se(a),t.c(),m(t,1),t.m(e.parentNode,e)):t&&(J(),b(t,1,1,()=>{t=null}),V()),(!l||o&128)&&ke(n,a[7])},i(a){l||(m(t),l=!0)},o(a){b(t),l=!1},d(a){t&&t.d(a),a&&k(e),a&&k(n)}}}function Ye(s){let e;const n=s[15].default,l=R(n,s,s[14],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,a){l&&l.m(t,a),e=!0},p(t,a){l&&l.p&&(!e||a&16384)&&F(l,n,t,t[14],e?W(n,t[14],a,null):U(t[14]),null)},i(t){e||(m(l,t),e=!0)},o(t){b(l,t),e=!1},d(t){l&&l.d(t)}}}function se(s){let e,n,l;var t=s[5];function a(o){return{props:{classNames:"mr-1.5 "+o[6]}}}return t&&(e=new t(a(s))),{c(){e&&L(e.$$.fragment),n=O()},l(o){e&&z(e.$$.fragment,o),n=O()},m(o,i){e&&M(e,o,i),D(o,n,i),l=!0},p(o,i){const r={};if(i&64&&(r.classNames="mr-1.5 "+o[6]),t!==(t=o[5])){if(e){J();const f=e;b(f.$$.fragment,1,0,()=>{A(f,1)}),V()}t?(e=new t(a(o)),L(e.$$.fragment),m(e.$$.fragment,1),M(e,n.parentNode,n)):e=null}else t&&e.$set(r)},i(o){l||(e&&m(e.$$.fragment,o),l=!0)},o(o){e&&b(e.$$.fragment,o),l=!1},d(o){o&&k(n),e&&A(e,o)}}}function je(s){let e,n,l,t,a,o,i,r,f,w;const E=[Ye,Te],C=[];function g(d,c){return d[13].default?0:1}return l=g(s),t=C[l]=E[l](s),{c(){e=I("li"),n=I("a"),t.c(),this.h()},l(d){e=B(d,"LI",{});var c=y(e);n=B(c,"A",{class:!0,"data-label":!0,"data-url":!0,"data-value":!0,href:!0,rel:!0,target:!0});var _=y(n);t.l(_),_.forEach(k),c.forEach(k),this.h()},h(){u(n,"class",a="flex items-center hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer px-3 py-1.5 whitespace-nowrap "+s[0]+" "+(s[9]?"hover:underline":"")+" "+(s[12]?"v2-dropdown-entry":"")),u(n,"data-label",s[1]),u(n,"data-url",s[2]),u(n,"data-value",s[3]),u(n,"href",s[4]),u(n,"rel",o=s[8]?"nofollow":void 0),u(n,"target",i=s[11]?"_blank":void 0)},m(d,c){D(d,e,c),q(e,n),C[l].m(n,null),r=!0,f||(w=Q(n,"click",function(){me(s[10])&&s[10].apply(this,arguments)}),f=!0)},p(d,[c]){s=d;let _=l;l=g(s),l===_?C[l].p(s,c):(J(),b(C[_],1,1,()=>{C[_]=null}),V(),t=C[l],t?t.p(s,c):(t=C[l]=E[l](s),t.c()),m(t,1),t.m(n,null)),(!r||c&4609&&a!==(a="flex items-center hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer px-3 py-1.5 whitespace-nowrap "+s[0]+" "+(s[9]?"hover:underline":"")+" "+(s[12]?"v2-dropdown-entry":"")))&&u(n,"class",a),(!r||c&2)&&u(n,"data-label",s[1]),(!r||c&4)&&u(n,"data-url",s[2]),(!r||c&8)&&u(n,"data-value",s[3]),(!r||c&16)&&u(n,"href",s[4]),(!r||c&256&&o!==(o=s[8]?"nofollow":void 0))&&u(n,"rel",o),(!r||c&2048&&i!==(i=s[11]?"_blank":void 0))&&u(n,"target",i)},i(d){r||(m(t),r=!0)},o(d){b(t),r=!1},d(d){d&&k(e),C[l].d(),f=!1,w()}}}function He(s,e,n){let{$$slots:l={},$$scope:t}=e;const a=ge(l);let{classNames:o=""}=e,{dataLabel:i=void 0}=e,{dataUrl:r=void 0}=e,{dataValue:f=void 0}=e,{href:w=void 0}=e,{icon:E=void 0}=e,{iconClassNames:C=""}=e,{label:g=""}=e,{noFollow:d=!1}=e,{underline:c=!1}=e,{onClick:_=()=>{}}=e,{targetBlank:h=!1}=e,{useDeprecatedJS:v=!0}=e;return s.$$set=N=>{"classNames"in N&&n(0,o=N.classNames),"dataLabel"in N&&n(1,i=N.dataLabel),"dataUrl"in N&&n(2,r=N.dataUrl),"dataValue"in N&&n(3,f=N.dataValue),"href"in N&&n(4,w=N.href),"icon"in N&&n(5,E=N.icon),"iconClassNames"in N&&n(6,C=N.iconClassNames),"label"in N&&n(7,g=N.label),"noFollow"in N&&n(8,d=N.noFollow),"underline"in N&&n(9,c=N.underline),"onClick"in N&&n(10,_=N.onClick),"targetBlank"in N&&n(11,h=N.targetBlank),"useDeprecatedJS"in N&&n(12,v=N.useDeprecatedJS),"$$scope"in N&&n(14,t=N.$$scope)},[o,i,r,f,w,E,C,g,d,c,_,h,v,a,t,l]}class pe extends G{constructor(e){super();T(this,e,He,je,Y,{classNames:0,dataLabel:1,dataUrl:2,dataValue:3,href:4,icon:5,iconClassNames:6,label:7,noFollow:8,underline:9,onClick:10,targetBlank:11,useDeprecatedJS:12})}}const{window:Ke}=De,Pe=s=>({}),ae=s=>({slot:"button"});function oe(s,e,n){const l=s.slice();return l[11]=e[n].label,l[12]=e[n].value,l}const Qe=s=>({}),re=s=>({slot:"menu"}),Xe=s=>({}),ie=s=>({slot:"button"});function fe(s,e,n){const l=s.slice();return l[11]=e[n].label,l[12]=e[n].value,l}const Ze=s=>({}),ue=s=>({slot:"menu"});function xe(s){let e,n;return e=new Ne({props:{btnLabel:"",classNames:"colab-dropdown",noBtnClass:!0,useDeprecatedJS:!1,$$slots:{menu:[nt],button:[tt]},$$scope:{ctx:s}}}),{c(){L(e.$$.fragment)},l(l){z(e.$$.fragment,l)},m(l,t){M(e,l,t),n=!0},p(l,t){const a={};t&1024&&(a.$$scope={dirty:t,ctx:l}),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){A(e,l)}}}function $e(s){let e,n,l;return{c(){e=I("a"),n=I("img"),this.h()},l(t){e=B(t,"A",{href:!0,target:!0});var a=y(e);n=B(a,"IMG",{alt:!0,class:!0,src:!0}),a.forEach(k),this.h()},h(){u(n,"alt","Open In Colab"),u(n,"class","!m-0"),j(n.src,l="https://colab.research.google.com/assets/colab-badge.svg")||u(n,"src",l),u(e,"href",s[2][0].value),u(e,"target","_blank")},m(t,a){D(t,e,a),q(e,n)},p:S,i:S,o:S,d(t){t&&k(e)}}}function et(s){let e,n;return{c(){e=I("img"),this.h()},l(l){e=B(l,"IMG",{alt:!0,class:!0,src:!0}),this.h()},h(){u(e,"alt","Open In Colab"),u(e,"class","!m-0"),j(e.src,n="https://colab.research.google.com/assets/colab-badge.svg")||u(e,"src",n)},m(l,t){D(l,e,t)},d(l){l&&k(e)}}}function tt(s){let e;const n=s[6].default,l=R(n,s,s[10],ie),t=l||et();return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,o){t&&t.m(a,o),e=!0},p(a,o){l&&l.p&&(!e||o&1024)&&F(l,n,a,a[10],e?W(n,a[10],o,Xe):U(a[10]),ie)},i(a){e||(m(t,a),e=!0)},o(a){b(t,a),e=!1},d(a){t&&t.d(a)}}}function ce(s){let e,n;function l(){return s[7](s[12])}return e=new pe({props:{classNames:"text-sm !no-underline",iconClassNames:"text-gray-500",label:s[11],onClick:l,useDeprecatedJS:!1}}),{c(){L(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,a){M(e,t,a),n=!0},p(t,a){s=t},i(t){n||(m(e.$$.fragment,t),n=!0)},o(t){b(e.$$.fragment,t),n=!1},d(t){A(e,t)}}}function lt(s){let e,n,l=s[2],t=[];for(let o=0;o<l.length;o+=1)t[o]=ce(fe(s,l,o));const a=o=>b(t[o],1,1,()=>{t[o]=null});return{c(){for(let o=0;o<t.length;o+=1)t[o].c();e=O()},l(o){for(let i=0;i<t.length;i+=1)t[i].l(o);e=O()},m(o,i){for(let r=0;r<t.length;r+=1)t[r].m(o,i);D(o,e,i),n=!0},p(o,i){if(i&4){l=o[2];let r;for(r=0;r<l.length;r+=1){const f=fe(o,l,r);t[r]?(t[r].p(f,i),m(t[r],1)):(t[r]=ce(f),t[r].c(),m(t[r],1),t[r].m(e.parentNode,e))}for(J(),r=l.length;r<t.length;r+=1)a(r);V()}},i(o){if(!n){for(let i=0;i<l.length;i+=1)m(t[i]);n=!0}},o(o){t=t.filter(Boolean);for(let i=0;i<t.length;i+=1)b(t[i]);n=!1},d(o){ve(t,o),o&&k(e)}}}function nt(s){let e;const n=s[6].default,l=R(n,s,s[10],ue),t=l||lt(s);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,o){t&&t.m(a,o),e=!0},p(a,o){l&&l.p&&(!e||o&1024)&&F(l,n,a,a[10],e?W(n,a[10],o,Ze):U(a[10]),ue)},i(a){e||(m(t,a),e=!0)},o(a){b(t,a),e=!1},d(a){t&&t.d(a)}}}function st(s){let e,n;return e=new Ne({props:{btnLabel:"",classNames:"colab-dropdown",noBtnClass:!0,useDeprecatedJS:!1,$$slots:{menu:[ft],button:[rt]},$$scope:{ctx:s}}}),{c(){L(e.$$.fragment)},l(l){z(e.$$.fragment,l)},m(l,t){M(e,l,t),n=!0},p(l,t){const a={};t&1024&&(a.$$scope={dirty:t,ctx:l}),e.$set(a)},i(l){n||(m(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){A(e,l)}}}function at(s){let e,n,l;return{c(){e=I("a"),n=I("img"),this.h()},l(t){e=B(t,"A",{href:!0,target:!0});var a=y(e);n=B(a,"IMG",{alt:!0,class:!0,src:!0}),a.forEach(k),this.h()},h(){u(n,"alt","Open In Studio Lab"),u(n,"class","!m-0"),j(n.src,l="https://studiolab.sagemaker.aws/studiolab.svg")||u(n,"src",l),u(e,"href",s[3][0].value),u(e,"target","_blank")},m(t,a){D(t,e,a),q(e,n)},p:S,i:S,o:S,d(t){t&&k(e)}}}function ot(s){let e,n;return{c(){e=I("img"),this.h()},l(l){e=B(l,"IMG",{alt:!0,class:!0,src:!0}),this.h()},h(){u(e,"alt","Open In Studio Lab"),u(e,"class","!m-0"),j(e.src,n="https://studiolab.sagemaker.aws/studiolab.svg")||u(e,"src",n)},m(l,t){D(l,e,t)},d(l){l&&k(e)}}}function rt(s){let e;const n=s[6].default,l=R(n,s,s[10],ae),t=l||ot();return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,o){t&&t.m(a,o),e=!0},p(a,o){l&&l.p&&(!e||o&1024)&&F(l,n,a,a[10],e?W(n,a[10],o,Pe):U(a[10]),ae)},i(a){e||(m(t,a),e=!0)},o(a){b(t,a),e=!1},d(a){t&&t.d(a)}}}function de(s){let e,n;function l(){return s[8](s[12])}return e=new pe({props:{classNames:"text-sm !no-underline",iconClassNames:"text-gray-500",label:s[11],onClick:l,useDeprecatedJS:!1}}),{c(){L(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,a){M(e,t,a),n=!0},p(t,a){s=t},i(t){n||(m(e.$$.fragment,t),n=!0)},o(t){b(e.$$.fragment,t),n=!1},d(t){A(e,t)}}}function it(s){let e,n,l=s[3],t=[];for(let o=0;o<l.length;o+=1)t[o]=de(oe(s,l,o));const a=o=>b(t[o],1,1,()=>{t[o]=null});return{c(){for(let o=0;o<t.length;o+=1)t[o].c();e=O()},l(o){for(let i=0;i<t.length;i+=1)t[i].l(o);e=O()},m(o,i){for(let r=0;r<t.length;r+=1)t[r].m(o,i);D(o,e,i),n=!0},p(o,i){if(i&8){l=o[3];let r;for(r=0;r<l.length;r+=1){const f=oe(o,l,r);t[r]?(t[r].p(f,i),m(t[r],1)):(t[r]=de(f),t[r].c(),m(t[r],1),t[r].m(e.parentNode,e))}for(J(),r=l.length;r<t.length;r+=1)a(r);V()}},i(o){if(!n){for(let i=0;i<l.length;i+=1)m(t[i]);n=!0}},o(o){t=t.filter(Boolean);for(let i=0;i<t.length;i+=1)b(t[i]);n=!1},d(o){ve(t,o),o&&k(e)}}}function ft(s){let e;const n=s[6].default,l=R(n,s,s[10],re),t=l||it(s);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,o){t&&t.m(a,o),e=!0},p(a,o){l&&l.p&&(!e||o&1024)&&F(l,n,a,a[10],e?W(n,a[10],o,Qe):U(a[10]),re)},i(a){e||(m(t,a),e=!0)},o(a){b(t,a),e=!1},d(a){t&&t.d(a)}}}function ut(s){let e,n,l,t,a,o,i,r,f,w;const E=[$e,xe],C=[];function g(h,v){return h[2].length===1?0:1}n=g(s),l=C[n]=E[n](s);const d=[at,st],c=[];function _(h,v){return h[3].length===1?0:1}return a=_(s),o=c[a]=d[a](s),{c(){e=I("div"),l.c(),t=K(),o.c(),this.h()},l(h){e=B(h,"DIV",{class:!0});var v=y(e);l.l(v),t=P(v),o.l(v),v.forEach(k),this.h()},h(){u(e,"class",i="flex space-x-1 "+s[0])},m(h,v){D(h,e,v),C[n].m(e,null),q(e,t),c[a].m(e,null),s[9](e),r=!0,f||(w=Q(Ke,"resize",s[4]),f=!0)},p(h,[v]){l.p(h,v),o.p(h,v),(!r||v&1&&i!==(i="flex space-x-1 "+h[0]))&&u(e,"class",i)},i(h){r||(m(l),m(o),r=!0)},o(h){b(l),b(o),r=!1},d(h){h&&k(e),C[n].d(),c[a].d(),s[9](null),f=!1,w()}}}function _e(s){window.open(s)}function ct(s,e,n){let{$$slots:l={},$$scope:t}=e,{options:a=[]}=e,{classNames:o=""}=e,i;const r=a.filter(d=>d.value.includes("colab.research.google.com")),f=a.filter(d=>d.value.includes("studiolab.sagemaker.aws"));function w(){const d=document.querySelector(".prose-doc h1"),c=document.querySelector(".prose-doc h1 > span");if(d&&c){const{width:_}=d.getBoundingClientRect(),{width:h}=c.getBoundingClientRect();let v=0;for(let H=0;H<i.children.length;H++)v+=i.children.item(H).clientWidth;const N=20;_-h<v+N?i.classList.remove("absolute"):i.classList.add("absolute")}}he(()=>{w()});const E=d=>_e(d),C=d=>_e(d);function g(d){X[d?"unshift":"push"](()=>{i=d,n(1,i)})}return s.$$set=d=>{"options"in d&&n(5,a=d.options),"classNames"in d&&n(0,o=d.classNames),"$$scope"in d&&n(10,t=d.$$scope)},[o,i,r,f,w,a,l,E,C,g,t]}class ht extends G{constructor(e){super();T(this,e,ct,ut,Y,{options:5,classNames:0})}}export{ht as D,_t as T,mt as Y};
