UNPKG

code-server

Version:

Run VS Code on a remote server.

2 lines (1 loc) • 308 B
import{$ as s}from"./chunk-YX6DBKFT.js";import{h as e}from"./chunk-TOKYXDRE.js";import{a as n}from"./chunk-TZZ523SA.js";var a=n(t=>{let{securityLevel:c}=s(),o=e("body");if(c==="sandbox"){let m=e(`#i${t}`).node()?.contentDocument??document;o=e(m.body)}return o.select(`#${t}`)},"selectSvgElement");export{a};