MCPcopy Index your code
hub / github.com/google/adk-python / QV

Function QV

src/google/adk/cli/browser/main-3CUQG2IN.js:2370–2370  ·  view source on GitHub ↗
(i,e)

Source from the content-addressed store, hash-verified

2368.jse-navigation-bar-item.svelte-13sijxb:last-child {
2369 padding-right: var(--jse-padding, 10px);
2370}`);var aEA=TA('<button type="button" class="jse-navigation-bar-button svelte-13sijxb"> </button>'),rEA=TA('<div class="jse-navigation-bar-item svelte-13sijxb"><button type="button"><!></button> <!></div>');function QV(i,e){Jt(e,!1);var A,t=cA(void 0,!0),n=cA(void 0,!0),{openAbsolutePopup:o,closeAbsolutePopup:a}=s1("absolute-popup"),r=K(e,"path",9),s=K(e,"index",9),l=K(e,"onSelect",9),g=K(e,"getItems",9),C=cA(void 0,!0),d=cA(!1,!0);function B(S){a(A),l()(c(t).concat(S))}KA(()=>(Y(r()),Y(s())),()=>{N(t,r().slice(0,s()))}),KA(()=>(Y(r()),Y(s())),()=>{N(n,r()[s()])}),Vn(),di(!0);var u,E=rEA(),f=gA(E);Bn(gA(f),{get data(){return _M}});var m=kA(f,2),v=S=>{var k=aEA(),M=gA(k);Le(()=>Ht(M,c(n))),De("click",k,()=>B(c(n))),sA(S,k)};zA(m,S=>{c(n)!==void 0&&S(v)}),ta(E,S=>N(C,S),()=>c(C)),Le(()=>u=Ci(f,1,"jse-navigation-bar-button jse-navigation-bar-arrow svelte-13sijxb",null,u,{"jse-open":c(d)})),De("click",f,function(){if(c(C)){N(d,!0);var S={items:g()(c(t)),selectedItem:c(n),onSelect:B};A=o(oEA,S,{anchor:c(C),closeOnOuterClick:!0,onClose:()=>{N(d,!1)}})}}),sA(i,E),Yt()}function Mx(i){var e,A;if(navigator.clipboard)return navigator.clipboard.writeText(i);if((e=(A=document).queryCommandSupported)!==null&&e!==void 0&&e.call(A,"copy")){var t=document.createElement("textarea");t.value=i,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();try{document.execCommand("copy")}catch(n){console.error(n)}finally{document.body.removeChild(t)}return Promise.resolve()}return console.error("Copy failed."),Promise.resolve()}oi(`/* over all fonts, sizes, and colors */
2371/* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */
2372/* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */
2373/* main, menu, modal */

Callers 2

SFunction · 0.85
BAFunction · 0.85

Calls 15

KFunction · 0.90
YFunction · 0.90
rFunction · 0.90
sFunction · 0.90
NFunction · 0.90
cFunction · 0.90
SFunction · 0.90
taFunction · 0.90
gFunction · 0.90
oFunction · 0.90
sliceMethod · 0.80
JtFunction · 0.70

Tested by

no test coverage detected