!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=2)}([,,function(e,t,r){e.exports=r(3)},function(e,t){var r;(r=jQuery).fn.areYouSure=function(e){var t=r.extend({message:"You have unsaved changes!",dirtyClass:"dirty",change:null,silent:!1,addRemoveFieldsMarksDirty:!1,fieldEvents:"change keyup propertychange input",fieldSelector:":input:not(input[type=submit]):not(input[type=button])"},e),n=function(e){if(e.hasClass("ays-ignore")||e.hasClass("aysIgnore")||e.attr("data-ays-ignore")||void 0===e.attr("name"))return null;if(e.is(":disabled"))return"ays-disabled";var t,n=e.attr("type");switch(e.is("select")&&(n="select"),n){case"checkbox":case"radio":t=e.is(":checked");break;case"select":t="",e.find("option").each(function(e){var n=r(this);n.is(":selected")&&(t+=n.val())});break;default:t=e.val()}return t},i=function(e){e.data("ays-orig",n(e))},a=function(e){var i=function(e){var t=e.data("ays-orig");return void 0!==t&&n(e)!=t},a=r(this).is("form")?r(this):r(this).parents("form");if(i(r(e.target)))s(a,!0);else{if($fields=a.find(t.fieldSelector),t.addRemoveFieldsMarksDirty&&a.data("ays-orig-field-count")!=$fields.length)return void s(a,!0);var o=!1;$fields.each(function(){if($field=r(this),i($field))return o=!0,!1}),s(a,o)}},o=function(e){var n=e.find(t.fieldSelector);r(n).each(function(){i(r(this))}),r(n).unbind(t.fieldEvents,a),r(n).bind(t.fieldEvents,a),e.data("ays-orig-field-count",r(n).length),s(e,!1)},s=function(e,r){var n=r!=e.hasClass(t.dirtyClass);e.toggleClass(t.dirtyClass,r),n&&(t.change&&t.change.call(e,e),r&&e.trigger("dirty.areYouSure",[e]),r||e.trigger("clean.areYouSure",[e]),e.trigger("change.areYouSure",[e]))},u=function(){var e=r(this),n=e.find(t.fieldSelector);r(n).each(function(){var e=r(this);e.data("ays-orig")||(i(e),e.bind(t.fieldEvents,a))}),e.trigger("checkform.areYouSure")},d=function(){o(r(this))};return t.silent||window.aysUnloadSet||(window.aysUnloadSet=!0,r(window).bind("beforeunload",function(){if($dirtyForms=r("form").filter("."+t.dirtyClass),0!=$dirtyForms.length){if(navigator.userAgent.toLowerCase().match(/msie|chrome/)){if(window.aysHasPrompted)return;window.aysHasPrompted=!0,window.setTimeout(function(){window.aysHasPrompted=!1},900)}return t.message}})),this.each(function(e){if(r(this).is("form")){var n=r(this);n.submit(function(){n.removeClass(t.dirtyClass)}),n.bind("reset",function(){s(n,!1)}),n.bind("rescan.areYouSure",u),n.bind("reinitialize.areYouSure",d),n.bind("checkform.areYouSure",a),o(n)}})}}]);