!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=14)}({14:function(e,t,n){e.exports=n("Gvym")},Gvym:function(e,t){$("#role_table").DataTable({processing:!0,serverSide:!0,order:[[0,"asc"]],ajax:{url:roleUrl},columnDefs:[{targets:[2],orderable:!1,className:"text-center",width:"5%"}],columns:[{data:"name",name:"name"},{data:"description",name:"description"},{data:function(e){return'<a title="Edit" href="'+roleUrl+e.id+'/edit" class="btn action-btn btn-primary btn-sm edit-btn mr-1" data-id="'+e.id+'"><i class="cui-pencil action-icon"></i></a><a title="Delete" class="btn action-btn btn-danger btn-sm delete-btn" data-id="'+e.id+'"><i class="cui-trash action-icon"></i></a>'},name:"id"}]}),$(document).on("click",".delete-btn",(function(e){var t=$(e.currentTarget).data("id");deleteItem(roleUrl+t,"#role_table","Role")}))}});