!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.autoAssign=t():(e.ntt=e.ntt||{},e.ntt.smartit=e.ntt.smartit||{},e.ntt.smartit.autoAssign=t())}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return 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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=1)}([function(e,t,n){(function(e){var n,r,i,o;function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n0)){e.next=13;break}if(n=t.shift()){e.next=6;break}return e.abrupt("return");case 6:for(r=0,i=n.children.length;r
Auto-assign
'},{id:"scopeExtenderAssignment",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div")[1]},snippet:''},{id:"modBlade1",mode:"attribute",attributes:{replace:{"ng-If":"!assignee.autoAssign && !nttAutoAssign"}},type:"jquery",selector:function(e){return e.find("div.action-blade__assign-list")[0]}},{id:"removeBlade2",mode:"attribute",attributes:{replace:{"ng-If":"!assignee.autoAssign && !nttAutoAssign"}},type:"jquery",selector:function(e){return e.find("div.assign-filter.col-xs-12")[0]}},{id:"removeBlade3",mode:"attribute",attributes:{replace:{"ng-If":"!assignee.autoAssign && !nttAutoAssign"}},type:"jquery",selector:function(e){return e.find("div.assign-filter.col-xs-4")[0]}},{id:"removeBlade4",mode:"attribute",attributes:{replace:{"ng-If":"!assignee.autoAssign && !nttAutoAssign"}},type:"jquery",selector:function(e){return e.find("div.assign-filter.col-xs-4")[1]}},{id:"removeBlade4",mode:"attribute",attributes:{replace:{"ng-If":"!assignee.autoAssign && !nttAutoAssign"}},type:"jquery",selector:function(e){return e.find("div.assign-filter.col-xs-4")[2]}},{id:"removeBlade5",mode:"attribute",attributes:{replace:{"ng-If":"!assignee.autoAssign && !nttAutoAssign"}},type:"jquery",selector:function(e){return e.find("div.assign-filter.assign-filter_right-most")[0]}},{id:"addResultList",method:"addAfter",mode:"partial",type:"jquery",selector:function(e){return e.find("div.action-blade__assign-list")[0]},snippet:'
{{\'ntt.assignBlade.noMatch.label\' | i18n}}
{{\'assignBlade.assignToGroup\' | i18n}}
{{assignee.group.companyName}} > {{assignee.group.organization}} > {{assignee.group.name}}
'},{id:"addResultLisSearch",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.action-blade__assign-header")},snippet:'
'}],"views/create/create-incident-v2.html":[{id:"scopeExtenderCreateIncidentV2",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.create-form-wrapper")[0]},snippet:''}],"views/ticket/incident-details-v2.html":[{id:"scopeExtenderAssignInceidentDetailsV2",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.ticket__customized-body")[0]},snippet:''}],"views/ticket/task-details-v2.html":[{id:"scopeExtenderAssignInceidentDetailsV2",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.ticket__customized-body")[0]},snippet:''}],"views/problem/create-problem.html":[{id:"scopeExtenderCreateIncidentV2",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.create-form-wrapper")[0]},snippet:''}],"views/change/create-change-selector.html":[{id:"scopeExtenderCreateChange",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.create-change__main-panel")},snippet:''}],"views/create/create-work-order-v2.html":[{id:"scopeExtenderCreateChange",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.create-form-wrapper")[0]},snippet:''}],"views/known-error/create-known-error.html":[{id:"scopeExtenderCreateChange",method:"add",mode:"partial",type:"jquery",selector:function(e){return e.find("div.create-form-wrapper")[0]},snippet:''}]}}},{key:"templates",value:function(){return[]}},{key:"i18nLocales",value:function(){return{de:["i18n/ntt-resources-assign-locale_de.json"],en:["i18n/ntt-resources-assign-locale_en.json"]}}}])&&i(n.prototype,r),c&&i(n,c),t}();ntt.smartit.api.nttSmartitModules.push(new c)},function(e,t,n){var r=n(3);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(5)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(4)(!1)).push([e.i,'.ntt-assign-list__item,.ntt-assign-list__item_selected{background-color:#fff;border:1px solid #d9d9d9;padding:16px 12px}.ntt-assign-list__item:hover,.ntt-assign-list__item_selected:hover{background-color:#f2f2f2}.ntt-assign-list__item_selected{background-color:#f2f2f2;color:#333}.ntt-assign-list__item_selected:hover{background-color:#f2f2f2}.ntt-assign-list__item_selected .assign-list__person-field-label{color:#333}.label_control-wrap,.ntt-action-blade__auto-assign{display:inline;font-family:"OpenSansRegular","OpenSans","Helvetica";margin:0;font-weight:normal}.ntt-resultListItem{padding:0px 0px 5px 0px}.ntt-autoassign_action-blade__assign-list{position:absolute;top:135px;right:0px;bottom:0px;left:0px;overflow-y:auto;padding:0px 15px 0 15px}.ntt-action-blade__auto-assign{padding-right:30px}',""])},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),o=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")});return[n].concat(o).concat([i]).join("\n")}var a,s,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i=0&&l.splice(t,1)}function v(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return h(t,e.attrs),g(e,t),t}function h(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function y(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var a=u++;n=c||(c=v(t)),r=A.bind(null,n,a,!1),i=A.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",h(t,e.attrs),g(e,t),t}(t),r=function(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=p(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),i=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=d(e,t);return f(n,t),function(e){for(var r=[],i=0;i
{{GroupDescription}}
{{\'assignBlade.assignToGroup.description\' | i18n}}
',replace:!0,scope:{description:"="},link:["scope","element","attrs",function(e,t,n){}],controller:["$scope","$element","$attrs",function(e,t,n){e.GroupDescription="";void 0!==e.description&&e.description.then(function(t){t.items.entries&&t.items.entries.length>0&&(e.GroupDescription=t.items.entries[0][536870914].value)})}]}}])}])});