import{p as u,e as B,i as P}from"./i18n-eTakDDhg.js";import{R as S,V as t,X as w,S as C,Y as r,G as i,z as c,t as g,a0 as h,a as v,T as G,U as k,W as f}from"./index-BkylzejB.js";import{B as I}from"./Button-CIsBas6L.js";import"./snippet-CC9u6I34.js";import"./Image-BfEz-0y2.js";import"./misc-Q1bfX-rj.js";/* empty css                                            */import"./ScrollFade.svelte_svelte_type_style_lang-De9nUaYy.js";/* empty css                                                   */var T=f('<span class="api-name svelte-1kdww8a"> </span>'),U=f('<div class="loading-dot self-baseline svelte-1kdww8a"></div> <p class="self-baseline svelte-1kdww8a">Recording API Calls:</p> <p class="self-baseline api-section svelte-1kdww8a"><span class="api-count svelte-1kdww8a"> </span> <!></p>',1),V=f('<div id="api-recorder" class="svelte-1kdww8a"><!></div>');function K(x,l){S(l,!1);let e=u(l,"api_calls",28,()=>[]),s=u(l,"dependencies",12);var b={get api_calls(){return e()},set api_calls(a){e(a),k()},get dependencies(){return s()},set dependencies(a){s(a),k()}};B();var n=V(),$=t(n);return I($,{size:"sm",variant:"secondary",children:(a,W)=>{var m=U(),_=w(C(m),4),p=t(_),R=t(p);r(p);var y=w(p,2);{var z=d=>{var o=T(),A=t(o);r(o),g(()=>h(A,`/${i(s()),i(e()),c(()=>s()[e()[e().length-1].fn_index].api_name)??""}`)),v(d,o)};P(y,d=>{i(e()),c(()=>e().length>0)&&d(z)})}r(_),g(()=>h(R,`[${i(e()),c(()=>e().length)??""}]`)),v(a,m)},$$slots:{default:!0}}),r(n),v(x,n),G(b)}export{K as default};
