"use strict";(self.webpackChunkGiN=self.webpackChunkGiN||[]).push([[480],{4480:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=n(6728),o=n(5687),i=n(1123),a=n(5344),s=n(4080),c=n(7455),u=n(841),d=n(6988),g=(n(8657),n(7936));const p=Object.assign(Object.assign(Object.assign({},u),d)),l={id:"GiN:plugin",requires:[r.IJupyterWidgetRegistry],optional:[a.IMainMenu,o.ILayoutRestorer,o.ILabShell,i.INotebookTracker],activate:function(e,t,n,r,o,i){!function(e,t){c.ContextManager.jupyter_app=e,c.ContextManager.notebook_tracker=t,c.ContextManager.context(),b(t)}(e,i);const a=new s.Ld,u=new c.ToolRegistry;return t.registerWidget({name:"GiN",version:"0.1.0",exports:p}),[u,a]},autoStart:!0},b=e=>{(0,g.ri)(),e.currentChanged.connect(((e,t)=>{e.currentWidget&&e.currentWidget.context.ready.then((()=>{const t=e.currentWidget.content;e.currentWidget.context.sessionContext,g.X1.ranNotebookIds.push(t.id),e.currentWidget.sessionContext.ready.then((()=>e.currentWidget.revealed)).then((()=>{e.currentWidget.content.model.metadata.set("GiN-version","0.1.0a8")}))}))}))}}}]);