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