diff --git a/js/jquery.jsForm.min.js b/js/jquery.jsForm.min.js
index 5a9960b..fa15911 100644
--- a/js/jquery.jsForm.min.js
+++ b/js/jquery.jsForm.min.js
@@ -4,4 +4,3 @@
*/
(function(t,e,a){"use strict";function i(e,a){var i=t(e);this.options=t.extend({},{controls:!0,data:null,prefix:"data",trackChanges:"changed",validateHidden:!0,skipEmpty:!1,renderer:null,processors:null,dataHandler:null,connect:null,viewClass:"value"},a),!i.attr("data-prefix")||"data"!==this.options.prefix&&""!==this.options.prefix||""!==i.attr("data-prefix")&&(this.options.prefix=i.attr("data-prefix")),this.element=e,this._init()}var s={},r={};i.prototype._init=function(){if(this._domInit(),this.options.controls)if(t.jsFormControls)t.each(this._getForm(),function(){t(this).jsFormControls()});else try{"undefined"!=typeof console&&this._debug("jquery.JsForm.controls not available!")}catch(e){}this._fill()},i.prototype.connect=function(e){this._initCollection(e,this.options.prefix),this._initConditional(e,this.options.prefix,this.options),this.options.controls&&t.jsFormControls&&t(e).jsFormControls(),this._fillDom(e),this.options.connect||(this.options.connect=[]),this.options.connect.push(e)},i.prototype.getNodes=function(){return this._getForm()},i.prototype._domInit=function(){var e=this;t.each(this._getForm(),function(){e._initCollection(this,e.options.prefix),e._initConditional(this,e.options.prefix,e.options)})},i.prototype._debug=function(a,i){try{var s=console||(e?e.console:null);if(!s||!s.log)return;var r=null;r=t.isPlainObject(i)?JSON.stringify(i,null," "):i,r||(r=""),s.log(a+r)}catch(n){}},i.prototype._initConditional=function(e,a,i){var s=this,r=function(e,a,i){var r=!1;t.each(i,function(){var t=s._getValueWithArrays(a,this);if(t&&""!==t&&0!==t&&-1!==t)return r=!0,!1}),r?e.show():e.hide()},n=function(e,a,i){var r=!1;t.each(i,function(){var t=s._getValueWithArrays(a,this);if(t&&""!==t&&0!==t&&-1!==t)return r=!0,!1}),r?e.hide():e.show()};this.conditionals=t(e).find(".conditional"),this.conditionals.each(function(){t(this).data().conditionalEval=[];var e=t(this).attr("data-show");e&&e.length>0&&t(this).data().conditionalEval.push({func:r,field:e.split(" ")}),e=t(this).attr("data-hide"),e&&e.length>0&&t(this).data().conditionalEval.push({func:n,field:e.split(" ")}),e=t(this).attr("data-eval"),e&&e.length>0&&i.conditionals[e]&&t(this).data().conditionalEval.push({func:i.conditionals[e]})})},i.prototype._evaluateConditionals=function(e,a){this.conditionals.each(function(){var e=t(this);t.each(e.data().conditionalEval,function(){this.func(e,a,this.field)})})},i.prototype._initCollection=function(e,a){var i={},s=this;t(e).data().collections=i,t(".collection",e).each(function(){var e=t(this).attr("data-field");if(e&&0===e.indexOf(a+".")){var r=t(this),n=i[e];if(n?n.push(r):i[e]=[r],s._initList(r),!r.hasClass("ui-sortable")&&r.hasClass("sortable")&&r.sortable){var o=r.attr("data-sortable");o=o?JSON.parse(o):{},r.sortable(o),r.on("sortstop",function(){s._reorder(r)})}t(this).on("add",function(e,a,i){var r=t(this).attr("data-field");if(!i||r==i){var n=t(this).data("template");if(a||(a={}),n){var o=n.clone(!0);t(o).addClass("POJO"),t(o).data().pojo=a;var l=t(this).data("prefill");l||(l=t(this).val("data-prefill")),l&&(t.isFunction(l)?l(t(o).data().pojo,t(o)):l.substring?t(o).data().pojo=JSON.parse(l):t.isPlainObject(l)&&(t(o).data().pojo=l)),t(this).append(o),s._enableTracking(t("input,textarea,select",o)),s.options.trackChanges&&t("input,textarea,select",o).addClass(s.options.trackChanges),s._addCollectionControls(o),s._initCollection(o,r.substring(r.indexOf(".")+1)),t(this).trigger("addCollection",[o,t(o).data().pojo]);var h=t(this).children(".POJO").length;s._fillData(o,t(o).data().pojo,r.substring(r.indexOf(".")+1),h),t(this).trigger("postAddCollection",[o,t(o).data().pojo])}}})}}),t(".add",e).each(function(){var e=t(this).attr("data-field");e&&(t(this).data().collections=i[e],t(this).data().hasJsForm||(t(this).data().hasJsForm=!0,t(this).click(function(a){a.preventDefault(),t.each(t(this).data("collections"),function(){t(this).trigger("add",[null,e])})})))}),t(".insert",e).each(function(){var e=t(this).attr("data-field");e&&(t(this).data("collections")||(t(this).data("collections",i[t(this).attr("data-field")]),t(this).on("insert",function(a,i){if(i||(i=t(this).data().pojo),i){var r=t(this).data("beforeInsert");r&&t.isFunction(r)&&!(i=r(i))||(t.each(t(this).data("collections"),function(){var a=t(this).data("template");if(a){var r=a.clone(!0);r.addClass("POJO"),r.data().pojo=i,s._addCollectionControls(r),s._initCollection(r),t(this).trigger("addCollection",[r,i]);var n=t(this).children(".POJO").length;s._fillData(r,i,e.substring(e.indexOf(".")+1),n),t(this).append(r),t(this).trigger("postAddCollection",[r,i])}}),t(this).val(""),t(this).data().pojo=null,t(this).focus())}})))}),t(".insertAction",e).each(function(){var e=t(this).attr("data-field");if(e&&!t(this).data("inserter")){var a=t(this).parent().find(".insert");a&&(t(this).data("inserter",a),t(this).click(function(e){return e.preventDefault(),t(this).data("inserter").trigger("insert"),!1}))}}),t("input.object",e).each(function(){t(this).on("update",function(){var e=t(this).data().pojo;(t(this).attr("data-display")||t(this).attr("data-render"))&&t(this).val(s._renderObject(e,t(this).attr("data-display"),t(this).attr("data-render")))})}),t("input.blob",e).each(function(){if("file"===t(this).attr("type")){var e=t(this);t(this).on("change",function(a){var i=t(this).val().split(/\\/).pop();e.data("name",i);var s=a.target.files;s&&s.length&&t.each(s,function(){var a=new FileReader;a.onload=function(t){e.data("blob",t.target.result)},a.readAsDataURL(this),t(this).trigger("fileChange")})})}})},i.prototype._initList=function(t){if(!t.data("template")){var e=t.children().detach();e.removeAttr("id"),t.data("template",e)}},i.prototype._getForm=function(){var e=[t(this.element)];return this.options.connect&&t.each(this.options.connect,function(){e.push(t(this))}),e},i.prototype._clear=function(e,a){a||(a=this.options.prefix),t(e).removeData("pojo"),t("input,select,textarea",e).each(function(){var e=t(this).attr("name");e&&0===e.indexOf(a+".")&&(e=e.substring((a+".").length),1>e.length||(t(this).removeData("pojo"),"checkbox"===t(this).attr("type")?t(this).prop("checked",!1):"radio"===t(this).attr("type")?t(this).prop("checked",!1):t(this).data().valclass&&t(this)[t(this).data().valclass].val?t(this)[t(this).data().valclass](val,""):t(this).val(""),t(this).hasClass("blob")&&t(this).removeData("blob"),t(this).is("select")&&(t('option[selected="selected"]',this).prop("selected",!1),t("option:first",this).prop("selected",!0),t(this).val(t("option:first",this).val()).change()),t(this).change()))}),t(".collection",e).each(function(){var e=t(this).attr("data-field");e&&0===e.indexOf(a+".")&&t(this).empty()})},i.prototype._handleArrayInPojo=function(e,i,s,r){if(i[s]||(i[s]=[]),"checkbox"===e.attr("type")||"CHECKBOX"===e.attr("type")){var n=e.is(":checked"),o=!0;t.each(i[s],function(t,e){return this==r?(o=!1,n||i[s].splice(e,1),!1):a}),o&&n&&i[s].push(r)}else{var l=e.attr("data-array");l=!l||isNaN(l)?null:Number(l),null===l?i[s].push(r):i[s][l]=r}},i.prototype._createPojoFromInput=function(e,i,s){var r=null,n=this,o=null;return t(e).data("pojo")&&(r=t(e).data("pojo")),r&&t.extend(!0,s,r),t(e).find("input,select,textarea,.jsobject").each(function(){var e=t(this).attr("data-name");if(e||(e=t(this).attr("name")),e&&!t(this).hasClass("transient")&&!t(this).hasClass("grayed")&&0===e.indexOf(i+".")){t(this).trigger("validate",!0),e=e.substring((i+".").length);var r=t(this).val();if(t(this).data().valclass&&t(this)[t(this).data().valclass]&&(r=t(this)[t(this).data().valclass]("val")),t(this).hasClass("jsobject"))r=t(this).data("pojo");else{if(n.options.skipEmpty&&(!r||""===r||""===r.trim()))return;if(!t(this).hasClass("emptynull")||r&&""!==r&&"null"!==r&&""!==r.trim())if(t(this).hasClass("object")||t(this).hasClass("POJO"))if(t("option:selected",this).data()&&t("option:selected",this).data().pojo?t("option:selected",this).data().pojo?r=t("option:selected",this).data().pojo:t("option:selected",this).attr("data-obj")&&(r=JSON.parse(t("option:selected",this).attr("data-obj"))):r=t(this).data("pojo"),t.isFunction(t(this).data().processor))r=t(this).data().processor(r);else{var l=t(this).attr("data-processor");l&&n.options.processors[l]&&(r=n.options.processors[l](r))}else t(this).hasClass("blob")?r=t(this).data("blob"):""===r&&(t(this).hasClass("number")||t(this).hasClass("percent")||t(this).hasClass("integer")||t(this).hasClass("dateFilter")||t(this).hasClass("dateTimeFilter"))&&(r=null);else r=null;if(t(this).data().processor)r=t(this).data().processor(r);else if(t(this).hasClass("number")||t(this).hasClass("integer")){if(t(this).hasClass("date")&&isNaN(r))if(t.format){var h=t.format.date(r);h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),r=h.getTime()}else r=new Date(r).getTime();else r=n._getNumber(r);isNaN(r)&&(r=0)}else if("checkbox"===t(this).attr("type")||"CHECKBOX"===t(this).attr("type"))t(this).hasClass("array")?(r=t(this).val(),t(this).attr("data-obj")&&(r=JSON.parse(t(this).attr("data-obj")))):r=t(this).is(":checked");else if("radio"===t(this).attr("type")||"RADIO"===t(this).attr("type")){if(!t(this).is(":checked"))return}else t(this).hasClass("bool")&&(r="true"===t(this).val())}if(n.options.dataHandler&&(r=n.options.dataHandler.serialize(r,t(this),s)),1>e.length)return o=r,!1;if(-1===e.indexOf("."))t(this).hasClass("array")?n._handleArrayInPojo(t(this),s,e,r):s[e]=r;else{var d,c=e.split("."),u=s[c[0]];u&&t.isPlainObject(u)||(s[c[0]]={},u=s[c[0]]);for(var f=1;c.length-1>f;f++)d=u,u=d[c[f]],(u===a||null===u)&&(u={},d[c[f]]=u);d=c[c.length-1],t(this).hasClass("array")?n._handleArrayInPojo(t(this),u,d,r):u[d]=r}}}),t(e).find(".selectcollection").each(function(){var e=t(this).attr("data-field");if(e&&!t(this).hasClass("transient")&&0===e.indexOf(i+".")){t(this).trigger("validate",!0),e=e.substring((i+".").length),s[e]=[];var a=t(this).attr("data-selected"),r=t(this).attr("data-id");t(this).children().each(function(){if(a){if(!t(this).hasClass(a))return}else if(!t("input[name='"+e+"']",this).prop("checked"))return;var i=null;r?(i=t(this).data("obj"),!i&&t(this).attr("data-obj")&&(i=JSON.parse(t(this).attr("data-obj")))):i=t("input[name='"+e+"']",this).val(),i&&s[e].push(i)})}}),o},i.prototype._enableTracking=function(e){if(e&&0!==e.length){var a=this;a.options.trackChanges&&!t(e).data().track&&(t(e).data().track=!0,t(e).change(function(){t(this).val()!==t(this).data().orig?t(this).addClass(a.options.trackChanges):t(this).removeClass(a.options.trackChanges)}))}},i.prototype._fillSelectCollection=function(e,i,s){var r=this,n=t(e);n.find(".selectcollection").each(function(){var e=t(this).attr("data-selected"),n=t(this).attr("data-id"),o=t(this).attr("data-field");if(o&&0===o.indexOf(s+".")){var l=null,h=o;s&&(h=h.substring(s.length+1)),l=r._get(i,h),l&&t.isArray(l)||(l=[]),-1!==o.indexOf(".")&&(o=o.substring(o.lastIndexOf(".")+1)),e&&(t(this).children("."+e).removeClass(e),t(this).children().each(function(){t(this).hasClass("jsfselect")||(t(this).addClass("jsfselect"),t(this).click(function(){t(this).toggleClass(e),t(this).trigger("selected")}),t(this).trigger("selected"))})),t("input[name='"+o+"']",this).prop("checked",!1),t(this).children().each(function(){var i="";if(n){var s=t(this).data("obj");if(!s&&t(this).attr("data-obj")&&(s=JSON.parse(t(this).attr("data-obj"))),!s)return;i=s[n]}else i=t("input[name='"+o+"']",this).val();if(i)for(var r=0;l.length>r;r++){var h=l[r];if(n&&(h=h[n]),i==h)return e&&t(this).addClass(e).trigger("selected"),t("input[name='"+o+"']",this).prop("checked",!0),a}})}})},i.prototype._fillData=function(e,i,s,r){var n=this,o=t(e);o.find(".field").each(function(){var e=t(this).data("name");if(e||("A"===this.nodeName.toUpperCase()?(e=t(this).attr("href"),t(this).attr("href","#")):"IMG"===this.nodeName.toUpperCase()?(e=t(this).attr("src"),0===e.indexOf("#")&&(e=e.substring(1)),t(this).attr("src","#")):e=t(this).text(),t(this).data("name",e),t(this).show()),!s||e.indexOf(s+".")>=0){var a=e;s&&(a=a.substring(s.length+1));var o=n._get(i,a,!1,r);o||0===o||o===!1||(o=""),t(this).hasClass("currency")&&(o||(o=0)),t(this).hasClass("titleval")&&t(this).attr("title",o),n.options.dataHandler&&(o=n.options.dataHandler.deserialize(o,t(this),a,i)),t.jsFormControls&&(o=t.jsFormControls.Format.format(this,o)),"A"===this.nodeName.toUpperCase()?t(this).attr("href",o):"IMG"===this.nodeName.toUpperCase()?t(this).attr("src",o):"DIV"===this.nodeName.toUpperCase()?t(this).html(o):t(this).text(o)}}),t("input, textarea",o).each(function(){var e=t(this).attr("name");if(e&&(n._enableTracking(this),"file"!=t(this).attr("type")&&(!s||e.indexOf(s+".")>=0))){var o=e;s&&(o=o.substring(s.length+1));var l=n._get(i,o,!1,r);if(n.options.dataHandler&&(l=n.options.dataHandler.deserialize(l,t(this),o,i)),t(this).hasClass("object")?(t(this).data().pojo=l,t(this).addClass("POJO"),l=n._renderObject(l,t(this).attr("data-display"),t(this).attr("data-render"))):t(this).hasClass("jsobject")?(t(this).data().pojo=l,t(this).addClass("POJO")):t.isPlainObject(l)&&(""===o?l="":(t(this).data().pojo=l,t(this).addClass("POJO"),l=n._renderObject(l,t(this).attr("data-display"),t(this).attr("data-render")))),"checkbox"===t(this).attr("type"))if(t(this).hasClass("array")){var h=t(this).val(),d=null;t(this).attr("data-obj")&&(h=JSON.parse(t(this).attr("data-obj"))),t(this).attr("data-id")&&(d=t(this).attr("data-id"),h=h[d]);var c=!1;l&&t.each(l,function(){var t=this;return d&&(t=t[d]),t==h?(c=!0,!1):a}),t(this).prop("checked",c)}else t(this).prop("checked",l===!0||"true"===l);else if("radio"===t(this).attr("type"))t(this).prop("checked",l==t(this).val());else if(l||0===l||l===!1||(l=""),t.jsFormControls&&(l=t.jsFormControls.Format.format(this,l)),t(this).hasClass("array")){var u=t(this).attr("data-array");u=!u||isNaN(u)?null:Number(u),null!==u&&l&&l.length>u?t(this).val(l[u]):t(this).val("")}else t(this).data().valclass&&t(this)[t(this).data().valclass]?t(this)[t(this).data().valclass]("val",l):t(this).val(l);n.options.trackChanges&&(t(this).data().orig=t(this).val()),t(this).trigger("fill"),t(this).change()}}),t("select",o).each(function(){var e=t(this).attr("name");if(e&&(!s||e.indexOf(s+".")>=0)){var o=e;s&&(o=o.substring(s.length+1)),n._enableTracking(this),t(this).children("option:selected").prop("selected",!1);var l=t(this).attr("data-key");l||(l="id");var h=n._get(i,o,!1,r);if(n.options.dataHandler&&(h=n.options.dataHandler.deserialize(h,t(this),o,i)),h[l]||!isNaN(h[l]))return t(this).children("option").each(function(){var e=t(this).data().pojo;if(e||(e=t(this).data().obj),e){if(h[l]===e[l])return t(this).prop("selected",!0),!1}else if(t(this).val()==h[l])return t(this).attr("selected",!0),!1}),t(this).change(),a;t(this).hasClass("bool")&&(h=h?"true":"false"),t(this).children("option[value='"+h+"']").prop("selected",!0),t(this).val(h),n.options.trackChanges&&(t(this).data().orig=t(this).val()),t(this).change().trigger("fill")}})},i.prototype.get=function(e){var a=this,i=this.options.data,s=this.options.prefix,r={};i&&t.isPlainObject(i)&&(r=t.extend({},i));var n=!1;return t.each(this._getForm(),function(){a._createPojoFromInput(this,s,r),a.options.validateHidden?this.find(".invalid").each(function(){return n=!0,t(this).focus(),!1}):this.find(".invalid").filter(":visible").each(function(){return n=!0,t(this).focus(),e||a._debug("Found invalid field: "+t(this).attr("name")),!1}),a._getCollection(this,s,r,e)&&(n=!0)}),!e&&n?null:r},i.prototype._getCollection=function(e,a,i,s){var r=this,n=!1;return e.find(".collection").each(function(){if(s||!n){var e=t(this).attr("data-field");if(e&&0===e.indexOf(a+".")){e=e.substring((a+".").length);var o=r._getParent(i,e,!0);-1!==e.indexOf(".")&&(e=e.substring(e.lastIndexOf(".")+1)),o[e]=[],t(this).children().each(function(){var a,i={};if(a=r._createPojoFromInput(t(this),e,i),a||r._getCollection(t(this),e,i,s),!r._isEmpty(i)||a){if(t(".invalid",this).length>0&&(n=!0,!s))return!1;a?o[e].push(a):o[e].push(i)}else t(".invalid",this).removeClass("invalid")})}}}),n},i.prototype.getData=function(){return this.options.data||(this.options.data={}),this.options.data},i.prototype.fieldMode=function(e,a){if(e){e.data||(e=t("input[name='"+e+"']",this.element));var i=this.options.viewClass;if(a){if(e.closest("span."+i)[0])return;var s=e.val();("null"===s||null===s||"submit"===e.attr("type"))&&(s=""),e.hasClass("trueFalse")&&(s=e.is(":checked")?"X":" "),s=s.replace(//g,">").replace(/\n/g,"
");var r=t(''+s+"");e.parent().hasClass("ui-wrapper")?e.parent().hide().wrap(r):e.hide().wrap(r)}else{var n=e.closest("span."+i),o=e.show().detach();n.before(o),n.remove()}}},i.prototype.preventEditing=function(e){var i=t(this.element),s=this.options.viewClass;if(e===a)e=i.data("disabled")?!1:!0;else if(e===i.data("disabled"))return;e?(i.find("input, textarea").each(function(){if(!t(this).closest("span."+s)[0]&&"hidden"!=t(this).attr("type")){var e=t(this).val();("null"===e||null===e||"submit"===t(this).attr("type"))&&(e=""),t(this).hasClass("trueFalse")&&(e=t(this).is(":checked")?"X":" "),e=e.replace(//g,">").replace(/\n/g,"
");var a=t(''+e+"");t(this).parent().hasClass("ui-wrapper")?t(this).parent().hide().wrap(a):t(this).hide().wrap(a)}}),i.find("select").each(function(){if(!t(this).closest("span."+s)[0]){var e=t(this).children(":selected").html();("null"===e||null===e)&&(e="");var a=t(''+e+"");t(this).hasClass("ui-toggle-switch")?t(this).prev().hide().wrap(a):t(this).hide().wrap(a)}})):i.find("span."+s).each(function(){var e=t(this).children("input,select,textarea,.ui-wrapper,.ui-toggle-switch").show().detach();t(this).before(e),t(this).remove()}),i.data("disabled",e)},i.prototype.validate=function(){var e=!0;return t.each(this._getForm(),function(){t(".required,.regexp,.date,.mandatory,.number,.validate,.integer",this).change(),t(".invalid",this).length>0&&(e=!1)}),e},i.prototype._fill=function(e){var a=this;t(this.element).addClass("POJO"),t(this.element).data("pojo",this.options.data),t.each(this._getForm(),function(){a._fillDom(this,e)})},i.prototype._fillDom=function(t,e){var a=this;e||a._clear(t,a.options.prefix),a._fillData(t,a.options.data,a.options.prefix),a._fillSelectCollection(t,a.options.data,a.options.prefix),a._fillCollection(t,a.options.data,a.options.prefix,e),a._evaluateConditionals(t,a.options.data)},i.prototype._fillCollection=function(e,a,i,s){var r=this;t(".collection",e).each(function(){var e=t(this),n=t(this).attr("data-field");if(a&&n&&0===n.indexOf(i+".")){var o=null,l=n;if(i&&(l=l.substring(i.length+1)),o=r._get(a,l))if(s)for(var h=0;o.length>h;h++){-1!==l.indexOf(".")&&(i=l.substring(l.lastIndexOf(".")+1));var d=t(e.children().get(h)),c=o[h];r._fillData(d,c,l,h+1),r._fillCollection(d,c,l,s)}else r._fillList(e,o,l)}})},i.prototype._fillList=function(e,a,i,s){var r=e.data("template"),n=this;if(r&&(e.empty(),t.isArray(a))){if(-1!==i.indexOf(".")&&(i=i.substring(i.lastIndexOf(".")+1)),e.hasClass("sort")){var o=e.attr("data-sort");if(o){switch(e.attr("data-sorttype")){case"alpha":a.sort();break;case"alphainsensitiv":a.sort(function(t,e){return t=t[o],e=e[o],t&&(t=t.toLowerCase()),e&&(e=e.toLowerCase()),e>t?-1:t>e?1:0});break;default:a.sort(function(t,e){return t[o]-e[o]})}e.attr("data-sortdesc")&&a.reverse()}}s||t.isFunction(i)&&(s=i,i=null);for(var l=0;a.length>l;l++){var h=a[l],d=r.clone(!0);d.data().pojo=h,d.addClass("POJO"),s&&s(d,h)===!1||(n._addCollectionControls(d),e.trigger("addCollection",[d,h]),i&&(n._fillData(d,h,i,l+1),n._initCollection(d,i),n._fillCollection(d,h,i)),e.append(d),e.trigger("postAddCollection",[d,t(d).data().pojo]))}}},i.prototype._addCollectionControls=function(e){var a=this;t.jsFormControls&&t(e).jsFormControls(),e.on("delete",function(){var e=t(this),a=t(e).data().pojo,i=t(this).closest(".collection");e.detach(),t(i).trigger("deleteCollection",[e,a])}),e.on("sortUp",function(){var e=t(this),i=e.prev(".POJO");0!==i.size()&&(e.detach(),i.before(e),a._reorder(e))}),e.on("sortDown",function(){var e=t(this),i=e.next(".POJO");0!==i.size()&&(e.detach(),i.after(e),a._reorder(e))}),t(".delete",e).click(function(){t(this).closest(".POJO").trigger("delete")}),t(".sortUp",e).click(function(){t(this).closest(".POJO").trigger("sortUp")}),t(".sortDown",e).click(function(){t(this).closest(".POJO").trigger("sortDown")});var i=t(e).closest(".collection");i.hasClass("sortable")&&t(i).sortable&&i.sortable("refresh")},i.prototype._reorder=function(e){e.attr("data-sort")||(e=e.closest(".collection"));var a=t(e).attr("data-sort");if(!(!a||t(e).attr("data-sorttype")&&"number"!==t(e).attr("data-sorttype")||t(e).attr("data-sortdesc")&&"false"!==t(e).attr("data-sortdesc"))){var i=0;t.each(t(e).children(),function(){var e=t(this).data("pojo");e||(e={},t(this).data("pojo",e)),e[a]=i++})}},i.prototype._renderObject=function(e,a,i){if(!e||!a&&!i)return"";if(i)return this.options.renderer&&this.options.renderer[i]?this.options.renderer[i](e):(this._debug("Unable to find renderer: "+i),"");var s=this,r="";return t.each(a.split(","),function(){var t=this.trim();r+=0===t.indexOf("'")||0===t.indexOf('"')?t.substring(1,t.length-1):s._get(e,t)}),r},i.prototype._get=function(t,e,i,s){var r,n,o,l="";if("function"==typeof e)return e(t);if(!t)return"";if(""===e)return t;if("$idx"===e)return s;if(r=t[e],!r)try{if("string"==typeof e&&(l=e.split(".")),o=l.length)for(r=t;r&&o--;)n=l.shift(),i&&!r[n]&&(r[n]={}),r=r[n]}catch(h){}return(null===r||r===a)&&(r=""),r.trim?r.trim():r},i.prototype._getValueWithArrays=function(t,e){if(null===t)return null;e=e.split(".");for(var a=/(.*)\[(\d+)\]/,i=1;e.length>i;i++){var s=a.exec(e[i]);try{t=s?t[s[1]][parseInt(s[2],10)]:t[e[i]]}catch(r){this._debug(e+" "+r)}}return t},i.prototype._getParent=function(t,e,a){return-1===e.indexOf(".")?t:(e=e.substring(0,e.lastIndexOf(".")),this._get(t,e,a))},i.prototype._getNumber=function(e){return e?t.jsFormControls?t.jsFormControls.Format._getNumber(e):(-1!=e.indexOf(",")&&(e=e.replace(RegExp(",","g"),"")),Number(e)):null},i.prototype._isEmpty=function(e){if(!e)return!0;if(t.isArray(e)){if(0===e.length)return!0;for(var a=0;e.length>a;a++)if(!this._isEmpty())return!1;return!0}if(t.isPlainObject(e)){if(t.isEmptyObject(e))return!0;for(var i in e)if(!this._isEmpty(e[i]))return!1;return!0}return isNaN(e)?""===e||" "===e:0===Number(e)||-1===Number(e)?!0:!1},i.prototype._equals=function(t,e,i){if(!t&&e&&e.length&&0===e.length)return!0;if(!e&&t&&t.length&&0===t.length)return!0;if(!t&&!e)return!0;var s=null;for(s in t){if(e[s]===a&&null!==t[s]&&""!==t[s]&&0!==t[s].length){if(("0"===t[s]||0===t[s])&&!e[s])continue;return!1}if(t[s])switch(typeof t[s]){case"object":if(i&&t[s][i]&&t[s][i]===e[s][i])continue;if(!this._equals(t[s],e[s]))return!1;break;case"function":break;default:if(!t[s]&&!e[s])break;if((t===!0||t===!1)&&t!==e)return!1;if(!isNaN(t[s])||!isNaN(e[s])){if(1e-7>Math.abs(Number(t[s])-Number(e[s])))break;return!1}if((""+t[s]).length!==(""+e[s]).length)return!1;if(t[s]!==e[s]&&Number(t[s])!==Number(e[s]))return!1}else if(e[s])return!1}for(s in e)if((!t||t[s]===a)&&null!==e[s]&&""!==e[s])return!1;return!0},i.prototype.equals=function(t,e){var a=this.get(!1);return this._equals(a,t,e)},i.prototype.changed=function(){if(!this.options.trackChanges)return!1;var e=!1,i=this;return t.each(this._getForm(),function(){return t("."+i.options.trackChanges,this).size()>0?(e=!0,!1):a}),e},i.prototype.resetChanged=function(){if(!this.options.trackChanges)return!1;var e=!1,a=this;return t.each(this._getForm(),function(){t("."+a.options.trackChanges,this).each(function(){t(this).removeClass(a.options.trackChanges),t(this).data().orig=t(this).val()})}),e},i.prototype._equalsCollection=function(e,i,s){var r=this,n=!1;return t(".collection",e).each(function(){if(!n){var e=t(this).attr("data-field");if(e&&0===e.indexOf(i+".")&&(e=e.substring((i+".").length),!(1>e.length))){var o=0;t(this).children().each(function(){if(!n){if(o>=s[e].length)return n=!0,a;var i=s[e][o++];r._pojoDifferFromInput(t(this),e,i)&&(n=!0),r._equalsCollection(t(this),e,i)||(n=!0)}}),s[e]&&s[e].length>o&&(n=!0)}}}),!n},i.prototype.fill=function(e){this.options.data=t.extend({},e),this._fill()},i.prototype.fillFields=function(e){this.options.data=t.extend({},e),this._fill(!0)},i.prototype.applyConditions=function(t){t||(t=this.get(!0)),this._evaluateConditionals(this.element,t)},i.prototype.reset=function(){this.fill({})},i.prototype.clear=function(){var e=this;t.each(this._getForm(),function(){e._clear(this,e.options.prefix)})},i.prototype.destroy=function(){return t(this.element).each(function(){t(this).removeData("jsForm"),t.jsFormControls&&t(this).jsFormControls("destroy")})},t.fn.jsForm=function(e){if("object"!=typeof e&&e){var s,r=Array.prototype.slice.call(arguments,1);if(0===this.length)return null;if(1===this.length&&(s=t(this).data("jsForm"))){if(0!==e.indexOf("_")&&s[e]){var n=s[e].apply(s,r);return n}return t.error("Method "+e+" does not exist on jQuery.jsForm"),!1}return this.each(function(){return s=t.data(this,"jsForm"),s?0!==e.indexOf("_")&&s[e]?s[e].apply(s,r):(t.error("Method "+e+" does not exist on jQuery.jsForm"),!1):a})}return this.each(function(){t(this).data("jsForm")||t(this).data("jsForm",new i(this,e))})},t.jsForm=function(e,a){var i=r[e];if(t.isFunction(a))i&&t.each(i,function(){a(this,t(this.element))}),s[e]=a;else if(i){var n=a,o=Array.prototype.slice.call(arguments,2);t.each(portlets,function(){this[n].apply(this,o)})}}})(jQuery,window),function(t){"use strict";function e(t){this.element=t,this._domInit()}var a={},i={};"undefined"!=typeof Handlebars&&(Handlebars.registerHelper("currency",function(e){return e?t.jsFormControls.Format.currency(e):t.jsFormControls.Format.currency(0)}),Handlebars.registerHelper("dec",function(e){return e?t.jsFormControls.Format.decimal(e):""}),Handlebars.registerHelper("percent",function(e){return e?t.jsFormControls.Format.decimal(100*e):"0"}),Handlebars.registerHelper("date",function(e){return e?t.jsFormControls.Format.date(e):""}),Handlebars.registerHelper("time",function(e){return e?t.jsFormControls.Format.time(e):""}),Handlebars.registerHelper("datetime",function(e){return e?t.jsFormControls.Format.dateTime(e):""}),Handlebars.registerHelper("dateTime",function(e){return e?t.jsFormControls.Format.dateTime(e):""}),Handlebars.registerHelper("timespan",function(e){return e?t.jsFormControls.Format.humanTime(e):""}),Handlebars.registerHelper("humanTime",function(e){return e?t.jsFormControls.Format.humanTime(e):""}),Handlebars.registerHelper("byte",function(e){return e?t.jsFormControls.Format.byte(e):""}),Handlebars.registerHelper("integer",function(e){return e?t.jsFormControls.Format.integer(e):""})),e.prototype._domInit=function(){var e=t(this.element);e.find("input.mandatory,textarea.mandatory").on("keyup",function(){t(this).val().length>0&&"null"!==t(this).val()?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid")}),e.find("input.mandatory,textarea.mandatory").on("change",function(){return t(this).hasClass("object")?(t(this).data().pojo?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid"),undefined):(t(this).val().length>0&&"null"!==t(this).val()?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid"),undefined)}).change(),e.find("select.mandatory").change(function(){null!==t(this).val()&&"null"!==t(this).val()&&t(this).val().length>0?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid")}).change(),e.find("input.date").each(function(){var e=t(this).attr("data-format");if(t(this).jqxDateTimeInput)if(t(this).data().valclass="jqxDateTimeInput",e)t(this).jqxDateTimeInput({formatString:e});else{var a=null;"undefined"!=typeof i18n?a=i18n.date:t(document).data().i18n&&t(document).data().i18n.date&&(a=t(document).data().i18n.date),t(this).jqxDateTimeInput({formatString:a.shortDateFormat})}else t(this).datepicker&&(e?t(this).datepicker({dateFormat:e}):t(this).datepicker())}),e.find("input.dateTime").each(function(){var e=t(this).attr("data-format");if(t(this).jqxDateTimeInput)if(t(this).data().valclass="jqxDateTimeInput",e)t(this).jqxDateTimeInput({formatString:e,showTimeButton:!0});else{var a=null;"undefined"!=typeof i18n?a=i18n.date:t(document).data().i18n&&t(document).data().i18n.date&&(a=t(document).data().i18n.date),t(this).jqxDateTimeInput({formatString:a.shortDateFormat+" HH:mm",showTimeButton:!0})}}),e.find("input.time").each(function(){t(this).jqxDateTimeInput&&(t(this).jqxDateTimeInput({formatString:"HH:mm",showTimeButton:!0,showDateButton:!1}),t(this).data().valclass="jqxDateTimeInput")});var a=RegExp("^[0-9.,-]+$");e.find("input.number").keyup(function(){var e=t(this).val();t(this).hasClass("currency")&&e&&(e=t.jsFormControls.Format._getNumber(e)),e.length>0&&(t(this).hasClass("autoclean")?t(this).val(e.replace(/[^0-9.,-]/g,"")):a.test(t(this).val())?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid"))}).keyup(),e.find("input.currency").each(function(){t(this).on("change blur",function(){var e=t(this).val();e.length>0&&t(this).val(t.jsFormControls.Format.currency(t.jsFormControls.Format._getNumber(e)))}),t(this).focus(function(){var e=t(this).val();e.length>0&&t(this).val(t.jsFormControls.Format._getNumber(e)),t(this).select()})}),e.find("input.percent").change(function(){var e=t(this).val();e.length>0&&t(this).val(t.jsFormControls.Format.decimal(t.jsFormControls.Format._getNumber(e))),t(this).focus(function(){var e=t(this).val();e.length>0&&t(this).val(t.jsFormControls.Format._getNumber(e)),t(this).select()})}),e.find("input.decimal").change(function(){var e=t(this).val();e.length>0&&t(this).val(t.jsFormControls.Format.decimal(t.jsFormControls.Format._getNumber(e)))}),e.find("input.vunit").change(function(){var e=t(this).val();e.length>0&&(e=t.jsFormControls.Format._getNumber(e),t(this).data().val=e,t(this).val(t.jsFormControls.Format.vunit(e,t(this).attr("data-unit"))))});var i=RegExp("^[0-9]+$");e.find("input.integer").keyup(function(){var e=t(this).val();e.length>0&&(t(this).hasClass("autoclean")?t(this).val(e.replace(/[^0-9]/g,"")):i.test(t(this).val())?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid"))}).keyup(),e.find("input.regexp").each(function(){t(this).keyup(function(){t(this).hasClass("autoclean")?t(this).data("regexp",RegExp(t(this).attr("data-regexp"),"g")):t(this).data("regexp",RegExp(t(this).attr("data-regexp")));var e=t(this).val();if(e.length>0){var a=t(this).data("regexp");t(this).hasClass("autoclean")?t(this).val(e.replace(a,"")):a.test(t(this).val())?t(this).addClass("valid").removeClass("invalid"):t(this).removeClass("valid").addClass("invalid")}else t(this).hasClass("mandatory")||t(this).removeClass("invalid").addClass("valid")}).keyup(),t(this).change(function(){t(this).keyup()})}),e.find("input.rotatestate").each(function(){var e=t(this).attr("data-state-values"),a=t(this).attr("data-state-class");if(e){try{e=JSON.parse(e)}catch(i){return}var s=t("");t(this).attr("title")&&s.attr("title",t(this).attr("title")),t(this).attr("data-state-style")&&s.attr("style",t(this).attr("data-state-style")),s.data("states",e),s.data("control",this),s.data("activeState",null),t(this).data("control",s),a&&s.addClass(a),s.click(function(){var e=t(this).data().activeState,a=t(this).data().states,i=t(this).data().control,s=null;if(null!==e){for(var r=0;a.length>r;r++)if(a[r].value===e.value){s=r===a.length-1?a[0]:a[r+1];break}}else s=a[0];t(i).attr("value",s.value),t(i).change()}),t(this).change(function(){var e=t(t(this).data().control),a=e.data().activeState,i=e.data().states;null!==a&&e.removeClass(a["class"]);var s=t(this).val();t.each(i,function(){return this.value===s?(e.data().activeState=this,this.title&&e.attr("title",this.title),e.addClass(this["class"]),!1):undefined
})}),t(this).change(),t(this).after(s),t(this).hide()}})},e.prototype.validate=function(){return t(".required,.regexp,.date,.mandatory,.number,.validate",this.element).change(),t(".invalid",this.element).length>0?!1:!0},e.prototype.destroy=function(){return t(this.element).each(function(){t(this).removeData("jsFormControls")})},t.fn.jsFormControls=function(a){if("object"!=typeof a&&a){var i=Array.prototype.slice.call(arguments,1);if(1==this.length){var s=t(this).data("jsFormControls");if(s){if(0!==a.indexOf("_")&&s[a]){var r=s[a].apply(s,i);return r}return t.error("Method "+a+" does not exist on jQuery.jsFormControls"),!1}}return this.each(function(){var e=t.data(this,"jsFormControls");return e?0!==a.indexOf("_")&&e[a]?e[a].apply(e,i):(t.error("Method "+a+" does not exist on jQuery.jsFormControls"),!1):undefined})}return this.each(function(){t(this).data("jsFormControls")||t(this).data("jsFormControls",new e(this,a))})},t.jsFormControls=function(e,s){var r;if(t.isFunction(s))r=i[e],r&&t.each(r,function(){s(this,t(this.element))}),a[e]=s;else if(r=i[e]){var n=s,o=Array.prototype.slice.call(arguments,2);t.each(portlets,function(){this[n].apply(this,o)})}},t.jsFormControls.Format={format:function(e,a){return t(e).hasClass("dateTime")||t(e).hasClass("datetime")?isNaN(a)?a:t.jsFormControls.Format.dateTime(a):t(e).hasClass("date")?isNaN(a)?a:t.jsFormControls.Format.date(a):t(e).hasClass("currency")?t.jsFormControls.Format.currency(a):t(e).hasClass("byte")?isNaN(a)?a:t.jsFormControls.Format.byte(a):t(e).hasClass("decimal")?(t(e).data().processor=t.jsFormControls.Format.getDecimal,t.jsFormControls.Format.decimal(a)):t(e).hasClass("vunit")?(t(this).data().val=a,t(e).data().processor=t.jsFormControls.Format.getVunit,t.jsFormControls.Format.vunit(a,t(e).attr("data-unit"))):t(e).hasClass("percent")?(t(e).data().processor=t.jsFormControls.Format.getPercent,t.jsFormControls.Format.percent(a)):t(e).hasClass("humantime")?(t(e).data().processor=t.jsFormControls.Format.getHumanTime,t.jsFormControls.Format.humanTime(a)):t(e).hasClass("timespan")?t.jsFormControls.Format.timespan(a):a},_getValue:function(t,e,a){return e===undefined&&a===undefined?t:isNaN(t)||e===undefined||a===undefined?undefined:a},checkBox:function(e,a,i,s){return i=t.jsFormControls.Format._getValue(e,a,i,s),i?' ':' '},_getNumber:function(e){if(!e)return null;var a={format:"#,##0.###",groupingSeparator:",",decimalSeparator:"."},i=null,s=null;return"undefined"!=typeof i18n&&i18n.number?(a=i18n.number,i18n.currency&&(i=i18n.currency.prefix,s=i18n.currency.suffix)):t(document).data().i18n&&t(document).data().i18n.number&&(a=t(document).data().i18n.number,t(document).data().i18n.currency&&(i=t(document).data().i18n.currency.prefix,s=t(document).data().i18n.currency.suffix)),e=""+e,i&&i.length>0&&0===e.indexOf(i)&&(e=e.substring(i.length)),s&&s.length>0&&e.indexOf(s)>0&&(e=e.substring(0,e.length-s.length)),e=t.trim(e),-1!==e.indexOf(a.groupingSeparator)&&(e=e.replace(RegExp("\\"+a.groupingSeparator,"g"),"")),"."!==a.decimalSeparator&&-1!==e.indexOf(a.decimalSeparator)&&(e=e.replace(RegExp(a.decimalSeparator,"g"),".")),Number(e)},_pad:function(t){var e=10>t?"0":"";return e+=t},asMoment:function(e){if("undefined"==typeof moment)return new Date(e);var a=moment().toMomentFormatString(i18n.date.format),i=moment().toMomentFormatString(i18n.date.timeFormat),s=[a+" "+i,a,i],r=null;return t.each(s,function(){if(r)return!1;var t=moment(e,this,!0);return t.isValid()?(r=t,!1):undefined}),r||(r=moment(e)),r},asNumber:function(e){return t.jsFormControls.Format._getNumber(e)},"byte":function(t){if(""===t||!t||isNaN(t))return t;var e=1024;if(e>t)return t+" B";var a=Math.floor(Math.log(t)/Math.log(e)),i="KMGTPE".charAt(a-1)+"B";return Math.round(10*t/Math.pow(e,a))/10+i},vunit:function(e,a){if(""===e||!e||isNaN(e))return e;var i=0>e;if(i&&(e*=-1),1e3>e)return(i?"-":"")+t.jsFormControls.Format.decimal(e)+" "+a;var s=1e3,r=Math.floor(Math.log(e)/Math.log(s)),n="kmgtpe".charAt(r-1)+a;return(i?"-":"")+t.jsFormControls.Format.decimal(Math.round(100*e/Math.pow(s,r))/100)+" "+n},decimal:function(e){if(""===e||!e||isNaN(e))return e;var a={format:"#,##0.###",groupingSeparator:",",decimalSeparator:"."};"undefined"!=typeof i18n&&i18n.number?a=i18n.number:t(document).data().i18n&&t(document).data().i18n.number&&(a=t(document).data().i18n.number);var i=0;Math.abs(e-Math.floor(e))>.001&&(i=2);var s=e,r=isNaN(r=Math.abs(i))?2:i,n=a.decimalSeparator,o=a.groupingSeparator,l=parseInt(s=Math.abs(+s||0).toFixed(r),10)+"",h=(h=l.length)>3?h%3:0;return(0>e?"-":"")+(h?l.substr(0,h)+o:"")+l.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+o)+(r?n+Math.abs(s-l).toFixed(r).slice(2):"")},integer:function(e){if(""===e||!e||isNaN(e))return e;var a={format:"#,##0.###",groupingSeparator:",",decimalSeparator:"."};"undefined"!=typeof i18n&&i18n.number?a=i18n.number:t(document).data().i18n&&t(document).data().i18n.number&&(a=t(document).data().i18n.number);var i=0;Math.abs(e-Math.floor(e))>.001&&(i=2);var s=e,r=0,n=a.decimalSeparator,o=a.groupingSeparator,l=parseInt(s=Math.abs(+s||0).toFixed(r),10)+"",h=(h=l.length)>3?h%3:0;return(0>e?"-":"")+(h?l.substr(0,h)+o:"")+l.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+o)+(r?n+Math.abs(s-l).toFixed(r).slice(2):"")},getDecimal:function(t){return""===num?0:Number(t)},getVunit:function(t){return""===num?0:Number(t)},percent:function(e){return""===e||!e||isNaN(e)?e:t.jsFormControls.Format.decimal(100*e)},getPercent:function(t){return""===t?0:(-1!==t.indexOf("%")&&(t=t.substring(0,t.length-1)),Number(t)/100)},currency:function(e,a,i,s){if(i=t.jsFormControls.Format._getValue(e,a,i,s),!i){if(a)return" ";i=0}var r=t.jsFormControls.Format.decimal(i),n=null,o=null;return"undefined"!=typeof i18n?i18n.currency&&(n=i18n.currency.prefix,o=i18n.currency.suffix):t(document).data().i18n&&t(document).data().i18n.number&&t(document).data().i18n.currency&&(n=t(document).data().i18n.currency.prefix,o=t(document).data().i18n.currency.suffix),n&&(r=n+r),o&&(r+=o),r},dateTime:function(e,a,i,s){return i=t.jsFormControls.Format._getValue(e,a,i,s),i?this.date(i)+" "+this.time(i):a?" ":""},date:function(e,a,i,s){if(i=t.jsFormControls.Format._getValue(e,a,i,s),!i||""===i)return a?" ":"";if(isNaN(i))return i;var r=new Date;r.setTime(i);var n=r.getYear();1900>n&&(n+=1900);var o=null;return"undefined"!=typeof i18n?o=i18n.date:t(document).data().i18n&&t(document).data().i18n.date&&(o=t(document).data().i18n.date),t.format?t.format.date(r,o.shortDateFormat):this._pad(r.getDate())+"."+this._pad(r.getMonth()+1)+"."+this._pad(n)},time:function(e,a,i,s){if(i=t.jsFormControls.Format._getValue(e,a,i,s),!i||""===i)return a?" ":"";if(isNaN(i))return i;var r=new Date;r.setTime(i);var n="HH:mm";return"undefined"!=typeof i18n?i18n.timeFormat?n=i18n.timeFormat:i18n.date&&i18n.date.timeFormat&&(n=i18n.date.timeFormat):t(document).data().i18n&&t(document).data().i18n.timeFormat!==undefined&&(n=t(document).data().i18n.timeFormat),t.format?t.format.date(r,n):this._pad(r.getHours())+":"+this._pad(r.getMinutes())},timespan:function(e,a,i,s){i=t.jsFormControls.Format._getValue(e,a,i,s),i||(i="0");for(var r=i.split(":"),n=0;r.length>n;n++){var o=Number(r[n]);o&&"NaN"!==o||(o=0),r[n]=this._pad(o)}return 0>=r.length?"0:00":1==r.length?"0:"+this._pad(allowkomma?r[0]:Math.floor(r[0])):2==r.length?allowkomma?r[0]:Math.floor(r[0])+":"+this._pad(allowkomma?r[1]:Math.floor(r[1])):allowkomma?r[0]:Math.floor(r[0])+":"+this._pad(allowkomma?r[1]:Math.floor(r[1]))+":"+pad(allowkomma?r[2]:Math.floor(r[2]))},humanTime:function(e,a,i,s){if(i=t.jsFormControls.Format._getValue(e,a,i,s),isNaN(i))return i&&0!==i.length?i:"-";var r=Math.floor(i/36e5);i-=36e5*r;var n=Math.floor(i/6e4);i-=6e4*n;var o=Math.floor(i/1e3);i-=1e3*o;var l="";return r>0&&(l+=r+"h ",o=0,i=0),n>0&&(l+=n+"m ",i=0),o>0&&(l+=o+"s ",i=0),i>0&&(l+=i+"ms"),l.trim()},getHumanTime:function(t){if(!t||""===t)return 0;for(var e=0,a="",i="",s=function(){if(""!==a){var t=Number(a);switch(i){case"ms":case"mill":e+=t;break;case"s":case"secs":e+=1e3*t;break;case"":case"m":case"min":case"minute":e+=6e4*t;break;case"h":case"hour":e+=36e5*t;break;case"d":case"day":case"days":e+=36e5*24*t}i="",a=""}},r=0;t.length>r;r++){var n=t.charAt(r);switch(n){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":""!==i&&s(),a+=n;break;case"m":case"i":case"n":case"s":case"h":case"o":case"u":case"r":case"a":case"e":case"c":case"y":case"d":i+=n;break;default:}}return s(),e}}}(jQuery,window),String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")},String.prototype.startsWith=function(t){return null===this||0>=this.length?!1:null===t||"null"==t||0>=t.length?!1:this.substr(0,t.length)==t?!0:!1},String.prototype.startsWithIgnoreCase=function(t){return null===this||0>=this.length?!1:null===t||"null"==t||0>=t.length?!1:this.substr(0,t.length).toLowerCase()==t.toLowerCase()?!0:!1},String.prototype.endsWith=function(t){return null===this||0>=this.length?!1:null===t||"null"==t||0>=t.length||t.length>this.length?!1:this.substr(this.length-t.length)==t?!0:!1};
-//@ sourceMappingURL=js/jquery.jsForm.min.map
\ No newline at end of file
diff --git a/js/jquery.jsForm.min.map b/js/jquery.jsForm.min.map
deleted file mode 100644
index df9d8fa..0000000
--- a/js/jquery.jsForm.min.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"js/jquery.jsForm.min.js","sources":["js/jquery.jsForm-1.3.5.js"],"names":["$","window","undefined","JsForm","element","options","$this","this","extend","controls","data","prefix","trackChanges","validateHidden","skipEmpty","renderer","processors","dataHandler","connect","viewClass","attr","_init","JSFORM_INIT_FUNCTIONS","JSFORM_MAP","prototype","_domInit","jsFormControls","each","_getForm","console","_debug","ex","_fill","ele","_initCollection","_initConditional","_fillDom","push","getNodes","that","msg","param","cons","log","p","isPlainObject","JSON","stringify","form","showEvaluator","fields","show","value","_getValueWithArrays","hide","hideEvaluator","conditionals","find","conditionalEval","length","func","field","split","_evaluateConditionals","collectionMap","collections","colName","indexOf","container","cols","_initList","hasClass","sortable","config","parse","on","_reorder","ev","pojo","fn","fieldName","tmpl","line","clone","addClass","prefill","val","isFunction","substring","append","_enableTracking","_addCollectionControls","trigger","idx","children","_fillData","hasJsForm","click","preventDefault","beforeInsertCallback","focus","inserter","parent","_renderObject","blobInput","evt","fileName","pop","files","target","reader","FileReader","onload","e","result","readAsDataURL","detach","removeAttr","_clear","removeData","name","prop","valclass","is","change","fieldname","empty","_handleArrayInPojo","use","pushVal","index","splice","num","isNaN","Number","_createPojoFromInput","start","startObj","trim","processor","format","d","date","setHours","setMinutes","setSeconds","setMilliseconds","getTime","Date","_getNumber","serialize","prev","parts","current","i","selectedClass","id","cobj","track","orig","removeClass","_fillSelectCollection","$parent","colData","cname","_get","isArray","lastIndexOf","toggleClass","cid","obj","did","nodeName","toUpperCase","text","cdata","deserialize","Format","html","cbVal","cbId","found","pk","get","ignoreInvalid","originalPojo","invalid","filter","_getCollection","colParent","_getParent","_isEmpty","getData","fieldMode","mode","closest","replace","thespan","wrap","span","before","remove","preventEditing","prevent","validate","valid","noInput","_fillCollection","cur","_fillList","lineFunc","sortField","sort","a","b","toLowerCase","reverse","base","size","next","after","prio","skin","ret","expr","create","prm","shift","path","arrayPattern","match","exec","parseInt","RegExp","isEmptyObject","f","_equals","idField","Math","abs","equals","changed","resetChanged","_equalsCollection","differs","childCounter","_pojoDifferFromInput","fill","fillFields","applyConditions","reset","clear","destroy","jsForm","method","args","Array","slice","call","arguments","apply","error","initFunc","jsForms","portlets","jQuery","JsFormControls","Handlebars","registerHelper","currency","decimal","time","dateTime","humanTime","byte","integer","location","jqxDateTimeInput","formatString","dateformat","i18n","document","shortDateFormat","datepicker","dateFormat","showTimeButton","showDateButton","numberRegexp","keyup","test","select","vunit","integerRegexp","regexp","states","defaultClass","stateControl","cState","activeState","cStates","control","newState","title","getDecimal","getVunit","getPercent","percent","getHumanTime","timespan","_getValue","row","cell","checkBox","columnDef","numberformat","groupingSeparator","decimalSeparator","pre","post","number","suffix","_pad","o","asMoment","moment","dformat","toMomentFormatString","tformat","timeFormat","formats","m","isValid","asNumber","bytes","unit","exp","floor","charAt","round","pow","neg","un","comma","n","c","t","toFixed","j","substr","setTime","year","getYear","getDate","getMonth","getHours","getMinutes","tokens","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