!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=2)}([,,function(t,e,n){t.exports=n(3)},function(t,e){$(document).ready(function(){var t={initialize:function(){this.methodLinks=$("a[data-method]"),this.registerEvents()},registerEvents:function(){this.methodLinks.on("click",this.handleMethod)},handleMethod:function(e){var n=$(this),r=n.data("method").toUpperCase();-1!==$.inArray(r,["PUT","DELETE"])&&t.createForm(n).submit()},createForm:function(t){var e=$("<form>",{id:"frmDelete",method:"POST",action:t.data("href"),onsubmit:1===t.data("confirm")?"bbConfirmOnSubmit(event)":""}),n=$("<input>",{type:"hidden",name:"_token",value:t.data("token")}),r=$("<input>",{name:"_method",type:"hidden",value:t.data("method")}),o=$("<button>",{type:"submit","data-submit-confirm-text":t.data("submitConfirmText"),"data-submit-confirm-button":t.data("submitConfirmButton")});return e.append(n,r,o).appendTo("body")}};t.initialize()})}]);