1if("function"!=typeof ExForm)var ExForm=function(){"use strict";var t=({create:function(){return function(){this.initialize.apply(this,arguments)}}}).create();return t.prototype={initialize:function(t,o){var e=this;this._opts=$.extend({txtRequiredField:"TEXT_CAMPO_RICHIESTO",classForm:"new_form",classFormRow:"new_form_row",classFormItem:"new_form_item",classFormItemMandatory:"new_form_item_mandatory",classFormItemOk:"new_form_item_ok",classFormItemErr:"new_form_item_err",classFormItemDescription:"new_form_item_description",classFormInfobox:"new_form_infobox",classFormTitle:"new_form_row_super",classFormRowError:"new_form_row_error",context:void 0,polling:500},o),this._fields={},$.each(t,function(t,o){var r=$.extend({field:t,selector:void 0},o);e._set_selector(r,t),e._fields[t]=r}),this._formUI=new ExFormUserInterface({txtRequiredField:this._opts.txtRequiredField,classForm:this._opts.classForm,classFormRow:this._opts.classFormRow,classFormItem:this._opts.classFormItem,classFormItemMandatory:this._opts.classFormItemMandatory,classFormItemOk:this._opts.classFormItemOk,classFormItemErr:this._opts.classFormItemErr,classFormItemDescription:this._opts.classFormItemDescription,classFormInfobox:this._opts.classFormInfobox,classFormTitle:this._opts.classFormTitle,classFormRowError:this._opts.classFormRowError,context:this._opts.context}),this._formUI.bindField(this._fields),this._formCK=new ExFormChecker({polling:this._opts.polling,context:this._opts.context,onchange:function(t){e._onchange(t)}}),this._formCK.bindField(this._fields),this._formCK.startMonitoring()},_set_selector:function(t,o){void 0===t.selector?t.selector=$("[name="+o+"]",this._opts.context):t.selector=$(t.selector,that._opts.context)},stopMonitoring:function(){this._formCK.stopMonitoring()},startMonitoring:function(t){this._formCK.startMonitoring(t)},unbindAll:function(){var t=this;this._formCK.stopMonitoring(),$.each(this._fields,function(o,e){t._formCK.unbindField(o),t._formUI.unbindField(o)})},rebindField:function(t){var o=this._fields[t];void 0!==o&&(o.selector=void 0,this._set_selector(o,t),this._fields[t]=o,this._formUI.bindField(t,o),this._formCK.bindField(t,o))},setFieldOpt:function(t,o,e){return this._formCK.setFieldOpt(t,o,e)},setFieldUI:function(t,o,e){this._formUI.set(t,o,e)},setValues:function(t){for(var o in t){var e=this._fields[o];if(void 0!==e){var r=t[o],s=e.selector;"input"==s.prop("tagName").toLowerCase()&&("checkbox"==s.attr("type").toLowerCase()||"radio"==s.attr("type").toLowerCase())?r?s.prop("checked",!0):s.prop("checked",!1):s.val(r)}}},getValues:function(){var t={};return $.each(this._fields,function(o,e){var r=e.selector;"input"==r.prop("tagName").toLowerCase()&&("checkbox"==r.prop("type").toLowerCase()||"radio"==r.prop("type").toLowerCase())?t[o]=r.prop("checked")?1:0:t[o]=r.val()}),t},getTag:function(t){let o=this._fields[t]||!1;return!!o&&o.selector},validate:function(t,o){this._formCK.stopMonitoring(),this._formCK.clearCachedValues();var e=this._formCK.validateFields(t,o);return this._formCK.startMonitoring(o),e},highlightFields:function(t,o,e){this._formUI.highlightFields(t,o,e)},_onchange:function(t){for(var o=0;o<t.length;o++){var e=t[o];e.error?(this._formUI.set(e.field,"error",e.error),this._formUI.set(e.field,"sign","error")):e.mandatory?e.empty?(this._formUI.set(e.field,"error",""),this._formUI.set(e.field,"sign","required")):(this._formUI.set(e.field,"error",""),this._formUI.set(e.field,"sign","ok")):(this._formUI.set(e.field,"error",""),this._formUI.set(e.field,"sign",""))}}},t}();
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.