(window.webpackJsonp=window.webpackJsonp||[]).push([[111],{1187:function(t,r,e){"use strict";e.r(r);var n=e(1),o=(e(46),e(73),e(4),e(12),e(88),e(40),e(31),e(51),e(35),e(26),e(10),e(52),e(54),e(39),e(771)),l=e(141),c=e(21);function f(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return v(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return v(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return l=t.done,t},e:function(t){c=!0,o=t},f:function(){try{l||null==e.return||e.return()}finally{if(c)throw o}}}}function v(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,e=new Array(r);i<r;i++)e[i]=t[i];return e}var y={setup:function(t,r){var e=Object(n.J)(null),v=Object(n.J)(null);Object(n.Y)(e,(function(t){var r,e,n;v.value=null!==(r=null==t||null===(e=t.parentElement)||void 0===e||null===(n=e.parentElement)||void 0===n?void 0:n.id)&&void 0!==r?r:null}));var y=Object(n.J)(!1),d=setInterval((function(){l.a.$emit("drawflow::getCommonParents",v.value,(function(t,r){if(t)clearInterval(d);else{var e={};Object(c.getSocket)("/core/plugins").emit("listeners",(function(data){var t,n=!0,l=f(r);try{for(l.s();!(t=l.n()).done;){var c=data[t.value.data.value];if(c)if(n){n=!1;for(var v=0,d=Object.keys(Object(o.a)(c));v<d.length;v++){var m=d[v];e[m]=Object(o.a)(c)[m]}}else{for(var h=0,j=Object.keys(Object(o.a)(c));h<j.length;h++){var O=j[h];e[O]!==Object(o.a)(c)[O]&&delete e[O]}for(var w=0,A=Object.keys(e);w<A.length;w++){var k=A[w];e[k]!==Object(o.a)(c)[k]&&delete e[k]}}}}catch(t){l.e(t)}finally{l.f()}y.value=!!Object.keys(e).find((function(t){return t.startsWith("sender")}))}))}}))}),100);return{pointer:e,haveUserParam:y}}},d=y,m=e(45),h=e(44),j=e.n(h),O=e(379),w=e(43),A=e(32),k=e(116),component=Object(m.a)(d,(function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("div",{ref:"pointer"},[e("v-toolbar",{attrs:{dense:"",color:"blue-grey darken-4"}},[e("v-icon",{attrs:{color:"white",left:""}},[t._v("\n      mdi-gavel\n    ")]),t._v(" "),e("v-toolbar-title",{staticClass:"text-button white--text"},[t._v("\n      "+t._s(t.$t("registry.plugins.output.ban-user.name"))+"\n    ")])],1),t._v(" "),t.haveUserParam?t._e():e("v-card",{attrs:{dark:""}},[e("v-card-text",[e("v-alert",{staticClass:"ma-0",attrs:{type:"error",color:"red"}},[t._v("\n        "+t._s(t.$t("registry.plugins.common-errors.missing-sender-attributes"))+"\n      ")])],1)],1)],1)}),[],!1,null,null,null);r.default=component.exports;j()(component,{VAlert:O.a,VCard:w.a,VCardText:w.d,VIcon:A.a,VToolbar:k.a,VToolbarTitle:k.b})},771:function(t,r,e){"use strict";e.d(r,"a",(function(){return l})),e.d(r,"b",(function(){return c}));e(12),e(26),e(70),e(4),e(23),e(40),e(31),e(51),e(35),e(10),e(52),e(54),e(39);function n(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return o(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return o(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,f=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return c=t.done,t},e:function(t){f=!0,l=t},f:function(){try{c||null==e.return||e.return()}finally{if(f)throw l}}}}function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,e=new Array(r);i<r;i++)e[i]=t[i];return e}function l(data){var t={};return function r(e,n){if(Object(e)!==e||Array.isArray(e))t[n]=e;else{for(var o=!0,l=0,c=Object.keys(e);l<c.length;l++){var p=c[l];o=!1,r(e[p],n?n+"."+p:p)}o&&n&&(t[n]={})}}(data,""),t}function c(data){var t;if(Array.isArray(data)){t=[];var r,e=n(data);try{for(e.s();!(r=e.n()).done;){var o=r.value;t.push(c(o))}}catch(t){e.e(t)}finally{e.f()}}else{t={};for(var l=function(){var i=v[f],r=i.split(".");r.reduce((function(t,e,n){return t[e]||(t[e]=isNaN(Number(r[n+1]))?r.length-1===n?data[i]:{}:[])}),t)},f=0,v=Object.keys(data);f<v.length;f++)l()}return t}}}]);