(self.webpackChunkipywidgetvar=self.webpackChunkipywidgetvar||[]).push([[568],{163:(e,i,t)=>{var d=t(337),o=t(431),n=d.DOMWidgetModel.extend({defaults:o.extend(d.DOMWidgetModel.prototype.defaults(),{_model_name:"IpywidgetVarModel",_view_name:"IpywidgetVarView",_model_module:"ipywidgetvar",_view_module:"ipywidgetvar",_model_module_version:"0.1.4",_view_module_version:"0.1.4",value:"IpywidgetVar!",id:"id1"})}),s=d.DOMWidgetView.extend({render:function(){this.value_changed(),this.id_changed(),this.model.on("change:value",this.value_changed,this),this.model.on("change:id",this.id_changed,this)},value_changed:function(){console.log("set value"),this.el.textContent=this.model.get("value")},id_changed:function(){console.log("set id"),this.el.id=this.model.get("id"),Object.defineProperty(this.el,"IpywidgetVarUpdate",{value:function(e){this.model.set("value",e),this.model.save_changes()}.bind(this),configurable:!0})}});e.exports={IpywidgetVarModel:n,IpywidgetVarView:s}},568:(e,i,t)=>{e.exports=t(163),e.exports.version=t(147).version},147:e=>{"use strict";e.exports={version:"0.1.4"}}}]);