1function _extends(){_extends=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var d=arguments[b],c;for(c in d)Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}return a};return _extends.apply(this,arguments)}Vue.use(window.vuelidate["default"]);var _window$validators=window.validators,required=_window$validators.required,minLength=_window$validators.minLength; 2Vue.component("form-multiple-products",{data:function(){return{medicineInfoDefault:{productName:"",batchNumber:"",condition:"",dosage:"",startDate:null,endDate:null},medicineInfos:[],nrOfProducts:1}},validations:{medicineInfos:{minLength:minLength(1),$each:{productName:{},batchNumber:{},condition:{},dosage:{},startDate:{},endDate:{}}}},mounted:function(){this.addNewMedicine()},methods:{addNewMedicine:function(a){a&&a.preventDefault();10<=this.medicineInfos.length||(a=_extends({},this.medicineInfoDefault), 3this.medicineInfos.push(a),this.nrOfProducts=this.medicineInfos.length)},changedProductName:function(a){var b=a.target.value;void 0!==b&&0<b.length&&a.target.parentElement.classList.remove("error","touched")}},template:'\n \x3cdiv class\x3d"form-multiple-products"\x3e\n \x3cinput type\x3d"hidden" :name\x3d"\'nrOfProducts\'" :value\x3d"nrOfProducts"/\x3e\n \x3cdiv v-for\x3d"(medicineInfo, index) in $v.medicineInfos.$each.$iter"\x3e\n \x3cdiv class\x3d"tb-Grid tb-Grid--l--20 tb-Grid--xs--20"\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--9 tb-GridColumn--xs--20"\x3e\n \x3cdiv class\x3d"form-control m-m-bottom"\x3e\n \x3ch4 class\x3d"h4 label"\x3eProduct name\x3cspan class\x3d"asterisk"\x3e*\x3c/span\x3e\x3c/h4\x3e\n \x3cinput aria-label\x3d"Product name" class\x3d"textbox"\n :name\x3d"\'medicineInfos[\' + index + \'][productName]\'"\n @change\x3d"changedProductName($event)"\n type\x3d"text"/\x3e\n \x3cspan class\x3d"infotext error-mgs"\x3ePlease fill out the product name\x3c/span\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--9 tb-GridColumn--xs--20 tb-GridColumn--offset--l--2"\x3e\n \x3cdiv class\x3d"form-control m-m-bottom"\x3e\n \x3ch4 class\x3d"h4 label"\x3eBatch number\x3c/h4\x3e\n \x3cinput aria-label\x3d"Batch number" class\x3d"textbox"\n :name\x3d"\'medicineInfos[\' + index + \'][batchNumber]\'"\n v-model\x3d"medicineInfo.batchNumber.$model"\n type\x3d"text"/\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--20 tb-GridColumn--xs--20"\x3e\n \x3cdiv class\x3d"form-control m-m-bottom"\x3e\n \x3ch4 class\x3d"h4 label"\x3eDescribe the condition for which the product was taken\x3c/h4\x3e\n \x3ctextarea aria-label\x3d"Describe the condition for which the product was taken"\n :name\x3d"\'medicineInfos[\' + index + \'][condition]\'"\n v-model\x3d"medicineInfo.condition.$model"\n class\x3d"textbox"\x3e\x3c/textarea\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--6 tb-GridColumn--xs--20"\x3e\n \x3cdiv class\x3d"form-control m-m-bottom"\x3e\n \x3ch4 class\x3d"h4 label"\x3eDosage and frequency\x3c/h4\x3e\n \x3cinput \n aria-label\x3d"Product dosage and frequency" \n class\x3d"textbox" \n placeholder\x3d"\'E.g. 1mg twice a day\'"\n :name\x3d"\'medicineInfos[\' + index + \'][dosage]\'"\n v-model\x3d"medicineInfo.dosage.$model"\n type\x3d"text"/\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--6 tb-GridColumn--xs--20 tb-GridColumn--offset--l--1"\x3e\n \x3cdiv class\x3d"form-control m-s-bottom"\x3e\n \x3ch4 class\x3d"h4 label"\x3eProduct start date\x3c/h4\x3e\n \x3cdate-picker :aria-label\x3d"\'Product start date\'"\n :no-padding-left\x3d"true"\n :name\x3d"\'medicineInfos[\' + index + \'][startDate]\'"\n v-model\x3d"medicineInfo.startDate.$model"\n placeholder\x3d"Please select"\x3e\n \x3cspan class\x3d"icon icon-datefrom p-xs-left"\x3e\x3cspan class\x3d"path1"\x3e\x3c/span\x3e\x3cspan\n class\x3d"path2"\x3e\x3c/span\x3e\x3cspan class\x3d"path3"\x3e\x3c/span\x3e\x3cspan\n class\x3d"path4"\x3e\x3c/span\x3e\x3c/span\x3e\n \x3c/date-picker\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--6 tb-GridColumn--offset--l--1 tb-GridColumn--xs--20 tb-GridColumn--offset--xs--0"\x3e\n \x3cdiv class\x3d"form-control m-s-bottom"\x3e\n \x3ch4 class\x3d"h4 label"\x3eProduct stop date\x3c/h4\x3e\n \x3cdate-picker :aria-label\x3d"\'Product stop date\'"\n :no-padding-left\x3d"true"\n :name\x3d"\'medicineInfos[\' + index + \'][endDate]\'"\n v-model\x3d"medicineInfo.endDate.$model"\n placeholder\x3d"Please select"\x3e\n \x3cspan class\x3d"icon icon-dateto p-xs-left"\x3e\x3cspan class\x3d"path1"\x3e\x3c/span\x3e\x3cspan\n class\x3d"path2"\x3e\x3c/span\x3e\x3cspan class\x3d"path3"\x3e\x3c/span\x3e\x3cspan\n class\x3d"path4"\x3e\x3c/span\x3e\x3c/span\x3e\n \x3c/date-picker\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3cdiv class\x3d"tb-GridColumn tb-GridColumn--l--20 tb-GridColumn--xs--20" v-if\x3d"medicineInfos.length \x3c 10"\x3e\n \x3cdiv class\x3d"form-control m-xs-bottom"\x3e\n \x3ca class\x3d"pointer" @click\x3d"addNewMedicine($event)" aria-label\x3d"Add another suspect product"\x3e\n \x3ch4 class\x3d"h4 label"\x3eAdd another suspect product +\x3c/h4\x3e\n \x3c/a\x3e\n \x3c/div\x3e\n \x3c/div\x3e\n \x3c/div\x3e'});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.