"use strict";(self.webpackChunkgine=self.webpackChunkgine||[]).push([[908,164],{164:(e,t,l)=>{l.r(t),l.d(t,{HelloModel:()=>s,HelloView:()=>n,NetlistGraphModel:()=>u,NetlistGraphView:()=>g,version:()=>d.i8});var i=l(672);class s extends i.DOMWidgetModel{defaults(){return{...super.defaults(),_model_name:"HelloModel",_view_name:"HelloView",_model_module:"gine",_view_module:"gine",_model_module_version:'"0.0.9"',_view_module_version:'"0.0.9"',value:"Hello World!"}}}class n extends i.DOMWidgetView{render(){this.value_changed(),this.model.on("change:value",this.value_changed,this)}value_changed(){this.el.textContent=this.model.get("value")}}const d={i8:"0.0.9"};var o=l(163),a=l.n(o);let r=function(e,{nodes:t,links:l},{}={}){return e.el.setAttribute("class","jupyter-widget gine"),e.el.setAttribute("style","max-width: 100%; height: auto; height: intrinsic;"),a()()(e.el).width(e.width).height(e.height).graphData({nodes:t,links:l}),e},h=r;console.log("NetworkLattice example file");class u extends i.DOMWidgetModel{defaults(){return{...super.defaults(),_model_name:"NetlistGraphModel",_view_name:"NetlistGraphView",_model_module:"gine",_view_module:"gine",_model_module_version:"0.0.9",_view_module_version:"0.0.9",value:{nodes:[],links:[]},netlist_graph_data:{nodes:[],links:[]}}}}class g extends i.DOMWidgetView{render(){let e=this.model.get("netlist_graph_data");h(this,e),this.model.on("change:netlist_graph_data",this.value_changed,this),window.dom=this.el}value_changed(){!function(e,t){console.log("value changed"),r(e,t)}(this,this.model.get("netlist_graph_data"))}}},908:(e,t,l)=>{l.r(t),l.d(t,{default:()=>n,ginePlugin:()=>s});var i=l(164);const s={id:"gine:plugin",requires:[l(672).IJupyterWidgetRegistry],activate:function(e,t){t.registerWidget({name:"gine",version:i.version,exports:{HelloModel:i.HelloModel,HelloView:i.HelloView,NetlistGraphModel:i.NetlistGraphModel,NetlistGraphView:i.NetlistGraphView}})},autoStart:!0},n=s}}]);