{"version":3,"sources":["https://lively-kernel.org/lively4/lively4-function-completion/src/babylonian-programming-editor/annotations/input-annotation.js"],"names":["Annotation","InputAnnotation","constructor","editor","location","changeCallback","deleteCallback","_changeCallback","exampleId","newValue"],"mappings":";;;;;;AAAOA,gB;;;;;;;;;;;;;;;;;;;;AAEP;;;AAGe,YAAMC,eAAN,SAA8BD,UAA9B,CAAyC;AACtDE,oBAAYC,MAAZ,EAAoBC,QAApB,EAA8BC,cAA9B,EAA8CC,cAA9C,EAA8D;AAC5D,gBAAMH,MAAN,EAAcC,QAAd,EAAwBE,cAAxB;AACA,eAAKC,eAAL,GAAuB,CAACC,SAAD,EAAYC,QAAZ,KAAyB;AAC9CJ,2BAAe,IAAf,EAAqBG,SAArB,EAAgCC,QAAhC;AACD,WAFD;AAGD;AANqD;;yBAAnCR,e","file":"input-annotation.js","sourcesContent":["import Annotation from \"./annotation.js\";\n\n/**\n * The base class for all annotations that get user input\n */\nexport default class InputAnnotation extends Annotation {\n  constructor(editor, location, changeCallback, deleteCallback) {\n    super(editor, location, deleteCallback);\n    this._changeCallback = (exampleId, newValue) => {\n      changeCallback(this, exampleId, newValue);\n    };\n  }\n}"]}