import{SDKModel as e}from"../sdk/sdk.js";import{Widget as n,Fragment as t,UIUtils as s}from"../ui/ui.js";Devices.DevicesView=class extends n.VBox{constructor(){super(!0);const n=this.contentElement.createChild("span"),i=t.html`<a class="devtools-link" role="link" tabindex="0" href="#" style="display: inline; cursor: pointer;">chrome://inspect/#devices</a>`;self.onInvokeElement(i,n=>{const t=e.TargetManager.instance().mainTarget();t&&t.pageAgent().invoke_navigate({url:"chrome://inspect/#devices"}),n.consume(!0)}),n.style.padding="5px",n.appendChild(s.formatLocalized("This panel has been deprecated in favor of the %s interface, which has equivalent functionality.",[i])),this.setDefaultFocusedElement(i)}};
