test

I am raw html block.
Click edit button to change this html0?t.collapse("show"):t.collapse("hide")})}),f(".js-calc-balance").on("blur",function(){f(this).valid()});var V=a.getFormInstance(),R=a.getValidator();f(".js-full-calc-btn").on("click",function(){r(),n+=1,V.valid()?(N.calculate(),N.activateListeners(),"over"===N.getState()?o():"notOver"===N.getState()&&i()):(R.focusInvalid(),N.deactivateListeners(),N.reset(),s())})}()},12:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(7)},13:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(31)),r(n(8)),r(n(3)),r(n(2)),r(n(25)),r(n(26)),r(n(11)),r(n(5)),r(n(22)),r(n(24)),r(n(14)),r(n(18)),r(n(27)),r(n(10)),r(n(32)),r(n(28)),r(n(4)),r(n(15)),r(n(16)),r(n(20)),r(n(30)),r(n(29))},14:function(e,t,n){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),s=function(e){function t(n,r){return e.call(this,n,t.inputFormat)||this}return r(t,e),t.inputFormat={blocks:[3],numericOnly:!0},t}(a.Input);t.NumericInput=s},15:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){var t=this;this.togglers=e;for(var n=this,r=0;r0},le:"#cr_3"},"cr_4-balance":{required:function(e){return r("#cr_4").val().length>0},le:"#cr_4"},"cr_5-balance":{required:function(e){return r("#cr_5").val().length>0},le:"#cr_5"},"cr_6-balance":{required:function(e){return r("#cr_6").val().length>0},le:"#cr_6"},"cr_7-balance":{required:function(e){return r("#cr_7").val().length>0},le:"#cr_7"},name:{required:!0},mobile:{required:!0,phone:!0},email:{required:'#calcformPreferred2[value="email"]:checked',email:!0}},messages:{salary:{required:"Nett income required"},ex:{required:"Living expenses required"},cr:{required:"Credit provider repayments required"},cr_1:{require_from_group:"Enter at least 1 monthly credit repayment"},cr_2:{require_from_group:"Enter at least 1 monthly credit repayment"},cr_3:{require_from_group:"Enter at least 1 monthly credit repayment"},cr_4:{require_from_group:"Enter at least 1 monthly credit repayment"},cr_5:{require_from_group:"Enter at least 1 monthly credit repayment"},cr_6:{require_from_group:"Enter at least 1 monthly credit repayment"},cr_7:{require_from_group:"Enter at least 1 monthly credit repayment"},"cr_1-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},"cr_2-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},"cr_3-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},"cr_4-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},"cr_5-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},"cr_6-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},"cr_7-balance":{required:"Outstanding balance required",le:"Can't be less than monthly"},name:{required:"Your name"},mobile:{required:"Your telephone number",phone:"Invalid telephone number"},email:{required:"Your email address",email:"Invalid email address"}},errorPlacement:function(e,t){o.sendEvent("Calculator Form","Ajax Form - Validation Error","Form Error",e.text()),t.parents(".js-dr-slider").length>0?e.insertAfter(r(t).parents(".js-dr-slider")):t.parents(".dr-currency-input").length>0?e.insertAfter(r(t).parents(".dr-currency-input")):e.insertAfter(t)},highlight:function(e,t,n){r(e).parents(".dr-currency-input")?r(e).parents(".dr-currency-input").addClass(t):r(e).addClass(t)},unhighlight:function(e,t,n){r(e).parents(".dr-currency-input")?r(e).parents(".dr-currency-input").removeClass(t):r(e).removeClass(t)}});i.setName("Calculator Form"),t.default=i},4:function(e,t,n){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=n(1),o=function(e){function t(t,n){var r=e.call(this)||this;r.sumTotal=0,r.inputs=t;for(var s=0;s0?o.balance.get()>=o.amount.get()&&o.update():o.update()}),o.balance.addListener("input",function(){o.balance.get()<=0?(o.amount.clear(),o.update()):o.balance.get()>=o.amount.get()&&o.update()}),o}return r(t,e),t.prototype.update=function(){this.emitEvent("input",[])},t.prototype.get=function(){return this.amount.get()},t.prototype.getCalculated=function(){return this.balance.get()&&this.balance.get()>=this.amount.get()?this.multiplier?this.balance.get()*this.multiplier:this.balance.get():this.amount.get()},t.id=0,t}(a);t.BalanceInput=o},8:function(e,t,n){"use strict";var r=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(33),o=function(e){function t(t,n,r,a,s,o){var i=e.call(this)||this;return i.state="default",i.nettIncomeElement=t,i.otherIncomeElement=n,i.expensesElement=r,i.repaymentsElement=a,i.savingsElement=s,i.paymentElement=o,i.expensesElement.disableInput(),i.repaymentsElement.disableInput(),i}return r(t,e),t.prototype.activateListeners=function(){var e=this;this.nettIncomeElement.addListener("update",function(){e.calculate()}),this.otherIncomeElement.addListener("update",function(){e.calculate()}),this.expensesElement.addListener("update",function(){e.calculate()}),this.repaymentsElement.addListener("update",function(){e.calculate()})},t.prototype.deactivateListeners=function(){var e=this;this.nettIncomeElement.removeListener("update",function(){e.calculate()}),this.otherIncomeElement.removeListener("update",function(){e.calculate()}),this.expensesElement.removeListener("update",function(){e.calculate()}),this.repaymentsElement.removeListener("update",function(){e.calculate()})},t.prototype.getIncome=function(){return this.nettIncomeElement.get()+this.otherIncomeElement.get()},t.prototype.getExpenses=function(){return this.expensesElement.get()},t.prototype.getRepayments=function(){return this.repaymentsElement.get()},t.prototype.reset=function(){this.savingsElement.textContent="",this.paymentElement.textContent=""},t.prototype.calculate=function(){if(!this.getIncome()||!this.getRepayments())return void this.emit("reset");var e=this.getIncome()-this.getExpenses(),t=this.getRepayments(),n=this.repaymentsElement.getCalculated(),r=n,a=n<8500?Math.floor(n+500):Math.floor(n),o=t-a;return e=t?(this.state="notOver",this.emit("notOver"),this.emit("calculated",this.state),this.savingsElement.textContent="",this.paymentElement.textContent="","notOver"):a>=2e3?(o=t-r,this.state="over",this.emit("over"),this.emit("calculated",this.state),this.savingsElement.textContent=s.currencyFormat.to(Math.floor(o)),this.paymentElement.textContent=s.currencyFormat.to(a),"over"):(this.state="repayTooLow",this.emit("repayTooLow"),this.emit("calculated",this.state),this.savingsElement.textContent="",this.paymentElement.textContent="","repayTooLow")},t.prototype.getState=function(){return this.state},t}(a);t.Calculator=o},99:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(100),n(46),n(12)}},[99]);